Debian Codegraph @

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