Debian Codegraph @

auxdir/auxsub/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 auxdir auxsub 2009.
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 auxdir auxsub'
605 PACKAGE_TARNAME='tex-live-auxdir-auxsub'
606 PACKAGE_VERSION='2009'
607 PACKAGE_STRING='TeX Live auxdir auxsub 2009'
608 PACKAGE_BUGREPORT='[email protected]'
609 PACKAGE_URL=''
610
611 ac_unique_file="../../build-aux/missing"
612 ac_subst_vars='LTLIBOBJS
613 LIBOBJS
614 MAINT
615 MAINTAINER_MODE_FALSE
616 MAINTAINER_MODE_TRUE
617 am__xargs_n
618 am__rm_f_notfound
619 AM_BACKSLASH
620 AM_DEFAULT_VERBOSITY
621 AM_DEFAULT_V
622 AM_V
623 CSCOPE
624 ETAGS
625 CTAGS
626 am__untar
627 am__tar
628 AMTAR
629 am__leading_dot
630 SET_MAKE
631 AWK
632 mkdir_p
633 MKDIR_P
634 INSTALL_STRIP_PROGRAM
635 STRIP
636 install_sh
637 MAKEINFO
638 AUTOHEADER
639 AUTOMAKE
640 AUTOCONF
641 ACLOCAL
642 VERSION
643 PACKAGE
644 CYGPATH_W
645 am__isrc
646 INSTALL_DATA
647 INSTALL_SCRIPT
648 INSTALL_PROGRAM
649 target_alias
650 host_alias
651 build_alias
652 LIBS
653 ECHO_T
654 ECHO_N
655 ECHO_C
656 DEFS
657 mandir
658 localedir
659 libdir
660 psdir
661 pdfdir
662 dvidir
663 htmldir
664 infodir
665 docdir
666 oldincludedir
667 includedir
668 runstatedir
669 localstatedir
670 sharedstatedir
671 sysconfdir
672 datadir
673 datarootdir
674 libexecdir
675 sbindir
676 bindir
677 program_transform_name
678 prefix
679 exec_prefix
680 PACKAGE_URL
681 PACKAGE_BUGREPORT
682 PACKAGE_STRING
683 PACKAGE_VERSION
684 PACKAGE_TARNAME
685 PACKAGE_NAME
686 PATH_SEPARATOR
687 SHELL'
688 ac_subst_files=''
689 ac_user_opts='
690 enable_option_checking
691 enable_silent_rules
692 enable_maintainer_mode
693 '
694 ac_precious_vars='build_alias
695 host_alias
696 target_alias'
697
698
699 # Initialize some variables set by options.
700 ac_init_help=
701 ac_init_version=false
702 ac_unrecognized_opts=
703 ac_unrecognized_sep=
704 # The variables have the same names as the options, with
705 # dashes changed to underlines.
706 cache_file=/dev/null
707 exec_prefix=NONE
708 no_create=
709 no_recursion=
710 prefix=NONE
711 program_prefix=NONE
712 program_suffix=NONE
713 program_transform_name=s,x,x,
714 silent=
715 site=
716 srcdir=
717 verbose=
718 x_includes=NONE
719 x_libraries=NONE
720
721 # Installation directory options.
722 # These are left unexpanded so users can "make install exec_prefix=/foo"
723 # and all the variables that are supposed to be based on exec_prefix
724 # by default will actually change.
725 # Use braces instead of parens because sh, perl, etc. also accept them.
726 # (The list follows the same order as the GNU Coding Standards.)
727 bindir='${exec_prefix}/bin'
728 sbindir='${exec_prefix}/sbin'
729 libexecdir='${exec_prefix}/libexec'
730 datarootdir='${prefix}/share'
731 datadir='${datarootdir}'
732 sysconfdir='${prefix}/etc'
733 sharedstatedir='${prefix}/com'
734 localstatedir='${prefix}/var'
735 runstatedir='${localstatedir}/run'
736 includedir='${prefix}/include'
737 oldincludedir='/usr/include'
738 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
739 infodir='${datarootdir}/info'
740 htmldir='${docdir}'
741 dvidir='${docdir}'
742 pdfdir='${docdir}'
743 psdir='${docdir}'
744 libdir='${exec_prefix}/lib'
745 localedir='${datarootdir}/locale'
746 mandir='${datarootdir}/man'
747
748 ac_prev=
749 ac_dashdash=
750 for ac_option
751 do
752 # If the previous option needs an argument, assign it.
753 if test -n "$ac_prev"; then
754 eval $ac_prev=\$ac_option
755 ac_prev=
756 continue
757 fi
758
759 case $ac_option in
760 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
761 *=) ac_optarg= ;;
762 *) ac_optarg=yes ;;
763 esac
764
765 case $ac_dashdash$ac_option in
766 --)
767 ac_dashdash=yes ;;
768
769 -bindir | --bindir | --bindi | --bind | --bin | --bi)
770 ac_prev=bindir ;;
771 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
772 bindir=$ac_optarg ;;
773
774 -build | --build | --buil | --bui | --bu)
775 ac_prev=build_alias ;;
776 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
777 build_alias=$ac_optarg ;;
778
779 -cache-file | --cache-file | --cache-fil | --cache-fi \
780 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
781 ac_prev=cache_file ;;
782 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
783 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
784 cache_file=$ac_optarg ;;
785
786 --config-cache | -C)
787 cache_file=config.cache ;;
788
789 -datadir | --datadir | --datadi | --datad)
790 ac_prev=datadir ;;
791 -datadir=* | --datadir=* | --datadi=* | --datad=*)
792 datadir=$ac_optarg ;;
793
794 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
795 | --dataroo | --dataro | --datar)
796 ac_prev=datarootdir ;;
797 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
798 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
799 datarootdir=$ac_optarg ;;
800
801 -disable-* | --disable-*)
802 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
803 # Reject names that are not valid shell variable names.
804 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
805 as_fn_error $? "invalid feature name: '$ac_useropt'"
806 ac_useropt_orig=$ac_useropt
807 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
808 case $ac_user_opts in
809 *"
810 "enable_$ac_useropt"
811 "*) ;;
812 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
813 ac_unrecognized_sep=', ';;
814 esac
815 eval enable_$ac_useropt=no ;;
816
817 -docdir | --docdir | --docdi | --doc | --do)
818 ac_prev=docdir ;;
819 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
820 docdir=$ac_optarg ;;
821
822 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
823 ac_prev=dvidir ;;
824 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
825 dvidir=$ac_optarg ;;
826
827 -enable-* | --enable-*)
828 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
829 # Reject names that are not valid shell variable names.
830 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
831 as_fn_error $? "invalid feature name: '$ac_useropt'"
832 ac_useropt_orig=$ac_useropt
833 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
834 case $ac_user_opts in
835 *"
836 "enable_$ac_useropt"
837 "*) ;;
838 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
839 ac_unrecognized_sep=', ';;
840 esac
841 eval enable_$ac_useropt=\$ac_optarg ;;
842
843 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
844 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
845 | --exec | --exe | --ex)
846 ac_prev=exec_prefix ;;
847 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
848 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
849 | --exec=* | --exe=* | --ex=*)
850 exec_prefix=$ac_optarg ;;
851
852 -gas | --gas | --ga | --g)
853 # Obsolete; use --with-gas.
854 with_gas=yes ;;
855
856 -help | --help | --hel | --he | -h)
857 ac_init_help=long ;;
858 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
859 ac_init_help=recursive ;;
860 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
861 ac_init_help=short ;;
862
863 -host | --host | --hos | --ho)
864 ac_prev=host_alias ;;
865 -host=* | --host=* | --hos=* | --ho=*)
866 host_alias=$ac_optarg ;;
867
868 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
869 ac_prev=htmldir ;;
870 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
871 | --ht=*)
872 htmldir=$ac_optarg ;;
873
874 -includedir | --includedir | --includedi | --included | --include \
875 | --includ | --inclu | --incl | --inc)
876 ac_prev=includedir ;;
877 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
878 | --includ=* | --inclu=* | --incl=* | --inc=*)
879 includedir=$ac_optarg ;;
880
881 -infodir | --infodir | --infodi | --infod | --info | --inf)
882 ac_prev=infodir ;;
883 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
884 infodir=$ac_optarg ;;
885
886 -libdir | --libdir | --libdi | --libd)
887 ac_prev=libdir ;;
888 -libdir=* | --libdir=* | --libdi=* | --libd=*)
889 libdir=$ac_optarg ;;
890
891 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
892 | --libexe | --libex | --libe)
893 ac_prev=libexecdir ;;
894 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
895 | --libexe=* | --libex=* | --libe=*)
896 libexecdir=$ac_optarg ;;
897
898 -localedir | --localedir | --localedi | --localed | --locale)
899 ac_prev=localedir ;;
900 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
901 localedir=$ac_optarg ;;
902
903 -localstatedir | --localstatedir | --localstatedi | --localstated \
904 | --localstate | --localstat | --localsta | --localst | --locals)
905 ac_prev=localstatedir ;;
906 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
907 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
908 localstatedir=$ac_optarg ;;
909
910 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
911 ac_prev=mandir ;;
912 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
913 mandir=$ac_optarg ;;
914
915 -nfp | --nfp | --nf)
916 # Obsolete; use --without-fp.
917 with_fp=no ;;
918
919 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
920 | --no-cr | --no-c | -n)
921 no_create=yes ;;
922
923 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
924 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
925 no_recursion=yes ;;
926
927 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
928 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
929 | --oldin | --oldi | --old | --ol | --o)
930 ac_prev=oldincludedir ;;
931 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
932 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
933 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
934 oldincludedir=$ac_optarg ;;
935
936 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
937 ac_prev=prefix ;;
938 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
939 prefix=$ac_optarg ;;
940
941 -program-prefix | --program-prefix | --program-prefi | --program-pref \
942 | --program-pre | --program-pr | --program-p)
943 ac_prev=program_prefix ;;
944 -program-prefix=* | --program-prefix=* | --program-prefi=* \
945 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
946 program_prefix=$ac_optarg ;;
947
948 -program-suffix | --program-suffix | --program-suffi | --program-suff \
949 | --program-suf | --program-su | --program-s)
950 ac_prev=program_suffix ;;
951 -program-suffix=* | --program-suffix=* | --program-suffi=* \
952 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
953 program_suffix=$ac_optarg ;;
954
955 -program-transform-name | --program-transform-name \
956 | --program-transform-nam | --program-transform-na \
957 | --program-transform-n | --program-transform- \
958 | --program-transform | --program-transfor \
959 | --program-transfo | --program-transf \
960 | --program-trans | --program-tran \
961 | --progr-tra | --program-tr | --program-t)
962 ac_prev=program_transform_name ;;
963 -program-transform-name=* | --program-transform-name=* \
964 | --program-transform-nam=* | --program-transform-na=* \
965 | --program-transform-n=* | --program-transform-=* \
966 | --program-transform=* | --program-transfor=* \
967 | --program-transfo=* | --program-transf=* \
968 | --program-trans=* | --program-tran=* \
969 | --progr-tra=* | --program-tr=* | --program-t=*)
970 program_transform_name=$ac_optarg ;;
971
972 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
973 ac_prev=pdfdir ;;
974 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
975 pdfdir=$ac_optarg ;;
976
977 -psdir | --psdir | --psdi | --psd | --ps)
978 ac_prev=psdir ;;
979 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
980 psdir=$ac_optarg ;;
981
982 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
983 | -silent | --silent | --silen | --sile | --sil)
984 silent=yes ;;
985
986 -runstatedir | --runstatedir | --runstatedi | --runstated \
987 | --runstate | --runstat | --runsta | --runst | --runs \
988 | --run | --ru | --r)
989 ac_prev=runstatedir ;;
990 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
991 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
992 | --run=* | --ru=* | --r=*)
993 runstatedir=$ac_optarg ;;
994
995 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
996 ac_prev=sbindir ;;
997 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
998 | --sbi=* | --sb=*)
999 sbindir=$ac_optarg ;;
1000
1001 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1002 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1003 | --sharedst | --shareds | --shared | --share | --shar \
1004 | --sha | --sh)
1005 ac_prev=sharedstatedir ;;
1006 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1007 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1008 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1009 | --sha=* | --sh=*)
1010 sharedstatedir=$ac_optarg ;;
1011
1012 -site | --site | --sit)
1013 ac_prev=site ;;
1014 -site=* | --site=* | --sit=*)
1015 site=$ac_optarg ;;
1016
1017 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1018 ac_prev=srcdir ;;
1019 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1020 srcdir=$ac_optarg ;;
1021
1022 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1023 | --syscon | --sysco | --sysc | --sys | --sy)
1024 ac_prev=sysconfdir ;;
1025 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1026 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1027 sysconfdir=$ac_optarg ;;
1028
1029 -target | --target | --targe | --targ | --tar | --ta | --t)
1030 ac_prev=target_alias ;;
1031 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1032 target_alias=$ac_optarg ;;
1033
1034 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1035 verbose=yes ;;
1036
1037 -version | --version | --versio | --versi | --vers | -V)
1038 ac_init_version=: ;;
1039
1040 -with-* | --with-*)
1041 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1042 # Reject names that are not valid shell variable names.
1043 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1044 as_fn_error $? "invalid package name: '$ac_useropt'"
1045 ac_useropt_orig=$ac_useropt
1046 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1047 case $ac_user_opts in
1048 *"
1049 "with_$ac_useropt"
1050 "*) ;;
1051 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1052 ac_unrecognized_sep=', ';;
1053 esac
1054 eval with_$ac_useropt=\$ac_optarg ;;
1055
1056 -without-* | --without-*)
1057 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1058 # Reject names that are not valid shell variable names.
1059 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1060 as_fn_error $? "invalid package name: '$ac_useropt'"
1061 ac_useropt_orig=$ac_useropt
1062 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1063 case $ac_user_opts in
1064 *"
1065 "with_$ac_useropt"
1066 "*) ;;
1067 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1068 ac_unrecognized_sep=', ';;
1069 esac
1070 eval with_$ac_useropt=no ;;
1071
1072 --x)
1073 # Obsolete; use --with-x.
1074 with_x=yes ;;
1075
1076 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1077 | --x-incl | --x-inc | --x-in | --x-i)
1078 ac_prev=x_includes ;;
1079 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1080 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1081 x_includes=$ac_optarg ;;
1082
1083 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1084 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1085 ac_prev=x_libraries ;;
1086 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1087 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1088 x_libraries=$ac_optarg ;;
1089
1090 -*) as_fn_error $? "unrecognized option: '$ac_option'
1091 Try '$0 --help' for more information"
1092 ;;
1093
1094 *=*)
1095 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1096 # Reject names that are not valid shell variable names.
1097 case $ac_envvar in #(
1098 '' | [0-9]* | *[!_$as_cr_alnum]* )
1099 as_fn_error $? "invalid variable name: '$ac_envvar'" ;;
1100 esac
1101 eval $ac_envvar=\$ac_optarg
1102 export $ac_envvar ;;
1103
1104 *)
1105 # FIXME: should be removed in autoconf 3.0.
1106 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
1107 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1108 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
1109 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1110 ;;
1111
1112 esac
1113 done
1114
1115 if test -n "$ac_prev"; then
1116 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1117 as_fn_error $? "missing argument to $ac_option"
1118 fi
1119
1120 if test -n "$ac_unrecognized_opts"; then
1121 case $enable_option_checking in
1122 no) ;;
1123 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1124 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1125 esac
1126 fi
1127
1128 # Check all directory arguments for consistency.
1129 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1130 datadir sysconfdir sharedstatedir localstatedir includedir \
1131 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1132 libdir localedir mandir runstatedir
1133 do
1134 eval ac_val=\$$ac_var
1135 # Remove trailing slashes.
1136 case $ac_val in
1137 */ )
1138 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1139 eval $ac_var=\$ac_val;;
1140 esac
1141 # Be sure to have absolute directory names.
1142 case $ac_val in
1143 [\\/$]* | ?:[\\/]* ) continue;;
1144 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1145 esac
1146 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1147 done
1148
1149 # There might be people who depend on the old broken behavior: '$host'
1150 # used to hold the argument of --host etc.
1151 # FIXME: To remove some day.
1152 build=$build_alias
1153 host=$host_alias
1154 target=$target_alias
1155
1156 # FIXME: To remove some day.
1157 if test "x$host_alias" != x; then
1158 if test "x$build_alias" = x; then
1159 cross_compiling=maybe
1160 elif test "x$build_alias" != "x$host_alias"; then
1161 cross_compiling=yes
1162 fi
1163 fi
1164
1165 ac_tool_prefix=
1166 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1167
1168 test "$silent" = yes && exec 6>/dev/null
1169
1170
1171 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1172 ac_ls_di=`ls -di .` &&
1173 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1174 as_fn_error $? "working directory cannot be determined"
1175 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1176 as_fn_error $? "pwd does not report name of working directory"
1177
1178
1179 # Find the source files, if location was not specified.
1180 if test -z "$srcdir"; then
1181 ac_srcdir_defaulted=yes
1182 # Try the directory containing this script, then the parent directory.
1183 ac_confdir=`$as_dirname -- "$as_myself" ||
1184 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1185 X"$as_myself" : 'X\(//\)[^/]' \| \
1186 X"$as_myself" : 'X\(//\)$' \| \
1187 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1188 printf "%s\n" X"$as_myself" |
1189 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1190 s//\1/
1191 q
1192 }
1193 /^X\(\/\/\)[^/].*/{
1194 s//\1/
1195 q
1196 }
1197 /^X\(\/\/\)$/{
1198 s//\1/
1199 q
1200 }
1201 /^X\(\/\).*/{
1202 s//\1/
1203 q
1204 }
1205 s/.*/./; q'`
1206 srcdir=$ac_confdir
1207 if test ! -r "$srcdir/$ac_unique_file"; then
1208 srcdir=..
1209 fi
1210 else
1211 ac_srcdir_defaulted=no
1212 fi
1213 if test ! -r "$srcdir/$ac_unique_file"; then
1214 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1215 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1216 fi
1217 ac_msg="sources are in $srcdir, but 'cd $srcdir' does not work"
1218 ac_abs_confdir=`(
1219 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1220 pwd)`
1221 # When building in place, set srcdir=.
1222 if test "$ac_abs_confdir" = "$ac_pwd"; then
1223 srcdir=.
1224 fi
1225 # Remove unnecessary trailing slashes from srcdir.
1226 # Double slashes in file names in object file debugging info
1227 # mess up M-x gdb in Emacs.
1228 case $srcdir in
1229 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1230 esac
1231 for ac_var in $ac_precious_vars; do
1232 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1233 eval ac_env_${ac_var}_value=\$${ac_var}
1234 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1235 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1236 done
1237
1238 #
1239 # Report the --help message.
1240 #
1241 if test "$ac_init_help" = "long"; then
1242 # Omit some internal or obsolete options to make the list less imposing.
1243 # This message is too long to be a string in the A/UX 3.1 sh.
1244 cat <<_ACEOF
1245 'configure' configures TeX Live auxdir auxsub 2009 to adapt to many kinds of systems.
1246
1247 Usage: $0 [OPTION]... [VAR=VALUE]...
1248
1249 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1250 VAR=VALUE. See below for descriptions of some of the useful variables.
1251
1252 Defaults for the options are specified in brackets.
1253
1254 Configuration:
1255 -h, --help display this help and exit
1256 --help=short display options specific to this package
1257 --help=recursive display the short help of all the included packages
1258 -V, --version display version information and exit
1259 -q, --quiet, --silent do not print 'checking ...' messages
1260 --cache-file=FILE cache test results in FILE [disabled]
1261 -C, --config-cache alias for '--cache-file=config.cache'
1262 -n, --no-create do not create output files
1263 --srcdir=DIR find the sources in DIR [configure dir or '..']
1264
1265 Installation directories:
1266 --prefix=PREFIX install architecture-independent files in PREFIX
1267 [$ac_default_prefix]
1268 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1269 [PREFIX]
1270
1271 By default, 'make install' will install all the files in
1272 '$ac_default_prefix/bin', '$ac_default_prefix/lib' etc. You can specify
1273 an installation prefix other than '$ac_default_prefix' using '--prefix',
1274 for instance '--prefix=\$HOME'.
1275
1276 For better control, use the options below.
1277
1278 Fine tuning of the installation directories:
1279 --bindir=DIR user executables [EPREFIX/bin]
1280 --sbindir=DIR system admin executables [EPREFIX/sbin]
1281 --libexecdir=DIR program executables [EPREFIX/libexec]
1282 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1283 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1284 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1285 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1286 --libdir=DIR object code libraries [EPREFIX/lib]
1287 --includedir=DIR C header files [PREFIX/include]
1288 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1289 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1290 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1291 --infodir=DIR info documentation [DATAROOTDIR/info]
1292 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1293 --mandir=DIR man documentation [DATAROOTDIR/man]
1294 --docdir=DIR documentation root
1295 [DATAROOTDIR/doc/tex-live-auxdir-auxsub]
1296 --htmldir=DIR html documentation [DOCDIR]
1297 --dvidir=DIR dvi documentation [DOCDIR]
1298 --pdfdir=DIR pdf documentation [DOCDIR]
1299 --psdir=DIR ps documentation [DOCDIR]
1300 _ACEOF
1301
1302 cat <<\_ACEOF
1303
1304 Program names:
1305 --program-prefix=PREFIX prepend PREFIX to installed program names
1306 --program-suffix=SUFFIX append SUFFIX to installed program names
1307 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1308 _ACEOF
1309 fi
1310
1311 if test -n "$ac_init_help"; then
1312 case $ac_init_help in
1313 short | recursive ) echo "Configuration of TeX Live auxdir auxsub 2009:";;
1314 esac
1315 cat <<\_ACEOF
1316
1317 Optional Features:
1318 --disable-option-checking ignore unrecognized --enable/--with options
1319 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1320 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1321 --enable-silent-rules less verbose build output (undo: "make V=1")
1322 --disable-silent-rules verbose build output (undo: "make V=0")
1323 --enable-maintainer-mode
1324 enable make rules and dependencies not useful (and
1325 sometimes confusing) to the casual installer
1326
1327 Report bugs to <[email protected]>.
1328 _ACEOF
1329 ac_status=$?
1330 fi
1331
1332 if test "$ac_init_help" = "recursive"; then
1333 # If there are subdirs, report their specific --help.
1334 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1335 test -d "$ac_dir" ||
1336 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1337 continue
1338 ac_builddir=.
1339
1340 case "$ac_dir" in
1341 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1342 *)
1343 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
1344 # A ".." for each directory in $ac_dir_suffix.
1345 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1346 case $ac_top_builddir_sub in
1347 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1348 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1349 esac ;;
1350 esac
1351 ac_abs_top_builddir=$ac_pwd
1352 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1353 # for backward compatibility:
1354 ac_top_builddir=$ac_top_build_prefix
1355
1356 case $srcdir in
1357 .) # We are building in place.
1358 ac_srcdir=.
1359 ac_top_srcdir=$ac_top_builddir_sub
1360 ac_abs_top_srcdir=$ac_pwd ;;
1361 [\\/]* | ?:[\\/]* ) # Absolute name.
1362 ac_srcdir=$srcdir$ac_dir_suffix;
1363 ac_top_srcdir=$srcdir
1364 ac_abs_top_srcdir=$srcdir ;;
1365 *) # Relative name.
1366 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1367 ac_top_srcdir=$ac_top_build_prefix$srcdir
1368 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1369 esac
1370 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1371
1372 cd "$ac_dir" || { ac_status=$?; continue; }
1373 # Check for configure.gnu first; this name is used for a wrapper for
1374 # Metaconfig's "Configure" on case-insensitive file systems.
1375 if test -f "$ac_srcdir/configure.gnu"; then
1376 echo &&
1377 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1378 elif test -f "$ac_srcdir/configure"; then
1379 echo &&
1380 $SHELL "$ac_srcdir/configure" --help=recursive
1381 else
1382 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1383 fi || ac_status=$?
1384 cd "$ac_pwd" || { ac_status=$?; break; }
1385 done
1386 fi
1387
1388 test -n "$ac_init_help" && exit $ac_status
1389 if $ac_init_version; then
1390 cat <<\_ACEOF
1391 TeX Live auxdir auxsub configure 2009
1392 generated by GNU Autoconf 2.72
1393
1394 Copyright (C) 2023 Free Software Foundation, Inc.
1395 This configure script is free software; the Free Software Foundation
1396 gives unlimited permission to copy, distribute and modify it.
1397 _ACEOF
1398 exit
1399 fi
1400
1401 ## ------------------------ ##
1402 ## Autoconf initialization. ##
1403 ## ------------------------ ##
1404 ac_configure_args_raw=
1405 for ac_arg
1406 do
1407 case $ac_arg in
1408 *\'*)
1409 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1410 esac
1411 as_fn_append ac_configure_args_raw " '$ac_arg'"
1412 done
1413
1414 case $ac_configure_args_raw in
1415 *$as_nl*)
1416 ac_safe_unquote= ;;
1417 *)
1418 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
1419 ac_unsafe_a="$ac_unsafe_z#~"
1420 ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
1421 ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
1422 esac
1423
1424 cat >config.log <<_ACEOF
1425 This file contains any messages produced by compilers while
1426 running configure, to aid debugging if configure makes a mistake.
1427
1428 It was created by TeX Live auxdir auxsub $as_me 2009, which was
1429 generated by GNU Autoconf 2.72. Invocation command line was
1430
1431 $ $0$ac_configure_args_raw
1432
1433 _ACEOF
1434 exec 5>>config.log
1435 {
1436 cat <<_ASUNAME
1437 ## --------- ##
1438 ## Platform. ##
1439 ## --------- ##
1440
1441 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1442 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1443 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1444 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1445 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1446
1447 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1448 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1449
1450 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1451 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1452 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1453 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1454 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1455 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1456 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1457
1458 _ASUNAME
1459
1460 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1461 for as_dir in $PATH
1462 do
1463 IFS=$as_save_IFS
1464 case $as_dir in #(((
1465 '') as_dir=./ ;;
1466 */) ;;
1467 *) as_dir=$as_dir/ ;;
1468 esac
1469 printf "%s\n" "PATH: $as_dir"
1470 done
1471 IFS=$as_save_IFS
1472
1473 } >&5
1474
1475 cat >&5 <<_ACEOF
1476
1477
1478 ## ----------- ##
1479 ## Core tests. ##
1480 ## ----------- ##
1481
1482 _ACEOF
1483
1484
1485 # Keep a trace of the command line.
1486 # Strip out --no-create and --no-recursion so they do not pile up.
1487 # Strip out --silent because we don't want to record it for future runs.
1488 # Also quote any args containing shell meta-characters.
1489 # Make two passes to allow for proper duplicate-argument suppression.
1490 ac_configure_args=
1491 ac_configure_args0=
1492 ac_configure_args1=
1493 ac_must_keep_next=false
1494 for ac_pass in 1 2
1495 do
1496 for ac_arg
1497 do
1498 case $ac_arg in
1499 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1500 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1501 | -silent | --silent | --silen | --sile | --sil)
1502 continue ;;
1503 *\'*)
1504 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1505 esac
1506 case $ac_pass in
1507 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1508 2)
1509 as_fn_append ac_configure_args1 " '$ac_arg'"
1510 if test $ac_must_keep_next = true; then
1511 ac_must_keep_next=false # Got value, back to normal.
1512 else
1513 case $ac_arg in
1514 *=* | --config-cache | -C | -disable-* | --disable-* \
1515 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1516 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1517 | -with-* | --with-* | -without-* | --without-* | --x)
1518 case "$ac_configure_args0 " in
1519 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1520 esac
1521 ;;
1522 -* ) ac_must_keep_next=true ;;
1523 esac
1524 fi
1525 as_fn_append ac_configure_args " '$ac_arg'"
1526 ;;
1527 esac
1528 done
1529 done
1530 { ac_configure_args0=; unset ac_configure_args0;}
1531 { ac_configure_args1=; unset ac_configure_args1;}
1532
1533 # When interrupted or exit'd, cleanup temporary files, and complete
1534 # config.log. We remove comments because anyway the quotes in there
1535 # would cause problems or look ugly.
1536 # WARNING: Use '\'' to represent an apostrophe within the trap.
1537 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1538 trap 'exit_status=$?
1539 # Sanitize IFS.
1540 IFS=" "" $as_nl"
1541 # Save into config.log some information that might help in debugging.
1542 {
1543 echo
1544
1545 printf "%s\n" "## ---------------- ##
1546 ## Cache variables. ##
1547 ## ---------------- ##"
1548 echo
1549 # The following way of writing the cache mishandles newlines in values,
1550 (
1551 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1552 eval ac_val=\$$ac_var
1553 case $ac_val in #(
1554 *${as_nl}*)
1555 case $ac_var in #(
1556 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1557 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1558 esac
1559 case $ac_var in #(
1560 _ | IFS | as_nl) ;; #(
1561 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1562 *) { eval $ac_var=; unset $ac_var;} ;;
1563 esac ;;
1564 esac
1565 done
1566 (set) 2>&1 |
1567 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1568 *${as_nl}ac_space=\ *)
1569 sed -n \
1570 "s/'\''/'\''\\\\'\'''\''/g;
1571 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1572 ;; #(
1573 *)
1574 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1575 ;;
1576 esac |
1577 sort
1578 )
1579 echo
1580
1581 printf "%s\n" "## ----------------- ##
1582 ## Output variables. ##
1583 ## ----------------- ##"
1584 echo
1585 for ac_var in $ac_subst_vars
1586 do
1587 eval ac_val=\$$ac_var
1588 case $ac_val in
1589 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1590 esac
1591 printf "%s\n" "$ac_var='\''$ac_val'\''"
1592 done | sort
1593 echo
1594
1595 if test -n "$ac_subst_files"; then
1596 printf "%s\n" "## ------------------- ##
1597 ## File substitutions. ##
1598 ## ------------------- ##"
1599 echo
1600 for ac_var in $ac_subst_files
1601 do
1602 eval ac_val=\$$ac_var
1603 case $ac_val in
1604 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1605 esac
1606 printf "%s\n" "$ac_var='\''$ac_val'\''"
1607 done | sort
1608 echo
1609 fi
1610
1611 if test -s confdefs.h; then
1612 printf "%s\n" "## ----------- ##
1613 ## confdefs.h. ##
1614 ## ----------- ##"
1615 echo
1616 cat confdefs.h
1617 echo
1618 fi
1619 test "$ac_signal" != 0 &&
1620 printf "%s\n" "$as_me: caught signal $ac_signal"
1621 printf "%s\n" "$as_me: exit $exit_status"
1622 } >&5
1623 rm -f core *.core core.conftest.* &&
1624 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1625 exit $exit_status
1626 ' 0
1627 for ac_signal in 1 2 13 15; do
1628 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1629 done
1630 ac_signal=0
1631
1632 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1633 rm -f -r conftest* confdefs.h
1634
1635 printf "%s\n" "/* confdefs.h */" > confdefs.h
1636
1637 # Predefined preprocessor variables.
1638
1639 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
1640
1641 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
1642
1643 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
1644
1645 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
1646
1647 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
1648
1649 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
1650
1651
1652 # Let the site file select an alternate cache file if it wants to.
1653 # Prefer an explicitly selected file to automatically selected ones.
1654 if test -n "$CONFIG_SITE"; then
1655 ac_site_files="$CONFIG_SITE"
1656 elif test "x$prefix" != xNONE; then
1657 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
1658 else
1659 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1660 fi
1661
1662 for ac_site_file in $ac_site_files
1663 do
1664 case $ac_site_file in #(
1665 */*) :
1666 ;; #(
1667 *) :
1668 ac_site_file=./$ac_site_file ;;
1669 esac
1670 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
1671 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1672 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
1673 sed 's/^/| /' "$ac_site_file" >&5
1674 . "$ac_site_file" \
1675 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
1676 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
1677 as_fn_error $? "failed to load site script $ac_site_file
1678 See 'config.log' for more details" "$LINENO" 5; }
1679 fi
1680 done
1681
1682 if test -r "$cache_file"; then
1683 # Some versions of bash will fail to source /dev/null (special files
1684 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1685 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1686 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1687 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
1688 case $cache_file in
1689 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1690 *) . "./$cache_file";;
1691 esac
1692 fi
1693 else
1694 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1695 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
1696 >$cache_file
1697 fi
1698
1699
1700 # Auxiliary files required by this configure script.
1701 ac_aux_files="missing install-sh"
1702
1703 # Locations in which to look for auxiliary files.
1704 ac_aux_dir_candidates="${srcdir}/../../build-aux"
1705
1706 # Search for a directory containing all of the required auxiliary files,
1707 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
1708 # If we don't find one directory that contains all the files we need,
1709 # we report the set of missing files from the *first* directory in
1710 # $ac_aux_dir_candidates and give up.
1711 ac_missing_aux_files=""
1712 ac_first_candidate=:
1713 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
1714 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1715 as_found=false
1716 for as_dir in $ac_aux_dir_candidates
1717 do
1718 IFS=$as_save_IFS
1719 case $as_dir in #(((
1720 '') as_dir=./ ;;
1721 */) ;;
1722 *) as_dir=$as_dir/ ;;
1723 esac
1724 as_found=:
1725
1726 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
1727 ac_aux_dir_found=yes
1728 ac_install_sh=
1729 for ac_aux in $ac_aux_files
1730 do
1731 # As a special case, if "install-sh" is required, that requirement
1732 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
1733 # and $ac_install_sh is set appropriately for whichever one is found.
1734 if test x"$ac_aux" = x"install-sh"
1735 then
1736 if test -f "${as_dir}install-sh"; then
1737 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
1738 ac_install_sh="${as_dir}install-sh -c"
1739 elif test -f "${as_dir}install.sh"; then
1740 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
1741 ac_install_sh="${as_dir}install.sh -c"
1742 elif test -f "${as_dir}shtool"; then
1743 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
1744 ac_install_sh="${as_dir}shtool install -c"
1745 else
1746 ac_aux_dir_found=no
1747 if $ac_first_candidate; then
1748 ac_missing_aux_files="${ac_missing_aux_files} install-sh"
1749 else
1750 break
1751 fi
1752 fi
1753 else
1754 if test -f "${as_dir}${ac_aux}"; then
1755 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
1756 else
1757 ac_aux_dir_found=no
1758 if $ac_first_candidate; then
1759 ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
1760 else
1761 break
1762 fi
1763 fi
1764 fi
1765 done
1766 if test "$ac_aux_dir_found" = yes; then
1767 ac_aux_dir="$as_dir"
1768 break
1769 fi
1770 ac_first_candidate=false
1771
1772 as_found=false
1773 done
1774 IFS=$as_save_IFS
1775 if $as_found
1776 then :
1777
1778 else case e in #(
1779 e) as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5 ;;
1780 esac
1781 fi
1782
1783
1784 # These three variables are undocumented and unsupported,
1785 # and are intended to be withdrawn in a future Autoconf release.
1786 # They can cause serious problems if a builder's source tree is in a directory
1787 # whose full name contains unusual characters.
1788 if test -f "${ac_aux_dir}config.guess"; then
1789 ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
1790 fi
1791 if test -f "${ac_aux_dir}config.sub"; then
1792 ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
1793 fi
1794 if test -f "$ac_aux_dir/configure"; then
1795 ac_configure="$SHELL ${ac_aux_dir}configure"
1796 fi
1797
1798 # Check that the precious variables saved in the cache have kept the same
1799 # value.
1800 ac_cache_corrupted=false
1801 for ac_var in $ac_precious_vars; do
1802 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1803 eval ac_new_set=\$ac_env_${ac_var}_set
1804 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1805 eval ac_new_val=\$ac_env_${ac_var}_value
1806 case $ac_old_set,$ac_new_set in
1807 set,)
1808 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&5
1809 printf "%s\n" "$as_me: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&2;}
1810 ac_cache_corrupted=: ;;
1811 ,set)
1812 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was not set in the previous run" >&5
1813 printf "%s\n" "$as_me: error: '$ac_var' was not set in the previous run" >&2;}
1814 ac_cache_corrupted=: ;;
1815 ,);;
1816 *)
1817 if test "x$ac_old_val" != "x$ac_new_val"; then
1818 # differences in whitespace do not lead to failure.
1819 ac_old_val_w=`echo x $ac_old_val`
1820 ac_new_val_w=`echo x $ac_new_val`
1821 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1822 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' has changed since the previous run:" >&5
1823 printf "%s\n" "$as_me: error: '$ac_var' has changed since the previous run:" >&2;}
1824 ac_cache_corrupted=:
1825 else
1826 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&5
1827 printf "%s\n" "$as_me: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&2;}
1828 eval $ac_var=\$ac_old_val
1829 fi
1830 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: '$ac_old_val'" >&5
1831 printf "%s\n" "$as_me: former value: '$ac_old_val'" >&2;}
1832 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: '$ac_new_val'" >&5
1833 printf "%s\n" "$as_me: current value: '$ac_new_val'" >&2;}
1834 fi;;
1835 esac
1836 # Pass precious variables to config.status.
1837 if test "$ac_new_set" = set; then
1838 case $ac_new_val in
1839 *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1840 *) ac_arg=$ac_var=$ac_new_val ;;
1841 esac
1842 case " $ac_configure_args " in
1843 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1844 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1845 esac
1846 fi
1847 done
1848 if $ac_cache_corrupted; then
1849 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
1850 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
1851 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1852 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
1853 as_fn_error $? "run '${MAKE-make} distclean' and/or 'rm $cache_file'
1854 and start over" "$LINENO" 5
1855 fi
1856 ## -------------------- ##
1857 ## Main body of script. ##
1858 ## -------------------- ##
1859
1860 ac_ext=c
1861 ac_cpp='$CPP $CPPFLAGS'
1862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1865
1866
1867
1868
1869
1870
1871 am__api_version='1.18'
1872
1873
1874
1875 # Find a good install program. We prefer a C program (faster),
1876 # so one script is as good as another. But avoid the broken or
1877 # incompatible versions:
1878 # SysV /etc/install, /usr/sbin/install
1879 # SunOS /usr/etc/install
1880 # IRIX /sbin/install
1881 # AIX /bin/install
1882 # AmigaOS /C/install, which installs bootblocks on floppy discs
1883 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1884 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1885 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1886 # OS/2's system install, which has a completely different semantic
1887 # ./install, which can be erroneously created by make from ./install.sh.
1888 # Reject install programs that cannot install multiple files.
1889 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
1890 printf %s "checking for a BSD-compatible install... " >&6; }
1891 if test -z "$INSTALL"; then
1892 if test ${ac_cv_path_install+y}
1893 then :
1894 printf %s "(cached) " >&6
1895 else case e in #(
1896 e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1897 for as_dir in $PATH
1898 do
1899 IFS=$as_save_IFS
1900 case $as_dir in #(((
1901 '') as_dir=./ ;;
1902 */) ;;
1903 *) as_dir=$as_dir/ ;;
1904 esac
1905 # Account for fact that we put trailing slashes in our PATH walk.
1906 case $as_dir in #((
1907 ./ | /[cC]/* | \
1908 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1909 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
1910 /usr/ucb/* ) ;;
1911 *)
1912 # OSF1 and SCO ODT 3.0 have their own names for install.
1913 # Don't use installbsd from OSF since it installs stuff as root
1914 # by default.
1915 for ac_prog in ginstall scoinst install; do
1916 for ac_exec_ext in '' $ac_executable_extensions; do
1917 if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
1918 if test $ac_prog = install &&
1919 grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1920 # AIX install. It has an incompatible calling convention.
1921 :
1922 elif test $ac_prog = install &&
1923 grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1924 # program-specific install script used by HP pwplus--don't use.
1925 :
1926 else
1927 rm -rf conftest.one conftest.two conftest.dir
1928 echo one > conftest.one
1929 echo two > conftest.two
1930 mkdir conftest.dir
1931 if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
1932 test -s conftest.one && test -s conftest.two &&
1933 test -s conftest.dir/conftest.one &&
1934 test -s conftest.dir/conftest.two
1935 then
1936 ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
1937 break 3
1938 fi
1939 fi
1940 fi
1941 done
1942 done
1943 ;;
1944 esac
1945
1946 done
1947 IFS=$as_save_IFS
1948
1949 rm -rf conftest.one conftest.two conftest.dir
1950 ;;
1951 esac
1952 fi
1953 if test ${ac_cv_path_install+y}; then
1954 INSTALL=$ac_cv_path_install
1955 else
1956 # As a last resort, use the slow shell script. Don't cache a
1957 # value for INSTALL within a source directory, because that will
1958 # break other packages using the cache if that directory is
1959 # removed, or if the value is a relative name.
1960 INSTALL=$ac_install_sh
1961 fi
1962 fi
1963 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
1964 printf "%s\n" "$INSTALL" >&6; }
1965
1966 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1967 # It thinks the first close brace ends the variable substitution.
1968 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1969
1970 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1971
1972 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1973
1974 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether sleep supports fractional seconds" >&5
1975 printf %s "checking whether sleep supports fractional seconds... " >&6; }
1976 if test ${am_cv_sleep_fractional_seconds+y}
1977 then :
1978 printf %s "(cached) " >&6
1979 else case e in #(
1980 e) if sleep 0.001 2>/dev/null
1981 then :
1982 am_cv_sleep_fractional_seconds=yes
1983 else case e in #(
1984 e) am_cv_sleep_fractional_seconds=no ;;
1985 esac
1986 fi
1987 ;;
1988 esac
1989 fi
1990 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_sleep_fractional_seconds" >&5
1991 printf "%s\n" "$am_cv_sleep_fractional_seconds" >&6; }
1992
1993 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking filesystem timestamp resolution" >&5
1994 printf %s "checking filesystem timestamp resolution... " >&6; }
1995 if test ${am_cv_filesystem_timestamp_resolution+y}
1996 then :
1997 printf %s "(cached) " >&6
1998 else case e in #(
1999 e) # Default to the worst case.
2000 am_cv_filesystem_timestamp_resolution=2
2001
2002 # Only try to go finer than 1 sec if sleep can do it.
2003 # Don't try 1 sec, because if 0.01 sec and 0.1 sec don't work,
2004 # - 1 sec is not much of a win compared to 2 sec, and
2005 # - it takes 2 seconds to perform the test whether 1 sec works.
2006 #
2007 # Instead, just use the default 2s on platforms that have 1s resolution,
2008 # accept the extra 1s delay when using $sleep in the Automake tests, in
2009 # exchange for not incurring the 2s delay for running the test for all
2010 # packages.
2011 #
2012 am_try_resolutions=
2013 if test "$am_cv_sleep_fractional_seconds" = yes; then
2014 # Even a millisecond often causes a bunch of false positives,
2015 # so just try a hundredth of a second. The time saved between .001 and
2016 # .01 is not terribly consequential.
2017 am_try_resolutions="0.01 0.1 $am_try_resolutions"
2018 fi
2019
2020 # In order to catch current-generation FAT out, we must *modify* files
2021 # that already exist; the *creation* timestamp is finer. Use names
2022 # that make ls -t sort them differently when they have equal
2023 # timestamps than when they have distinct timestamps, keeping
2024 # in mind that ls -t prints the *newest* file first.
2025 rm -f conftest.ts?
2026 : > conftest.ts1
2027 : > conftest.ts2
2028 : > conftest.ts3
2029
2030 # Make sure ls -t actually works. Do 'set' in a subshell so we don't
2031 # clobber the current shell's arguments. (Outer-level square brackets
2032 # are removed by m4; they're present so that m4 does not expand
2033 # <dollar><star>; be careful, easy to get confused.)
2034 if (
2035 set X `ls -t conftest.ts[12]` &&
2036 {
2037 test "$*" != "X conftest.ts1 conftest.ts2" ||
2038 test "$*" != "X conftest.ts2 conftest.ts1";
2039 }
2040 ); then :; else
2041 # If neither matched, then we have a broken ls. This can happen
2042 # if, for instance, CONFIG_SHELL is bash and it inherits a
2043 # broken ls alias from the environment. This has actually
2044 # happened. Such a system could not be considered "sane".
2045 printf "%s\n" ""Bad output from ls -t: \"`ls -t conftest.ts[12]`\""" >&5
2046 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
2047 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
2048 as_fn_error $? "ls -t produces unexpected output.
2049 Make sure there is not a broken ls alias in your environment.
2050 See 'config.log' for more details" "$LINENO" 5; }
2051 fi
2052
2053 for am_try_res in $am_try_resolutions; do
2054 # Any one fine-grained sleep might happen to cross the boundary
2055 # between two values of a coarser actual resolution, but if we do
2056 # two fine-grained sleeps in a row, at least one of them will fall
2057 # entirely within a coarse interval.
2058 echo alpha > conftest.ts1
2059 sleep $am_try_res
2060 echo beta > conftest.ts2
2061 sleep $am_try_res
2062 echo gamma > conftest.ts3
2063
2064 # We assume that 'ls -t' will make use of high-resolution
2065 # timestamps if the operating system supports them at all.
2066 if (set X `ls -t conftest.ts?` &&
2067 test "$2" = conftest.ts3 &&
2068 test "$3" = conftest.ts2 &&
2069 test "$4" = conftest.ts1); then
2070 #
2071 # Ok, ls -t worked. If we're at a resolution of 1 second, we're done,
2072 # because we don't need to test make.
2073 make_ok=true
2074 if test $am_try_res != 1; then
2075 # But if we've succeeded so far with a subsecond resolution, we
2076 # have one more thing to check: make. It can happen that
2077 # everything else supports the subsecond mtimes, but make doesn't;
2078 # notably on macOS, which ships make 3.81 from 2006 (the last one
2079 # released under GPLv2). https://bugs.gnu.org/68808
2080 #
2081 # We test $MAKE if it is defined in the environment, else "make".
2082 # It might get overridden later, but our hope is that in practice
2083 # it does not matter: it is the system "make" which is (by far)
2084 # the most likely to be broken, whereas if the user overrides it,
2085 # probably they did so with a better, or at least not worse, make.
2086 # https://lists.gnu.org/archive/html/automake/2024-06/msg00051.html
2087 #
2088 # Create a Makefile (real tab character here):
2089 rm -f conftest.mk
2090 echo 'conftest.ts1: conftest.ts2' >conftest.mk
2091 echo ' touch conftest.ts2' >>conftest.mk
2092 #
2093 # Now, running
2094 # touch conftest.ts1; touch conftest.ts2; make
2095 # should touch ts1 because ts2 is newer. This could happen by luck,
2096 # but most often, it will fail if make's support is insufficient. So
2097 # test for several consecutive successes.
2098 #
2099 # (We reuse conftest.ts[12] because we still want to modify existing
2100 # files, not create new ones, per above.)
2101 n=0
2102 make=${MAKE-make}
2103 until test $n -eq 3; do
2104 echo one > conftest.ts1
2105 sleep $am_try_res
2106 echo two > conftest.ts2 # ts2 should now be newer than ts1
2107 if $make -f conftest.mk | grep 'up to date' >/dev/null; then
2108 make_ok=false
2109 break # out of $n loop
2110 fi
2111 n=`expr $n + 1`
2112 done
2113 fi
2114 #
2115 if $make_ok; then
2116 # Everything we know to check worked out, so call this resolution good.
2117 am_cv_filesystem_timestamp_resolution=$am_try_res
2118 break # out of $am_try_res loop
2119 fi
2120 # Otherwise, we'll go on to check the next resolution.
2121 fi
2122 done
2123 rm -f conftest.ts?
2124 # (end _am_filesystem_timestamp_resolution)
2125 ;;
2126 esac
2127 fi
2128 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_filesystem_timestamp_resolution" >&5
2129 printf "%s\n" "$am_cv_filesystem_timestamp_resolution" >&6; }
2130
2131 # This check should not be cached, as it may vary across builds of
2132 # different projects.
2133 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2134 printf %s "checking whether build environment is sane... " >&6; }
2135 # Reject unsafe characters in $srcdir or the absolute working directory
2136 # name. Accept space and tab only in the latter.
2137 am_lf='
2138 '
2139 case `pwd` in
2140 *[\\\"\#\$\&\'\`$am_lf]*)
2141 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2142 printf "%s\n" "no" >&6; }
2143 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2144 esac
2145 case $srcdir in
2146 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2147 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2148 printf "%s\n" "no" >&6; }
2149 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2150 esac
2151
2152 # Do 'set' in a subshell so we don't clobber the current shell's
2153 # arguments. Must try -L first in case configure is actually a
2154 # symlink; some systems play weird games with the mod time of symlinks
2155 # (eg FreeBSD returns the mod time of the symlink's containing
2156 # directory).
2157 am_build_env_is_sane=no
2158 am_has_slept=no
2159 rm -f conftest.file
2160 for am_try in 1 2; do
2161 echo "timestamp, slept: $am_has_slept" > conftest.file
2162 if (
2163 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2164 if test "$*" = "X"; then
2165 # -L didn't work.
2166 set X `ls -t "$srcdir/configure" conftest.file`
2167 fi
2168 test "$2" = conftest.file
2169 ); then
2170 am_build_env_is_sane=yes
2171 break
2172 fi
2173 # Just in case.
2174 sleep "$am_cv_filesystem_timestamp_resolution"
2175 am_has_slept=yes
2176 done
2177
2178 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_build_env_is_sane" >&5
2179 printf "%s\n" "$am_build_env_is_sane" >&6; }
2180 if test "$am_build_env_is_sane" = no; then
2181 as_fn_error $? "newly created file is older than distributed files!
2182 Check your system clock" "$LINENO" 5
2183 fi
2184
2185 # If we didn't sleep, we still need to ensure time stamps of config.status and
2186 # generated files are strictly newer.
2187 am_sleep_pid=
2188 if test -e conftest.file || grep 'slept: no' conftest.file >/dev/null 2>&1
2189 then :
2190
2191 else case e in #(
2192 e) ( sleep "$am_cv_filesystem_timestamp_resolution" ) &
2193 am_sleep_pid=$!
2194 ;;
2195 esac
2196 fi
2197
2198 rm -f conftest.file
2199
2200 test "$program_prefix" != NONE &&
2201 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2202 # Use a double $ so make ignores it.
2203 test "$program_suffix" != NONE &&
2204 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2205 # Double any \ or $.
2206 # By default was 's,x,x', remove it if useless.
2207 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2208 program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"`
2209
2210
2211 # Expand $ac_aux_dir to an absolute path.
2212 am_aux_dir=`cd "$ac_aux_dir" && pwd`
2213
2214
2215 if test x"${MISSING+set}" != xset; then
2216 MISSING="\${SHELL} '$am_aux_dir/missing'"
2217 fi
2218 # Use eval to expand $SHELL
2219 if eval "$MISSING --is-lightweight"; then
2220 am_missing_run="$MISSING "
2221 else
2222 am_missing_run=
2223 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2224 printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2225 fi
2226
2227 if test x"${install_sh+set}" != xset; then
2228 case $am_aux_dir in
2229 *\ * | *\ *)
2230 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2231 *)
2232 install_sh="\${SHELL} $am_aux_dir/install-sh"
2233 esac
2234 fi
2235
2236 # Installed binaries are usually stripped using 'strip' when the user
2237 # run "make install-strip". However 'strip' might not be the right
2238 # tool to use in cross-compilation environments, therefore Automake
2239 # will honor the 'STRIP' environment variable to overrule this program.
2240 if test "$cross_compiling" != no; then
2241 if test -n "$ac_tool_prefix"; then
2242 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2243 set dummy ${ac_tool_prefix}strip; ac_word=$2
2244 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2245 printf %s "checking for $ac_word... " >&6; }
2246 if test ${ac_cv_prog_STRIP+y}
2247 then :
2248 printf %s "(cached) " >&6
2249 else case e in #(
2250 e) if test -n "$STRIP"; then
2251 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2252 else
2253 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2254 for as_dir in $PATH
2255 do
2256 IFS=$as_save_IFS
2257 case $as_dir in #(((
2258 '') as_dir=./ ;;
2259 */) ;;
2260 *) as_dir=$as_dir/ ;;
2261 esac
2262 for ac_exec_ext in '' $ac_executable_extensions; do
2263 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2264 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2265 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2266 break 2
2267 fi
2268 done
2269 done
2270 IFS=$as_save_IFS
2271
2272 fi ;;
2273 esac
2274 fi
2275 STRIP=$ac_cv_prog_STRIP
2276 if test -n "$STRIP"; then
2277 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2278 printf "%s\n" "$STRIP" >&6; }
2279 else
2280 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2281 printf "%s\n" "no" >&6; }
2282 fi
2283
2284
2285 fi
2286 if test -z "$ac_cv_prog_STRIP"; then
2287 ac_ct_STRIP=$STRIP
2288 # Extract the first word of "strip", so it can be a program name with args.
2289 set dummy strip; ac_word=$2
2290 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2291 printf %s "checking for $ac_word... " >&6; }
2292 if test ${ac_cv_prog_ac_ct_STRIP+y}
2293 then :
2294 printf %s "(cached) " >&6
2295 else case e in #(
2296 e) if test -n "$ac_ct_STRIP"; then
2297 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2298 else
2299 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2300 for as_dir in $PATH
2301 do
2302 IFS=$as_save_IFS
2303 case $as_dir in #(((
2304 '') as_dir=./ ;;
2305 */) ;;
2306 *) as_dir=$as_dir/ ;;
2307 esac
2308 for ac_exec_ext in '' $ac_executable_extensions; do
2309 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2310 ac_cv_prog_ac_ct_STRIP="strip"
2311 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2312 break 2
2313 fi
2314 done
2315 done
2316 IFS=$as_save_IFS
2317
2318 fi ;;
2319 esac
2320 fi
2321 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2322 if test -n "$ac_ct_STRIP"; then
2323 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2324 printf "%s\n" "$ac_ct_STRIP" >&6; }
2325 else
2326 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2327 printf "%s\n" "no" >&6; }
2328 fi
2329
2330 if test "x$ac_ct_STRIP" = x; then
2331 STRIP=":"
2332 else
2333 case $cross_compiling:$ac_tool_warned in
2334 yes:)
2335 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2336 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2337 ac_tool_warned=yes ;;
2338 esac
2339 STRIP=$ac_ct_STRIP
2340 fi
2341 else
2342 STRIP="$ac_cv_prog_STRIP"
2343 fi
2344
2345 fi
2346 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2347
2348
2349 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
2350 printf %s "checking for a race-free mkdir -p... " >&6; }
2351 if test -z "$MKDIR_P"; then
2352 if test ${ac_cv_path_mkdir+y}
2353 then :
2354 printf %s "(cached) " >&6
2355 else case e in #(
2356 e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2357 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2358 do
2359 IFS=$as_save_IFS
2360 case $as_dir in #(((
2361 '') as_dir=./ ;;
2362 */) ;;
2363 *) as_dir=$as_dir/ ;;
2364 esac
2365 for ac_prog in mkdir gmkdir; do
2366 for ac_exec_ext in '' $ac_executable_extensions; do
2367 as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
2368 case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
2369 'mkdir ('*'coreutils) '* | \
2370 *'BusyBox '* | \
2371 'mkdir (fileutils) '4.1*)
2372 ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
2373 break 3;;
2374 esac
2375 done
2376 done
2377 done
2378 IFS=$as_save_IFS
2379 ;;
2380 esac
2381 fi
2382
2383 test -d ./--version && rmdir ./--version
2384 if test ${ac_cv_path_mkdir+y}; then
2385 MKDIR_P="$ac_cv_path_mkdir -p"
2386 else
2387 # As a last resort, use plain mkdir -p,
2388 # in the hope it doesn't have the bugs of ancient mkdir.
2389 MKDIR_P='mkdir -p'
2390 fi
2391 fi
2392 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2393 printf "%s\n" "$MKDIR_P" >&6; }
2394
2395 for ac_prog in gawk mawk nawk awk
2396 do
2397 # Extract the first word of "$ac_prog", so it can be a program name with args.
2398 set dummy $ac_prog; ac_word=$2
2399 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2400 printf %s "checking for $ac_word... " >&6; }
2401 if test ${ac_cv_prog_AWK+y}
2402 then :
2403 printf %s "(cached) " >&6
2404 else case e in #(
2405 e) if test -n "$AWK"; then
2406 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2407 else
2408 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2409 for as_dir in $PATH
2410 do
2411 IFS=$as_save_IFS
2412 case $as_dir in #(((
2413 '') as_dir=./ ;;
2414 */) ;;
2415 *) as_dir=$as_dir/ ;;
2416 esac
2417 for ac_exec_ext in '' $ac_executable_extensions; do
2418 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2419 ac_cv_prog_AWK="$ac_prog"
2420 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2421 break 2
2422 fi
2423 done
2424 done
2425 IFS=$as_save_IFS
2426
2427 fi ;;
2428 esac
2429 fi
2430 AWK=$ac_cv_prog_AWK
2431 if test -n "$AWK"; then
2432 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2433 printf "%s\n" "$AWK" >&6; }
2434 else
2435 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2436 printf "%s\n" "no" >&6; }
2437 fi
2438
2439
2440 test -n "$AWK" && break
2441 done
2442
2443 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2444 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2445 set x ${MAKE-make}
2446 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2447 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
2448 then :
2449 printf %s "(cached) " >&6
2450 else case e in #(
2451 e) cat >conftest.make <<\_ACEOF
2452 SHELL = /bin/sh
2453 all:
2454 @echo '@@@%%%=$(MAKE)=@@@%%%'
2455 _ACEOF
2456 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2457 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2458 *@@@%%%=?*=@@@%%%*)
2459 eval ac_cv_prog_make_${ac_make}_set=yes;;
2460 *)
2461 eval ac_cv_prog_make_${ac_make}_set=no;;
2462 esac
2463 rm -f conftest.make ;;
2464 esac
2465 fi
2466 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2467 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2468 printf "%s\n" "yes" >&6; }
2469 SET_MAKE=
2470 else
2471 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2472 printf "%s\n" "no" >&6; }
2473 SET_MAKE="MAKE=${MAKE-make}"
2474 fi
2475
2476 rm -rf .tst 2>/dev/null
2477 mkdir .tst 2>/dev/null
2478 if test -d .tst; then
2479 am__leading_dot=.
2480 else
2481 am__leading_dot=_
2482 fi
2483 rmdir .tst 2>/dev/null
2484
2485 AM_DEFAULT_VERBOSITY=1
2486 # Check whether --enable-silent-rules was given.
2487 if test ${enable_silent_rules+y}
2488 then :
2489 enableval=$enable_silent_rules;
2490 fi
2491
2492 am_make=${MAKE-make}
2493 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2494 printf %s "checking whether $am_make supports nested variables... " >&6; }
2495 if test ${am_cv_make_support_nested_variables+y}
2496 then :
2497 printf %s "(cached) " >&6
2498 else case e in #(
2499 e) if printf "%s\n" 'TRUE=$(BAR$(V))
2500 BAR0=false
2501 BAR1=true
2502 V=1
2503 am__doit:
2504 @$(TRUE)
2505 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2506 am_cv_make_support_nested_variables=yes
2507 else
2508 am_cv_make_support_nested_variables=no
2509 fi ;;
2510 esac
2511 fi
2512 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2513 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
2514 AM_BACKSLASH='\'
2515
2516 am__rm_f_notfound=
2517 if (rm -f && rm -fr && rm -rf) 2>/dev/null
2518 then :
2519
2520 else case e in #(
2521 e) am__rm_f_notfound='""' ;;
2522 esac
2523 fi
2524
2525
2526 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking xargs -n works" >&5
2527 printf %s "checking xargs -n works... " >&6; }
2528 if test ${am_cv_xargs_n_works+y}
2529 then :
2530 printf %s "(cached) " >&6
2531 else case e in #(
2532 e) if test "`echo 1 2 3 | xargs -n2 echo`" = "1 2
2533 3"
2534 then :
2535 am_cv_xargs_n_works=yes
2536 else case e in #(
2537 e) am_cv_xargs_n_works=no ;;
2538 esac
2539 fi ;;
2540 esac
2541 fi
2542 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_xargs_n_works" >&5
2543 printf "%s\n" "$am_cv_xargs_n_works" >&6; }
2544 if test "$am_cv_xargs_n_works" = yes
2545 then :
2546 am__xargs_n='xargs -n'
2547 else case e in #(
2548 e) am__xargs_n='am__xargs_n () { shift; sed "s/ /\\n/g" | while read am__xargs_n_arg; do "" "$am__xargs_n_arg"; done; }'
2549 ;;
2550 esac
2551 fi
2552
2553 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2554 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2555 # is not polluted with repeated "-I."
2556 am__isrc=' -I$(srcdir)'
2557 # test to see if srcdir already configured
2558 if test -f $srcdir/config.status; then
2559 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2560 fi
2561 fi
2562
2563 # test whether we have cygpath
2564 if test -z "$CYGPATH_W"; then
2565 if (cygpath --version) >/dev/null 2>/dev/null; then
2566 CYGPATH_W='cygpath -w'
2567 else
2568 CYGPATH_W=echo
2569 fi
2570 fi
2571
2572
2573 # Define the identity of the package.
2574 PACKAGE='tex-live-auxdir-auxsub'
2575 VERSION='2009'
2576
2577
2578 printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
2579
2580
2581 printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h
2582
2583 # Some tools Automake needs.
2584
2585 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2586
2587
2588 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2589
2590
2591 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2592
2593
2594 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2595
2596
2597 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2598
2599 # For better backward compatibility. To be removed once Automake 1.9.x
2600 # dies out for good. For more background, see:
2601 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2602 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2603 mkdir_p='$(MKDIR_P)'
2604
2605 # We need awk for the "check" target (and possibly the TAP driver). The
2606 # system "awk" is bad on some platforms.
2607 # Always define AMTAR for backward compatibility. Yes, it's still used
2608 # in the wild :-( We should find a proper way to deprecate it ...
2609 AMTAR='$${TAR-tar}'
2610
2611
2612 # We'll loop over all known methods to create a tar archive until one works.
2613 _am_tools='gnutar plaintar pax cpio none'
2614
2615 # The POSIX 1988 'ustar' format is defined with fixed-size fields.
2616 # There is notably a 21 bits limit for the UID and the GID. In fact,
2617 # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343
2618 # and bug#13588).
2619 am_max_uid=2097151 # 2^21 - 1
2620 am_max_gid=$am_max_uid
2621 # The $UID and $GID variables are not portable, so we need to resort
2622 # to the POSIX-mandated id(1) utility. Errors in the 'id' calls
2623 # below are definitely unexpected, so allow the users to see them
2624 # (that is, avoid stderr redirection).
2625 am_uid=`id -u || echo unknown`
2626 am_gid=`id -g || echo unknown`
2627 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether UID '$am_uid' is supported by ustar format" >&5
2628 printf %s "checking whether UID '$am_uid' is supported by ustar format... " >&6; }
2629 if test x$am_uid = xunknown; then
2630 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ancient id detected; assuming current UID is ok, but dist-ustar might not work" >&5
2631 printf "%s\n" "$as_me: WARNING: ancient id detected; assuming current UID is ok, but dist-ustar might not work" >&2;}
2632 elif test $am_uid -le $am_max_uid; then
2633 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2634 printf "%s\n" "yes" >&6; }
2635 else
2636 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2637 printf "%s\n" "no" >&6; }
2638 _am_tools=none
2639 fi
2640 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether GID '$am_gid' is supported by ustar format" >&5
2641 printf %s "checking whether GID '$am_gid' is supported by ustar format... " >&6; }
2642 if test x$gm_gid = xunknown; then
2643 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ancient id detected; assuming current GID is ok, but dist-ustar might not work" >&5
2644 printf "%s\n" "$as_me: WARNING: ancient id detected; assuming current GID is ok, but dist-ustar might not work" >&2;}
2645 elif test $am_gid -le $am_max_gid; then
2646 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2647 printf "%s\n" "yes" >&6; }
2648 else
2649 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2650 printf "%s\n" "no" >&6; }
2651 _am_tools=none
2652 fi
2653
2654 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5
2655 printf %s "checking how to create a ustar tar archive... " >&6; }
2656
2657 # Go ahead even if we have the value already cached. We do so because we
2658 # need to set the values for the 'am__tar' and 'am__untar' variables.
2659 _am_tools=${am_cv_prog_tar_ustar-$_am_tools}
2660
2661 for _am_tool in $_am_tools; do
2662 case $_am_tool in
2663 gnutar)
2664 for _am_tar in tar gnutar gtar; do
2665 { echo "$as_me:$LINENO: $_am_tar --version" >&5
2666 ($_am_tar --version) >&5 2>&5
2667 ac_status=$?
2668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2669 (exit $ac_status); } && break
2670 done
2671 am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"'
2672 am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"'
2673 am__untar="$_am_tar -xf -"
2674 ;;
2675 plaintar)
2676 # Must skip GNU tar: if it does not support --format= it doesn't create
2677 # ustar tarball either.
2678 (tar --version) >/dev/null 2>&1 && continue
2679 am__tar='tar chf - "$$tardir"'
2680 am__tar_='tar chf - "$tardir"'
2681 am__untar='tar xf -'
2682 ;;
2683 pax)
2684 am__tar='pax -L -x ustar -w "$$tardir"'
2685 am__tar_='pax -L -x ustar -w "$tardir"'
2686 am__untar='pax -r'
2687 ;;
2688 cpio)
2689 am__tar='find "$$tardir" -print | cpio -o -H ustar -L'
2690 am__tar_='find "$tardir" -print | cpio -o -H ustar -L'
2691 am__untar='cpio -i -H ustar -d'
2692 ;;
2693 none)
2694 am__tar=false
2695 am__tar_=false
2696 am__untar=false
2697 ;;
2698 esac
2699
2700 # If the value was cached, stop now. We just wanted to have am__tar
2701 # and am__untar set.
2702 test -n "${am_cv_prog_tar_ustar}" && break
2703
2704 # tar/untar a dummy directory, and stop if the command works.
2705 rm -rf conftest.dir
2706 mkdir conftest.dir
2707 echo GrepMe > conftest.dir/file
2708 { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
2709 (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
2710 ac_status=$?
2711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2712 (exit $ac_status); }
2713 rm -rf conftest.dir
2714 if test -s conftest.tar; then
2715 { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
2716 ($am__untar <conftest.tar) >&5 2>&5
2717 ac_status=$?
2718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2719 (exit $ac_status); }
2720 { echo "$as_me:$LINENO: cat conftest.dir/file" >&5
2721 (cat conftest.dir/file) >&5 2>&5
2722 ac_status=$?
2723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2724 (exit $ac_status); }
2725 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
2726 fi
2727 done
2728 rm -rf conftest.dir
2729
2730 if test ${am_cv_prog_tar_ustar+y}
2731 then :
2732 printf %s "(cached) " >&6
2733 else case e in #(
2734 e) am_cv_prog_tar_ustar=$_am_tool ;;
2735 esac
2736 fi
2737
2738 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5
2739 printf "%s\n" "$am_cv_prog_tar_ustar" >&6; }
2740
2741
2742
2743
2744
2745 # Variables for tags utilities; see am/tags.am
2746 if test -z "$CTAGS"; then
2747 CTAGS=ctags
2748 fi
2749
2750 if test -z "$ETAGS"; then
2751 ETAGS=etags
2752 fi
2753
2754 if test -z "$CSCOPE"; then
2755 CSCOPE=cscope
2756 fi
2757
2758
2759
2760
2761
2762
2763
2764
2765 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2766 printf %s "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2767 # Check whether --enable-maintainer-mode was given.
2768 if test ${enable_maintainer_mode+y}
2769 then :
2770 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2771 else case e in #(
2772 e) USE_MAINTAINER_MODE=no ;;
2773 esac
2774 fi
2775
2776 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2777 printf "%s\n" "$USE_MAINTAINER_MODE" >&6; }
2778 if test $USE_MAINTAINER_MODE = yes; then
2779 MAINTAINER_MODE_TRUE=
2780 MAINTAINER_MODE_FALSE='#'
2781 else
2782 MAINTAINER_MODE_TRUE='#'
2783 MAINTAINER_MODE_FALSE=
2784 fi
2785
2786 MAINT=$MAINTAINER_MODE_TRUE
2787
2788
2789
2790 echo "'$srcdir/configure' $ac_configure_args" >../../subsubdir-conf.cmd
2791
2792 ac_config_files="$ac_config_files Makefile"
2793
2794
2795 cat >confcache <<\_ACEOF
2796 # This file is a shell script that caches the results of configure
2797 # tests run on this system so they can be shared between configure
2798 # scripts and configure runs, see configure's option --config-cache.
2799 # It is not useful on other systems. If it contains results you don't
2800 # want to keep, you may remove or edit it.
2801 #
2802 # config.status only pays attention to the cache file if you give it
2803 # the --recheck option to rerun configure.
2804 #
2805 # 'ac_cv_env_foo' variables (set or unset) will be overridden when
2806 # loading this file, other *unset* 'ac_cv_foo' will be assigned the
2807 # following values.
2808
2809 _ACEOF
2810
2811 # The following way of writing the cache mishandles newlines in values,
2812 # but we know of no workaround that is simple, portable, and efficient.
2813 # So, we kill variables containing newlines.
2814 # Ultrix sh set writes to stderr and can't be redirected directly,
2815 # and sets the high bit in the cache file unless we assign to the vars.
2816 (
2817 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
2818 eval ac_val=\$$ac_var
2819 case $ac_val in #(
2820 *${as_nl}*)
2821 case $ac_var in #(
2822 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2823 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2824 esac
2825 case $ac_var in #(
2826 _ | IFS | as_nl) ;; #(
2827 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2828 *) { eval $ac_var=; unset $ac_var;} ;;
2829 esac ;;
2830 esac
2831 done
2832
2833 (set) 2>&1 |
2834 case $as_nl`(ac_space=' '; set) 2>&1` in #(
2835 *${as_nl}ac_space=\ *)
2836 # 'set' does not quote correctly, so add quotes: double-quote
2837 # substitution turns \\\\ into \\, and sed turns \\ into \.
2838 sed -n \
2839 "s/'/'\\\\''/g;
2840 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2841 ;; #(
2842 *)
2843 # 'set' quotes correctly as required by POSIX, so do not add quotes.
2844 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2845 ;;
2846 esac |
2847 sort
2848 ) |
2849 sed '
2850 /^ac_cv_env_/b end
2851 t clear
2852 :clear
2853 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
2854 t end
2855 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2856 :end' >>confcache
2857 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
2858 if test -w "$cache_file"; then
2859 if test "x$cache_file" != "x/dev/null"; then
2860 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
2861 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
2862 if test ! -f "$cache_file" || test -h "$cache_file"; then
2863 cat confcache >"$cache_file"
2864 else
2865 case $cache_file in #(
2866 */* | ?:*)
2867 mv -f confcache "$cache_file"$$ &&
2868 mv -f "$cache_file"$$ "$cache_file" ;; #(
2869 *)
2870 mv -f confcache "$cache_file" ;;
2871 esac
2872 fi
2873 fi
2874 else
2875 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
2876 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
2877 fi
2878 fi
2879 rm -f confcache
2880
2881 test "x$prefix" = xNONE && prefix=$ac_default_prefix
2882 # Let make expand exec_prefix.
2883 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2884
2885 # Transform confdefs.h into DEFS.
2886 # Protect against shell expansion while executing Makefile rules.
2887 # Protect against Makefile macro expansion.
2888 #
2889 # If the first sed substitution is executed (which looks for macros that
2890 # take arguments), then branch to the quote section. Otherwise,
2891 # look for a macro that doesn't take arguments.
2892 ac_script='
2893 :mline
2894 /\\$/{
2895 N
2896 s,\\\n,,
2897 b mline
2898 }
2899 t clear
2900 :clear
2901 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
2902 t quote
2903 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
2904 t quote
2905 b any
2906 :quote
2907 s/[][ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
2908 s/\$/$$/g
2909 H
2910 :any
2911 ${
2912 g
2913 s/^\n//
2914 s/\n/ /g
2915 p
2916 }
2917 '
2918 DEFS=`sed -n "$ac_script" confdefs.h`
2919
2920
2921 ac_libobjs=
2922 ac_ltlibobjs=
2923 U=
2924 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2925 # 1. Remove the extension, and $U if already installed.
2926 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
2927 ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
2928 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
2929 # will be set to the directory where LIBOBJS objects are built.
2930 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
2931 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
2932 done
2933 LIBOBJS=$ac_libobjs
2934
2935 LTLIBOBJS=$ac_ltlibobjs
2936
2937
2938 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
2939 printf %s "checking that generated files are newer than configure... " >&6; }
2940 if test -n "$am_sleep_pid"; then
2941 # Hide warnings about reused PIDs.
2942 wait $am_sleep_pid 2>/dev/null
2943 fi
2944 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
2945 printf "%s\n" "done" >&6; }
2946 case $enable_silent_rules in # (((
2947 yes) AM_DEFAULT_VERBOSITY=0;;
2948 no) AM_DEFAULT_VERBOSITY=1;;
2949 esac
2950 if test $am_cv_make_support_nested_variables = yes; then
2951 AM_V='$(V)'
2952 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2953 else
2954 AM_V=$AM_DEFAULT_VERBOSITY
2955 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2956 fi
2957
2958
2959 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
2960 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
2961 Usually this means the macro was only invoked conditionally." "$LINENO" 5
2962 fi
2963
2964 : "${CONFIG_STATUS=./config.status}"
2965 ac_write_fail=0
2966 ac_clean_files_save=$ac_clean_files
2967 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2968 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
2969 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
2970 as_write_fail=0
2971 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
2972 #! $SHELL
2973 # Generated by $as_me.
2974 # Run this file to recreate the current configuration.
2975 # Compiler output produced by configure, useful for debugging
2976 # configure, is in config.log if it exists.
2977
2978 debug=false
2979 ac_cs_recheck=false
2980 ac_cs_silent=false
2981
2982 SHELL=\${CONFIG_SHELL-$SHELL}
2983 export SHELL
2984 _ASEOF
2985 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
2986 ## -------------------- ##
2987 ## M4sh Initialization. ##
2988 ## -------------------- ##
2989
2990 # Be more Bourne compatible
2991 DUALCASE=1; export DUALCASE # for MKS sh
2992 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
2993 then :
2994 emulate sh
2995 NULLCMD=:
2996 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
2997 # is contrary to our usage. Disable this feature.
2998 alias -g '${1+"$@"}'='"$@"'
2999 setopt NO_GLOB_SUBST
3000 else case e in #(
3001 e) case `(set -o) 2>/dev/null` in #(
3002 *posix*) :
3003 set -o posix ;; #(
3004 *) :
3005 ;;
3006 esac ;;
3007 esac
3008 fi
3009
3010
3011
3012 # Reset variables that may have inherited troublesome values from
3013 # the environment.
3014
3015 # IFS needs to be set, to space, tab, and newline, in precisely that order.
3016 # (If _AS_PATH_WALK were called with IFS unset, it would have the
3017 # side effect of setting IFS to empty, thus disabling word splitting.)
3018 # Quoting is to prevent editors from complaining about space-tab.
3019 as_nl='
3020 '
3021 export as_nl
3022 IFS=" "" $as_nl"
3023
3024 PS1='$ '
3025 PS2='> '
3026 PS4='+ '
3027
3028 # Ensure predictable behavior from utilities with locale-dependent output.
3029 LC_ALL=C
3030 export LC_ALL
3031 LANGUAGE=C
3032 export LANGUAGE
3033
3034 # We cannot yet rely on "unset" to work, but we need these variables
3035 # to be unset--not just set to an empty or harmless value--now, to
3036 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
3037 # also avoids known problems related to "unset" and subshell syntax
3038 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
3039 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
3040 do eval test \${$as_var+y} \
3041 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
3042 done
3043
3044 # Ensure that fds 0, 1, and 2 are open.
3045 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
3046 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
3047 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
3048
3049 # The user is always right.
3050 if ${PATH_SEPARATOR+false} :; then
3051 PATH_SEPARATOR=:
3052 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
3053 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
3054 PATH_SEPARATOR=';'
3055 }
3056 fi
3057
3058
3059 # Find who we are. Look in the path if we contain no directory separator.
3060 as_myself=
3061 case $0 in #((
3062 *[\\/]* ) as_myself=$0 ;;
3063 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3064 for as_dir in $PATH
3065 do
3066 IFS=$as_save_IFS
3067 case $as_dir in #(((
3068 '') as_dir=./ ;;
3069 */) ;;
3070 *) as_dir=$as_dir/ ;;
3071 esac
3072 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
3073 done
3074 IFS=$as_save_IFS
3075
3076 ;;
3077 esac
3078 # We did not find ourselves, most probably we were run as 'sh COMMAND'
3079 # in which case we are not to be found in the path.
3080 if test "x$as_myself" = x; then
3081 as_myself=$0
3082 fi
3083 if test ! -f "$as_myself"; then
3084 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3085 exit 1
3086 fi
3087
3088
3089
3090 # as_fn_error STATUS ERROR [LINENO LOG_FD]
3091 # ----------------------------------------
3092 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
3093 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
3094 # script with STATUS, using 1 if that was 0.
3095 as_fn_error ()
3096 {
3097 as_status=$1; test $as_status -eq 0 && as_status=1
3098 if test "$4"; then
3099 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3100 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
3101 fi
3102 printf "%s\n" "$as_me: error: $2" >&2
3103 as_fn_exit $as_status
3104 } # as_fn_error
3105
3106
3107 # as_fn_set_status STATUS
3108 # -----------------------
3109 # Set $? to STATUS, without forking.
3110 as_fn_set_status ()
3111 {
3112 return $1
3113 } # as_fn_set_status
3114
3115 # as_fn_exit STATUS
3116 # -----------------
3117 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
3118 as_fn_exit ()
3119 {
3120 set +e
3121 as_fn_set_status $1
3122 exit $1
3123 } # as_fn_exit
3124
3125 # as_fn_unset VAR
3126 # ---------------
3127 # Portably unset VAR.
3128 as_fn_unset ()
3129 {
3130 { eval $1=; unset $1;}
3131 }
3132 as_unset=as_fn_unset
3133
3134 # as_fn_append VAR VALUE
3135 # ----------------------
3136 # Append the text in VALUE to the end of the definition contained in VAR. Take
3137 # advantage of any shell optimizations that allow amortized linear growth over
3138 # repeated appends, instead of the typical quadratic growth present in naive
3139 # implementations.
3140 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
3141 then :
3142 eval 'as_fn_append ()
3143 {
3144 eval $1+=\$2
3145 }'
3146 else case e in #(
3147 e) as_fn_append ()
3148 {
3149 eval $1=\$$1\$2
3150 } ;;
3151 esac
3152 fi # as_fn_append
3153
3154 # as_fn_arith ARG...
3155 # ------------------
3156 # Perform arithmetic evaluation on the ARGs, and store the result in the
3157 # global $as_val. Take advantage of shells that can avoid forks. The arguments
3158 # must be portable across $(()) and expr.
3159 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
3160 then :
3161 eval 'as_fn_arith ()
3162 {
3163 as_val=$(( $* ))
3164 }'
3165 else case e in #(
3166 e) as_fn_arith ()
3167 {
3168 as_val=`expr "$@" || test $? -eq 1`
3169 } ;;
3170 esac
3171 fi # as_fn_arith
3172
3173
3174 if expr a : '\(a\)' >/dev/null 2>&1 &&
3175 test "X`expr 00001 : '.*\(...\)'`" = X001; then
3176 as_expr=expr
3177 else
3178 as_expr=false
3179 fi
3180
3181 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
3182 as_basename=basename
3183 else
3184 as_basename=false
3185 fi
3186
3187 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
3188 as_dirname=dirname
3189 else
3190 as_dirname=false
3191 fi
3192
3193 as_me=`$as_basename -- "$0" ||
3194 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3195 X"$0" : 'X\(//\)$' \| \
3196 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3197 printf "%s\n" X/"$0" |
3198 sed '/^.*\/\([^/][^/]*\)\/*$/{
3199 s//\1/
3200 q
3201 }
3202 /^X\/\(\/\/\)$/{
3203 s//\1/
3204 q
3205 }
3206 /^X\/\(\/\).*/{
3207 s//\1/
3208 q
3209 }
3210 s/.*/./; q'`
3211
3212 # Avoid depending upon Character Ranges.
3213 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3214 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3215 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3216 as_cr_digits='0123456789'
3217 as_cr_alnum=$as_cr_Letters$as_cr_digits
3218
3219
3220 # Determine whether it's possible to make 'echo' print without a newline.
3221 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
3222 # for compatibility with existing Makefiles.
3223 ECHO_C= ECHO_N= ECHO_T=
3224 case `echo -n x` in #(((((
3225 -n*)
3226 case `echo 'xy\c'` in
3227 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
3228 xy) ECHO_C='\c';;
3229 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
3230 ECHO_T=' ';;
3231 esac;;
3232 *)
3233 ECHO_N='-n';;
3234 esac
3235
3236 # For backward compatibility with old third-party macros, we provide
3237 # the shell variables $as_echo and $as_echo_n. New code should use
3238 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
3239 as_echo='printf %s\n'
3240 as_echo_n='printf %s'
3241
3242 rm -f conf$$ conf$$.exe conf$$.file
3243 if test -d conf$$.dir; then
3244 rm -f conf$$.dir/conf$$.file
3245 else
3246 rm -f conf$$.dir
3247 mkdir conf$$.dir 2>/dev/null
3248 fi
3249 if (echo >conf$$.file) 2>/dev/null; then
3250 if ln -s conf$$.file conf$$ 2>/dev/null; then
3251 as_ln_s='ln -s'
3252 # ... but there are two gotchas:
3253 # 1) On MSYS, both 'ln -s file dir' and 'ln file dir' fail.
3254 # 2) DJGPP < 2.04 has no symlinks; 'ln -s' creates a wrapper executable.
3255 # In both cases, we have to default to 'cp -pR'.
3256 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
3257 as_ln_s='cp -pR'
3258 elif ln conf$$.file conf$$ 2>/dev/null; then
3259 as_ln_s=ln
3260 else
3261 as_ln_s='cp -pR'
3262 fi
3263 else
3264 as_ln_s='cp -pR'
3265 fi
3266 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
3267 rmdir conf$$.dir 2>/dev/null
3268
3269
3270 # as_fn_mkdir_p
3271 # -------------
3272 # Create "$as_dir" as a directory, including parents if necessary.
3273 as_fn_mkdir_p ()
3274 {
3275
3276 case $as_dir in #(
3277 -*) as_dir=./$as_dir;;
3278 esac
3279 test -d "$as_dir" || eval $as_mkdir_p || {
3280 as_dirs=
3281 while :; do
3282 case $as_dir in #(
3283 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
3284 *) as_qdir=$as_dir;;
3285 esac
3286 as_dirs="'$as_qdir' $as_dirs"
3287 as_dir=`$as_dirname -- "$as_dir" ||
3288 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3289 X"$as_dir" : 'X\(//\)[^/]' \| \
3290 X"$as_dir" : 'X\(//\)$' \| \
3291 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3292 printf "%s\n" X"$as_dir" |
3293 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3294 s//\1/
3295 q
3296 }
3297 /^X\(\/\/\)[^/].*/{
3298 s//\1/
3299 q
3300 }
3301 /^X\(\/\/\)$/{
3302 s//\1/
3303 q
3304 }
3305 /^X\(\/\).*/{
3306 s//\1/
3307 q
3308 }
3309 s/.*/./; q'`
3310 test -d "$as_dir" && break
3311 done
3312 test -z "$as_dirs" || eval "mkdir $as_dirs"
3313 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
3314
3315
3316 } # as_fn_mkdir_p
3317 if mkdir -p . 2>/dev/null; then
3318 as_mkdir_p='mkdir -p "$as_dir"'
3319 else
3320 test -d ./-p && rmdir ./-p
3321 as_mkdir_p=false
3322 fi
3323
3324
3325 # as_fn_executable_p FILE
3326 # -----------------------
3327 # Test if FILE is an executable regular file.
3328 as_fn_executable_p ()
3329 {
3330 test -f "$1" && test -x "$1"
3331 } # as_fn_executable_p
3332 as_test_x='test -x'
3333 as_executable_p=as_fn_executable_p
3334
3335 # Sed expression to map a string onto a valid CPP name.
3336 as_sed_cpp="y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
3337 as_tr_cpp="eval sed '$as_sed_cpp'" # deprecated
3338
3339 # Sed expression to map a string onto a valid variable name.
3340 as_sed_sh="y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
3341 as_tr_sh="eval sed '$as_sed_sh'" # deprecated
3342
3343
3344 exec 6>&1
3345 ## ----------------------------------- ##
3346 ## Main body of $CONFIG_STATUS script. ##
3347 ## ----------------------------------- ##
3348 _ASEOF
3349 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
3350
3351 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3352 # Save the log message, to keep $0 and so on meaningful, and to
3353 # report actual input values of CONFIG_FILES etc. instead of their
3354 # values after options handling.
3355 ac_log="
3356 This file was extended by TeX Live auxdir auxsub $as_me 2009, which was
3357 generated by GNU Autoconf 2.72. Invocation command line was
3358
3359 CONFIG_FILES = $CONFIG_FILES
3360 CONFIG_HEADERS = $CONFIG_HEADERS
3361 CONFIG_LINKS = $CONFIG_LINKS
3362 CONFIG_COMMANDS = $CONFIG_COMMANDS
3363 $ $0 $@
3364
3365 on `(hostname || uname -n) 2>/dev/null | sed 1q`
3366 "
3367
3368 _ACEOF
3369
3370 case $ac_config_files in *"
3371 "*) set x $ac_config_files; shift; ac_config_files=$*;;
3372 esac
3373
3374
3375
3376 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3377 # Files that config.status was made for.
3378 config_files="$ac_config_files"
3379
3380 _ACEOF
3381
3382 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3383 ac_cs_usage="\
3384 '$as_me' instantiates files and other configuration actions
3385 from templates according to the current configuration. Unless the files
3386 and actions are specified as TAGs, all are instantiated by default.
3387
3388 Usage: $0 [OPTION]... [TAG]...
3389
3390 -h, --help print this help, then exit
3391 -V, --version print version number and configuration settings, then exit
3392 --config print configuration, then exit
3393 -q, --quiet, --silent
3394 do not print progress messages
3395 -d, --debug don't remove temporary files
3396 --recheck update $as_me by reconfiguring in the same conditions
3397 --file=FILE[:TEMPLATE]
3398 instantiate the configuration file FILE
3399
3400 Configuration files:
3401 $config_files
3402
3403 Report bugs to <[email protected]>."
3404
3405 _ACEOF
3406 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
3407 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
3408 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3409 ac_cs_config='$ac_cs_config_escaped'
3410 ac_cs_version="\\
3411 TeX Live auxdir auxsub config.status 2009
3412 configured by $0, generated by GNU Autoconf 2.72,
3413 with options \\"\$ac_cs_config\\"
3414
3415 Copyright (C) 2023 Free Software Foundation, Inc.
3416 This config.status script is free software; the Free Software Foundation
3417 gives unlimited permission to copy, distribute and modify it."
3418
3419 ac_pwd='$ac_pwd'
3420 srcdir='$srcdir'
3421 INSTALL='$INSTALL'
3422 MKDIR_P='$MKDIR_P'
3423 AWK='$AWK'
3424 test -n "\$AWK" || AWK=awk
3425 _ACEOF
3426
3427 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3428 # The default lists apply if the user does not specify any file.
3429 ac_need_defaults=:
3430 while test $# != 0
3431 do
3432 case $1 in
3433 --*=?*)
3434 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3435 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3436 ac_shift=:
3437 ;;
3438 --*=)
3439 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3440 ac_optarg=
3441 ac_shift=:
3442 ;;
3443 *)
3444 ac_option=$1
3445 ac_optarg=$2
3446 ac_shift=shift
3447 ;;
3448 esac
3449
3450 case $ac_option in
3451 # Handling of the options.
3452 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3453 ac_cs_recheck=: ;;
3454 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
3455 printf "%s\n" "$ac_cs_version"; exit ;;
3456 --config | --confi | --conf | --con | --co | --c )
3457 printf "%s\n" "$ac_cs_config"; exit ;;
3458 --debug | --debu | --deb | --de | --d | -d )
3459 debug=: ;;
3460 --file | --fil | --fi | --f )
3461 $ac_shift
3462 case $ac_optarg in
3463 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
3464 '') as_fn_error $? "missing file argument" ;;
3465 esac
3466 as_fn_append CONFIG_FILES " '$ac_optarg'"
3467 ac_need_defaults=false;;
3468 --he | --h | --help | --hel | -h )
3469 printf "%s\n" "$ac_cs_usage"; exit ;;
3470 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3471 | -silent | --silent | --silen | --sile | --sil | --si | --s)
3472 ac_cs_silent=: ;;
3473
3474 # This is an error.
3475 -*) as_fn_error $? "unrecognized option: '$1'
3476 Try '$0 --help' for more information." ;;
3477
3478 *) as_fn_append ac_config_targets " $1"
3479 ac_need_defaults=false ;;
3480
3481 esac
3482 shift
3483 done
3484
3485 ac_configure_extra_args=
3486
3487 if $ac_cs_silent; then
3488 exec 6>/dev/null
3489 ac_configure_extra_args="$ac_configure_extra_args --silent"
3490 fi
3491
3492 _ACEOF
3493 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3494 if \$ac_cs_recheck; then
3495 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3496 shift
3497 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
3498 CONFIG_SHELL='$SHELL'
3499 export CONFIG_SHELL
3500 exec "\$@"
3501 fi
3502
3503 _ACEOF
3504 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3505 exec 5>>config.log
3506 {
3507 echo
3508 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3509 ## Running $as_me. ##
3510 _ASBOX
3511 printf "%s\n" "$ac_log"
3512 } >&5
3513
3514 _ACEOF
3515 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3516 _ACEOF
3517
3518 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3519
3520 # Handling of arguments.
3521 for ac_config_target in $ac_config_targets
3522 do
3523 case $ac_config_target in
3524 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3525
3526 *) as_fn_error $? "invalid argument: '$ac_config_target'" "$LINENO" 5;;
3527 esac
3528 done
3529
3530
3531 # If the user did not use the arguments to specify the items to instantiate,
3532 # then the envvar interface is used. Set only those that are not.
3533 # We use the long form for the default assignment because of an extremely
3534 # bizarre bug on SunOS 4.1.3.
3535 if $ac_need_defaults; then
3536 test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
3537 fi
3538
3539 # Have a temporary directory for convenience. Make it in the build tree
3540 # simply because there is no reason against having it here, and in addition,
3541 # creating and moving files from /tmp can sometimes cause problems.
3542 # Hook for its removal unless debugging.
3543 # Note that there is a small window in which the directory will not be cleaned:
3544 # after its creation but before its name has been assigned to '$tmp'.
3545 $debug ||
3546 {
3547 tmp= ac_tmp=
3548 trap 'exit_status=$?
3549 : "${ac_tmp:=$tmp}"
3550 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
3551 ' 0
3552 trap 'as_fn_exit 1' 1 2 13 15
3553 }
3554 # Create a (secure) tmp directory for tmp files.
3555
3556 {
3557 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
3558 test -d "$tmp"
3559 } ||
3560 {
3561 tmp=./conf$$-$RANDOM
3562 (umask 077 && mkdir "$tmp")
3563 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
3564 ac_tmp=$tmp
3565
3566 # Set up the scripts for CONFIG_FILES section.
3567 # No need to generate them if there are no CONFIG_FILES.
3568 # This happens for instance with './config.status config.h'.
3569 if test -n "$CONFIG_FILES"; then
3570
3571
3572 ac_cr=`echo X | tr X '\015'`
3573 # On cygwin, bash can eat \r inside `` if the user requested igncr.
3574 # But we know of no other shell where ac_cr would be empty at this
3575 # point, so we can use a bashism as a fallback.
3576 if test "x$ac_cr" = x; then
3577 eval ac_cr=\$\'\\r\'
3578 fi
3579 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
3580 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
3581 ac_cs_awk_cr='\\r'
3582 else
3583 ac_cs_awk_cr=$ac_cr
3584 fi
3585
3586 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
3587 _ACEOF
3588
3589
3590 {
3591 echo "cat >conf$$subs.awk <<_ACEOF" &&
3592 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
3593 echo "_ACEOF"
3594 } >conf$$subs.sh ||
3595 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3596 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
3597 ac_delim='%!_!# '
3598 for ac_last_try in false false false false false :; do
3599 . ./conf$$subs.sh ||
3600 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3601
3602 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
3603 if test $ac_delim_n = $ac_delim_num; then
3604 break
3605 elif $ac_last_try; then
3606 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3607 else
3608 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
3609 fi
3610 done
3611 rm -f conf$$subs.sh
3612
3613 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3614 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
3615 _ACEOF
3616 sed -n '
3617 h
3618 s/^/S["/; s/!.*/"]=/
3619 p
3620 g
3621 s/^[^!]*!//
3622 :repl
3623 t repl
3624 s/'"$ac_delim"'$//
3625 t delim
3626 :nl
3627 h
3628 s/\(.\{148\}\)..*/\1/
3629 t more1
3630 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
3631 p
3632 n
3633 b repl
3634 :more1
3635 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3636 p
3637 g
3638 s/.\{148\}//
3639 t nl
3640 :delim
3641 h
3642 s/\(.\{148\}\)..*/\1/
3643 t more2
3644 s/["\\]/\\&/g; s/^/"/; s/$/"/
3645 p
3646 b
3647 :more2
3648 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3649 p
3650 g
3651 s/.\{148\}//
3652 t delim
3653 ' <conf$$subs.awk | sed '
3654 /^[^""]/{
3655 N
3656 s/\n//
3657 }
3658 ' >>$CONFIG_STATUS || ac_write_fail=1
3659 rm -f conf$$subs.awk
3660 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3661 _ACAWK
3662 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
3663 for (key in S) S_is_set[key] = 1
3664 FS = ""
3665
3666 }
3667 {
3668 line = $ 0
3669 nfields = split(line, field, "@")
3670 substed = 0
3671 len = length(field[1])
3672 for (i = 2; i < nfields; i++) {
3673 key = field[i]
3674 keylen = length(key)
3675 if (S_is_set[key]) {
3676 value = S[key]
3677 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
3678 len += length(value) + length(field[++i])
3679 substed = 1
3680 } else
3681 len += 1 + keylen
3682 }
3683
3684 print line
3685 }
3686
3687 _ACAWK
3688 _ACEOF
3689 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3690 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
3691 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
3692 else
3693 cat
3694 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
3695 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
3696 _ACEOF
3697
3698 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
3699 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
3700 # trailing colons and then remove the whole line if VPATH becomes empty
3701 # (actually we leave an empty line to preserve line numbers).
3702 if test "x$srcdir" = x.; then
3703 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
3704 h
3705 s///
3706 s/^/:/
3707 s/[ ]*$/:/
3708 s/:\$(srcdir):/:/g
3709 s/:\${srcdir}:/:/g
3710 s/:@srcdir@:/:/g
3711 s/^:*//
3712 s/:*$//
3713 x
3714 s/\(=[ ]*\).*/\1/
3715 G
3716 s/\n//
3717 s/^[^=]*=[ ]*$//
3718 }'
3719 fi
3720
3721 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3722 fi # test -n "$CONFIG_FILES"
3723
3724
3725 eval set X " :F $CONFIG_FILES "
3726 shift
3727 for ac_tag
3728 do
3729 case $ac_tag in
3730 :[FHLC]) ac_mode=$ac_tag; continue;;
3731 esac
3732 case $ac_mode$ac_tag in
3733 :[FHL]*:*);;
3734 :L* | :C*:*) as_fn_error $? "invalid tag '$ac_tag'" "$LINENO" 5;;
3735 :[FH]-) ac_tag=-:-;;
3736 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
3737 esac
3738 ac_save_IFS=$IFS
3739 IFS=:
3740 set x $ac_tag
3741 IFS=$ac_save_IFS
3742 shift
3743 ac_file=$1
3744 shift
3745
3746 case $ac_mode in
3747 :L) ac_source=$1;;
3748 :[FH])
3749 ac_file_inputs=
3750 for ac_f
3751 do
3752 case $ac_f in
3753 -) ac_f="$ac_tmp/stdin";;
3754 *) # Look for the file first in the build tree, then in the source tree
3755 # (if the path is not absolute). The absolute path cannot be DOS-style,
3756 # because $ac_f cannot contain ':'.
3757 test -f "$ac_f" ||
3758 case $ac_f in
3759 [\\/$]*) false;;
3760 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
3761 esac ||
3762 as_fn_error 1 "cannot find input file: '$ac_f'" "$LINENO" 5;;
3763 esac
3764 case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
3765 as_fn_append ac_file_inputs " '$ac_f'"
3766 done
3767
3768 # Let's still pretend it is 'configure' which instantiates (i.e., don't
3769 # use $as_me), people would be surprised to read:
3770 # /* config.h. Generated by config.status. */
3771 configure_input='Generated from '`
3772 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
3773 `' by configure.'
3774 if test x"$ac_file" != x-; then
3775 configure_input="$ac_file. $configure_input"
3776 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
3777 printf "%s\n" "$as_me: creating $ac_file" >&6;}
3778 fi
3779 # Neutralize special characters interpreted by sed in replacement strings.
3780 case $configure_input in #(
3781 *\&* | *\|* | *\\* )
3782 ac_sed_conf_input=`printf "%s\n" "$configure_input" |
3783 sed 's/[\\\\&|]/\\\\&/g'`;; #(
3784 *) ac_sed_conf_input=$configure_input;;
3785 esac
3786
3787 case $ac_tag in
3788 *:-:* | *:-) cat >"$ac_tmp/stdin" \
3789 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
3790 esac
3791 ;;
3792 esac
3793
3794 ac_dir=`$as_dirname -- "$ac_file" ||
3795 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3796 X"$ac_file" : 'X\(//\)[^/]' \| \
3797 X"$ac_file" : 'X\(//\)$' \| \
3798 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
3799 printf "%s\n" X"$ac_file" |
3800 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3801 s//\1/
3802 q
3803 }
3804 /^X\(\/\/\)[^/].*/{
3805 s//\1/
3806 q
3807 }
3808 /^X\(\/\/\)$/{
3809 s//\1/
3810 q
3811 }
3812 /^X\(\/\).*/{
3813 s//\1/
3814 q
3815 }
3816 s/.*/./; q'`
3817 as_dir="$ac_dir"; as_fn_mkdir_p
3818 ac_builddir=.
3819
3820 case "$ac_dir" in
3821 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3822 *)
3823 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
3824 # A ".." for each directory in $ac_dir_suffix.
3825 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
3826 case $ac_top_builddir_sub in
3827 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3828 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3829 esac ;;
3830 esac
3831 ac_abs_top_builddir=$ac_pwd
3832 ac_abs_builddir=$ac_pwd$ac_dir_suffix
3833 # for backward compatibility:
3834 ac_top_builddir=$ac_top_build_prefix
3835
3836 case $srcdir in
3837 .) # We are building in place.
3838 ac_srcdir=.
3839 ac_top_srcdir=$ac_top_builddir_sub
3840 ac_abs_top_srcdir=$ac_pwd ;;
3841 [\\/]* | ?:[\\/]* ) # Absolute name.
3842 ac_srcdir=$srcdir$ac_dir_suffix;
3843 ac_top_srcdir=$srcdir
3844 ac_abs_top_srcdir=$srcdir ;;
3845 *) # Relative name.
3846 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
3847 ac_top_srcdir=$ac_top_build_prefix$srcdir
3848 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
3849 esac
3850 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
3851
3852
3853 case $ac_mode in
3854 :F)
3855 #
3856 # CONFIG_FILE
3857 #
3858
3859 case $INSTALL in
3860 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
3861 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
3862 esac
3863 ac_MKDIR_P=$MKDIR_P
3864 case $MKDIR_P in
3865 [\\/$]* | ?:[\\/]* ) ;;
3866 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
3867 esac
3868 _ACEOF
3869
3870 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3871 # If the template does not know about datarootdir, expand it.
3872 # FIXME: This hack should be removed a few years after 2.60.
3873 ac_datarootdir_hack=; ac_datarootdir_seen=
3874 ac_sed_dataroot='
3875 /datarootdir/ {
3876 p
3877 q
3878 }
3879 /@datadir@/p
3880 /@docdir@/p
3881 /@infodir@/p
3882 /@localedir@/p
3883 /@mandir@/p'
3884 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
3885 *datarootdir*) ac_datarootdir_seen=yes;;
3886 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
3887 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
3888 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
3889 _ACEOF
3890 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3891 ac_datarootdir_hack='
3892 s&@datadir@&$datadir&g
3893 s&@docdir@&$docdir&g
3894 s&@infodir@&$infodir&g
3895 s&@localedir@&$localedir&g
3896 s&@mandir@&$mandir&g
3897 s&\\\${datarootdir}&$datarootdir&g' ;;
3898 esac
3899 _ACEOF
3900
3901 # Neutralize VPATH when '$srcdir' = '.'.
3902 # Shell code in configure.ac might set extrasub.
3903 # FIXME: do we really want to maintain this feature?
3904 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3905 ac_sed_extra="$ac_vpsub
3906 $extrasub
3907 _ACEOF
3908 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3909 :t
3910 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3911 s|@configure_input@|$ac_sed_conf_input|;t t
3912 s&@top_builddir@&$ac_top_builddir_sub&;t t
3913 s&@top_build_prefix@&$ac_top_build_prefix&;t t
3914 s&@srcdir@&$ac_srcdir&;t t
3915 s&@abs_srcdir@&$ac_abs_srcdir&;t t
3916 s&@top_srcdir@&$ac_top_srcdir&;t t
3917 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
3918 s&@builddir@&$ac_builddir&;t t
3919 s&@abs_builddir@&$ac_abs_builddir&;t t
3920 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
3921 s&@INSTALL@&$ac_INSTALL&;t t
3922 s&@MKDIR_P@&$ac_MKDIR_P&;t t
3923 $ac_datarootdir_hack
3924 "
3925 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
3926 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
3927
3928 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
3929 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
3930 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
3931 "$ac_tmp/out"`; test -z "$ac_out"; } &&
3932 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable 'datarootdir'
3933 which seems to be undefined. Please make sure it is defined" >&5
3934 printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable 'datarootdir'
3935 which seems to be undefined. Please make sure it is defined" >&2;}
3936
3937 rm -f "$ac_tmp/stdin"
3938 case $ac_file in
3939 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
3940 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
3941 esac \
3942 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
3943 ;;
3944
3945
3946
3947 esac
3948
3949 done # for ac_tag
3950
3951
3952 as_fn_exit 0
3953 _ACEOF
3954 ac_clean_files=$ac_clean_files_save
3955
3956 test $ac_write_fail = 0 ||
3957 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
3958
3959
3960 # configure is writing to config.log, and then calls config.status.
3961 # config.status does its own redirection, appending to config.log.
3962 # Unfortunately, on DOS this fails, as config.log is still kept open
3963 # by configure, so config.status won't be able to write to it; its
3964 # output is simply discarded. So we exec the FD to /dev/null,
3965 # effectively closing config.log, so it can be properly (re)opened and
3966 # appended to by config.status. When coming back to configure, we
3967 # need to make the FD available again.
3968 if test "$no_create" != yes; then
3969 ac_cs_success=:
3970 ac_config_status_args=
3971 test "$silent" = yes &&
3972 ac_config_status_args="$ac_config_status_args --quiet"
3973 exec 5>/dev/null
3974 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3975 exec 5>>config.log
3976 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3977 # would make configure fail if this is the last instruction.
3978 $ac_cs_success || as_fn_exit 1
3979 fi
3980 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
3981 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
3982 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
3983 fi
3984
3985