Debian Codegraph @

utils/vlna/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 vlna (TeX Live) 1.5.
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='vlna (TeX Live)'
605 PACKAGE_TARNAME='vlna--tex-live-'
606 PACKAGE_VERSION='1.5'
607 PACKAGE_STRING='vlna (TeX Live) 1.5'
608 PACKAGE_BUGREPORT='[email protected]'
609 PACKAGE_URL=''
610
611 ac_unique_file="vlna-src/vlna.w"
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 VLNA_TREE
649 do_cweb_FALSE
650 do_cweb_TRUE
651 CSPLAIN
652 CWEAVE
653 CTANGLE
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 vlna (TeX Live) 1.5 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 [DATAROOTDIR/doc/vlna--tex-live-]
1360 --htmldir=DIR html documentation [DOCDIR]
1361 --dvidir=DIR dvi documentation [DOCDIR]
1362 --pdfdir=DIR pdf documentation [DOCDIR]
1363 --psdir=DIR ps documentation [DOCDIR]
1364 _ACEOF
1365
1366 cat <<\_ACEOF
1367
1368 Program names:
1369 --program-prefix=PREFIX prepend PREFIX to installed program names
1370 --program-suffix=SUFFIX append SUFFIX to installed program names
1371 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1372 _ACEOF
1373 fi
1374
1375 if test -n "$ac_init_help"; then
1376 case $ac_init_help in
1377 short | recursive ) echo "Configuration of vlna (TeX Live) 1.5:";;
1378 esac
1379 cat <<\_ACEOF
1380
1381 Optional Features:
1382 --disable-option-checking ignore unrecognized --enable/--with options
1383 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1384 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1385 --enable-silent-rules less verbose build output (undo: "make V=1")
1386 --disable-silent-rules verbose build output (undo: "make V=0")
1387 --enable-maintainer-mode
1388 enable make rules and dependencies not useful (and
1389 sometimes confusing) to the casual installer
1390 --enable-dependency-tracking
1391 do not reject slow dependency extractors
1392 --disable-dependency-tracking
1393 speeds up one-time build
1394 --enable-compiler-warnings=[no|min|yes|max|all]
1395 Turn on compiler warnings [default: yes if
1396 maintainer-mode, min otherwise]
1397
1398 Some influential environment variables:
1399 CC C compiler command
1400 CFLAGS C compiler flags
1401 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1402 nonstandard directory <lib dir>
1403 LIBS libraries to pass to the linker, e.g. -l<library>
1404 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1405 you have headers in a nonstandard directory <include dir>
1406
1407 Use these variables to override the choices made by 'configure' or to help
1408 it to find libraries and programs with nonstandard names/locations.
1409
1410 Report bugs to <[email protected]>.
1411 _ACEOF
1412 ac_status=$?
1413 fi
1414
1415 if test "$ac_init_help" = "recursive"; then
1416 # If there are subdirs, report their specific --help.
1417 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1418 test -d "$ac_dir" ||
1419 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1420 continue
1421 ac_builddir=.
1422
1423 case "$ac_dir" in
1424 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1425 *)
1426 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
1427 # A ".." for each directory in $ac_dir_suffix.
1428 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1429 case $ac_top_builddir_sub in
1430 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1431 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1432 esac ;;
1433 esac
1434 ac_abs_top_builddir=$ac_pwd
1435 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1436 # for backward compatibility:
1437 ac_top_builddir=$ac_top_build_prefix
1438
1439 case $srcdir in
1440 .) # We are building in place.
1441 ac_srcdir=.
1442 ac_top_srcdir=$ac_top_builddir_sub
1443 ac_abs_top_srcdir=$ac_pwd ;;
1444 [\\/]* | ?:[\\/]* ) # Absolute name.
1445 ac_srcdir=$srcdir$ac_dir_suffix;
1446 ac_top_srcdir=$srcdir
1447 ac_abs_top_srcdir=$srcdir ;;
1448 *) # Relative name.
1449 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1450 ac_top_srcdir=$ac_top_build_prefix$srcdir
1451 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1452 esac
1453 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1454
1455 cd "$ac_dir" || { ac_status=$?; continue; }
1456 # Check for configure.gnu first; this name is used for a wrapper for
1457 # Metaconfig's "Configure" on case-insensitive file systems.
1458 if test -f "$ac_srcdir/configure.gnu"; then
1459 echo &&
1460 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1461 elif test -f "$ac_srcdir/configure"; then
1462 echo &&
1463 $SHELL "$ac_srcdir/configure" --help=recursive
1464 else
1465 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1466 fi || ac_status=$?
1467 cd "$ac_pwd" || { ac_status=$?; break; }
1468 done
1469 fi
1470
1471 test -n "$ac_init_help" && exit $ac_status
1472 if $ac_init_version; then
1473 cat <<\_ACEOF
1474 vlna (TeX Live) configure 1.5
1475 generated by GNU Autoconf 2.72
1476
1477 Copyright (C) 2023 Free Software Foundation, Inc.
1478 This configure script is free software; the Free Software Foundation
1479 gives unlimited permission to copy, distribute and modify it.
1480 _ACEOF
1481 exit
1482 fi
1483
1484 ## ------------------------ ##
1485 ## Autoconf initialization. ##
1486 ## ------------------------ ##
1487
1488 # ac_fn_c_try_compile LINENO
1489 # --------------------------
1490 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1491 ac_fn_c_try_compile ()
1492 {
1493 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1494 rm -f conftest.$ac_objext conftest.beam
1495 if { { ac_try="$ac_compile"
1496 case "(($ac_try" in
1497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1498 *) ac_try_echo=$ac_try;;
1499 esac
1500 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1501 printf "%s\n" "$ac_try_echo"; } >&5
1502 (eval "$ac_compile") 2>conftest.err
1503 ac_status=$?
1504 if test -s conftest.err; then
1505 grep -v '^ *+' conftest.err >conftest.er1
1506 cat conftest.er1 >&5
1507 mv -f conftest.er1 conftest.err
1508 fi
1509 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1510 test $ac_status = 0; } && {
1511 test -z "$ac_c_werror_flag" ||
1512 test ! -s conftest.err
1513 } && test -s conftest.$ac_objext
1514 then :
1515 ac_retval=0
1516 else case e in #(
1517 e) printf "%s\n" "$as_me: failed program was:" >&5
1518 sed 's/^/| /' conftest.$ac_ext >&5
1519
1520 ac_retval=1 ;;
1521 esac
1522 fi
1523 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1524 as_fn_set_status $ac_retval
1525
1526 } # ac_fn_c_try_compile
1527
1528 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1529 # -------------------------------------------------------
1530 # Tests whether HEADER exists and can be compiled using the include files in
1531 # INCLUDES, setting the cache variable VAR accordingly.
1532 ac_fn_c_check_header_compile ()
1533 {
1534 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1535 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1536 printf %s "checking for $2... " >&6; }
1537 if eval test \${$3+y}
1538 then :
1539 printf %s "(cached) " >&6
1540 else case e in #(
1541 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1542 /* end confdefs.h. */
1543 $4
1544 #include <$2>
1545 _ACEOF
1546 if ac_fn_c_try_compile "$LINENO"
1547 then :
1548 eval "$3=yes"
1549 else case e in #(
1550 e) eval "$3=no" ;;
1551 esac
1552 fi
1553 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
1554 esac
1555 fi
1556 eval ac_res=\$$3
1557 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1558 printf "%s\n" "$ac_res" >&6; }
1559 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1560
1561 } # ac_fn_c_check_header_compile
1562
1563 # ac_fn_c_try_link LINENO
1564 # -----------------------
1565 # Try to link conftest.$ac_ext, and return whether this succeeded.
1566 ac_fn_c_try_link ()
1567 {
1568 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1569 rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
1570 if { { ac_try="$ac_link"
1571 case "(($ac_try" in
1572 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1573 *) ac_try_echo=$ac_try;;
1574 esac
1575 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1576 printf "%s\n" "$ac_try_echo"; } >&5
1577 (eval "$ac_link") 2>conftest.err
1578 ac_status=$?
1579 if test -s conftest.err; then
1580 grep -v '^ *+' conftest.err >conftest.er1
1581 cat conftest.er1 >&5
1582 mv -f conftest.er1 conftest.err
1583 fi
1584 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1585 test $ac_status = 0; } && {
1586 test -z "$ac_c_werror_flag" ||
1587 test ! -s conftest.err
1588 } && test -s conftest$ac_exeext && {
1589 test "$cross_compiling" = yes ||
1590 test -x conftest$ac_exeext
1591 }
1592 then :
1593 ac_retval=0
1594 else case e in #(
1595 e) printf "%s\n" "$as_me: failed program was:" >&5
1596 sed 's/^/| /' conftest.$ac_ext >&5
1597
1598 ac_retval=1 ;;
1599 esac
1600 fi
1601 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1602 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1603 # interfere with the next link command; also delete a directory that is
1604 # left behind by Apple's compiler. We do this before executing the actions.
1605 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1606 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1607 as_fn_set_status $ac_retval
1608
1609 } # ac_fn_c_try_link
1610 ac_configure_args_raw=
1611 for ac_arg
1612 do
1613 case $ac_arg in
1614 *\'*)
1615 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1616 esac
1617 as_fn_append ac_configure_args_raw " '$ac_arg'"
1618 done
1619
1620 case $ac_configure_args_raw in
1621 *$as_nl*)
1622 ac_safe_unquote= ;;
1623 *)
1624 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
1625 ac_unsafe_a="$ac_unsafe_z#~"
1626 ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
1627 ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
1628 esac
1629
1630 cat >config.log <<_ACEOF
1631 This file contains any messages produced by compilers while
1632 running configure, to aid debugging if configure makes a mistake.
1633
1634 It was created by vlna (TeX Live) $as_me 1.5, which was
1635 generated by GNU Autoconf 2.72. Invocation command line was
1636
1637 $ $0$ac_configure_args_raw
1638
1639 _ACEOF
1640 exec 5>>config.log
1641 {
1642 cat <<_ASUNAME
1643 ## --------- ##
1644 ## Platform. ##
1645 ## --------- ##
1646
1647 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1648 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1649 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1650 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1651 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1652
1653 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1654 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1655
1656 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1657 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1658 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1659 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1660 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1661 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1662 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1663
1664 _ASUNAME
1665
1666 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1667 for as_dir in $PATH
1668 do
1669 IFS=$as_save_IFS
1670 case $as_dir in #(((
1671 '') as_dir=./ ;;
1672 */) ;;
1673 *) as_dir=$as_dir/ ;;
1674 esac
1675 printf "%s\n" "PATH: $as_dir"
1676 done
1677 IFS=$as_save_IFS
1678
1679 } >&5
1680
1681 cat >&5 <<_ACEOF
1682
1683
1684 ## ----------- ##
1685 ## Core tests. ##
1686 ## ----------- ##
1687
1688 _ACEOF
1689
1690
1691 # Keep a trace of the command line.
1692 # Strip out --no-create and --no-recursion so they do not pile up.
1693 # Strip out --silent because we don't want to record it for future runs.
1694 # Also quote any args containing shell meta-characters.
1695 # Make two passes to allow for proper duplicate-argument suppression.
1696 ac_configure_args=
1697 ac_configure_args0=
1698 ac_configure_args1=
1699 ac_must_keep_next=false
1700 for ac_pass in 1 2
1701 do
1702 for ac_arg
1703 do
1704 case $ac_arg in
1705 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1706 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1707 | -silent | --silent | --silen | --sile | --sil)
1708 continue ;;
1709 *\'*)
1710 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1711 esac
1712 case $ac_pass in
1713 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1714 2)
1715 as_fn_append ac_configure_args1 " '$ac_arg'"
1716 if test $ac_must_keep_next = true; then
1717 ac_must_keep_next=false # Got value, back to normal.
1718 else
1719 case $ac_arg in
1720 *=* | --config-cache | -C | -disable-* | --disable-* \
1721 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1722 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1723 | -with-* | --with-* | -without-* | --without-* | --x)
1724 case "$ac_configure_args0 " in
1725 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1726 esac
1727 ;;
1728 -* ) ac_must_keep_next=true ;;
1729 esac
1730 fi
1731 as_fn_append ac_configure_args " '$ac_arg'"
1732 ;;
1733 esac
1734 done
1735 done
1736 { ac_configure_args0=; unset ac_configure_args0;}
1737 { ac_configure_args1=; unset ac_configure_args1;}
1738
1739 # When interrupted or exit'd, cleanup temporary files, and complete
1740 # config.log. We remove comments because anyway the quotes in there
1741 # would cause problems or look ugly.
1742 # WARNING: Use '\'' to represent an apostrophe within the trap.
1743 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1744 trap 'exit_status=$?
1745 # Sanitize IFS.
1746 IFS=" "" $as_nl"
1747 # Save into config.log some information that might help in debugging.
1748 {
1749 echo
1750
1751 printf "%s\n" "## ---------------- ##
1752 ## Cache variables. ##
1753 ## ---------------- ##"
1754 echo
1755 # The following way of writing the cache mishandles newlines in values,
1756 (
1757 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1758 eval ac_val=\$$ac_var
1759 case $ac_val in #(
1760 *${as_nl}*)
1761 case $ac_var in #(
1762 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1763 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1764 esac
1765 case $ac_var in #(
1766 _ | IFS | as_nl) ;; #(
1767 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1768 *) { eval $ac_var=; unset $ac_var;} ;;
1769 esac ;;
1770 esac
1771 done
1772 (set) 2>&1 |
1773 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1774 *${as_nl}ac_space=\ *)
1775 sed -n \
1776 "s/'\''/'\''\\\\'\'''\''/g;
1777 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1778 ;; #(
1779 *)
1780 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1781 ;;
1782 esac |
1783 sort
1784 )
1785 echo
1786
1787 printf "%s\n" "## ----------------- ##
1788 ## Output variables. ##
1789 ## ----------------- ##"
1790 echo
1791 for ac_var in $ac_subst_vars
1792 do
1793 eval ac_val=\$$ac_var
1794 case $ac_val in
1795 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1796 esac
1797 printf "%s\n" "$ac_var='\''$ac_val'\''"
1798 done | sort
1799 echo
1800
1801 if test -n "$ac_subst_files"; then
1802 printf "%s\n" "## ------------------- ##
1803 ## File substitutions. ##
1804 ## ------------------- ##"
1805 echo
1806 for ac_var in $ac_subst_files
1807 do
1808 eval ac_val=\$$ac_var
1809 case $ac_val in
1810 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1811 esac
1812 printf "%s\n" "$ac_var='\''$ac_val'\''"
1813 done | sort
1814 echo
1815 fi
1816
1817 if test -s confdefs.h; then
1818 printf "%s\n" "## ----------- ##
1819 ## confdefs.h. ##
1820 ## ----------- ##"
1821 echo
1822 cat confdefs.h
1823 echo
1824 fi
1825 test "$ac_signal" != 0 &&
1826 printf "%s\n" "$as_me: caught signal $ac_signal"
1827 printf "%s\n" "$as_me: exit $exit_status"
1828 } >&5
1829 rm -f core *.core core.conftest.* &&
1830 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1831 exit $exit_status
1832 ' 0
1833 for ac_signal in 1 2 13 15; do
1834 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1835 done
1836 ac_signal=0
1837
1838 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1839 rm -f -r conftest* confdefs.h
1840
1841 printf "%s\n" "/* confdefs.h */" > confdefs.h
1842
1843 # Predefined preprocessor variables.
1844
1845 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
1846
1847 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
1848
1849 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
1850
1851 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
1852
1853 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
1854
1855 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
1856
1857
1858 # Let the site file select an alternate cache file if it wants to.
1859 # Prefer an explicitly selected file to automatically selected ones.
1860 if test -n "$CONFIG_SITE"; then
1861 ac_site_files="$CONFIG_SITE"
1862 elif test "x$prefix" != xNONE; then
1863 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
1864 else
1865 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1866 fi
1867
1868 for ac_site_file in $ac_site_files
1869 do
1870 case $ac_site_file in #(
1871 */*) :
1872 ;; #(
1873 *) :
1874 ac_site_file=./$ac_site_file ;;
1875 esac
1876 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
1877 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1878 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
1879 sed 's/^/| /' "$ac_site_file" >&5
1880 . "$ac_site_file" \
1881 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
1882 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
1883 as_fn_error $? "failed to load site script $ac_site_file
1884 See 'config.log' for more details" "$LINENO" 5; }
1885 fi
1886 done
1887
1888 if test -r "$cache_file"; then
1889 # Some versions of bash will fail to source /dev/null (special files
1890 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1891 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1892 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1893 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
1894 case $cache_file in
1895 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1896 *) . "./$cache_file";;
1897 esac
1898 fi
1899 else
1900 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1901 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
1902 >$cache_file
1903 fi
1904
1905 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
1906 # Test code for whether the C compiler supports C89 (global declarations)
1907 ac_c_conftest_c89_globals='
1908 /* Does the compiler advertise C89 conformance?
1909 Do not test the value of __STDC__, because some compilers set it to 0
1910 while being otherwise adequately conformant. */
1911 #if !defined __STDC__
1912 # error "Compiler does not advertise C89 conformance"
1913 #endif
1914
1915 #include <stddef.h>
1916 #include <stdarg.h>
1917 struct stat;
1918 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */
1919 struct buf { int x; };
1920 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
1921 static char *e (char **p, int i)
1922 {
1923 return p[i];
1924 }
1925 static char *f (char * (*g) (char **, int), char **p, ...)
1926 {
1927 char *s;
1928 va_list v;
1929 va_start (v,p);
1930 s = g (p, va_arg (v,int));
1931 va_end (v);
1932 return s;
1933 }
1934
1935 /* C89 style stringification. */
1936 #define noexpand_stringify(a) #a
1937 const char *stringified = noexpand_stringify(arbitrary+token=sequence);
1938
1939 /* C89 style token pasting. Exercises some of the corner cases that
1940 e.g. old MSVC gets wrong, but not very hard. */
1941 #define noexpand_concat(a,b) a##b
1942 #define expand_concat(a,b) noexpand_concat(a,b)
1943 extern int vA;
1944 extern int vbee;
1945 #define aye A
1946 #define bee B
1947 int *pvA = &expand_concat(v,aye);
1948 int *pvbee = &noexpand_concat(v,bee);
1949
1950 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
1951 function prototypes and stuff, but not \xHH hex character constants.
1952 These do not provoke an error unfortunately, instead are silently treated
1953 as an "x". The following induces an error, until -std is added to get
1954 proper ANSI mode. Curiously \x00 != x always comes out true, for an
1955 array size at least. It is necessary to write \x00 == 0 to get something
1956 that is true only with -std. */
1957 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
1958
1959 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
1960 inside strings and character constants. */
1961 #define FOO(x) '\''x'\''
1962 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
1963
1964 int test (int i, double x);
1965 struct s1 {int (*f) (int a);};
1966 struct s2 {int (*f) (double a);};
1967 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
1968 int, int);'
1969
1970 # Test code for whether the C compiler supports C89 (body of main).
1971 ac_c_conftest_c89_main='
1972 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
1973 '
1974
1975 # Test code for whether the C compiler supports C99 (global declarations)
1976 ac_c_conftest_c99_globals='
1977 /* Does the compiler advertise C99 conformance? */
1978 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
1979 # error "Compiler does not advertise C99 conformance"
1980 #endif
1981
1982 // See if C++-style comments work.
1983
1984 #include <stdbool.h>
1985 extern int puts (const char *);
1986 extern int printf (const char *, ...);
1987 extern int dprintf (int, const char *, ...);
1988 extern void *malloc (size_t);
1989 extern void free (void *);
1990
1991 // Check varargs macros. These examples are taken from C99 6.10.3.5.
1992 // dprintf is used instead of fprintf to avoid needing to declare
1993 // FILE and stderr.
1994 #define debug(...) dprintf (2, __VA_ARGS__)
1995 #define showlist(...) puts (#__VA_ARGS__)
1996 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
1997 static void
1998 test_varargs_macros (void)
1999 {
2000 int x = 1234;
2001 int y = 5678;
2002 debug ("Flag");
2003 debug ("X = %d\n", x);
2004 showlist (The first, second, and third items.);
2005 report (x>y, "x is %d but y is %d", x, y);
2006 }
2007
2008 // Check long long types.
2009 #define BIG64 18446744073709551615ull
2010 #define BIG32 4294967295ul
2011 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
2012 #if !BIG_OK
2013 #error "your preprocessor is broken"
2014 #endif
2015 #if BIG_OK
2016 #else
2017 #error "your preprocessor is broken"
2018 #endif
2019 static long long int bignum = -9223372036854775807LL;
2020 static unsigned long long int ubignum = BIG64;
2021
2022 struct incomplete_array
2023 {
2024 int datasize;
2025 double data[];
2026 };
2027
2028 struct named_init {
2029 int number;
2030 const wchar_t *name;
2031 double average;
2032 };
2033
2034 typedef const char *ccp;
2035
2036 static inline int
2037 test_restrict (ccp restrict text)
2038 {
2039 // Iterate through items via the restricted pointer.
2040 // Also check for declarations in for loops.
2041 for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
2042 continue;
2043 return 0;
2044 }
2045
2046 // Check varargs and va_copy.
2047 static bool
2048 test_varargs (const char *format, ...)
2049 {
2050 va_list args;
2051 va_start (args, format);
2052 va_list args_copy;
2053 va_copy (args_copy, args);
2054
2055 const char *str = "";
2056 int number = 0;
2057 float fnumber = 0;
2058
2059 while (*format)
2060 {
2061 switch (*format++)
2062 {
2063 case '\''s'\'': // string
2064 str = va_arg (args_copy, const char *);
2065 break;
2066 case '\''d'\'': // int
2067 number = va_arg (args_copy, int);
2068 break;
2069 case '\''f'\'': // float
2070 fnumber = va_arg (args_copy, double);
2071 break;
2072 default:
2073 break;
2074 }
2075 }
2076 va_end (args_copy);
2077 va_end (args);
2078
2079 return *str && number && fnumber;
2080 }
2081 '
2082
2083 # Test code for whether the C compiler supports C99 (body of main).
2084 ac_c_conftest_c99_main='
2085 // Check bool.
2086 _Bool success = false;
2087 success |= (argc != 0);
2088
2089 // Check restrict.
2090 if (test_restrict ("String literal") == 0)
2091 success = true;
2092 char *restrict newvar = "Another string";
2093
2094 // Check varargs.
2095 success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
2096 test_varargs_macros ();
2097
2098 // Check flexible array members.
2099 struct incomplete_array *ia =
2100 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
2101 ia->datasize = 10;
2102 for (int i = 0; i < ia->datasize; ++i)
2103 ia->data[i] = i * 1.234;
2104 // Work around memory leak warnings.
2105 free (ia);
2106
2107 // Check named initializers.
2108 struct named_init ni = {
2109 .number = 34,
2110 .name = L"Test wide string",
2111 .average = 543.34343,
2112 };
2113
2114 ni.number = 58;
2115
2116 int dynamic_array[ni.number];
2117 dynamic_array[0] = argv[0][0];
2118 dynamic_array[ni.number - 1] = 543;
2119
2120 // work around unused variable warnings
2121 ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
2122 || dynamic_array[ni.number - 1] != 543);
2123 '
2124
2125 # Test code for whether the C compiler supports C11 (global declarations)
2126 ac_c_conftest_c11_globals='
2127 /* Does the compiler advertise C11 conformance? */
2128 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
2129 # error "Compiler does not advertise C11 conformance"
2130 #endif
2131
2132 // Check _Alignas.
2133 char _Alignas (double) aligned_as_double;
2134 char _Alignas (0) no_special_alignment;
2135 extern char aligned_as_int;
2136 char _Alignas (0) _Alignas (int) aligned_as_int;
2137
2138 // Check _Alignof.
2139 enum
2140 {
2141 int_alignment = _Alignof (int),
2142 int_array_alignment = _Alignof (int[100]),
2143 char_alignment = _Alignof (char)
2144 };
2145 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
2146
2147 // Check _Noreturn.
2148 int _Noreturn does_not_return (void) { for (;;) continue; }
2149
2150 // Check _Static_assert.
2151 struct test_static_assert
2152 {
2153 int x;
2154 _Static_assert (sizeof (int) <= sizeof (long int),
2155 "_Static_assert does not work in struct");
2156 long int y;
2157 };
2158
2159 // Check UTF-8 literals.
2160 #define u8 syntax error!
2161 char const utf8_literal[] = u8"happens to be ASCII" "another string";
2162
2163 // Check duplicate typedefs.
2164 typedef long *long_ptr;
2165 typedef long int *long_ptr;
2166 typedef long_ptr long_ptr;
2167
2168 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
2169 struct anonymous
2170 {
2171 union {
2172 struct { int i; int j; };
2173 struct { int k; long int l; } w;
2174 };
2175 int m;
2176 } v1;
2177 '
2178
2179 # Test code for whether the C compiler supports C11 (body of main).
2180 ac_c_conftest_c11_main='
2181 _Static_assert ((offsetof (struct anonymous, i)
2182 == offsetof (struct anonymous, w.k)),
2183 "Anonymous union alignment botch");
2184 v1.i = 2;
2185 v1.w.k = 5;
2186 ok |= v1.i != 5;
2187 '
2188
2189 # Test code for whether the C compiler supports C11 (complete).
2190 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
2191 ${ac_c_conftest_c99_globals}
2192 ${ac_c_conftest_c11_globals}
2193
2194 int
2195 main (int argc, char **argv)
2196 {
2197 int ok = 0;
2198 ${ac_c_conftest_c89_main}
2199 ${ac_c_conftest_c99_main}
2200 ${ac_c_conftest_c11_main}
2201 return ok;
2202 }
2203 "
2204
2205 # Test code for whether the C compiler supports C99 (complete).
2206 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
2207 ${ac_c_conftest_c99_globals}
2208
2209 int
2210 main (int argc, char **argv)
2211 {
2212 int ok = 0;
2213 ${ac_c_conftest_c89_main}
2214 ${ac_c_conftest_c99_main}
2215 return ok;
2216 }
2217 "
2218
2219 # Test code for whether the C compiler supports C89 (complete).
2220 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
2221
2222 int
2223 main (int argc, char **argv)
2224 {
2225 int ok = 0;
2226 ${ac_c_conftest_c89_main}
2227 return ok;
2228 }
2229 "
2230
2231 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
2232 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
2233 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
2234 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
2235 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
2236 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
2237 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
2238 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
2239 as_fn_append ac_header_c_list " wchar.h wchar_h HAVE_WCHAR_H"
2240 as_fn_append ac_header_c_list " minix/config.h minix_config_h HAVE_MINIX_CONFIG_H"
2241
2242 # Auxiliary files required by this configure script.
2243 ac_aux_files="compile missing install-sh"
2244
2245 # Locations in which to look for auxiliary files.
2246 ac_aux_dir_candidates="${srcdir}/../../build-aux"
2247
2248 # Search for a directory containing all of the required auxiliary files,
2249 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
2250 # If we don't find one directory that contains all the files we need,
2251 # we report the set of missing files from the *first* directory in
2252 # $ac_aux_dir_candidates and give up.
2253 ac_missing_aux_files=""
2254 ac_first_candidate=:
2255 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
2256 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2257 as_found=false
2258 for as_dir in $ac_aux_dir_candidates
2259 do
2260 IFS=$as_save_IFS
2261 case $as_dir in #(((
2262 '') as_dir=./ ;;
2263 */) ;;
2264 *) as_dir=$as_dir/ ;;
2265 esac
2266 as_found=:
2267
2268 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
2269 ac_aux_dir_found=yes
2270 ac_install_sh=
2271 for ac_aux in $ac_aux_files
2272 do
2273 # As a special case, if "install-sh" is required, that requirement
2274 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
2275 # and $ac_install_sh is set appropriately for whichever one is found.
2276 if test x"$ac_aux" = x"install-sh"
2277 then
2278 if test -f "${as_dir}install-sh"; then
2279 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
2280 ac_install_sh="${as_dir}install-sh -c"
2281 elif test -f "${as_dir}install.sh"; then
2282 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
2283 ac_install_sh="${as_dir}install.sh -c"
2284 elif test -f "${as_dir}shtool"; then
2285 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
2286 ac_install_sh="${as_dir}shtool install -c"
2287 else
2288 ac_aux_dir_found=no
2289 if $ac_first_candidate; then
2290 ac_missing_aux_files="${ac_missing_aux_files} install-sh"
2291 else
2292 break
2293 fi
2294 fi
2295 else
2296 if test -f "${as_dir}${ac_aux}"; then
2297 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
2298 else
2299 ac_aux_dir_found=no
2300 if $ac_first_candidate; then
2301 ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
2302 else
2303 break
2304 fi
2305 fi
2306 fi
2307 done
2308 if test "$ac_aux_dir_found" = yes; then
2309 ac_aux_dir="$as_dir"
2310 break
2311 fi
2312 ac_first_candidate=false
2313
2314 as_found=false
2315 done
2316 IFS=$as_save_IFS
2317 if $as_found
2318 then :
2319
2320 else case e in #(
2321 e) as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5 ;;
2322 esac
2323 fi
2324
2325
2326 # These three variables are undocumented and unsupported,
2327 # and are intended to be withdrawn in a future Autoconf release.
2328 # They can cause serious problems if a builder's source tree is in a directory
2329 # whose full name contains unusual characters.
2330 if test -f "${ac_aux_dir}config.guess"; then
2331 ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
2332 fi
2333 if test -f "${ac_aux_dir}config.sub"; then
2334 ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
2335 fi
2336 if test -f "$ac_aux_dir/configure"; then
2337 ac_configure="$SHELL ${ac_aux_dir}configure"
2338 fi
2339
2340 # Check that the precious variables saved in the cache have kept the same
2341 # value.
2342 ac_cache_corrupted=false
2343 for ac_var in $ac_precious_vars; do
2344 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2345 eval ac_new_set=\$ac_env_${ac_var}_set
2346 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2347 eval ac_new_val=\$ac_env_${ac_var}_value
2348 case $ac_old_set,$ac_new_set in
2349 set,)
2350 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&5
2351 printf "%s\n" "$as_me: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&2;}
2352 ac_cache_corrupted=: ;;
2353 ,set)
2354 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was not set in the previous run" >&5
2355 printf "%s\n" "$as_me: error: '$ac_var' was not set in the previous run" >&2;}
2356 ac_cache_corrupted=: ;;
2357 ,);;
2358 *)
2359 if test "x$ac_old_val" != "x$ac_new_val"; then
2360 # differences in whitespace do not lead to failure.
2361 ac_old_val_w=`echo x $ac_old_val`
2362 ac_new_val_w=`echo x $ac_new_val`
2363 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2364 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' has changed since the previous run:" >&5
2365 printf "%s\n" "$as_me: error: '$ac_var' has changed since the previous run:" >&2;}
2366 ac_cache_corrupted=:
2367 else
2368 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&5
2369 printf "%s\n" "$as_me: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&2;}
2370 eval $ac_var=\$ac_old_val
2371 fi
2372 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: '$ac_old_val'" >&5
2373 printf "%s\n" "$as_me: former value: '$ac_old_val'" >&2;}
2374 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: '$ac_new_val'" >&5
2375 printf "%s\n" "$as_me: current value: '$ac_new_val'" >&2;}
2376 fi;;
2377 esac
2378 # Pass precious variables to config.status.
2379 if test "$ac_new_set" = set; then
2380 case $ac_new_val in
2381 *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2382 *) ac_arg=$ac_var=$ac_new_val ;;
2383 esac
2384 case " $ac_configure_args " in
2385 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2386 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2387 esac
2388 fi
2389 done
2390 if $ac_cache_corrupted; then
2391 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
2392 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
2393 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2394 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
2395 as_fn_error $? "run '${MAKE-make} distclean' and/or 'rm $cache_file'
2396 and start over" "$LINENO" 5
2397 fi
2398 ## -------------------- ##
2399 ## Main body of script. ##
2400 ## -------------------- ##
2401
2402 ac_ext=c
2403 ac_cpp='$CPP $CPPFLAGS'
2404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2407
2408
2409
2410
2411
2412
2413
2414 am__api_version='1.18'
2415
2416
2417
2418 # Find a good install program. We prefer a C program (faster),
2419 # so one script is as good as another. But avoid the broken or
2420 # incompatible versions:
2421 # SysV /etc/install, /usr/sbin/install
2422 # SunOS /usr/etc/install
2423 # IRIX /sbin/install
2424 # AIX /bin/install
2425 # AmigaOS /C/install, which installs bootblocks on floppy discs
2426 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2427 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2428 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2429 # OS/2's system install, which has a completely different semantic
2430 # ./install, which can be erroneously created by make from ./install.sh.
2431 # Reject install programs that cannot install multiple files.
2432 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2433 printf %s "checking for a BSD-compatible install... " >&6; }
2434 if test -z "$INSTALL"; then
2435 if test ${ac_cv_path_install+y}
2436 then :
2437 printf %s "(cached) " >&6
2438 else case e in #(
2439 e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2440 for as_dir in $PATH
2441 do
2442 IFS=$as_save_IFS
2443 case $as_dir in #(((
2444 '') as_dir=./ ;;
2445 */) ;;
2446 *) as_dir=$as_dir/ ;;
2447 esac
2448 # Account for fact that we put trailing slashes in our PATH walk.
2449 case $as_dir in #((
2450 ./ | /[cC]/* | \
2451 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2452 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2453 /usr/ucb/* ) ;;
2454 *)
2455 # OSF1 and SCO ODT 3.0 have their own names for install.
2456 # Don't use installbsd from OSF since it installs stuff as root
2457 # by default.
2458 for ac_prog in ginstall scoinst install; do
2459 for ac_exec_ext in '' $ac_executable_extensions; do
2460 if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
2461 if test $ac_prog = install &&
2462 grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2463 # AIX install. It has an incompatible calling convention.
2464 :
2465 elif test $ac_prog = install &&
2466 grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2467 # program-specific install script used by HP pwplus--don't use.
2468 :
2469 else
2470 rm -rf conftest.one conftest.two conftest.dir
2471 echo one > conftest.one
2472 echo two > conftest.two
2473 mkdir conftest.dir
2474 if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
2475 test -s conftest.one && test -s conftest.two &&
2476 test -s conftest.dir/conftest.one &&
2477 test -s conftest.dir/conftest.two
2478 then
2479 ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
2480 break 3
2481 fi
2482 fi
2483 fi
2484 done
2485 done
2486 ;;
2487 esac
2488
2489 done
2490 IFS=$as_save_IFS
2491
2492 rm -rf conftest.one conftest.two conftest.dir
2493 ;;
2494 esac
2495 fi
2496 if test ${ac_cv_path_install+y}; then
2497 INSTALL=$ac_cv_path_install
2498 else
2499 # As a last resort, use the slow shell script. Don't cache a
2500 # value for INSTALL within a source directory, because that will
2501 # break other packages using the cache if that directory is
2502 # removed, or if the value is a relative name.
2503 INSTALL=$ac_install_sh
2504 fi
2505 fi
2506 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2507 printf "%s\n" "$INSTALL" >&6; }
2508
2509 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2510 # It thinks the first close brace ends the variable substitution.
2511 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2512
2513 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2514
2515 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2516
2517 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether sleep supports fractional seconds" >&5
2518 printf %s "checking whether sleep supports fractional seconds... " >&6; }
2519 if test ${am_cv_sleep_fractional_seconds+y}
2520 then :
2521 printf %s "(cached) " >&6
2522 else case e in #(
2523 e) if sleep 0.001 2>/dev/null
2524 then :
2525 am_cv_sleep_fractional_seconds=yes
2526 else case e in #(
2527 e) am_cv_sleep_fractional_seconds=no ;;
2528 esac
2529 fi
2530 ;;
2531 esac
2532 fi
2533 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_sleep_fractional_seconds" >&5
2534 printf "%s\n" "$am_cv_sleep_fractional_seconds" >&6; }
2535
2536 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking filesystem timestamp resolution" >&5
2537 printf %s "checking filesystem timestamp resolution... " >&6; }
2538 if test ${am_cv_filesystem_timestamp_resolution+y}
2539 then :
2540 printf %s "(cached) " >&6
2541 else case e in #(
2542 e) # Default to the worst case.
2543 am_cv_filesystem_timestamp_resolution=2
2544
2545 # Only try to go finer than 1 sec if sleep can do it.
2546 # Don't try 1 sec, because if 0.01 sec and 0.1 sec don't work,
2547 # - 1 sec is not much of a win compared to 2 sec, and
2548 # - it takes 2 seconds to perform the test whether 1 sec works.
2549 #
2550 # Instead, just use the default 2s on platforms that have 1s resolution,
2551 # accept the extra 1s delay when using $sleep in the Automake tests, in
2552 # exchange for not incurring the 2s delay for running the test for all
2553 # packages.
2554 #
2555 am_try_resolutions=
2556 if test "$am_cv_sleep_fractional_seconds" = yes; then
2557 # Even a millisecond often causes a bunch of false positives,
2558 # so just try a hundredth of a second. The time saved between .001 and
2559 # .01 is not terribly consequential.
2560 am_try_resolutions="0.01 0.1 $am_try_resolutions"
2561 fi
2562
2563 # In order to catch current-generation FAT out, we must *modify* files
2564 # that already exist; the *creation* timestamp is finer. Use names
2565 # that make ls -t sort them differently when they have equal
2566 # timestamps than when they have distinct timestamps, keeping
2567 # in mind that ls -t prints the *newest* file first.
2568 rm -f conftest.ts?
2569 : > conftest.ts1
2570 : > conftest.ts2
2571 : > conftest.ts3
2572
2573 # Make sure ls -t actually works. Do 'set' in a subshell so we don't
2574 # clobber the current shell's arguments. (Outer-level square brackets
2575 # are removed by m4; they're present so that m4 does not expand
2576 # <dollar><star>; be careful, easy to get confused.)
2577 if (
2578 set X `ls -t conftest.ts[12]` &&
2579 {
2580 test "$*" != "X conftest.ts1 conftest.ts2" ||
2581 test "$*" != "X conftest.ts2 conftest.ts1";
2582 }
2583 ); then :; else
2584 # If neither matched, then we have a broken ls. This can happen
2585 # if, for instance, CONFIG_SHELL is bash and it inherits a
2586 # broken ls alias from the environment. This has actually
2587 # happened. Such a system could not be considered "sane".
2588 printf "%s\n" ""Bad output from ls -t: \"`ls -t conftest.ts[12]`\""" >&5
2589 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
2590 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
2591 as_fn_error $? "ls -t produces unexpected output.
2592 Make sure there is not a broken ls alias in your environment.
2593 See 'config.log' for more details" "$LINENO" 5; }
2594 fi
2595
2596 for am_try_res in $am_try_resolutions; do
2597 # Any one fine-grained sleep might happen to cross the boundary
2598 # between two values of a coarser actual resolution, but if we do
2599 # two fine-grained sleeps in a row, at least one of them will fall
2600 # entirely within a coarse interval.
2601 echo alpha > conftest.ts1
2602 sleep $am_try_res
2603 echo beta > conftest.ts2
2604 sleep $am_try_res
2605 echo gamma > conftest.ts3
2606
2607 # We assume that 'ls -t' will make use of high-resolution
2608 # timestamps if the operating system supports them at all.
2609 if (set X `ls -t conftest.ts?` &&
2610 test "$2" = conftest.ts3 &&
2611 test "$3" = conftest.ts2 &&
2612 test "$4" = conftest.ts1); then
2613 #
2614 # Ok, ls -t worked. If we're at a resolution of 1 second, we're done,
2615 # because we don't need to test make.
2616 make_ok=true
2617 if test $am_try_res != 1; then
2618 # But if we've succeeded so far with a subsecond resolution, we
2619 # have one more thing to check: make. It can happen that
2620 # everything else supports the subsecond mtimes, but make doesn't;
2621 # notably on macOS, which ships make 3.81 from 2006 (the last one
2622 # released under GPLv2). https://bugs.gnu.org/68808
2623 #
2624 # We test $MAKE if it is defined in the environment, else "make".
2625 # It might get overridden later, but our hope is that in practice
2626 # it does not matter: it is the system "make" which is (by far)
2627 # the most likely to be broken, whereas if the user overrides it,
2628 # probably they did so with a better, or at least not worse, make.
2629 # https://lists.gnu.org/archive/html/automake/2024-06/msg00051.html
2630 #
2631 # Create a Makefile (real tab character here):
2632 rm -f conftest.mk
2633 echo 'conftest.ts1: conftest.ts2' >conftest.mk
2634 echo ' touch conftest.ts2' >>conftest.mk
2635 #
2636 # Now, running
2637 # touch conftest.ts1; touch conftest.ts2; make
2638 # should touch ts1 because ts2 is newer. This could happen by luck,
2639 # but most often, it will fail if make's support is insufficient. So
2640 # test for several consecutive successes.
2641 #
2642 # (We reuse conftest.ts[12] because we still want to modify existing
2643 # files, not create new ones, per above.)
2644 n=0
2645 make=${MAKE-make}
2646 until test $n -eq 3; do
2647 echo one > conftest.ts1
2648 sleep $am_try_res
2649 echo two > conftest.ts2 # ts2 should now be newer than ts1
2650 if $make -f conftest.mk | grep 'up to date' >/dev/null; then
2651 make_ok=false
2652 break # out of $n loop
2653 fi
2654 n=`expr $n + 1`
2655 done
2656 fi
2657 #
2658 if $make_ok; then
2659 # Everything we know to check worked out, so call this resolution good.
2660 am_cv_filesystem_timestamp_resolution=$am_try_res
2661 break # out of $am_try_res loop
2662 fi
2663 # Otherwise, we'll go on to check the next resolution.
2664 fi
2665 done
2666 rm -f conftest.ts?
2667 # (end _am_filesystem_timestamp_resolution)
2668 ;;
2669 esac
2670 fi
2671 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_filesystem_timestamp_resolution" >&5
2672 printf "%s\n" "$am_cv_filesystem_timestamp_resolution" >&6; }
2673
2674 # This check should not be cached, as it may vary across builds of
2675 # different projects.
2676 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2677 printf %s "checking whether build environment is sane... " >&6; }
2678 # Reject unsafe characters in $srcdir or the absolute working directory
2679 # name. Accept space and tab only in the latter.
2680 am_lf='
2681 '
2682 case `pwd` in
2683 *[\\\"\#\$\&\'\`$am_lf]*)
2684 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2685 printf "%s\n" "no" >&6; }
2686 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2687 esac
2688 case $srcdir in
2689 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2690 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2691 printf "%s\n" "no" >&6; }
2692 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2693 esac
2694
2695 # Do 'set' in a subshell so we don't clobber the current shell's
2696 # arguments. Must try -L first in case configure is actually a
2697 # symlink; some systems play weird games with the mod time of symlinks
2698 # (eg FreeBSD returns the mod time of the symlink's containing
2699 # directory).
2700 am_build_env_is_sane=no
2701 am_has_slept=no
2702 rm -f conftest.file
2703 for am_try in 1 2; do
2704 echo "timestamp, slept: $am_has_slept" > conftest.file
2705 if (
2706 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2707 if test "$*" = "X"; then
2708 # -L didn't work.
2709 set X `ls -t "$srcdir/configure" conftest.file`
2710 fi
2711 test "$2" = conftest.file
2712 ); then
2713 am_build_env_is_sane=yes
2714 break
2715 fi
2716 # Just in case.
2717 sleep "$am_cv_filesystem_timestamp_resolution"
2718 am_has_slept=yes
2719 done
2720
2721 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_build_env_is_sane" >&5
2722 printf "%s\n" "$am_build_env_is_sane" >&6; }
2723 if test "$am_build_env_is_sane" = no; then
2724 as_fn_error $? "newly created file is older than distributed files!
2725 Check your system clock" "$LINENO" 5
2726 fi
2727
2728 # If we didn't sleep, we still need to ensure time stamps of config.status and
2729 # generated files are strictly newer.
2730 am_sleep_pid=
2731 if test -e conftest.file || grep 'slept: no' conftest.file >/dev/null 2>&1
2732 then :
2733
2734 else case e in #(
2735 e) ( sleep "$am_cv_filesystem_timestamp_resolution" ) &
2736 am_sleep_pid=$!
2737 ;;
2738 esac
2739 fi
2740
2741 rm -f conftest.file
2742
2743 test "$program_prefix" != NONE &&
2744 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2745 # Use a double $ so make ignores it.
2746 test "$program_suffix" != NONE &&
2747 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2748 # Double any \ or $.
2749 # By default was 's,x,x', remove it if useless.
2750 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2751 program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"`
2752
2753
2754 # Expand $ac_aux_dir to an absolute path.
2755 am_aux_dir=`cd "$ac_aux_dir" && pwd`
2756
2757
2758 if test x"${MISSING+set}" != xset; then
2759 MISSING="\${SHELL} '$am_aux_dir/missing'"
2760 fi
2761 # Use eval to expand $SHELL
2762 if eval "$MISSING --is-lightweight"; then
2763 am_missing_run="$MISSING "
2764 else
2765 am_missing_run=
2766 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2767 printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2768 fi
2769
2770 if test x"${install_sh+set}" != xset; then
2771 case $am_aux_dir in
2772 *\ * | *\ *)
2773 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2774 *)
2775 install_sh="\${SHELL} $am_aux_dir/install-sh"
2776 esac
2777 fi
2778
2779 # Installed binaries are usually stripped using 'strip' when the user
2780 # run "make install-strip". However 'strip' might not be the right
2781 # tool to use in cross-compilation environments, therefore Automake
2782 # will honor the 'STRIP' environment variable to overrule this program.
2783 if test "$cross_compiling" != no; then
2784 if test -n "$ac_tool_prefix"; then
2785 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2786 set dummy ${ac_tool_prefix}strip; ac_word=$2
2787 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2788 printf %s "checking for $ac_word... " >&6; }
2789 if test ${ac_cv_prog_STRIP+y}
2790 then :
2791 printf %s "(cached) " >&6
2792 else case e in #(
2793 e) if test -n "$STRIP"; then
2794 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2795 else
2796 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2797 for as_dir in $PATH
2798 do
2799 IFS=$as_save_IFS
2800 case $as_dir in #(((
2801 '') as_dir=./ ;;
2802 */) ;;
2803 *) as_dir=$as_dir/ ;;
2804 esac
2805 for ac_exec_ext in '' $ac_executable_extensions; do
2806 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2807 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2808 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2809 break 2
2810 fi
2811 done
2812 done
2813 IFS=$as_save_IFS
2814
2815 fi ;;
2816 esac
2817 fi
2818 STRIP=$ac_cv_prog_STRIP
2819 if test -n "$STRIP"; then
2820 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2821 printf "%s\n" "$STRIP" >&6; }
2822 else
2823 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2824 printf "%s\n" "no" >&6; }
2825 fi
2826
2827
2828 fi
2829 if test -z "$ac_cv_prog_STRIP"; then
2830 ac_ct_STRIP=$STRIP
2831 # Extract the first word of "strip", so it can be a program name with args.
2832 set dummy strip; ac_word=$2
2833 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2834 printf %s "checking for $ac_word... " >&6; }
2835 if test ${ac_cv_prog_ac_ct_STRIP+y}
2836 then :
2837 printf %s "(cached) " >&6
2838 else case e in #(
2839 e) if test -n "$ac_ct_STRIP"; then
2840 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2841 else
2842 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2843 for as_dir in $PATH
2844 do
2845 IFS=$as_save_IFS
2846 case $as_dir in #(((
2847 '') as_dir=./ ;;
2848 */) ;;
2849 *) as_dir=$as_dir/ ;;
2850 esac
2851 for ac_exec_ext in '' $ac_executable_extensions; do
2852 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2853 ac_cv_prog_ac_ct_STRIP="strip"
2854 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2855 break 2
2856 fi
2857 done
2858 done
2859 IFS=$as_save_IFS
2860
2861 fi ;;
2862 esac
2863 fi
2864 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2865 if test -n "$ac_ct_STRIP"; then
2866 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2867 printf "%s\n" "$ac_ct_STRIP" >&6; }
2868 else
2869 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2870 printf "%s\n" "no" >&6; }
2871 fi
2872
2873 if test "x$ac_ct_STRIP" = x; then
2874 STRIP=":"
2875 else
2876 case $cross_compiling:$ac_tool_warned in
2877 yes:)
2878 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2879 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2880 ac_tool_warned=yes ;;
2881 esac
2882 STRIP=$ac_ct_STRIP
2883 fi
2884 else
2885 STRIP="$ac_cv_prog_STRIP"
2886 fi
2887
2888 fi
2889 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2890
2891
2892 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
2893 printf %s "checking for a race-free mkdir -p... " >&6; }
2894 if test -z "$MKDIR_P"; then
2895 if test ${ac_cv_path_mkdir+y}
2896 then :
2897 printf %s "(cached) " >&6
2898 else case e in #(
2899 e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2900 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2901 do
2902 IFS=$as_save_IFS
2903 case $as_dir in #(((
2904 '') as_dir=./ ;;
2905 */) ;;
2906 *) as_dir=$as_dir/ ;;
2907 esac
2908 for ac_prog in mkdir gmkdir; do
2909 for ac_exec_ext in '' $ac_executable_extensions; do
2910 as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
2911 case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
2912 'mkdir ('*'coreutils) '* | \
2913 *'BusyBox '* | \
2914 'mkdir (fileutils) '4.1*)
2915 ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
2916 break 3;;
2917 esac
2918 done
2919 done
2920 done
2921 IFS=$as_save_IFS
2922 ;;
2923 esac
2924 fi
2925
2926 test -d ./--version && rmdir ./--version
2927 if test ${ac_cv_path_mkdir+y}; then
2928 MKDIR_P="$ac_cv_path_mkdir -p"
2929 else
2930 # As a last resort, use plain mkdir -p,
2931 # in the hope it doesn't have the bugs of ancient mkdir.
2932 MKDIR_P='mkdir -p'
2933 fi
2934 fi
2935 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2936 printf "%s\n" "$MKDIR_P" >&6; }
2937
2938 for ac_prog in gawk mawk nawk awk
2939 do
2940 # Extract the first word of "$ac_prog", so it can be a program name with args.
2941 set dummy $ac_prog; ac_word=$2
2942 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2943 printf %s "checking for $ac_word... " >&6; }
2944 if test ${ac_cv_prog_AWK+y}
2945 then :
2946 printf %s "(cached) " >&6
2947 else case e in #(
2948 e) if test -n "$AWK"; then
2949 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2950 else
2951 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2952 for as_dir in $PATH
2953 do
2954 IFS=$as_save_IFS
2955 case $as_dir in #(((
2956 '') as_dir=./ ;;
2957 */) ;;
2958 *) as_dir=$as_dir/ ;;
2959 esac
2960 for ac_exec_ext in '' $ac_executable_extensions; do
2961 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2962 ac_cv_prog_AWK="$ac_prog"
2963 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2964 break 2
2965 fi
2966 done
2967 done
2968 IFS=$as_save_IFS
2969
2970 fi ;;
2971 esac
2972 fi
2973 AWK=$ac_cv_prog_AWK
2974 if test -n "$AWK"; then
2975 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2976 printf "%s\n" "$AWK" >&6; }
2977 else
2978 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2979 printf "%s\n" "no" >&6; }
2980 fi
2981
2982
2983 test -n "$AWK" && break
2984 done
2985
2986 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2987 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2988 set x ${MAKE-make}
2989 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2990 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
2991 then :
2992 printf %s "(cached) " >&6
2993 else case e in #(
2994 e) cat >conftest.make <<\_ACEOF
2995 SHELL = /bin/sh
2996 all:
2997 @echo '@@@%%%=$(MAKE)=@@@%%%'
2998 _ACEOF
2999 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3000 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3001 *@@@%%%=?*=@@@%%%*)
3002 eval ac_cv_prog_make_${ac_make}_set=yes;;
3003 *)
3004 eval ac_cv_prog_make_${ac_make}_set=no;;
3005 esac
3006 rm -f conftest.make ;;
3007 esac
3008 fi
3009 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3010 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3011 printf "%s\n" "yes" >&6; }
3012 SET_MAKE=
3013 else
3014 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3015 printf "%s\n" "no" >&6; }
3016 SET_MAKE="MAKE=${MAKE-make}"
3017 fi
3018
3019 rm -rf .tst 2>/dev/null
3020 mkdir .tst 2>/dev/null
3021 if test -d .tst; then
3022 am__leading_dot=.
3023 else
3024 am__leading_dot=_
3025 fi
3026 rmdir .tst 2>/dev/null
3027
3028 AM_DEFAULT_VERBOSITY=1
3029 # Check whether --enable-silent-rules was given.
3030 if test ${enable_silent_rules+y}
3031 then :
3032 enableval=$enable_silent_rules;
3033 fi
3034
3035 am_make=${MAKE-make}
3036 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3037 printf %s "checking whether $am_make supports nested variables... " >&6; }
3038 if test ${am_cv_make_support_nested_variables+y}
3039 then :
3040 printf %s "(cached) " >&6
3041 else case e in #(
3042 e) if printf "%s\n" 'TRUE=$(BAR$(V))
3043 BAR0=false
3044 BAR1=true
3045 V=1
3046 am__doit:
3047 @$(TRUE)
3048 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3049 am_cv_make_support_nested_variables=yes
3050 else
3051 am_cv_make_support_nested_variables=no
3052 fi ;;
3053 esac
3054 fi
3055 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3056 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
3057 AM_BACKSLASH='\'
3058
3059 am__rm_f_notfound=
3060 if (rm -f && rm -fr && rm -rf) 2>/dev/null
3061 then :
3062
3063 else case e in #(
3064 e) am__rm_f_notfound='""' ;;
3065 esac
3066 fi
3067
3068
3069 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking xargs -n works" >&5
3070 printf %s "checking xargs -n works... " >&6; }
3071 if test ${am_cv_xargs_n_works+y}
3072 then :
3073 printf %s "(cached) " >&6
3074 else case e in #(
3075 e) if test "`echo 1 2 3 | xargs -n2 echo`" = "1 2
3076 3"
3077 then :
3078 am_cv_xargs_n_works=yes
3079 else case e in #(
3080 e) am_cv_xargs_n_works=no ;;
3081 esac
3082 fi ;;
3083 esac
3084 fi
3085 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_xargs_n_works" >&5
3086 printf "%s\n" "$am_cv_xargs_n_works" >&6; }
3087 if test "$am_cv_xargs_n_works" = yes
3088 then :
3089 am__xargs_n='xargs -n'
3090 else case e in #(
3091 e) am__xargs_n='am__xargs_n () { shift; sed "s/ /\\n/g" | while read am__xargs_n_arg; do "" "$am__xargs_n_arg"; done; }'
3092 ;;
3093 esac
3094 fi
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105 DEPDIR="${am__leading_dot}deps"
3106
3107 ac_config_commands="$ac_config_commands depfiles"
3108
3109 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
3110 printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; }
3111 cat > confinc.mk << 'END'
3112 am__doit:
3113 @echo this is the am__doit target >confinc.out
3114 .PHONY: am__doit
3115 END
3116 am__include="#"
3117 am__quote=
3118 # BSD make does it like this.
3119 echo '.include "confinc.mk" # ignored' > confmf.BSD
3120 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
3121 echo 'include confinc.mk # ignored' > confmf.GNU
3122 _am_result=no
3123 for s in GNU BSD; do
3124 { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
3125 (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
3126 ac_status=$?
3127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3128 (exit $ac_status); }
3129 case $?:`cat confinc.out 2>/dev/null` in #(
3130 '0:this is the am__doit target') :
3131 case $s in #(
3132 BSD) :
3133 am__include='.include' am__quote='"' ;; #(
3134 *) :
3135 am__include='include' am__quote='' ;;
3136 esac ;; #(
3137 *) :
3138 ;;
3139 esac
3140 if test "$am__include" != "#"; then
3141 _am_result="yes ($s style)"
3142 break
3143 fi
3144 done
3145 rm -f confinc.* confmf.*
3146 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
3147 printf "%s\n" "${_am_result}" >&6; }
3148
3149 # Check whether --enable-dependency-tracking was given.
3150 if test ${enable_dependency_tracking+y}
3151 then :
3152 enableval=$enable_dependency_tracking;
3153 fi
3154
3155 if test "x$enable_dependency_tracking" != xno; then
3156 am_depcomp="$ac_aux_dir/depcomp"
3157 AMDEPBACKSLASH='\'
3158 am__nodep='_no'
3159 fi
3160 if test "x$enable_dependency_tracking" != xno; then
3161 AMDEP_TRUE=
3162 AMDEP_FALSE='#'
3163 else
3164 AMDEP_TRUE='#'
3165 AMDEP_FALSE=
3166 fi
3167
3168
3169 ac_ext=c
3170 ac_cpp='$CPP $CPPFLAGS'
3171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3174 if test -n "$ac_tool_prefix"; then
3175 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3176 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3177 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3178 printf %s "checking for $ac_word... " >&6; }
3179 if test ${ac_cv_prog_CC+y}
3180 then :
3181 printf %s "(cached) " >&6
3182 else case e in #(
3183 e) if test -n "$CC"; then
3184 ac_cv_prog_CC="$CC" # Let the user override the test.
3185 else
3186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3187 for as_dir in $PATH
3188 do
3189 IFS=$as_save_IFS
3190 case $as_dir in #(((
3191 '') as_dir=./ ;;
3192 */) ;;
3193 *) as_dir=$as_dir/ ;;
3194 esac
3195 for ac_exec_ext in '' $ac_executable_extensions; do
3196 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3197 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3198 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3199 break 2
3200 fi
3201 done
3202 done
3203 IFS=$as_save_IFS
3204
3205 fi ;;
3206 esac
3207 fi
3208 CC=$ac_cv_prog_CC
3209 if test -n "$CC"; then
3210 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3211 printf "%s\n" "$CC" >&6; }
3212 else
3213 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3214 printf "%s\n" "no" >&6; }
3215 fi
3216
3217
3218 fi
3219 if test -z "$ac_cv_prog_CC"; then
3220 ac_ct_CC=$CC
3221 # Extract the first word of "gcc", so it can be a program name with args.
3222 set dummy gcc; ac_word=$2
3223 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3224 printf %s "checking for $ac_word... " >&6; }
3225 if test ${ac_cv_prog_ac_ct_CC+y}
3226 then :
3227 printf %s "(cached) " >&6
3228 else case e in #(
3229 e) if test -n "$ac_ct_CC"; then
3230 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3231 else
3232 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3233 for as_dir in $PATH
3234 do
3235 IFS=$as_save_IFS
3236 case $as_dir in #(((
3237 '') as_dir=./ ;;
3238 */) ;;
3239 *) as_dir=$as_dir/ ;;
3240 esac
3241 for ac_exec_ext in '' $ac_executable_extensions; do
3242 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3243 ac_cv_prog_ac_ct_CC="gcc"
3244 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3245 break 2
3246 fi
3247 done
3248 done
3249 IFS=$as_save_IFS
3250
3251 fi ;;
3252 esac
3253 fi
3254 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3255 if test -n "$ac_ct_CC"; then
3256 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3257 printf "%s\n" "$ac_ct_CC" >&6; }
3258 else
3259 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3260 printf "%s\n" "no" >&6; }
3261 fi
3262
3263 if test "x$ac_ct_CC" = x; then
3264 CC=""
3265 else
3266 case $cross_compiling:$ac_tool_warned in
3267 yes:)
3268 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3269 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3270 ac_tool_warned=yes ;;
3271 esac
3272 CC=$ac_ct_CC
3273 fi
3274 else
3275 CC="$ac_cv_prog_CC"
3276 fi
3277
3278 if test -z "$CC"; then
3279 if test -n "$ac_tool_prefix"; then
3280 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3281 set dummy ${ac_tool_prefix}cc; ac_word=$2
3282 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3283 printf %s "checking for $ac_word... " >&6; }
3284 if test ${ac_cv_prog_CC+y}
3285 then :
3286 printf %s "(cached) " >&6
3287 else case e in #(
3288 e) if test -n "$CC"; then
3289 ac_cv_prog_CC="$CC" # Let the user override the test.
3290 else
3291 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3292 for as_dir in $PATH
3293 do
3294 IFS=$as_save_IFS
3295 case $as_dir in #(((
3296 '') as_dir=./ ;;
3297 */) ;;
3298 *) as_dir=$as_dir/ ;;
3299 esac
3300 for ac_exec_ext in '' $ac_executable_extensions; do
3301 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3302 ac_cv_prog_CC="${ac_tool_prefix}cc"
3303 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3304 break 2
3305 fi
3306 done
3307 done
3308 IFS=$as_save_IFS
3309
3310 fi ;;
3311 esac
3312 fi
3313 CC=$ac_cv_prog_CC
3314 if test -n "$CC"; then
3315 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3316 printf "%s\n" "$CC" >&6; }
3317 else
3318 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3319 printf "%s\n" "no" >&6; }
3320 fi
3321
3322
3323 fi
3324 fi
3325 if test -z "$CC"; then
3326 # Extract the first word of "cc", so it can be a program name with args.
3327 set dummy cc; ac_word=$2
3328 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3329 printf %s "checking for $ac_word... " >&6; }
3330 if test ${ac_cv_prog_CC+y}
3331 then :
3332 printf %s "(cached) " >&6
3333 else case e in #(
3334 e) if test -n "$CC"; then
3335 ac_cv_prog_CC="$CC" # Let the user override the test.
3336 else
3337 ac_prog_rejected=no
3338 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3339 for as_dir in $PATH
3340 do
3341 IFS=$as_save_IFS
3342 case $as_dir in #(((
3343 '') as_dir=./ ;;
3344 */) ;;
3345 *) as_dir=$as_dir/ ;;
3346 esac
3347 for ac_exec_ext in '' $ac_executable_extensions; do
3348 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3349 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3350 ac_prog_rejected=yes
3351 continue
3352 fi
3353 ac_cv_prog_CC="cc"
3354 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3355 break 2
3356 fi
3357 done
3358 done
3359 IFS=$as_save_IFS
3360
3361 if test $ac_prog_rejected = yes; then
3362 # We found a bogon in the path, so make sure we never use it.
3363 set dummy $ac_cv_prog_CC
3364 shift
3365 if test $# != 0; then
3366 # We chose a different compiler from the bogus one.
3367 # However, it has the same basename, so the bogon will be chosen
3368 # first if we set CC to just the basename; use the full file name.
3369 shift
3370 ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
3371 fi
3372 fi
3373 fi ;;
3374 esac
3375 fi
3376 CC=$ac_cv_prog_CC
3377 if test -n "$CC"; then
3378 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3379 printf "%s\n" "$CC" >&6; }
3380 else
3381 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3382 printf "%s\n" "no" >&6; }
3383 fi
3384
3385
3386 fi
3387 if test -z "$CC"; then
3388 if test -n "$ac_tool_prefix"; then
3389 for ac_prog in cl.exe
3390 do
3391 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3392 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3393 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3394 printf %s "checking for $ac_word... " >&6; }
3395 if test ${ac_cv_prog_CC+y}
3396 then :
3397 printf %s "(cached) " >&6
3398 else case e in #(
3399 e) if test -n "$CC"; then
3400 ac_cv_prog_CC="$CC" # Let the user override the test.
3401 else
3402 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3403 for as_dir in $PATH
3404 do
3405 IFS=$as_save_IFS
3406 case $as_dir in #(((
3407 '') as_dir=./ ;;
3408 */) ;;
3409 *) as_dir=$as_dir/ ;;
3410 esac
3411 for ac_exec_ext in '' $ac_executable_extensions; do
3412 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3413 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3414 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3415 break 2
3416 fi
3417 done
3418 done
3419 IFS=$as_save_IFS
3420
3421 fi ;;
3422 esac
3423 fi
3424 CC=$ac_cv_prog_CC
3425 if test -n "$CC"; then
3426 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3427 printf "%s\n" "$CC" >&6; }
3428 else
3429 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3430 printf "%s\n" "no" >&6; }
3431 fi
3432
3433
3434 test -n "$CC" && break
3435 done
3436 fi
3437 if test -z "$CC"; then
3438 ac_ct_CC=$CC
3439 for ac_prog in cl.exe
3440 do
3441 # Extract the first word of "$ac_prog", so it can be a program name with args.
3442 set dummy $ac_prog; ac_word=$2
3443 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3444 printf %s "checking for $ac_word... " >&6; }
3445 if test ${ac_cv_prog_ac_ct_CC+y}
3446 then :
3447 printf %s "(cached) " >&6
3448 else case e in #(
3449 e) if test -n "$ac_ct_CC"; then
3450 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3451 else
3452 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3453 for as_dir in $PATH
3454 do
3455 IFS=$as_save_IFS
3456 case $as_dir in #(((
3457 '') as_dir=./ ;;
3458 */) ;;
3459 *) as_dir=$as_dir/ ;;
3460 esac
3461 for ac_exec_ext in '' $ac_executable_extensions; do
3462 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3463 ac_cv_prog_ac_ct_CC="$ac_prog"
3464 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3465 break 2
3466 fi
3467 done
3468 done
3469 IFS=$as_save_IFS
3470
3471 fi ;;
3472 esac
3473 fi
3474 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3475 if test -n "$ac_ct_CC"; then
3476 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3477 printf "%s\n" "$ac_ct_CC" >&6; }
3478 else
3479 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3480 printf "%s\n" "no" >&6; }
3481 fi
3482
3483
3484 test -n "$ac_ct_CC" && break
3485 done
3486
3487 if test "x$ac_ct_CC" = x; then
3488 CC=""
3489 else
3490 case $cross_compiling:$ac_tool_warned in
3491 yes:)
3492 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3493 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3494 ac_tool_warned=yes ;;
3495 esac
3496 CC=$ac_ct_CC
3497 fi
3498 fi
3499
3500 fi
3501 if test -z "$CC"; then
3502 if test -n "$ac_tool_prefix"; then
3503 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
3504 set dummy ${ac_tool_prefix}clang; ac_word=$2
3505 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3506 printf %s "checking for $ac_word... " >&6; }
3507 if test ${ac_cv_prog_CC+y}
3508 then :
3509 printf %s "(cached) " >&6
3510 else case e in #(
3511 e) if test -n "$CC"; then
3512 ac_cv_prog_CC="$CC" # Let the user override the test.
3513 else
3514 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3515 for as_dir in $PATH
3516 do
3517 IFS=$as_save_IFS
3518 case $as_dir in #(((
3519 '') as_dir=./ ;;
3520 */) ;;
3521 *) as_dir=$as_dir/ ;;
3522 esac
3523 for ac_exec_ext in '' $ac_executable_extensions; do
3524 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3525 ac_cv_prog_CC="${ac_tool_prefix}clang"
3526 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3527 break 2
3528 fi
3529 done
3530 done
3531 IFS=$as_save_IFS
3532
3533 fi ;;
3534 esac
3535 fi
3536 CC=$ac_cv_prog_CC
3537 if test -n "$CC"; then
3538 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3539 printf "%s\n" "$CC" >&6; }
3540 else
3541 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3542 printf "%s\n" "no" >&6; }
3543 fi
3544
3545
3546 fi
3547 if test -z "$ac_cv_prog_CC"; then
3548 ac_ct_CC=$CC
3549 # Extract the first word of "clang", so it can be a program name with args.
3550 set dummy clang; ac_word=$2
3551 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3552 printf %s "checking for $ac_word... " >&6; }
3553 if test ${ac_cv_prog_ac_ct_CC+y}
3554 then :
3555 printf %s "(cached) " >&6
3556 else case e in #(
3557 e) if test -n "$ac_ct_CC"; then
3558 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3559 else
3560 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3561 for as_dir in $PATH
3562 do
3563 IFS=$as_save_IFS
3564 case $as_dir in #(((
3565 '') as_dir=./ ;;
3566 */) ;;
3567 *) as_dir=$as_dir/ ;;
3568 esac
3569 for ac_exec_ext in '' $ac_executable_extensions; do
3570 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3571 ac_cv_prog_ac_ct_CC="clang"
3572 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3573 break 2
3574 fi
3575 done
3576 done
3577 IFS=$as_save_IFS
3578
3579 fi ;;
3580 esac
3581 fi
3582 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3583 if test -n "$ac_ct_CC"; then
3584 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3585 printf "%s\n" "$ac_ct_CC" >&6; }
3586 else
3587 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3588 printf "%s\n" "no" >&6; }
3589 fi
3590
3591 if test "x$ac_ct_CC" = x; then
3592 CC=""
3593 else
3594 case $cross_compiling:$ac_tool_warned in
3595 yes:)
3596 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3597 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3598 ac_tool_warned=yes ;;
3599 esac
3600 CC=$ac_ct_CC
3601 fi
3602 else
3603 CC="$ac_cv_prog_CC"
3604 fi
3605
3606 fi
3607
3608
3609 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
3610 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
3611 as_fn_error $? "no acceptable C compiler found in \$PATH
3612 See 'config.log' for more details" "$LINENO" 5; }
3613
3614 # Provide some information about the compiler.
3615 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3616 set X $ac_compile
3617 ac_compiler=$2
3618 for ac_option in --version -v -V -qversion -version; do
3619 { { ac_try="$ac_compiler $ac_option >&5"
3620 case "(($ac_try" in
3621 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3622 *) ac_try_echo=$ac_try;;
3623 esac
3624 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3625 printf "%s\n" "$ac_try_echo"; } >&5
3626 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3627 ac_status=$?
3628 if test -s conftest.err; then
3629 sed '10a\
3630 ... rest of stderr output deleted ...
3631 10q' conftest.err >conftest.er1
3632 cat conftest.er1 >&5
3633 fi
3634 rm -f conftest.er1 conftest.err
3635 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3636 test $ac_status = 0; }
3637 done
3638
3639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3640 /* end confdefs.h. */
3641
3642 int
3643 main (void)
3644 {
3645
3646 ;
3647 return 0;
3648 }
3649 _ACEOF
3650 ac_clean_files_save=$ac_clean_files
3651 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3652 # Try to create an executable without -o first, disregard a.out.
3653 # It will help us diagnose broken compilers, and finding out an intuition
3654 # of exeext.
3655 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3656 printf %s "checking whether the C compiler works... " >&6; }
3657 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3658
3659 # The possible output files:
3660 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3661
3662 ac_rmfiles=
3663 for ac_file in $ac_files
3664 do
3665 case $ac_file in
3666 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3667 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3668 esac
3669 done
3670 rm -f $ac_rmfiles
3671
3672 if { { ac_try="$ac_link_default"
3673 case "(($ac_try" in
3674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3675 *) ac_try_echo=$ac_try;;
3676 esac
3677 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3678 printf "%s\n" "$ac_try_echo"; } >&5
3679 (eval "$ac_link_default") 2>&5
3680 ac_status=$?
3681 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3682 test $ac_status = 0; }
3683 then :
3684 # Autoconf-2.13 could set the ac_cv_exeext variable to 'no'.
3685 # So ignore a value of 'no', otherwise this would lead to 'EXEEXT = no'
3686 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3687 # so that the user can short-circuit this test for compilers unknown to
3688 # Autoconf.
3689 for ac_file in $ac_files ''
3690 do
3691 test -f "$ac_file" || continue
3692 case $ac_file in
3693 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3694 ;;
3695 [ab].out )
3696 # We found the default executable, but exeext='' is most
3697 # certainly right.
3698 break;;
3699 *.* )
3700 if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
3701 then :; else
3702 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3703 fi
3704 # We set ac_cv_exeext here because the later test for it is not
3705 # safe: cross compilers may not add the suffix if given an '-o'
3706 # argument, so we may need to know it at that point already.
3707 # Even if this section looks crufty: it has the advantage of
3708 # actually working.
3709 break;;
3710 * )
3711 break;;
3712 esac
3713 done
3714 test "$ac_cv_exeext" = no && ac_cv_exeext=
3715
3716 else case e in #(
3717 e) ac_file='' ;;
3718 esac
3719 fi
3720 if test -z "$ac_file"
3721 then :
3722 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3723 printf "%s\n" "no" >&6; }
3724 printf "%s\n" "$as_me: failed program was:" >&5
3725 sed 's/^/| /' conftest.$ac_ext >&5
3726
3727 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
3728 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
3729 as_fn_error 77 "C compiler cannot create executables
3730 See 'config.log' for more details" "$LINENO" 5; }
3731 else case e in #(
3732 e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3733 printf "%s\n" "yes" >&6; } ;;
3734 esac
3735 fi
3736 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3737 printf %s "checking for C compiler default output file name... " >&6; }
3738 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3739 printf "%s\n" "$ac_file" >&6; }
3740 ac_exeext=$ac_cv_exeext
3741
3742 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3743 ac_clean_files=$ac_clean_files_save
3744 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3745 printf %s "checking for suffix of executables... " >&6; }
3746 if { { ac_try="$ac_link"
3747 case "(($ac_try" in
3748 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3749 *) ac_try_echo=$ac_try;;
3750 esac
3751 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3752 printf "%s\n" "$ac_try_echo"; } >&5
3753 (eval "$ac_link") 2>&5
3754 ac_status=$?
3755 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3756 test $ac_status = 0; }
3757 then :
3758 # If both 'conftest.exe' and 'conftest' are 'present' (well, observable)
3759 # catch 'conftest.exe'. For instance with Cygwin, 'ls conftest' will
3760 # work properly (i.e., refer to 'conftest.exe'), while it won't with
3761 # 'rm'.
3762 for ac_file in conftest.exe conftest conftest.*; do
3763 test -f "$ac_file" || continue
3764 case $ac_file in
3765 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3766 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3767 break;;
3768 * ) break;;
3769 esac
3770 done
3771 else case e in #(
3772 e) { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
3773 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
3774 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3775 See 'config.log' for more details" "$LINENO" 5; } ;;
3776 esac
3777 fi
3778 rm -f conftest conftest$ac_cv_exeext
3779 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3780 printf "%s\n" "$ac_cv_exeext" >&6; }
3781
3782 rm -f conftest.$ac_ext
3783 EXEEXT=$ac_cv_exeext
3784 ac_exeext=$EXEEXT
3785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3786 /* end confdefs.h. */
3787 #include <stdio.h>
3788 int
3789 main (void)
3790 {
3791 FILE *f = fopen ("conftest.out", "w");
3792 if (!f)
3793 return 1;
3794 return ferror (f) || fclose (f) != 0;
3795
3796 ;
3797 return 0;
3798 }
3799 _ACEOF
3800 ac_clean_files="$ac_clean_files conftest.out"
3801 # Check that the compiler produces executables we can run. If not, either
3802 # the compiler is broken, or we cross compile.
3803 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3804 printf %s "checking whether we are cross compiling... " >&6; }
3805 if test "$cross_compiling" != yes; then
3806 { { ac_try="$ac_link"
3807 case "(($ac_try" in
3808 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3809 *) ac_try_echo=$ac_try;;
3810 esac
3811 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3812 printf "%s\n" "$ac_try_echo"; } >&5
3813 (eval "$ac_link") 2>&5
3814 ac_status=$?
3815 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3816 test $ac_status = 0; }
3817 if { ac_try='./conftest$ac_cv_exeext'
3818 { { case "(($ac_try" in
3819 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3820 *) ac_try_echo=$ac_try;;
3821 esac
3822 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3823 printf "%s\n" "$ac_try_echo"; } >&5
3824 (eval "$ac_try") 2>&5
3825 ac_status=$?
3826 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3827 test $ac_status = 0; }; }; then
3828 cross_compiling=no
3829 else
3830 if test "$cross_compiling" = maybe; then
3831 cross_compiling=yes
3832 else
3833 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
3834 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
3835 as_fn_error 77 "cannot run C compiled programs.
3836 If you meant to cross compile, use '--host'.
3837 See 'config.log' for more details" "$LINENO" 5; }
3838 fi
3839 fi
3840 fi
3841 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3842 printf "%s\n" "$cross_compiling" >&6; }
3843
3844 rm -f conftest.$ac_ext conftest$ac_cv_exeext \
3845 conftest.o conftest.obj conftest.out
3846 ac_clean_files=$ac_clean_files_save
3847 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3848 printf %s "checking for suffix of object files... " >&6; }
3849 if test ${ac_cv_objext+y}
3850 then :
3851 printf %s "(cached) " >&6
3852 else case e in #(
3853 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3854 /* end confdefs.h. */
3855
3856 int
3857 main (void)
3858 {
3859
3860 ;
3861 return 0;
3862 }
3863 _ACEOF
3864 rm -f conftest.o conftest.obj
3865 if { { ac_try="$ac_compile"
3866 case "(($ac_try" in
3867 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3868 *) ac_try_echo=$ac_try;;
3869 esac
3870 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3871 printf "%s\n" "$ac_try_echo"; } >&5
3872 (eval "$ac_compile") 2>&5
3873 ac_status=$?
3874 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3875 test $ac_status = 0; }
3876 then :
3877 for ac_file in conftest.o conftest.obj conftest.*; do
3878 test -f "$ac_file" || continue;
3879 case $ac_file in
3880 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3881 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3882 break;;
3883 esac
3884 done
3885 else case e in #(
3886 e) printf "%s\n" "$as_me: failed program was:" >&5
3887 sed 's/^/| /' conftest.$ac_ext >&5
3888
3889 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
3890 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
3891 as_fn_error $? "cannot compute suffix of object files: cannot compile
3892 See 'config.log' for more details" "$LINENO" 5; } ;;
3893 esac
3894 fi
3895 rm -f conftest.$ac_cv_objext conftest.$ac_ext ;;
3896 esac
3897 fi
3898 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3899 printf "%s\n" "$ac_cv_objext" >&6; }
3900 OBJEXT=$ac_cv_objext
3901 ac_objext=$OBJEXT
3902 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
3903 printf %s "checking whether the compiler supports GNU C... " >&6; }
3904 if test ${ac_cv_c_compiler_gnu+y}
3905 then :
3906 printf %s "(cached) " >&6
3907 else case e in #(
3908 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3909 /* end confdefs.h. */
3910
3911 int
3912 main (void)
3913 {
3914 #ifndef __GNUC__
3915 choke me
3916 #endif
3917
3918 ;
3919 return 0;
3920 }
3921 _ACEOF
3922 if ac_fn_c_try_compile "$LINENO"
3923 then :
3924 ac_compiler_gnu=yes
3925 else case e in #(
3926 e) ac_compiler_gnu=no ;;
3927 esac
3928 fi
3929 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3930 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3931 ;;
3932 esac
3933 fi
3934 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3935 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
3936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3937
3938 if test $ac_compiler_gnu = yes; then
3939 GCC=yes
3940 else
3941 GCC=
3942 fi
3943 ac_test_CFLAGS=${CFLAGS+y}
3944 ac_save_CFLAGS=$CFLAGS
3945 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3946 printf %s "checking whether $CC accepts -g... " >&6; }
3947 if test ${ac_cv_prog_cc_g+y}
3948 then :
3949 printf %s "(cached) " >&6
3950 else case e in #(
3951 e) ac_save_c_werror_flag=$ac_c_werror_flag
3952 ac_c_werror_flag=yes
3953 ac_cv_prog_cc_g=no
3954 CFLAGS="-g"
3955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3956 /* end confdefs.h. */
3957
3958 int
3959 main (void)
3960 {
3961
3962 ;
3963 return 0;
3964 }
3965 _ACEOF
3966 if ac_fn_c_try_compile "$LINENO"
3967 then :
3968 ac_cv_prog_cc_g=yes
3969 else case e in #(
3970 e) CFLAGS=""
3971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3972 /* end confdefs.h. */
3973
3974 int
3975 main (void)
3976 {
3977
3978 ;
3979 return 0;
3980 }
3981 _ACEOF
3982 if ac_fn_c_try_compile "$LINENO"
3983 then :
3984
3985 else case e in #(
3986 e) ac_c_werror_flag=$ac_save_c_werror_flag
3987 CFLAGS="-g"
3988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3989 /* end confdefs.h. */
3990
3991 int
3992 main (void)
3993 {
3994
3995 ;
3996 return 0;
3997 }
3998 _ACEOF
3999 if ac_fn_c_try_compile "$LINENO"
4000 then :
4001 ac_cv_prog_cc_g=yes
4002 fi
4003 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
4004 esac
4005 fi
4006 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
4007 esac
4008 fi
4009 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4010 ac_c_werror_flag=$ac_save_c_werror_flag ;;
4011 esac
4012 fi
4013 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4014 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
4015 if test $ac_test_CFLAGS; then
4016 CFLAGS=$ac_save_CFLAGS
4017 elif test $ac_cv_prog_cc_g = yes; then
4018 if test "$GCC" = yes; then
4019 CFLAGS="-g -O2"
4020 else
4021 CFLAGS="-g"
4022 fi
4023 else
4024 if test "$GCC" = yes; then
4025 CFLAGS="-O2"
4026 else
4027 CFLAGS=
4028 fi
4029 fi
4030 ac_prog_cc_stdc=no
4031 if test x$ac_prog_cc_stdc = xno
4032 then :
4033 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
4034 printf %s "checking for $CC option to enable C11 features... " >&6; }
4035 if test ${ac_cv_prog_cc_c11+y}
4036 then :
4037 printf %s "(cached) " >&6
4038 else case e in #(
4039 e) ac_cv_prog_cc_c11=no
4040 ac_save_CC=$CC
4041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4042 /* end confdefs.h. */
4043 $ac_c_conftest_c11_program
4044 _ACEOF
4045 for ac_arg in '' -std=gnu11
4046 do
4047 CC="$ac_save_CC $ac_arg"
4048 if ac_fn_c_try_compile "$LINENO"
4049 then :
4050 ac_cv_prog_cc_c11=$ac_arg
4051 fi
4052 rm -f core conftest.err conftest.$ac_objext conftest.beam
4053 test "x$ac_cv_prog_cc_c11" != "xno" && break
4054 done
4055 rm -f conftest.$ac_ext
4056 CC=$ac_save_CC ;;
4057 esac
4058 fi
4059
4060 if test "x$ac_cv_prog_cc_c11" = xno
4061 then :
4062 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4063 printf "%s\n" "unsupported" >&6; }
4064 else case e in #(
4065 e) if test "x$ac_cv_prog_cc_c11" = x
4066 then :
4067 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4068 printf "%s\n" "none needed" >&6; }
4069 else case e in #(
4070 e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
4071 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
4072 CC="$CC $ac_cv_prog_cc_c11" ;;
4073 esac
4074 fi
4075 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
4076 ac_prog_cc_stdc=c11 ;;
4077 esac
4078 fi
4079 fi
4080 if test x$ac_prog_cc_stdc = xno
4081 then :
4082 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
4083 printf %s "checking for $CC option to enable C99 features... " >&6; }
4084 if test ${ac_cv_prog_cc_c99+y}
4085 then :
4086 printf %s "(cached) " >&6
4087 else case e in #(
4088 e) ac_cv_prog_cc_c99=no
4089 ac_save_CC=$CC
4090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4091 /* end confdefs.h. */
4092 $ac_c_conftest_c99_program
4093 _ACEOF
4094 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
4095 do
4096 CC="$ac_save_CC $ac_arg"
4097 if ac_fn_c_try_compile "$LINENO"
4098 then :
4099 ac_cv_prog_cc_c99=$ac_arg
4100 fi
4101 rm -f core conftest.err conftest.$ac_objext conftest.beam
4102 test "x$ac_cv_prog_cc_c99" != "xno" && break
4103 done
4104 rm -f conftest.$ac_ext
4105 CC=$ac_save_CC ;;
4106 esac
4107 fi
4108
4109 if test "x$ac_cv_prog_cc_c99" = xno
4110 then :
4111 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4112 printf "%s\n" "unsupported" >&6; }
4113 else case e in #(
4114 e) if test "x$ac_cv_prog_cc_c99" = x
4115 then :
4116 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4117 printf "%s\n" "none needed" >&6; }
4118 else case e in #(
4119 e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
4120 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
4121 CC="$CC $ac_cv_prog_cc_c99" ;;
4122 esac
4123 fi
4124 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
4125 ac_prog_cc_stdc=c99 ;;
4126 esac
4127 fi
4128 fi
4129 if test x$ac_prog_cc_stdc = xno
4130 then :
4131 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
4132 printf %s "checking for $CC option to enable C89 features... " >&6; }
4133 if test ${ac_cv_prog_cc_c89+y}
4134 then :
4135 printf %s "(cached) " >&6
4136 else case e in #(
4137 e) ac_cv_prog_cc_c89=no
4138 ac_save_CC=$CC
4139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4140 /* end confdefs.h. */
4141 $ac_c_conftest_c89_program
4142 _ACEOF
4143 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4144 do
4145 CC="$ac_save_CC $ac_arg"
4146 if ac_fn_c_try_compile "$LINENO"
4147 then :
4148 ac_cv_prog_cc_c89=$ac_arg
4149 fi
4150 rm -f core conftest.err conftest.$ac_objext conftest.beam
4151 test "x$ac_cv_prog_cc_c89" != "xno" && break
4152 done
4153 rm -f conftest.$ac_ext
4154 CC=$ac_save_CC ;;
4155 esac
4156 fi
4157
4158 if test "x$ac_cv_prog_cc_c89" = xno
4159 then :
4160 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4161 printf "%s\n" "unsupported" >&6; }
4162 else case e in #(
4163 e) if test "x$ac_cv_prog_cc_c89" = x
4164 then :
4165 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4166 printf "%s\n" "none needed" >&6; }
4167 else case e in #(
4168 e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4169 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
4170 CC="$CC $ac_cv_prog_cc_c89" ;;
4171 esac
4172 fi
4173 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
4174 ac_prog_cc_stdc=c89 ;;
4175 esac
4176 fi
4177 fi
4178
4179 ac_ext=c
4180 ac_cpp='$CPP $CPPFLAGS'
4181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4184
4185
4186 ac_ext=c
4187 ac_cpp='$CPP $CPPFLAGS'
4188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4191 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4192 printf %s "checking whether $CC understands -c and -o together... " >&6; }
4193 if test ${am_cv_prog_cc_c_o+y}
4194 then :
4195 printf %s "(cached) " >&6
4196 else case e in #(
4197 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4198 /* end confdefs.h. */
4199
4200 int
4201 main (void)
4202 {
4203
4204 ;
4205 return 0;
4206 }
4207 _ACEOF
4208 # Make sure it works both with $CC and with simple cc.
4209 # Following AC_PROG_CC_C_O, we do the test twice because some
4210 # compilers refuse to overwrite an existing .o file with -o,
4211 # though they will create one.
4212 am_cv_prog_cc_c_o=yes
4213 for am_i in 1 2; do
4214 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4215 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4216 ac_status=$?
4217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4218 (exit $ac_status); } \
4219 && test -f conftest2.$ac_objext; then
4220 : OK
4221 else
4222 am_cv_prog_cc_c_o=no
4223 break
4224 fi
4225 done
4226 # aligned with autoconf, so not including core; see bug#72225.
4227 rm -f -r a.out a.exe b.out conftest.$ac_ext conftest.$ac_objext \
4228 conftest.dSYM conftest1.$ac_ext conftest1.$ac_objext conftest1.dSYM \
4229 conftest2.$ac_ext conftest2.$ac_objext conftest2.dSYM
4230 unset am_i ;;
4231 esac
4232 fi
4233 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4234 printf "%s\n" "$am_cv_prog_cc_c_o" >&6; }
4235 if test "$am_cv_prog_cc_c_o" != yes; then
4236 # Losing compiler, so override with the script.
4237 # FIXME: It is wrong to rewrite CC.
4238 # But if we don't then we get into trouble of one sort or another.
4239 # A longer-term fix would be to have automake use am__CC in this case,
4240 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4241 CC="$am_aux_dir/compile $CC"
4242 fi
4243 ac_ext=c
4244 ac_cpp='$CPP $CPPFLAGS'
4245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4248
4249
4250 depcc="$CC" am_compiler_list=
4251
4252 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4253 printf %s "checking dependency style of $depcc... " >&6; }
4254 if test ${am_cv_CC_dependencies_compiler_type+y}
4255 then :
4256 printf %s "(cached) " >&6
4257 else case e in #(
4258 e) if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4259 # We make a subdir and do the tests there. Otherwise we can end up
4260 # making bogus files that we don't know about and never remove. For
4261 # instance it was reported that on HP-UX the gcc test will end up
4262 # making a dummy file named 'D' -- because '-MD' means "put the output
4263 # in D".
4264 rm -rf conftest.dir
4265 mkdir conftest.dir
4266 # Copy depcomp to subdir because otherwise we won't find it if we're
4267 # using a relative directory.
4268 cp "$am_depcomp" conftest.dir
4269 cd conftest.dir
4270 # We will build objects and dependencies in a subdirectory because
4271 # it helps to detect inapplicable dependency modes. For instance
4272 # both Tru64's cc and ICC support -MD to output dependencies as a
4273 # side effect of compilation, but ICC will put the dependencies in
4274 # the current directory while Tru64 will put them in the object
4275 # directory.
4276 mkdir sub
4277
4278 am_cv_CC_dependencies_compiler_type=none
4279 if test "$am_compiler_list" = ""; then
4280 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4281 fi
4282 am__universal=false
4283 case " $depcc " in #(
4284 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4285 esac
4286
4287 for depmode in $am_compiler_list; do
4288 # Setup a source with many dependencies, because some compilers
4289 # like to wrap large dependency lists on column 80 (with \), and
4290 # we should not choose a depcomp mode which is confused by this.
4291 #
4292 # We need to recreate these files for each test, as the compiler may
4293 # overwrite some of them when testing with obscure command lines.
4294 # This happens at least with the AIX C compiler.
4295 : > sub/conftest.c
4296 for i in 1 2 3 4 5 6; do
4297 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4298 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4299 # Solaris 10 /bin/sh.
4300 echo '/* dummy */' > sub/conftst$i.h
4301 done
4302 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4303
4304 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4305 # mode. It turns out that the SunPro C++ compiler does not properly
4306 # handle '-M -o', and we need to detect this. Also, some Intel
4307 # versions had trouble with output in subdirs.
4308 am__obj=sub/conftest.${OBJEXT-o}
4309 am__minus_obj="-o $am__obj"
4310 case $depmode in
4311 gcc)
4312 # This depmode causes a compiler race in universal mode.
4313 test "$am__universal" = false || continue
4314 ;;
4315 nosideeffect)
4316 # After this tag, mechanisms are not by side-effect, so they'll
4317 # only be used when explicitly requested.
4318 if test "x$enable_dependency_tracking" = xyes; then
4319 continue
4320 else
4321 break
4322 fi
4323 ;;
4324 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4325 # This compiler won't grok '-c -o', but also, the minuso test has
4326 # not run yet. These depmodes are late enough in the game, and
4327 # so weak that their functioning should not be impacted.
4328 am__obj=conftest.${OBJEXT-o}
4329 am__minus_obj=
4330 ;;
4331 none) break ;;
4332 esac
4333 if depmode=$depmode \
4334 source=sub/conftest.c object=$am__obj \
4335 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4336 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4337 >/dev/null 2>conftest.err &&
4338 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4339 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4340 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4341 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4342 # icc doesn't choke on unknown options, it will just issue warnings
4343 # or remarks (even with -Werror). So we grep stderr for any message
4344 # that says an option was ignored or not supported.
4345 # When given -MP, icc 7.0 and 7.1 complain thus:
4346 # icc: Command line warning: ignoring option '-M'; no argument required
4347 # The diagnosis changed in icc 8.0:
4348 # icc: Command line remark: option '-MP' not supported
4349 if (grep 'ignoring option' conftest.err ||
4350 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4351 am_cv_CC_dependencies_compiler_type=$depmode
4352 break
4353 fi
4354 fi
4355 done
4356
4357 cd ..
4358 rm -rf conftest.dir
4359 else
4360 am_cv_CC_dependencies_compiler_type=none
4361 fi
4362 ;;
4363 esac
4364 fi
4365 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4366 printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; }
4367 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4368
4369 if
4370 test "x$enable_dependency_tracking" != xno \
4371 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4372 am__fastdepCC_TRUE=
4373 am__fastdepCC_FALSE='#'
4374 else
4375 am__fastdepCC_TRUE='#'
4376 am__fastdepCC_FALSE=
4377 fi
4378
4379
4380
4381 ac_header= ac_cache=
4382 for ac_item in $ac_header_c_list
4383 do
4384 if test $ac_cache; then
4385 ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
4386 if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
4387 printf "%s\n" "#define $ac_item 1" >> confdefs.h
4388 fi
4389 ac_header= ac_cache=
4390 elif test $ac_header; then
4391 ac_cache=$ac_item
4392 else
4393 ac_header=$ac_item
4394 fi
4395 done
4396
4397
4398
4399
4400
4401
4402
4403
4404 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
4405 then :
4406
4407 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
4408
4409 fi
4410
4411
4412
4413
4414
4415
4416 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4417 printf %s "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4418 if test ${ac_cv_safe_to_define___extensions__+y}
4419 then :
4420 printf %s "(cached) " >&6
4421 else case e in #(
4422 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4423 /* end confdefs.h. */
4424
4425 # define __EXTENSIONS__ 1
4426 $ac_includes_default
4427 int
4428 main (void)
4429 {
4430
4431 ;
4432 return 0;
4433 }
4434 _ACEOF
4435 if ac_fn_c_try_compile "$LINENO"
4436 then :
4437 ac_cv_safe_to_define___extensions__=yes
4438 else case e in #(
4439 e) ac_cv_safe_to_define___extensions__=no ;;
4440 esac
4441 fi
4442 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
4443 esac
4444 fi
4445 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4446 printf "%s\n" "$ac_cv_safe_to_define___extensions__" >&6; }
4447
4448 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether _XOPEN_SOURCE should be defined" >&5
4449 printf %s "checking whether _XOPEN_SOURCE should be defined... " >&6; }
4450 if test ${ac_cv_should_define__xopen_source+y}
4451 then :
4452 printf %s "(cached) " >&6
4453 else case e in #(
4454 e) ac_cv_should_define__xopen_source=no
4455 if test $ac_cv_header_wchar_h = yes
4456 then :
4457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4458 /* end confdefs.h. */
4459
4460 #include <wchar.h>
4461 mbstate_t x;
4462 int
4463 main (void)
4464 {
4465
4466 ;
4467 return 0;
4468 }
4469 _ACEOF
4470 if ac_fn_c_try_compile "$LINENO"
4471 then :
4472
4473 else case e in #(
4474 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4475 /* end confdefs.h. */
4476
4477 #define _XOPEN_SOURCE 500
4478 #include <wchar.h>
4479 mbstate_t x;
4480 int
4481 main (void)
4482 {
4483
4484 ;
4485 return 0;
4486 }
4487 _ACEOF
4488 if ac_fn_c_try_compile "$LINENO"
4489 then :
4490 ac_cv_should_define__xopen_source=yes
4491 fi
4492 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
4493 esac
4494 fi
4495 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4496 fi ;;
4497 esac
4498 fi
4499 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_should_define__xopen_source" >&5
4500 printf "%s\n" "$ac_cv_should_define__xopen_source" >&6; }
4501
4502 printf "%s\n" "#define _ALL_SOURCE 1" >>confdefs.h
4503
4504 printf "%s\n" "#define _DARWIN_C_SOURCE 1" >>confdefs.h
4505
4506 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
4507
4508 printf "%s\n" "#define _HPUX_ALT_XOPEN_SOCKET_API 1" >>confdefs.h
4509
4510 printf "%s\n" "#define _NETBSD_SOURCE 1" >>confdefs.h
4511
4512 printf "%s\n" "#define _OPENBSD_SOURCE 1" >>confdefs.h
4513
4514 printf "%s\n" "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4515
4516 printf "%s\n" "#define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1" >>confdefs.h
4517
4518 printf "%s\n" "#define __STDC_WANT_IEC_60559_BFP_EXT__ 1" >>confdefs.h
4519
4520 printf "%s\n" "#define __STDC_WANT_IEC_60559_DFP_EXT__ 1" >>confdefs.h
4521
4522 printf "%s\n" "#define __STDC_WANT_IEC_60559_EXT__ 1" >>confdefs.h
4523
4524 printf "%s\n" "#define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1" >>confdefs.h
4525
4526 printf "%s\n" "#define __STDC_WANT_IEC_60559_TYPES_EXT__ 1" >>confdefs.h
4527
4528 printf "%s\n" "#define __STDC_WANT_LIB_EXT2__ 1" >>confdefs.h
4529
4530 printf "%s\n" "#define __STDC_WANT_MATH_SPEC_FUNCS__ 1" >>confdefs.h
4531
4532 printf "%s\n" "#define _TANDEM_SOURCE 1" >>confdefs.h
4533
4534 if test $ac_cv_header_minix_config_h = yes
4535 then :
4536 MINIX=yes
4537 printf "%s\n" "#define _MINIX 1" >>confdefs.h
4538
4539 printf "%s\n" "#define _POSIX_SOURCE 1" >>confdefs.h
4540
4541 printf "%s\n" "#define _POSIX_1_SOURCE 2" >>confdefs.h
4542
4543 else case e in #(
4544 e) MINIX= ;;
4545 esac
4546 fi
4547 if test $ac_cv_safe_to_define___extensions__ = yes
4548 then :
4549 printf "%s\n" "#define __EXTENSIONS__ 1" >>confdefs.h
4550
4551 fi
4552 if test $ac_cv_should_define__xopen_source = yes
4553 then :
4554 printf "%s\n" "#define _XOPEN_SOURCE 500" >>confdefs.h
4555
4556 fi
4557
4558 # Check whether --enable-compiler-warnings was given.
4559 if test ${enable_compiler_warnings+y}
4560 then :
4561 enableval=$enable_compiler_warnings;
4562 fi
4563 case $enable_compiler_warnings in #(
4564 no | min | yes | max | all) :
4565 ;; #(
4566 *) :
4567 if test "x$enable_maintainer_mode" = xyes
4568 then :
4569 enable_compiler_warnings=yes
4570 else case e in #(
4571 e) enable_compiler_warnings=min ;;
4572 esac
4573 fi ;;
4574 esac
4575
4576 echo 'tldbg:KPSE_BASIC called (pkg=vlna, amopt=no-define)' >&5
4577
4578 #
4579 # am_init_automake
4580 if test "`cd $srcdir && pwd`" != "`pwd`"; then
4581 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
4582 # is not polluted with repeated "-I."
4583 am__isrc=' -I$(srcdir)'
4584 # test to see if srcdir already configured
4585 if test -f $srcdir/config.status; then
4586 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
4587 fi
4588 fi
4589
4590 # test whether we have cygpath
4591 if test -z "$CYGPATH_W"; then
4592 if (cygpath --version) >/dev/null 2>/dev/null; then
4593 CYGPATH_W='cygpath -w'
4594 else
4595 CYGPATH_W=echo
4596 fi
4597 fi
4598
4599
4600 # Define the identity of the package.
4601 PACKAGE='vlna--tex-live-'
4602 VERSION='1.5'
4603
4604
4605 # Some tools Automake needs.
4606
4607 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
4608
4609
4610 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
4611
4612
4613 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
4614
4615
4616 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
4617
4618
4619 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
4620
4621 # For better backward compatibility. To be removed once Automake 1.9.x
4622 # dies out for good. For more background, see:
4623 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
4624 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
4625 mkdir_p='$(MKDIR_P)'
4626
4627 # We need awk for the "check" target (and possibly the TAP driver). The
4628 # system "awk" is bad on some platforms.
4629 # Always define AMTAR for backward compatibility. Yes, it's still used
4630 # in the wild :-( We should find a proper way to deprecate it ...
4631 AMTAR='$${TAR-tar}'
4632
4633
4634 # We'll loop over all known methods to create a tar archive until one works.
4635 _am_tools='gnutar plaintar pax cpio none'
4636
4637 # The POSIX 1988 'ustar' format is defined with fixed-size fields.
4638 # There is notably a 21 bits limit for the UID and the GID. In fact,
4639 # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343
4640 # and bug#13588).
4641 am_max_uid=2097151 # 2^21 - 1
4642 am_max_gid=$am_max_uid
4643 # The $UID and $GID variables are not portable, so we need to resort
4644 # to the POSIX-mandated id(1) utility. Errors in the 'id' calls
4645 # below are definitely unexpected, so allow the users to see them
4646 # (that is, avoid stderr redirection).
4647 am_uid=`id -u || echo unknown`
4648 am_gid=`id -g || echo unknown`
4649 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether UID '$am_uid' is supported by ustar format" >&5
4650 printf %s "checking whether UID '$am_uid' is supported by ustar format... " >&6; }
4651 if test x$am_uid = xunknown; then
4652 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ancient id detected; assuming current UID is ok, but dist-ustar might not work" >&5
4653 printf "%s\n" "$as_me: WARNING: ancient id detected; assuming current UID is ok, but dist-ustar might not work" >&2;}
4654 elif test $am_uid -le $am_max_uid; then
4655 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4656 printf "%s\n" "yes" >&6; }
4657 else
4658 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4659 printf "%s\n" "no" >&6; }
4660 _am_tools=none
4661 fi
4662 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether GID '$am_gid' is supported by ustar format" >&5
4663 printf %s "checking whether GID '$am_gid' is supported by ustar format... " >&6; }
4664 if test x$gm_gid = xunknown; then
4665 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ancient id detected; assuming current GID is ok, but dist-ustar might not work" >&5
4666 printf "%s\n" "$as_me: WARNING: ancient id detected; assuming current GID is ok, but dist-ustar might not work" >&2;}
4667 elif test $am_gid -le $am_max_gid; then
4668 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4669 printf "%s\n" "yes" >&6; }
4670 else
4671 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4672 printf "%s\n" "no" >&6; }
4673 _am_tools=none
4674 fi
4675
4676 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5
4677 printf %s "checking how to create a ustar tar archive... " >&6; }
4678
4679 # Go ahead even if we have the value already cached. We do so because we
4680 # need to set the values for the 'am__tar' and 'am__untar' variables.
4681 _am_tools=${am_cv_prog_tar_ustar-$_am_tools}
4682
4683 for _am_tool in $_am_tools; do
4684 case $_am_tool in
4685 gnutar)
4686 for _am_tar in tar gnutar gtar; do
4687 { echo "$as_me:$LINENO: $_am_tar --version" >&5
4688 ($_am_tar --version) >&5 2>&5
4689 ac_status=$?
4690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4691 (exit $ac_status); } && break
4692 done
4693 am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"'
4694 am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"'
4695 am__untar="$_am_tar -xf -"
4696 ;;
4697 plaintar)
4698 # Must skip GNU tar: if it does not support --format= it doesn't create
4699 # ustar tarball either.
4700 (tar --version) >/dev/null 2>&1 && continue
4701 am__tar='tar chf - "$$tardir"'
4702 am__tar_='tar chf - "$tardir"'
4703 am__untar='tar xf -'
4704 ;;
4705 pax)
4706 am__tar='pax -L -x ustar -w "$$tardir"'
4707 am__tar_='pax -L -x ustar -w "$tardir"'
4708 am__untar='pax -r'
4709 ;;
4710 cpio)
4711 am__tar='find "$$tardir" -print | cpio -o -H ustar -L'
4712 am__tar_='find "$tardir" -print | cpio -o -H ustar -L'
4713 am__untar='cpio -i -H ustar -d'
4714 ;;
4715 none)
4716 am__tar=false
4717 am__tar_=false
4718 am__untar=false
4719 ;;
4720 esac
4721
4722 # If the value was cached, stop now. We just wanted to have am__tar
4723 # and am__untar set.
4724 test -n "${am_cv_prog_tar_ustar}" && break
4725
4726 # tar/untar a dummy directory, and stop if the command works.
4727 rm -rf conftest.dir
4728 mkdir conftest.dir
4729 echo GrepMe > conftest.dir/file
4730 { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
4731 (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
4732 ac_status=$?
4733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4734 (exit $ac_status); }
4735 rm -rf conftest.dir
4736 if test -s conftest.tar; then
4737 { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
4738 ($am__untar <conftest.tar) >&5 2>&5
4739 ac_status=$?
4740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4741 (exit $ac_status); }
4742 { echo "$as_me:$LINENO: cat conftest.dir/file" >&5
4743 (cat conftest.dir/file) >&5 2>&5
4744 ac_status=$?
4745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4746 (exit $ac_status); }
4747 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
4748 fi
4749 done
4750 rm -rf conftest.dir
4751
4752 if test ${am_cv_prog_tar_ustar+y}
4753 then :
4754 printf %s "(cached) " >&6
4755 else case e in #(
4756 e) am_cv_prog_tar_ustar=$_am_tool ;;
4757 esac
4758 fi
4759
4760 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5
4761 printf "%s\n" "$am_cv_prog_tar_ustar" >&6; }
4762
4763
4764
4765
4766
4767 # Variables for tags utilities; see am/tags.am
4768 if test -z "$CTAGS"; then
4769 CTAGS=ctags
4770 fi
4771
4772 if test -z "$ETAGS"; then
4773 ETAGS=etags
4774 fi
4775
4776 if test -z "$CSCOPE"; then
4777 CSCOPE=cscope
4778 fi
4779
4780
4781
4782
4783
4784
4785
4786
4787 # am_maintainer_mode
4788
4789 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
4790 printf %s "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
4791 # Check whether --enable-maintainer-mode was given.
4792 if test ${enable_maintainer_mode+y}
4793 then :
4794 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
4795 else case e in #(
4796 e) USE_MAINTAINER_MODE=no ;;
4797 esac
4798 fi
4799
4800 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
4801 printf "%s\n" "$USE_MAINTAINER_MODE" >&6; }
4802 if test $USE_MAINTAINER_MODE = yes; then
4803 MAINTAINER_MODE_TRUE=
4804 MAINTAINER_MODE_FALSE='#'
4805 else
4806 MAINTAINER_MODE_TRUE='#'
4807 MAINTAINER_MODE_FALSE=
4808 fi
4809
4810 MAINT=$MAINTAINER_MODE_TRUE
4811
4812
4813
4814 # See comments in kpse-setup.m4 about system extensions.
4815
4816
4817 # Check whether prototypes work.
4818 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler accepts prototypes" >&5
4819 printf %s "checking whether the compiler accepts prototypes... " >&6; }
4820 if test ${kb_cv_c_prototypes+y}
4821 then :
4822 printf %s "(cached) " >&6
4823 else case e in #(
4824 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4825 /* end confdefs.h. */
4826 #include <stdarg.h>
4827 int
4828 main (void)
4829 {
4830 extern void foo(int i,...);
4831 ;
4832 return 0;
4833 }
4834 _ACEOF
4835 if ac_fn_c_try_link "$LINENO"
4836 then :
4837 kb_cv_c_prototypes=yes
4838 else case e in #(
4839 e) kb_cv_c_prototypes=no ;;
4840 esac
4841 fi
4842 rm -f core conftest.err conftest.$ac_objext conftest.beam \
4843 conftest$ac_exeext conftest.$ac_ext ;;
4844 esac
4845 fi
4846 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $kb_cv_c_prototypes" >&5
4847 printf "%s\n" "$kb_cv_c_prototypes" >&6; }
4848 if test "x$kb_cv_c_prototypes" = xno; then
4849 as_fn_error $? "Sorry, your compiler does not understand prototypes." "$LINENO" 5
4850 fi
4851
4852 # kpse_compiler_warnings options.
4853 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking what warning flags to pass to the C compiler" >&5
4854 printf %s "checking what warning flags to pass to the C compiler... " >&6; }
4855 if test ${kpse_cv_warning_cflags+y}
4856 then :
4857 printf %s "(cached) " >&6
4858 else case e in #(
4859 e) if test "x$GCC" = xyes; then
4860 kpse_cv_warning_cflags=
4861 if test "x$enable_compiler_warnings" != xno; then
4862 kpse_cv_warning_cflags="-Wimplicit -Wreturn-type"
4863 case `$CC -dumpversion` in #(
4864 3.4.* | 4.* | 5.*) :
4865 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wdeclaration-after-statement" ;; #(
4866 *) :
4867 ;;
4868 esac
4869 case `$CC -dumpversion` in #(
4870 3.[234].* | 4.* | 5.*) :
4871 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wno-unknown-pragmas" ;; #(
4872 *) :
4873 ;;
4874 esac
4875 if test "x$enable_compiler_warnings" != xmin; then
4876 kpse_cv_warning_cflags="-Wall -Wunused $kpse_cv_warning_cflags"
4877 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wmissing-prototypes -Wmissing-declarations"
4878 if test "x$enable_compiler_warnings" != xyes; then
4879 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wparentheses -Wswitch -Wtrigraphs -Wpointer-arith"
4880 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wcast-qual -Wcast-align -Wwrite-strings"
4881 case `$CC -dumpversion` in #(
4882 3.4.* | 4.* | 5.*) :
4883 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wold-style-definition" ;; #(
4884 *) :
4885 ;;
4886 esac
4887 if test "x$enable_compiler_warnings" != xmax; then
4888 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wshadow"
4889 fi
4890 fi
4891 fi
4892 fi
4893 elif test "x$enable_compiler_warnings" = xno; then
4894 kpse_cv_warning_cflags=
4895 else
4896 kpse_cv_warning_cflags= # FIXME: warning flags for non-GNU C compilers
4897 fi ;;
4898 esac
4899 fi
4900 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $kpse_cv_warning_cflags" >&5
4901 printf "%s\n" "$kpse_cv_warning_cflags" >&6; }
4902 WARNING_CFLAGS=$kpse_cv_warning_cflags
4903
4904
4905
4906
4907
4908
4909
4910 # end of kpse_basic macro.
4911 echo 'tldbg:KPSE_BASIC done (pkg=vlna, amopt=no-define)' >&5
4912
4913
4914 # Checks for programs.
4915 ac_ext=c
4916 ac_cpp='$CPP $CPPFLAGS'
4917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4920 if test -n "$ac_tool_prefix"; then
4921 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4922 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4923 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4924 printf %s "checking for $ac_word... " >&6; }
4925 if test ${ac_cv_prog_CC+y}
4926 then :
4927 printf %s "(cached) " >&6
4928 else case e in #(
4929 e) if test -n "$CC"; then
4930 ac_cv_prog_CC="$CC" # Let the user override the test.
4931 else
4932 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4933 for as_dir in $PATH
4934 do
4935 IFS=$as_save_IFS
4936 case $as_dir in #(((
4937 '') as_dir=./ ;;
4938 */) ;;
4939 *) as_dir=$as_dir/ ;;
4940 esac
4941 for ac_exec_ext in '' $ac_executable_extensions; do
4942 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4943 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4944 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4945 break 2
4946 fi
4947 done
4948 done
4949 IFS=$as_save_IFS
4950
4951 fi ;;
4952 esac
4953 fi
4954 CC=$ac_cv_prog_CC
4955 if test -n "$CC"; then
4956 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4957 printf "%s\n" "$CC" >&6; }
4958 else
4959 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4960 printf "%s\n" "no" >&6; }
4961 fi
4962
4963
4964 fi
4965 if test -z "$ac_cv_prog_CC"; then
4966 ac_ct_CC=$CC
4967 # Extract the first word of "gcc", so it can be a program name with args.
4968 set dummy gcc; ac_word=$2
4969 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4970 printf %s "checking for $ac_word... " >&6; }
4971 if test ${ac_cv_prog_ac_ct_CC+y}
4972 then :
4973 printf %s "(cached) " >&6
4974 else case e in #(
4975 e) if test -n "$ac_ct_CC"; then
4976 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4977 else
4978 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4979 for as_dir in $PATH
4980 do
4981 IFS=$as_save_IFS
4982 case $as_dir in #(((
4983 '') as_dir=./ ;;
4984 */) ;;
4985 *) as_dir=$as_dir/ ;;
4986 esac
4987 for ac_exec_ext in '' $ac_executable_extensions; do
4988 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4989 ac_cv_prog_ac_ct_CC="gcc"
4990 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4991 break 2
4992 fi
4993 done
4994 done
4995 IFS=$as_save_IFS
4996
4997 fi ;;
4998 esac
4999 fi
5000 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5001 if test -n "$ac_ct_CC"; then
5002 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5003 printf "%s\n" "$ac_ct_CC" >&6; }
5004 else
5005 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5006 printf "%s\n" "no" >&6; }
5007 fi
5008
5009 if test "x$ac_ct_CC" = x; then
5010 CC=""
5011 else
5012 case $cross_compiling:$ac_tool_warned in
5013 yes:)
5014 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5015 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5016 ac_tool_warned=yes ;;
5017 esac
5018 CC=$ac_ct_CC
5019 fi
5020 else
5021 CC="$ac_cv_prog_CC"
5022 fi
5023
5024 if test -z "$CC"; then
5025 if test -n "$ac_tool_prefix"; then
5026 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
5027 set dummy ${ac_tool_prefix}cc; ac_word=$2
5028 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5029 printf %s "checking for $ac_word... " >&6; }
5030 if test ${ac_cv_prog_CC+y}
5031 then :
5032 printf %s "(cached) " >&6
5033 else case e in #(
5034 e) if test -n "$CC"; then
5035 ac_cv_prog_CC="$CC" # Let the user override the test.
5036 else
5037 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5038 for as_dir in $PATH
5039 do
5040 IFS=$as_save_IFS
5041 case $as_dir in #(((
5042 '') as_dir=./ ;;
5043 */) ;;
5044 *) as_dir=$as_dir/ ;;
5045 esac
5046 for ac_exec_ext in '' $ac_executable_extensions; do
5047 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5048 ac_cv_prog_CC="${ac_tool_prefix}cc"
5049 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5050 break 2
5051 fi
5052 done
5053 done
5054 IFS=$as_save_IFS
5055
5056 fi ;;
5057 esac
5058 fi
5059 CC=$ac_cv_prog_CC
5060 if test -n "$CC"; then
5061 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5062 printf "%s\n" "$CC" >&6; }
5063 else
5064 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5065 printf "%s\n" "no" >&6; }
5066 fi
5067
5068
5069 fi
5070 fi
5071 if test -z "$CC"; then
5072 # Extract the first word of "cc", so it can be a program name with args.
5073 set dummy cc; ac_word=$2
5074 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5075 printf %s "checking for $ac_word... " >&6; }
5076 if test ${ac_cv_prog_CC+y}
5077 then :
5078 printf %s "(cached) " >&6
5079 else case e in #(
5080 e) if test -n "$CC"; then
5081 ac_cv_prog_CC="$CC" # Let the user override the test.
5082 else
5083 ac_prog_rejected=no
5084 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5085 for as_dir in $PATH
5086 do
5087 IFS=$as_save_IFS
5088 case $as_dir in #(((
5089 '') as_dir=./ ;;
5090 */) ;;
5091 *) as_dir=$as_dir/ ;;
5092 esac
5093 for ac_exec_ext in '' $ac_executable_extensions; do
5094 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5095 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5096 ac_prog_rejected=yes
5097 continue
5098 fi
5099 ac_cv_prog_CC="cc"
5100 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5101 break 2
5102 fi
5103 done
5104 done
5105 IFS=$as_save_IFS
5106
5107 if test $ac_prog_rejected = yes; then
5108 # We found a bogon in the path, so make sure we never use it.
5109 set dummy $ac_cv_prog_CC
5110 shift
5111 if test $# != 0; then
5112 # We chose a different compiler from the bogus one.
5113 # However, it has the same basename, so the bogon will be chosen
5114 # first if we set CC to just the basename; use the full file name.
5115 shift
5116 ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
5117 fi
5118 fi
5119 fi ;;
5120 esac
5121 fi
5122 CC=$ac_cv_prog_CC
5123 if test -n "$CC"; then
5124 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5125 printf "%s\n" "$CC" >&6; }
5126 else
5127 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5128 printf "%s\n" "no" >&6; }
5129 fi
5130
5131
5132 fi
5133 if test -z "$CC"; then
5134 if test -n "$ac_tool_prefix"; then
5135 for ac_prog in cl.exe
5136 do
5137 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5138 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5139 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5140 printf %s "checking for $ac_word... " >&6; }
5141 if test ${ac_cv_prog_CC+y}
5142 then :
5143 printf %s "(cached) " >&6
5144 else case e in #(
5145 e) if test -n "$CC"; then
5146 ac_cv_prog_CC="$CC" # Let the user override the test.
5147 else
5148 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5149 for as_dir in $PATH
5150 do
5151 IFS=$as_save_IFS
5152 case $as_dir in #(((
5153 '') as_dir=./ ;;
5154 */) ;;
5155 *) as_dir=$as_dir/ ;;
5156 esac
5157 for ac_exec_ext in '' $ac_executable_extensions; do
5158 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5159 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
5160 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5161 break 2
5162 fi
5163 done
5164 done
5165 IFS=$as_save_IFS
5166
5167 fi ;;
5168 esac
5169 fi
5170 CC=$ac_cv_prog_CC
5171 if test -n "$CC"; then
5172 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5173 printf "%s\n" "$CC" >&6; }
5174 else
5175 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5176 printf "%s\n" "no" >&6; }
5177 fi
5178
5179
5180 test -n "$CC" && break
5181 done
5182 fi
5183 if test -z "$CC"; then
5184 ac_ct_CC=$CC
5185 for ac_prog in cl.exe
5186 do
5187 # Extract the first word of "$ac_prog", so it can be a program name with args.
5188 set dummy $ac_prog; ac_word=$2
5189 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5190 printf %s "checking for $ac_word... " >&6; }
5191 if test ${ac_cv_prog_ac_ct_CC+y}
5192 then :
5193 printf %s "(cached) " >&6
5194 else case e in #(
5195 e) if test -n "$ac_ct_CC"; then
5196 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5197 else
5198 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5199 for as_dir in $PATH
5200 do
5201 IFS=$as_save_IFS
5202 case $as_dir in #(((
5203 '') as_dir=./ ;;
5204 */) ;;
5205 *) as_dir=$as_dir/ ;;
5206 esac
5207 for ac_exec_ext in '' $ac_executable_extensions; do
5208 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5209 ac_cv_prog_ac_ct_CC="$ac_prog"
5210 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5211 break 2
5212 fi
5213 done
5214 done
5215 IFS=$as_save_IFS
5216
5217 fi ;;
5218 esac
5219 fi
5220 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5221 if test -n "$ac_ct_CC"; then
5222 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5223 printf "%s\n" "$ac_ct_CC" >&6; }
5224 else
5225 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5226 printf "%s\n" "no" >&6; }
5227 fi
5228
5229
5230 test -n "$ac_ct_CC" && break
5231 done
5232
5233 if test "x$ac_ct_CC" = x; then
5234 CC=""
5235 else
5236 case $cross_compiling:$ac_tool_warned in
5237 yes:)
5238 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5239 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5240 ac_tool_warned=yes ;;
5241 esac
5242 CC=$ac_ct_CC
5243 fi
5244 fi
5245
5246 fi
5247 if test -z "$CC"; then
5248 if test -n "$ac_tool_prefix"; then
5249 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
5250 set dummy ${ac_tool_prefix}clang; ac_word=$2
5251 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5252 printf %s "checking for $ac_word... " >&6; }
5253 if test ${ac_cv_prog_CC+y}
5254 then :
5255 printf %s "(cached) " >&6
5256 else case e in #(
5257 e) if test -n "$CC"; then
5258 ac_cv_prog_CC="$CC" # Let the user override the test.
5259 else
5260 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5261 for as_dir in $PATH
5262 do
5263 IFS=$as_save_IFS
5264 case $as_dir in #(((
5265 '') as_dir=./ ;;
5266 */) ;;
5267 *) as_dir=$as_dir/ ;;
5268 esac
5269 for ac_exec_ext in '' $ac_executable_extensions; do
5270 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5271 ac_cv_prog_CC="${ac_tool_prefix}clang"
5272 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5273 break 2
5274 fi
5275 done
5276 done
5277 IFS=$as_save_IFS
5278
5279 fi ;;
5280 esac
5281 fi
5282 CC=$ac_cv_prog_CC
5283 if test -n "$CC"; then
5284 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5285 printf "%s\n" "$CC" >&6; }
5286 else
5287 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5288 printf "%s\n" "no" >&6; }
5289 fi
5290
5291
5292 fi
5293 if test -z "$ac_cv_prog_CC"; then
5294 ac_ct_CC=$CC
5295 # Extract the first word of "clang", so it can be a program name with args.
5296 set dummy clang; ac_word=$2
5297 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5298 printf %s "checking for $ac_word... " >&6; }
5299 if test ${ac_cv_prog_ac_ct_CC+y}
5300 then :
5301 printf %s "(cached) " >&6
5302 else case e in #(
5303 e) if test -n "$ac_ct_CC"; then
5304 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5305 else
5306 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5307 for as_dir in $PATH
5308 do
5309 IFS=$as_save_IFS
5310 case $as_dir in #(((
5311 '') as_dir=./ ;;
5312 */) ;;
5313 *) as_dir=$as_dir/ ;;
5314 esac
5315 for ac_exec_ext in '' $ac_executable_extensions; do
5316 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5317 ac_cv_prog_ac_ct_CC="clang"
5318 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5319 break 2
5320 fi
5321 done
5322 done
5323 IFS=$as_save_IFS
5324
5325 fi ;;
5326 esac
5327 fi
5328 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5329 if test -n "$ac_ct_CC"; then
5330 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5331 printf "%s\n" "$ac_ct_CC" >&6; }
5332 else
5333 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5334 printf "%s\n" "no" >&6; }
5335 fi
5336
5337 if test "x$ac_ct_CC" = x; then
5338 CC=""
5339 else
5340 case $cross_compiling:$ac_tool_warned in
5341 yes:)
5342 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5343 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5344 ac_tool_warned=yes ;;
5345 esac
5346 CC=$ac_ct_CC
5347 fi
5348 else
5349 CC="$ac_cv_prog_CC"
5350 fi
5351
5352 fi
5353
5354
5355 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
5356 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
5357 as_fn_error $? "no acceptable C compiler found in \$PATH
5358 See 'config.log' for more details" "$LINENO" 5; }
5359
5360 # Provide some information about the compiler.
5361 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5362 set X $ac_compile
5363 ac_compiler=$2
5364 for ac_option in --version -v -V -qversion -version; do
5365 { { ac_try="$ac_compiler $ac_option >&5"
5366 case "(($ac_try" in
5367 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5368 *) ac_try_echo=$ac_try;;
5369 esac
5370 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5371 printf "%s\n" "$ac_try_echo"; } >&5
5372 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5373 ac_status=$?
5374 if test -s conftest.err; then
5375 sed '10a\
5376 ... rest of stderr output deleted ...
5377 10q' conftest.err >conftest.er1
5378 cat conftest.er1 >&5
5379 fi
5380 rm -f conftest.er1 conftest.err
5381 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5382 test $ac_status = 0; }
5383 done
5384
5385 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
5386 printf %s "checking whether the compiler supports GNU C... " >&6; }
5387 if test ${ac_cv_c_compiler_gnu+y}
5388 then :
5389 printf %s "(cached) " >&6
5390 else case e in #(
5391 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5392 /* end confdefs.h. */
5393
5394 int
5395 main (void)
5396 {
5397 #ifndef __GNUC__
5398 choke me
5399 #endif
5400
5401 ;
5402 return 0;
5403 }
5404 _ACEOF
5405 if ac_fn_c_try_compile "$LINENO"
5406 then :
5407 ac_compiler_gnu=yes
5408 else case e in #(
5409 e) ac_compiler_gnu=no ;;
5410 esac
5411 fi
5412 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5413 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5414 ;;
5415 esac
5416 fi
5417 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5418 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
5419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5420
5421 if test $ac_compiler_gnu = yes; then
5422 GCC=yes
5423 else
5424 GCC=
5425 fi
5426 ac_test_CFLAGS=${CFLAGS+y}
5427 ac_save_CFLAGS=$CFLAGS
5428 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5429 printf %s "checking whether $CC accepts -g... " >&6; }
5430 if test ${ac_cv_prog_cc_g+y}
5431 then :
5432 printf %s "(cached) " >&6
5433 else case e in #(
5434 e) ac_save_c_werror_flag=$ac_c_werror_flag
5435 ac_c_werror_flag=yes
5436 ac_cv_prog_cc_g=no
5437 CFLAGS="-g"
5438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5439 /* end confdefs.h. */
5440
5441 int
5442 main (void)
5443 {
5444
5445 ;
5446 return 0;
5447 }
5448 _ACEOF
5449 if ac_fn_c_try_compile "$LINENO"
5450 then :
5451 ac_cv_prog_cc_g=yes
5452 else case e in #(
5453 e) CFLAGS=""
5454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5455 /* end confdefs.h. */
5456
5457 int
5458 main (void)
5459 {
5460
5461 ;
5462 return 0;
5463 }
5464 _ACEOF
5465 if ac_fn_c_try_compile "$LINENO"
5466 then :
5467
5468 else case e in #(
5469 e) ac_c_werror_flag=$ac_save_c_werror_flag
5470 CFLAGS="-g"
5471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5472 /* end confdefs.h. */
5473
5474 int
5475 main (void)
5476 {
5477
5478 ;
5479 return 0;
5480 }
5481 _ACEOF
5482 if ac_fn_c_try_compile "$LINENO"
5483 then :
5484 ac_cv_prog_cc_g=yes
5485 fi
5486 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
5487 esac
5488 fi
5489 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
5490 esac
5491 fi
5492 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5493 ac_c_werror_flag=$ac_save_c_werror_flag ;;
5494 esac
5495 fi
5496 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5497 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
5498 if test $ac_test_CFLAGS; then
5499 CFLAGS=$ac_save_CFLAGS
5500 elif test $ac_cv_prog_cc_g = yes; then
5501 if test "$GCC" = yes; then
5502 CFLAGS="-g -O2"
5503 else
5504 CFLAGS="-g"
5505 fi
5506 else
5507 if test "$GCC" = yes; then
5508 CFLAGS="-O2"
5509 else
5510 CFLAGS=
5511 fi
5512 fi
5513 ac_prog_cc_stdc=no
5514 if test x$ac_prog_cc_stdc = xno
5515 then :
5516 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
5517 printf %s "checking for $CC option to enable C11 features... " >&6; }
5518 if test ${ac_cv_prog_cc_c11+y}
5519 then :
5520 printf %s "(cached) " >&6
5521 else case e in #(
5522 e) ac_cv_prog_cc_c11=no
5523 ac_save_CC=$CC
5524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5525 /* end confdefs.h. */
5526 $ac_c_conftest_c11_program
5527 _ACEOF
5528 for ac_arg in '' -std=gnu11
5529 do
5530 CC="$ac_save_CC $ac_arg"
5531 if ac_fn_c_try_compile "$LINENO"
5532 then :
5533 ac_cv_prog_cc_c11=$ac_arg
5534 fi
5535 rm -f core conftest.err conftest.$ac_objext conftest.beam
5536 test "x$ac_cv_prog_cc_c11" != "xno" && break
5537 done
5538 rm -f conftest.$ac_ext
5539 CC=$ac_save_CC ;;
5540 esac
5541 fi
5542
5543 if test "x$ac_cv_prog_cc_c11" = xno
5544 then :
5545 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5546 printf "%s\n" "unsupported" >&6; }
5547 else case e in #(
5548 e) if test "x$ac_cv_prog_cc_c11" = x
5549 then :
5550 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5551 printf "%s\n" "none needed" >&6; }
5552 else case e in #(
5553 e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
5554 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
5555 CC="$CC $ac_cv_prog_cc_c11" ;;
5556 esac
5557 fi
5558 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
5559 ac_prog_cc_stdc=c11 ;;
5560 esac
5561 fi
5562 fi
5563 if test x$ac_prog_cc_stdc = xno
5564 then :
5565 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
5566 printf %s "checking for $CC option to enable C99 features... " >&6; }
5567 if test ${ac_cv_prog_cc_c99+y}
5568 then :
5569 printf %s "(cached) " >&6
5570 else case e in #(
5571 e) ac_cv_prog_cc_c99=no
5572 ac_save_CC=$CC
5573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5574 /* end confdefs.h. */
5575 $ac_c_conftest_c99_program
5576 _ACEOF
5577 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
5578 do
5579 CC="$ac_save_CC $ac_arg"
5580 if ac_fn_c_try_compile "$LINENO"
5581 then :
5582 ac_cv_prog_cc_c99=$ac_arg
5583 fi
5584 rm -f core conftest.err conftest.$ac_objext conftest.beam
5585 test "x$ac_cv_prog_cc_c99" != "xno" && break
5586 done
5587 rm -f conftest.$ac_ext
5588 CC=$ac_save_CC ;;
5589 esac
5590 fi
5591
5592 if test "x$ac_cv_prog_cc_c99" = xno
5593 then :
5594 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5595 printf "%s\n" "unsupported" >&6; }
5596 else case e in #(
5597 e) if test "x$ac_cv_prog_cc_c99" = x
5598 then :
5599 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5600 printf "%s\n" "none needed" >&6; }
5601 else case e in #(
5602 e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
5603 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
5604 CC="$CC $ac_cv_prog_cc_c99" ;;
5605 esac
5606 fi
5607 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
5608 ac_prog_cc_stdc=c99 ;;
5609 esac
5610 fi
5611 fi
5612 if test x$ac_prog_cc_stdc = xno
5613 then :
5614 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
5615 printf %s "checking for $CC option to enable C89 features... " >&6; }
5616 if test ${ac_cv_prog_cc_c89+y}
5617 then :
5618 printf %s "(cached) " >&6
5619 else case e in #(
5620 e) ac_cv_prog_cc_c89=no
5621 ac_save_CC=$CC
5622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5623 /* end confdefs.h. */
5624 $ac_c_conftest_c89_program
5625 _ACEOF
5626 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5627 do
5628 CC="$ac_save_CC $ac_arg"
5629 if ac_fn_c_try_compile "$LINENO"
5630 then :
5631 ac_cv_prog_cc_c89=$ac_arg
5632 fi
5633 rm -f core conftest.err conftest.$ac_objext conftest.beam
5634 test "x$ac_cv_prog_cc_c89" != "xno" && break
5635 done
5636 rm -f conftest.$ac_ext
5637 CC=$ac_save_CC ;;
5638 esac
5639 fi
5640
5641 if test "x$ac_cv_prog_cc_c89" = xno
5642 then :
5643 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5644 printf "%s\n" "unsupported" >&6; }
5645 else case e in #(
5646 e) if test "x$ac_cv_prog_cc_c89" = x
5647 then :
5648 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5649 printf "%s\n" "none needed" >&6; }
5650 else case e in #(
5651 e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5652 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
5653 CC="$CC $ac_cv_prog_cc_c89" ;;
5654 esac
5655 fi
5656 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
5657 ac_prog_cc_stdc=c89 ;;
5658 esac
5659 fi
5660 fi
5661
5662 ac_ext=c
5663 ac_cpp='$CPP $CPPFLAGS'
5664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5667
5668
5669 ac_ext=c
5670 ac_cpp='$CPP $CPPFLAGS'
5671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5674 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
5675 printf %s "checking whether $CC understands -c and -o together... " >&6; }
5676 if test ${am_cv_prog_cc_c_o+y}
5677 then :
5678 printf %s "(cached) " >&6
5679 else case e in #(
5680 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5681 /* end confdefs.h. */
5682
5683 int
5684 main (void)
5685 {
5686
5687 ;
5688 return 0;
5689 }
5690 _ACEOF
5691 # Make sure it works both with $CC and with simple cc.
5692 # Following AC_PROG_CC_C_O, we do the test twice because some
5693 # compilers refuse to overwrite an existing .o file with -o,
5694 # though they will create one.
5695 am_cv_prog_cc_c_o=yes
5696 for am_i in 1 2; do
5697 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
5698 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
5699 ac_status=$?
5700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5701 (exit $ac_status); } \
5702 && test -f conftest2.$ac_objext; then
5703 : OK
5704 else
5705 am_cv_prog_cc_c_o=no
5706 break
5707 fi
5708 done
5709 # aligned with autoconf, so not including core; see bug#72225.
5710 rm -f -r a.out a.exe b.out conftest.$ac_ext conftest.$ac_objext \
5711 conftest.dSYM conftest1.$ac_ext conftest1.$ac_objext conftest1.dSYM \
5712 conftest2.$ac_ext conftest2.$ac_objext conftest2.dSYM
5713 unset am_i ;;
5714 esac
5715 fi
5716 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
5717 printf "%s\n" "$am_cv_prog_cc_c_o" >&6; }
5718 if test "$am_cv_prog_cc_c_o" != yes; then
5719 # Losing compiler, so override with the script.
5720 # FIXME: It is wrong to rewrite CC.
5721 # But if we don't then we get into trouble of one sort or another.
5722 # A longer-term fix would be to have automake use am__CC in this case,
5723 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5724 CC="$am_aux_dir/compile $CC"
5725 fi
5726 ac_ext=c
5727 ac_cpp='$CPP $CPPFLAGS'
5728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5731
5732
5733 depcc="$CC" am_compiler_list=
5734
5735 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5736 printf %s "checking dependency style of $depcc... " >&6; }
5737 if test ${am_cv_CC_dependencies_compiler_type+y}
5738 then :
5739 printf %s "(cached) " >&6
5740 else case e in #(
5741 e) if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5742 # We make a subdir and do the tests there. Otherwise we can end up
5743 # making bogus files that we don't know about and never remove. For
5744 # instance it was reported that on HP-UX the gcc test will end up
5745 # making a dummy file named 'D' -- because '-MD' means "put the output
5746 # in D".
5747 rm -rf conftest.dir
5748 mkdir conftest.dir
5749 # Copy depcomp to subdir because otherwise we won't find it if we're
5750 # using a relative directory.
5751 cp "$am_depcomp" conftest.dir
5752 cd conftest.dir
5753 # We will build objects and dependencies in a subdirectory because
5754 # it helps to detect inapplicable dependency modes. For instance
5755 # both Tru64's cc and ICC support -MD to output dependencies as a
5756 # side effect of compilation, but ICC will put the dependencies in
5757 # the current directory while Tru64 will put them in the object
5758 # directory.
5759 mkdir sub
5760
5761 am_cv_CC_dependencies_compiler_type=none
5762 if test "$am_compiler_list" = ""; then
5763 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5764 fi
5765 am__universal=false
5766 case " $depcc " in #(
5767 *\ -arch\ *\ -arch\ *) am__universal=true ;;
5768 esac
5769
5770 for depmode in $am_compiler_list; do
5771 # Setup a source with many dependencies, because some compilers
5772 # like to wrap large dependency lists on column 80 (with \), and
5773 # we should not choose a depcomp mode which is confused by this.
5774 #
5775 # We need to recreate these files for each test, as the compiler may
5776 # overwrite some of them when testing with obscure command lines.
5777 # This happens at least with the AIX C compiler.
5778 : > sub/conftest.c
5779 for i in 1 2 3 4 5 6; do
5780 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5781 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
5782 # Solaris 10 /bin/sh.
5783 echo '/* dummy */' > sub/conftst$i.h
5784 done
5785 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5786
5787 # We check with '-c' and '-o' for the sake of the "dashmstdout"
5788 # mode. It turns out that the SunPro C++ compiler does not properly
5789 # handle '-M -o', and we need to detect this. Also, some Intel
5790 # versions had trouble with output in subdirs.
5791 am__obj=sub/conftest.${OBJEXT-o}
5792 am__minus_obj="-o $am__obj"
5793 case $depmode in
5794 gcc)
5795 # This depmode causes a compiler race in universal mode.
5796 test "$am__universal" = false || continue
5797 ;;
5798 nosideeffect)
5799 # After this tag, mechanisms are not by side-effect, so they'll
5800 # only be used when explicitly requested.
5801 if test "x$enable_dependency_tracking" = xyes; then
5802 continue
5803 else
5804 break
5805 fi
5806 ;;
5807 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
5808 # This compiler won't grok '-c -o', but also, the minuso test has
5809 # not run yet. These depmodes are late enough in the game, and
5810 # so weak that their functioning should not be impacted.
5811 am__obj=conftest.${OBJEXT-o}
5812 am__minus_obj=
5813 ;;
5814 none) break ;;
5815 esac
5816 if depmode=$depmode \
5817 source=sub/conftest.c object=$am__obj \
5818 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5819 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5820 >/dev/null 2>conftest.err &&
5821 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5822 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5823 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5824 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5825 # icc doesn't choke on unknown options, it will just issue warnings
5826 # or remarks (even with -Werror). So we grep stderr for any message
5827 # that says an option was ignored or not supported.
5828 # When given -MP, icc 7.0 and 7.1 complain thus:
5829 # icc: Command line warning: ignoring option '-M'; no argument required
5830 # The diagnosis changed in icc 8.0:
5831 # icc: Command line remark: option '-MP' not supported
5832 if (grep 'ignoring option' conftest.err ||
5833 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5834 am_cv_CC_dependencies_compiler_type=$depmode
5835 break
5836 fi
5837 fi
5838 done
5839
5840 cd ..
5841 rm -rf conftest.dir
5842 else
5843 am_cv_CC_dependencies_compiler_type=none
5844 fi
5845 ;;
5846 esac
5847 fi
5848 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5849 printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; }
5850 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5851
5852 if
5853 test "x$enable_dependency_tracking" != xno \
5854 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5855 am__fastdepCC_TRUE=
5856 am__fastdepCC_FALSE='#'
5857 else
5858 am__fastdepCC_TRUE='#'
5859 am__fastdepCC_FALSE=
5860 fi
5861
5862
5863
5864 # With --enable-maintainer-mode we may want to regenerate
5865 # vlna.c, vlna.tex, and vlna.dvi, this requires ctangle, cweave, and csplain.
5866 for ac_prog in ctangle
5867 do
5868 # Extract the first word of "$ac_prog", so it can be a program name with args.
5869 set dummy $ac_prog; ac_word=$2
5870 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5871 printf %s "checking for $ac_word... " >&6; }
5872 if test ${ac_cv_prog_CTANGLE+y}
5873 then :
5874 printf %s "(cached) " >&6
5875 else case e in #(
5876 e) if test -n "$CTANGLE"; then
5877 ac_cv_prog_CTANGLE="$CTANGLE" # Let the user override the test.
5878 else
5879 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5880 for as_dir in $PATH
5881 do
5882 IFS=$as_save_IFS
5883 case $as_dir in #(((
5884 '') as_dir=./ ;;
5885 */) ;;
5886 *) as_dir=$as_dir/ ;;
5887 esac
5888 for ac_exec_ext in '' $ac_executable_extensions; do
5889 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5890 ac_cv_prog_CTANGLE="$ac_prog"
5891 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5892 break 2
5893 fi
5894 done
5895 done
5896 IFS=$as_save_IFS
5897
5898 fi ;;
5899 esac
5900 fi
5901 CTANGLE=$ac_cv_prog_CTANGLE
5902 if test -n "$CTANGLE"; then
5903 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CTANGLE" >&5
5904 printf "%s\n" "$CTANGLE" >&6; }
5905 else
5906 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5907 printf "%s\n" "no" >&6; }
5908 fi
5909
5910
5911 test -n "$CTANGLE" && break
5912 done
5913 test -n "$CTANGLE" || CTANGLE="none"
5914
5915 for ac_prog in cweave
5916 do
5917 # Extract the first word of "$ac_prog", so it can be a program name with args.
5918 set dummy $ac_prog; ac_word=$2
5919 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5920 printf %s "checking for $ac_word... " >&6; }
5921 if test ${ac_cv_prog_CWEAVE+y}
5922 then :
5923 printf %s "(cached) " >&6
5924 else case e in #(
5925 e) if test -n "$CWEAVE"; then
5926 ac_cv_prog_CWEAVE="$CWEAVE" # Let the user override the test.
5927 else
5928 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5929 for as_dir in $PATH
5930 do
5931 IFS=$as_save_IFS
5932 case $as_dir in #(((
5933 '') as_dir=./ ;;
5934 */) ;;
5935 *) as_dir=$as_dir/ ;;
5936 esac
5937 for ac_exec_ext in '' $ac_executable_extensions; do
5938 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5939 ac_cv_prog_CWEAVE="$ac_prog"
5940 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5941 break 2
5942 fi
5943 done
5944 done
5945 IFS=$as_save_IFS
5946
5947 fi ;;
5948 esac
5949 fi
5950 CWEAVE=$ac_cv_prog_CWEAVE
5951 if test -n "$CWEAVE"; then
5952 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CWEAVE" >&5
5953 printf "%s\n" "$CWEAVE" >&6; }
5954 else
5955 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5956 printf "%s\n" "no" >&6; }
5957 fi
5958
5959
5960 test -n "$CWEAVE" && break
5961 done
5962 test -n "$CWEAVE" || CWEAVE="none"
5963
5964 for ac_prog in csplain
5965 do
5966 # Extract the first word of "$ac_prog", so it can be a program name with args.
5967 set dummy $ac_prog; ac_word=$2
5968 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5969 printf %s "checking for $ac_word... " >&6; }
5970 if test ${ac_cv_prog_CSPLAIN+y}
5971 then :
5972 printf %s "(cached) " >&6
5973 else case e in #(
5974 e) if test -n "$CSPLAIN"; then
5975 ac_cv_prog_CSPLAIN="$CSPLAIN" # Let the user override the test.
5976 else
5977 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5978 for as_dir in $PATH
5979 do
5980 IFS=$as_save_IFS
5981 case $as_dir in #(((
5982 '') as_dir=./ ;;
5983 */) ;;
5984 *) as_dir=$as_dir/ ;;
5985 esac
5986 for ac_exec_ext in '' $ac_executable_extensions; do
5987 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5988 ac_cv_prog_CSPLAIN="$ac_prog"
5989 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5990 break 2
5991 fi
5992 done
5993 done
5994 IFS=$as_save_IFS
5995
5996 fi ;;
5997 esac
5998 fi
5999 CSPLAIN=$ac_cv_prog_CSPLAIN
6000 if test -n "$CSPLAIN"; then
6001 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CSPLAIN" >&5
6002 printf "%s\n" "$CSPLAIN" >&6; }
6003 else
6004 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6005 printf "%s\n" "no" >&6; }
6006 fi
6007
6008
6009 test -n "$CSPLAIN" && break
6010 done
6011 test -n "$CSPLAIN" || CSPLAIN="none"
6012
6013
6014 do_cweb=$enable_maintainer_mode
6015 if test x"$do_cweb" = xyes; then
6016 case :$CTANGLE:$CWEAVE:$CSPLAIN: in
6017 *:none:*)
6018 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Can not regenerate vlna.c, vlna.tex, and vlna.dvi -- requires ctangle, cweave, and csplain." >&5
6019 printf "%s\n" "$as_me: WARNING: Can not regenerate vlna.c, vlna.tex, and vlna.dvi -- requires ctangle, cweave, and csplain." >&2;}
6020 do_cweb=no
6021 ;;
6022 esac
6023 fi
6024 if test "x$do_cweb" = xyes; then
6025 do_cweb_TRUE=
6026 do_cweb_FALSE='#'
6027 else
6028 do_cweb_TRUE='#'
6029 do_cweb_FALSE=
6030 fi
6031
6032
6033 VLNA_TREE=vlna-src
6034
6035
6036 ac_config_files="$ac_config_files Makefile"
6037
6038 cat >confcache <<\_ACEOF
6039 # This file is a shell script that caches the results of configure
6040 # tests run on this system so they can be shared between configure
6041 # scripts and configure runs, see configure's option --config-cache.
6042 # It is not useful on other systems. If it contains results you don't
6043 # want to keep, you may remove or edit it.
6044 #
6045 # config.status only pays attention to the cache file if you give it
6046 # the --recheck option to rerun configure.
6047 #
6048 # 'ac_cv_env_foo' variables (set or unset) will be overridden when
6049 # loading this file, other *unset* 'ac_cv_foo' will be assigned the
6050 # following values.
6051
6052 _ACEOF
6053
6054 # The following way of writing the cache mishandles newlines in values,
6055 # but we know of no workaround that is simple, portable, and efficient.
6056 # So, we kill variables containing newlines.
6057 # Ultrix sh set writes to stderr and can't be redirected directly,
6058 # and sets the high bit in the cache file unless we assign to the vars.
6059 (
6060 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
6061 eval ac_val=\$$ac_var
6062 case $ac_val in #(
6063 *${as_nl}*)
6064 case $ac_var in #(
6065 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
6066 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
6067 esac
6068 case $ac_var in #(
6069 _ | IFS | as_nl) ;; #(
6070 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
6071 *) { eval $ac_var=; unset $ac_var;} ;;
6072 esac ;;
6073 esac
6074 done
6075
6076 (set) 2>&1 |
6077 case $as_nl`(ac_space=' '; set) 2>&1` in #(
6078 *${as_nl}ac_space=\ *)
6079 # 'set' does not quote correctly, so add quotes: double-quote
6080 # substitution turns \\\\ into \\, and sed turns \\ into \.
6081 sed -n \
6082 "s/'/'\\\\''/g;
6083 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6084 ;; #(
6085 *)
6086 # 'set' quotes correctly as required by POSIX, so do not add quotes.
6087 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
6088 ;;
6089 esac |
6090 sort
6091 ) |
6092 sed '
6093 /^ac_cv_env_/b end
6094 t clear
6095 :clear
6096 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
6097 t end
6098 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6099 :end' >>confcache
6100 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
6101 if test -w "$cache_file"; then
6102 if test "x$cache_file" != "x/dev/null"; then
6103 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
6104 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
6105 if test ! -f "$cache_file" || test -h "$cache_file"; then
6106 cat confcache >"$cache_file"
6107 else
6108 case $cache_file in #(
6109 */* | ?:*)
6110 mv -f confcache "$cache_file"$$ &&
6111 mv -f "$cache_file"$$ "$cache_file" ;; #(
6112 *)
6113 mv -f confcache "$cache_file" ;;
6114 esac
6115 fi
6116 fi
6117 else
6118 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
6119 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
6120 fi
6121 fi
6122 rm -f confcache
6123
6124 test "x$prefix" = xNONE && prefix=$ac_default_prefix
6125 # Let make expand exec_prefix.
6126 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
6127
6128 # Transform confdefs.h into DEFS.
6129 # Protect against shell expansion while executing Makefile rules.
6130 # Protect against Makefile macro expansion.
6131 #
6132 # If the first sed substitution is executed (which looks for macros that
6133 # take arguments), then branch to the quote section. Otherwise,
6134 # look for a macro that doesn't take arguments.
6135 ac_script='
6136 :mline
6137 /\\$/{
6138 N
6139 s,\\\n,,
6140 b mline
6141 }
6142 t clear
6143 :clear
6144 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
6145 t quote
6146 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
6147 t quote
6148 b any
6149 :quote
6150 s/[][ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
6151 s/\$/$$/g
6152 H
6153 :any
6154 ${
6155 g
6156 s/^\n//
6157 s/\n/ /g
6158 p
6159 }
6160 '
6161 DEFS=`sed -n "$ac_script" confdefs.h`
6162
6163
6164 ac_libobjs=
6165 ac_ltlibobjs=
6166 U=
6167 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
6168 # 1. Remove the extension, and $U if already installed.
6169 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
6170 ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
6171 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
6172 # will be set to the directory where LIBOBJS objects are built.
6173 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
6174 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
6175 done
6176 LIBOBJS=$ac_libobjs
6177
6178 LTLIBOBJS=$ac_ltlibobjs
6179
6180
6181 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
6182 printf %s "checking that generated files are newer than configure... " >&6; }
6183 if test -n "$am_sleep_pid"; then
6184 # Hide warnings about reused PIDs.
6185 wait $am_sleep_pid 2>/dev/null
6186 fi
6187 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
6188 printf "%s\n" "done" >&6; }
6189 case $enable_silent_rules in # (((
6190 yes) AM_DEFAULT_VERBOSITY=0;;
6191 no) AM_DEFAULT_VERBOSITY=1;;
6192 esac
6193 if test $am_cv_make_support_nested_variables = yes; then
6194 AM_V='$(V)'
6195 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
6196 else
6197 AM_V=$AM_DEFAULT_VERBOSITY
6198 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
6199 fi
6200
6201 if test -n "$EXEEXT"; then
6202 am__EXEEXT_TRUE=
6203 am__EXEEXT_FALSE='#'
6204 else
6205 am__EXEEXT_TRUE='#'
6206 am__EXEEXT_FALSE=
6207 fi
6208
6209 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
6210 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
6211 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6212 fi
6213 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
6214 as_fn_error $? "conditional \"AMDEP\" was never defined.
6215 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6216 fi
6217 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
6218 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
6219 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6220 fi
6221 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
6222 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
6223 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6224 fi
6225 if test -z "${do_cweb_TRUE}" && test -z "${do_cweb_FALSE}"; then
6226 as_fn_error $? "conditional \"do_cweb\" was never defined.
6227 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6228 fi
6229
6230 : "${CONFIG_STATUS=./config.status}"
6231 ac_write_fail=0
6232 ac_clean_files_save=$ac_clean_files
6233 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
6234 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
6235 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
6236 as_write_fail=0
6237 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
6238 #! $SHELL
6239 # Generated by $as_me.
6240 # Run this file to recreate the current configuration.
6241 # Compiler output produced by configure, useful for debugging
6242 # configure, is in config.log if it exists.
6243
6244 debug=false
6245 ac_cs_recheck=false
6246 ac_cs_silent=false
6247
6248 SHELL=\${CONFIG_SHELL-$SHELL}
6249 export SHELL
6250 _ASEOF
6251 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
6252 ## -------------------- ##
6253 ## M4sh Initialization. ##
6254 ## -------------------- ##
6255
6256 # Be more Bourne compatible
6257 DUALCASE=1; export DUALCASE # for MKS sh
6258 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
6259 then :
6260 emulate sh
6261 NULLCMD=:
6262 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
6263 # is contrary to our usage. Disable this feature.
6264 alias -g '${1+"$@"}'='"$@"'
6265 setopt NO_GLOB_SUBST
6266 else case e in #(
6267 e) case `(set -o) 2>/dev/null` in #(
6268 *posix*) :
6269 set -o posix ;; #(
6270 *) :
6271 ;;
6272 esac ;;
6273 esac
6274 fi
6275
6276
6277
6278 # Reset variables that may have inherited troublesome values from
6279 # the environment.
6280
6281 # IFS needs to be set, to space, tab, and newline, in precisely that order.
6282 # (If _AS_PATH_WALK were called with IFS unset, it would have the
6283 # side effect of setting IFS to empty, thus disabling word splitting.)
6284 # Quoting is to prevent editors from complaining about space-tab.
6285 as_nl='
6286 '
6287 export as_nl
6288 IFS=" "" $as_nl"
6289
6290 PS1='$ '
6291 PS2='> '
6292 PS4='+ '
6293
6294 # Ensure predictable behavior from utilities with locale-dependent output.
6295 LC_ALL=C
6296 export LC_ALL
6297 LANGUAGE=C
6298 export LANGUAGE
6299
6300 # We cannot yet rely on "unset" to work, but we need these variables
6301 # to be unset--not just set to an empty or harmless value--now, to
6302 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
6303 # also avoids known problems related to "unset" and subshell syntax
6304 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
6305 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
6306 do eval test \${$as_var+y} \
6307 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
6308 done
6309
6310 # Ensure that fds 0, 1, and 2 are open.
6311 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
6312 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
6313 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
6314
6315 # The user is always right.
6316 if ${PATH_SEPARATOR+false} :; then
6317 PATH_SEPARATOR=:
6318 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
6319 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
6320 PATH_SEPARATOR=';'
6321 }
6322 fi
6323
6324
6325 # Find who we are. Look in the path if we contain no directory separator.
6326 as_myself=
6327 case $0 in #((
6328 *[\\/]* ) as_myself=$0 ;;
6329 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6330 for as_dir in $PATH
6331 do
6332 IFS=$as_save_IFS
6333 case $as_dir in #(((
6334 '') as_dir=./ ;;
6335 */) ;;
6336 *) as_dir=$as_dir/ ;;
6337 esac
6338 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
6339 done
6340 IFS=$as_save_IFS
6341
6342 ;;
6343 esac
6344 # We did not find ourselves, most probably we were run as 'sh COMMAND'
6345 # in which case we are not to be found in the path.
6346 if test "x$as_myself" = x; then
6347 as_myself=$0
6348 fi
6349 if test ! -f "$as_myself"; then
6350 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
6351 exit 1
6352 fi
6353
6354
6355
6356 # as_fn_error STATUS ERROR [LINENO LOG_FD]
6357 # ----------------------------------------
6358 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
6359 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
6360 # script with STATUS, using 1 if that was 0.
6361 as_fn_error ()
6362 {
6363 as_status=$1; test $as_status -eq 0 && as_status=1
6364 if test "$4"; then
6365 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
6366 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
6367 fi
6368 printf "%s\n" "$as_me: error: $2" >&2
6369 as_fn_exit $as_status
6370 } # as_fn_error
6371
6372
6373 # as_fn_set_status STATUS
6374 # -----------------------
6375 # Set $? to STATUS, without forking.
6376 as_fn_set_status ()
6377 {
6378 return $1
6379 } # as_fn_set_status
6380
6381 # as_fn_exit STATUS
6382 # -----------------
6383 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
6384 as_fn_exit ()
6385 {
6386 set +e
6387 as_fn_set_status $1
6388 exit $1
6389 } # as_fn_exit
6390
6391 # as_fn_unset VAR
6392 # ---------------
6393 # Portably unset VAR.
6394 as_fn_unset ()
6395 {
6396 { eval $1=; unset $1;}
6397 }
6398 as_unset=as_fn_unset
6399
6400 # as_fn_append VAR VALUE
6401 # ----------------------
6402 # Append the text in VALUE to the end of the definition contained in VAR. Take
6403 # advantage of any shell optimizations that allow amortized linear growth over
6404 # repeated appends, instead of the typical quadratic growth present in naive
6405 # implementations.
6406 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
6407 then :
6408 eval 'as_fn_append ()
6409 {
6410 eval $1+=\$2
6411 }'
6412 else case e in #(
6413 e) as_fn_append ()
6414 {
6415 eval $1=\$$1\$2
6416 } ;;
6417 esac
6418 fi # as_fn_append
6419
6420 # as_fn_arith ARG...
6421 # ------------------
6422 # Perform arithmetic evaluation on the ARGs, and store the result in the
6423 # global $as_val. Take advantage of shells that can avoid forks. The arguments
6424 # must be portable across $(()) and expr.
6425 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
6426 then :
6427 eval 'as_fn_arith ()
6428 {
6429 as_val=$(( $* ))
6430 }'
6431 else case e in #(
6432 e) as_fn_arith ()
6433 {
6434 as_val=`expr "$@" || test $? -eq 1`
6435 } ;;
6436 esac
6437 fi # as_fn_arith
6438
6439
6440 if expr a : '\(a\)' >/dev/null 2>&1 &&
6441 test "X`expr 00001 : '.*\(...\)'`" = X001; then
6442 as_expr=expr
6443 else
6444 as_expr=false
6445 fi
6446
6447 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
6448 as_basename=basename
6449 else
6450 as_basename=false
6451 fi
6452
6453 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
6454 as_dirname=dirname
6455 else
6456 as_dirname=false
6457 fi
6458
6459 as_me=`$as_basename -- "$0" ||
6460 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6461 X"$0" : 'X\(//\)$' \| \
6462 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
6463 printf "%s\n" X/"$0" |
6464 sed '/^.*\/\([^/][^/]*\)\/*$/{
6465 s//\1/
6466 q
6467 }
6468 /^X\/\(\/\/\)$/{
6469 s//\1/
6470 q
6471 }
6472 /^X\/\(\/\).*/{
6473 s//\1/
6474 q
6475 }
6476 s/.*/./; q'`
6477
6478 # Avoid depending upon Character Ranges.
6479 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
6480 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6481 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
6482 as_cr_digits='0123456789'
6483 as_cr_alnum=$as_cr_Letters$as_cr_digits
6484
6485
6486 # Determine whether it's possible to make 'echo' print without a newline.
6487 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
6488 # for compatibility with existing Makefiles.
6489 ECHO_C= ECHO_N= ECHO_T=
6490 case `echo -n x` in #(((((
6491 -n*)
6492 case `echo 'xy\c'` in
6493 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
6494 xy) ECHO_C='\c';;
6495 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
6496 ECHO_T=' ';;
6497 esac;;
6498 *)
6499 ECHO_N='-n';;
6500 esac
6501
6502 # For backward compatibility with old third-party macros, we provide
6503 # the shell variables $as_echo and $as_echo_n. New code should use
6504 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
6505 as_echo='printf %s\n'
6506 as_echo_n='printf %s'
6507
6508 rm -f conf$$ conf$$.exe conf$$.file
6509 if test -d conf$$.dir; then
6510 rm -f conf$$.dir/conf$$.file
6511 else
6512 rm -f conf$$.dir
6513 mkdir conf$$.dir 2>/dev/null
6514 fi
6515 if (echo >conf$$.file) 2>/dev/null; then
6516 if ln -s conf$$.file conf$$ 2>/dev/null; then
6517 as_ln_s='ln -s'
6518 # ... but there are two gotchas:
6519 # 1) On MSYS, both 'ln -s file dir' and 'ln file dir' fail.
6520 # 2) DJGPP < 2.04 has no symlinks; 'ln -s' creates a wrapper executable.
6521 # In both cases, we have to default to 'cp -pR'.
6522 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
6523 as_ln_s='cp -pR'
6524 elif ln conf$$.file conf$$ 2>/dev/null; then
6525 as_ln_s=ln
6526 else
6527 as_ln_s='cp -pR'
6528 fi
6529 else
6530 as_ln_s='cp -pR'
6531 fi
6532 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
6533 rmdir conf$$.dir 2>/dev/null
6534
6535
6536 # as_fn_mkdir_p
6537 # -------------
6538 # Create "$as_dir" as a directory, including parents if necessary.
6539 as_fn_mkdir_p ()
6540 {
6541
6542 case $as_dir in #(
6543 -*) as_dir=./$as_dir;;
6544 esac
6545 test -d "$as_dir" || eval $as_mkdir_p || {
6546 as_dirs=
6547 while :; do
6548 case $as_dir in #(
6549 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
6550 *) as_qdir=$as_dir;;
6551 esac
6552 as_dirs="'$as_qdir' $as_dirs"
6553 as_dir=`$as_dirname -- "$as_dir" ||
6554 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6555 X"$as_dir" : 'X\(//\)[^/]' \| \
6556 X"$as_dir" : 'X\(//\)$' \| \
6557 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6558 printf "%s\n" X"$as_dir" |
6559 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6560 s//\1/
6561 q
6562 }
6563 /^X\(\/\/\)[^/].*/{
6564 s//\1/
6565 q
6566 }
6567 /^X\(\/\/\)$/{
6568 s//\1/
6569 q
6570 }
6571 /^X\(\/\).*/{
6572 s//\1/
6573 q
6574 }
6575 s/.*/./; q'`
6576 test -d "$as_dir" && break
6577 done
6578 test -z "$as_dirs" || eval "mkdir $as_dirs"
6579 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
6580
6581
6582 } # as_fn_mkdir_p
6583 if mkdir -p . 2>/dev/null; then
6584 as_mkdir_p='mkdir -p "$as_dir"'
6585 else
6586 test -d ./-p && rmdir ./-p
6587 as_mkdir_p=false
6588 fi
6589
6590
6591 # as_fn_executable_p FILE
6592 # -----------------------
6593 # Test if FILE is an executable regular file.
6594 as_fn_executable_p ()
6595 {
6596 test -f "$1" && test -x "$1"
6597 } # as_fn_executable_p
6598 as_test_x='test -x'
6599 as_executable_p=as_fn_executable_p
6600
6601 # Sed expression to map a string onto a valid CPP name.
6602 as_sed_cpp="y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
6603 as_tr_cpp="eval sed '$as_sed_cpp'" # deprecated
6604
6605 # Sed expression to map a string onto a valid variable name.
6606 as_sed_sh="y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
6607 as_tr_sh="eval sed '$as_sed_sh'" # deprecated
6608
6609
6610 exec 6>&1
6611 ## ----------------------------------- ##
6612 ## Main body of $CONFIG_STATUS script. ##
6613 ## ----------------------------------- ##
6614 _ASEOF
6615 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
6616
6617 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6618 # Save the log message, to keep $0 and so on meaningful, and to
6619 # report actual input values of CONFIG_FILES etc. instead of their
6620 # values after options handling.
6621 ac_log="
6622 This file was extended by vlna (TeX Live) $as_me 1.5, which was
6623 generated by GNU Autoconf 2.72. Invocation command line was
6624
6625 CONFIG_FILES = $CONFIG_FILES
6626 CONFIG_HEADERS = $CONFIG_HEADERS
6627 CONFIG_LINKS = $CONFIG_LINKS
6628 CONFIG_COMMANDS = $CONFIG_COMMANDS
6629 $ $0 $@
6630
6631 on `(hostname || uname -n) 2>/dev/null | sed 1q`
6632 "
6633
6634 _ACEOF
6635
6636 case $ac_config_files in *"
6637 "*) set x $ac_config_files; shift; ac_config_files=$*;;
6638 esac
6639
6640
6641
6642 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6643 # Files that config.status was made for.
6644 config_files="$ac_config_files"
6645 config_commands="$ac_config_commands"
6646
6647 _ACEOF
6648
6649 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6650 ac_cs_usage="\
6651 '$as_me' instantiates files and other configuration actions
6652 from templates according to the current configuration. Unless the files
6653 and actions are specified as TAGs, all are instantiated by default.
6654
6655 Usage: $0 [OPTION]... [TAG]...
6656
6657 -h, --help print this help, then exit
6658 -V, --version print version number and configuration settings, then exit
6659 --config print configuration, then exit
6660 -q, --quiet, --silent
6661 do not print progress messages
6662 -d, --debug don't remove temporary files
6663 --recheck update $as_me by reconfiguring in the same conditions
6664 --file=FILE[:TEMPLATE]
6665 instantiate the configuration file FILE
6666
6667 Configuration files:
6668 $config_files
6669
6670 Configuration commands:
6671 $config_commands
6672
6673 Report bugs to <[email protected]>."
6674
6675 _ACEOF
6676 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
6677 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
6678 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6679 ac_cs_config='$ac_cs_config_escaped'
6680 ac_cs_version="\\
6681 vlna (TeX Live) config.status 1.5
6682 configured by $0, generated by GNU Autoconf 2.72,
6683 with options \\"\$ac_cs_config\\"
6684
6685 Copyright (C) 2023 Free Software Foundation, Inc.
6686 This config.status script is free software; the Free Software Foundation
6687 gives unlimited permission to copy, distribute and modify it."
6688
6689 ac_pwd='$ac_pwd'
6690 srcdir='$srcdir'
6691 INSTALL='$INSTALL'
6692 MKDIR_P='$MKDIR_P'
6693 AWK='$AWK'
6694 test -n "\$AWK" || AWK=awk
6695 _ACEOF
6696
6697 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6698 # The default lists apply if the user does not specify any file.
6699 ac_need_defaults=:
6700 while test $# != 0
6701 do
6702 case $1 in
6703 --*=?*)
6704 ac_option=`expr "X$1" : 'X\([^=]*\)='`
6705 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
6706 ac_shift=:
6707 ;;
6708 --*=)
6709 ac_option=`expr "X$1" : 'X\([^=]*\)='`
6710 ac_optarg=
6711 ac_shift=:
6712 ;;
6713 *)
6714 ac_option=$1
6715 ac_optarg=$2
6716 ac_shift=shift
6717 ;;
6718 esac
6719
6720 case $ac_option in
6721 # Handling of the options.
6722 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
6723 ac_cs_recheck=: ;;
6724 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
6725 printf "%s\n" "$ac_cs_version"; exit ;;
6726 --config | --confi | --conf | --con | --co | --c )
6727 printf "%s\n" "$ac_cs_config"; exit ;;
6728 --debug | --debu | --deb | --de | --d | -d )
6729 debug=: ;;
6730 --file | --fil | --fi | --f )
6731 $ac_shift
6732 case $ac_optarg in
6733 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6734 '') as_fn_error $? "missing file argument" ;;
6735 esac
6736 as_fn_append CONFIG_FILES " '$ac_optarg'"
6737 ac_need_defaults=false;;
6738 --he | --h | --help | --hel | -h )
6739 printf "%s\n" "$ac_cs_usage"; exit ;;
6740 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
6741 | -silent | --silent | --silen | --sile | --sil | --si | --s)
6742 ac_cs_silent=: ;;
6743
6744 # This is an error.
6745 -*) as_fn_error $? "unrecognized option: '$1'
6746 Try '$0 --help' for more information." ;;
6747
6748 *) as_fn_append ac_config_targets " $1"
6749 ac_need_defaults=false ;;
6750
6751 esac
6752 shift
6753 done
6754
6755 ac_configure_extra_args=
6756
6757 if $ac_cs_silent; then
6758 exec 6>/dev/null
6759 ac_configure_extra_args="$ac_configure_extra_args --silent"
6760 fi
6761
6762 _ACEOF
6763 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6764 if \$ac_cs_recheck; then
6765 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6766 shift
6767 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
6768 CONFIG_SHELL='$SHELL'
6769 export CONFIG_SHELL
6770 exec "\$@"
6771 fi
6772
6773 _ACEOF
6774 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6775 exec 5>>config.log
6776 {
6777 echo
6778 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6779 ## Running $as_me. ##
6780 _ASBOX
6781 printf "%s\n" "$ac_log"
6782 } >&5
6783
6784 _ACEOF
6785 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6786 #
6787 # INIT-COMMANDS
6788 #
6789 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
6790
6791 _ACEOF
6792
6793 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6794
6795 # Handling of arguments.
6796 for ac_config_target in $ac_config_targets
6797 do
6798 case $ac_config_target in
6799 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
6800 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
6801
6802 *) as_fn_error $? "invalid argument: '$ac_config_target'" "$LINENO" 5;;
6803 esac
6804 done
6805
6806
6807 # If the user did not use the arguments to specify the items to instantiate,
6808 # then the envvar interface is used. Set only those that are not.
6809 # We use the long form for the default assignment because of an extremely
6810 # bizarre bug on SunOS 4.1.3.
6811 if $ac_need_defaults; then
6812 test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
6813 test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
6814 fi
6815
6816 # Have a temporary directory for convenience. Make it in the build tree
6817 # simply because there is no reason against having it here, and in addition,
6818 # creating and moving files from /tmp can sometimes cause problems.
6819 # Hook for its removal unless debugging.
6820 # Note that there is a small window in which the directory will not be cleaned:
6821 # after its creation but before its name has been assigned to '$tmp'.
6822 $debug ||
6823 {
6824 tmp= ac_tmp=
6825 trap 'exit_status=$?
6826 : "${ac_tmp:=$tmp}"
6827 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
6828 ' 0
6829 trap 'as_fn_exit 1' 1 2 13 15
6830 }
6831 # Create a (secure) tmp directory for tmp files.
6832
6833 {
6834 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
6835 test -d "$tmp"
6836 } ||
6837 {
6838 tmp=./conf$$-$RANDOM
6839 (umask 077 && mkdir "$tmp")
6840 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
6841 ac_tmp=$tmp
6842
6843 # Set up the scripts for CONFIG_FILES section.
6844 # No need to generate them if there are no CONFIG_FILES.
6845 # This happens for instance with './config.status config.h'.
6846 if test -n "$CONFIG_FILES"; then
6847
6848
6849 ac_cr=`echo X | tr X '\015'`
6850 # On cygwin, bash can eat \r inside `` if the user requested igncr.
6851 # But we know of no other shell where ac_cr would be empty at this
6852 # point, so we can use a bashism as a fallback.
6853 if test "x$ac_cr" = x; then
6854 eval ac_cr=\$\'\\r\'
6855 fi
6856 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
6857 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
6858 ac_cs_awk_cr='\\r'
6859 else
6860 ac_cs_awk_cr=$ac_cr
6861 fi
6862
6863 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
6864 _ACEOF
6865
6866
6867 {
6868 echo "cat >conf$$subs.awk <<_ACEOF" &&
6869 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
6870 echo "_ACEOF"
6871 } >conf$$subs.sh ||
6872 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6873 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
6874 ac_delim='%!_!# '
6875 for ac_last_try in false false false false false :; do
6876 . ./conf$$subs.sh ||
6877 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6878
6879 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
6880 if test $ac_delim_n = $ac_delim_num; then
6881 break
6882 elif $ac_last_try; then
6883 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6884 else
6885 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6886 fi
6887 done
6888 rm -f conf$$subs.sh
6889
6890 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6891 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
6892 _ACEOF
6893 sed -n '
6894 h
6895 s/^/S["/; s/!.*/"]=/
6896 p
6897 g
6898 s/^[^!]*!//
6899 :repl
6900 t repl
6901 s/'"$ac_delim"'$//
6902 t delim
6903 :nl
6904 h
6905 s/\(.\{148\}\)..*/\1/
6906 t more1
6907 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
6908 p
6909 n
6910 b repl
6911 :more1
6912 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6913 p
6914 g
6915 s/.\{148\}//
6916 t nl
6917 :delim
6918 h
6919 s/\(.\{148\}\)..*/\1/
6920 t more2
6921 s/["\\]/\\&/g; s/^/"/; s/$/"/
6922 p
6923 b
6924 :more2
6925 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6926 p
6927 g
6928 s/.\{148\}//
6929 t delim
6930 ' <conf$$subs.awk | sed '
6931 /^[^""]/{
6932 N
6933 s/\n//
6934 }
6935 ' >>$CONFIG_STATUS || ac_write_fail=1
6936 rm -f conf$$subs.awk
6937 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6938 _ACAWK
6939 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
6940 for (key in S) S_is_set[key] = 1
6941 FS = ""
6942
6943 }
6944 {
6945 line = $ 0
6946 nfields = split(line, field, "@")
6947 substed = 0
6948 len = length(field[1])
6949 for (i = 2; i < nfields; i++) {
6950 key = field[i]
6951 keylen = length(key)
6952 if (S_is_set[key]) {
6953 value = S[key]
6954 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
6955 len += length(value) + length(field[++i])
6956 substed = 1
6957 } else
6958 len += 1 + keylen
6959 }
6960
6961 print line
6962 }
6963
6964 _ACAWK
6965 _ACEOF
6966 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6967 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
6968 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
6969 else
6970 cat
6971 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
6972 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
6973 _ACEOF
6974
6975 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
6976 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
6977 # trailing colons and then remove the whole line if VPATH becomes empty
6978 # (actually we leave an empty line to preserve line numbers).
6979 if test "x$srcdir" = x.; then
6980 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
6981 h
6982 s///
6983 s/^/:/
6984 s/[ ]*$/:/
6985 s/:\$(srcdir):/:/g
6986 s/:\${srcdir}:/:/g
6987 s/:@srcdir@:/:/g
6988 s/^:*//
6989 s/:*$//
6990 x
6991 s/\(=[ ]*\).*/\1/
6992 G
6993 s/\n//
6994 s/^[^=]*=[ ]*$//
6995 }'
6996 fi
6997
6998 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6999 fi # test -n "$CONFIG_FILES"
7000
7001
7002 eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS"
7003 shift
7004 for ac_tag
7005 do
7006 case $ac_tag in
7007 :[FHLC]) ac_mode=$ac_tag; continue;;
7008 esac
7009 case $ac_mode$ac_tag in
7010 :[FHL]*:*);;
7011 :L* | :C*:*) as_fn_error $? "invalid tag '$ac_tag'" "$LINENO" 5;;
7012 :[FH]-) ac_tag=-:-;;
7013 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
7014 esac
7015 ac_save_IFS=$IFS
7016 IFS=:
7017 set x $ac_tag
7018 IFS=$ac_save_IFS
7019 shift
7020 ac_file=$1
7021 shift
7022
7023 case $ac_mode in
7024 :L) ac_source=$1;;
7025 :[FH])
7026 ac_file_inputs=
7027 for ac_f
7028 do
7029 case $ac_f in
7030 -) ac_f="$ac_tmp/stdin";;
7031 *) # Look for the file first in the build tree, then in the source tree
7032 # (if the path is not absolute). The absolute path cannot be DOS-style,
7033 # because $ac_f cannot contain ':'.
7034 test -f "$ac_f" ||
7035 case $ac_f in
7036 [\\/$]*) false;;
7037 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
7038 esac ||
7039 as_fn_error 1 "cannot find input file: '$ac_f'" "$LINENO" 5;;
7040 esac
7041 case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
7042 as_fn_append ac_file_inputs " '$ac_f'"
7043 done
7044
7045 # Let's still pretend it is 'configure' which instantiates (i.e., don't
7046 # use $as_me), people would be surprised to read:
7047 # /* config.h. Generated by config.status. */
7048 configure_input='Generated from '`
7049 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
7050 `' by configure.'
7051 if test x"$ac_file" != x-; then
7052 configure_input="$ac_file. $configure_input"
7053 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
7054 printf "%s\n" "$as_me: creating $ac_file" >&6;}
7055 fi
7056 # Neutralize special characters interpreted by sed in replacement strings.
7057 case $configure_input in #(
7058 *\&* | *\|* | *\\* )
7059 ac_sed_conf_input=`printf "%s\n" "$configure_input" |
7060 sed 's/[\\\\&|]/\\\\&/g'`;; #(
7061 *) ac_sed_conf_input=$configure_input;;
7062 esac
7063
7064 case $ac_tag in
7065 *:-:* | *:-) cat >"$ac_tmp/stdin" \
7066 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
7067 esac
7068 ;;
7069 esac
7070
7071 ac_dir=`$as_dirname -- "$ac_file" ||
7072 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7073 X"$ac_file" : 'X\(//\)[^/]' \| \
7074 X"$ac_file" : 'X\(//\)$' \| \
7075 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
7076 printf "%s\n" X"$ac_file" |
7077 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7078 s//\1/
7079 q
7080 }
7081 /^X\(\/\/\)[^/].*/{
7082 s//\1/
7083 q
7084 }
7085 /^X\(\/\/\)$/{
7086 s//\1/
7087 q
7088 }
7089 /^X\(\/\).*/{
7090 s//\1/
7091 q
7092 }
7093 s/.*/./; q'`
7094 as_dir="$ac_dir"; as_fn_mkdir_p
7095 ac_builddir=.
7096
7097 case "$ac_dir" in
7098 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
7099 *)
7100 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
7101 # A ".." for each directory in $ac_dir_suffix.
7102 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
7103 case $ac_top_builddir_sub in
7104 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
7105 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
7106 esac ;;
7107 esac
7108 ac_abs_top_builddir=$ac_pwd
7109 ac_abs_builddir=$ac_pwd$ac_dir_suffix
7110 # for backward compatibility:
7111 ac_top_builddir=$ac_top_build_prefix
7112
7113 case $srcdir in
7114 .) # We are building in place.
7115 ac_srcdir=.
7116 ac_top_srcdir=$ac_top_builddir_sub
7117 ac_abs_top_srcdir=$ac_pwd ;;
7118 [\\/]* | ?:[\\/]* ) # Absolute name.
7119 ac_srcdir=$srcdir$ac_dir_suffix;
7120 ac_top_srcdir=$srcdir
7121 ac_abs_top_srcdir=$srcdir ;;
7122 *) # Relative name.
7123 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
7124 ac_top_srcdir=$ac_top_build_prefix$srcdir
7125 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
7126 esac
7127 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
7128
7129
7130 case $ac_mode in
7131 :F)
7132 #
7133 # CONFIG_FILE
7134 #
7135
7136 case $INSTALL in
7137 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
7138 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
7139 esac
7140 ac_MKDIR_P=$MKDIR_P
7141 case $MKDIR_P in
7142 [\\/$]* | ?:[\\/]* ) ;;
7143 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
7144 esac
7145 _ACEOF
7146
7147 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7148 # If the template does not know about datarootdir, expand it.
7149 # FIXME: This hack should be removed a few years after 2.60.
7150 ac_datarootdir_hack=; ac_datarootdir_seen=
7151 ac_sed_dataroot='
7152 /datarootdir/ {
7153 p
7154 q
7155 }
7156 /@datadir@/p
7157 /@docdir@/p
7158 /@infodir@/p
7159 /@localedir@/p
7160 /@mandir@/p'
7161 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
7162 *datarootdir*) ac_datarootdir_seen=yes;;
7163 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
7164 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
7165 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
7166 _ACEOF
7167 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7168 ac_datarootdir_hack='
7169 s&@datadir@&$datadir&g
7170 s&@docdir@&$docdir&g
7171 s&@infodir@&$infodir&g
7172 s&@localedir@&$localedir&g
7173 s&@mandir@&$mandir&g
7174 s&\\\${datarootdir}&$datarootdir&g' ;;
7175 esac
7176 _ACEOF
7177
7178 # Neutralize VPATH when '$srcdir' = '.'.
7179 # Shell code in configure.ac might set extrasub.
7180 # FIXME: do we really want to maintain this feature?
7181 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7182 ac_sed_extra="$ac_vpsub
7183 $extrasub
7184 _ACEOF
7185 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7186 :t
7187 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
7188 s|@configure_input@|$ac_sed_conf_input|;t t
7189 s&@top_builddir@&$ac_top_builddir_sub&;t t
7190 s&@top_build_prefix@&$ac_top_build_prefix&;t t
7191 s&@srcdir@&$ac_srcdir&;t t
7192 s&@abs_srcdir@&$ac_abs_srcdir&;t t
7193 s&@top_srcdir@&$ac_top_srcdir&;t t
7194 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
7195 s&@builddir@&$ac_builddir&;t t
7196 s&@abs_builddir@&$ac_abs_builddir&;t t
7197 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
7198 s&@INSTALL@&$ac_INSTALL&;t t
7199 s&@MKDIR_P@&$ac_MKDIR_P&;t t
7200 $ac_datarootdir_hack
7201 "
7202 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
7203 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7204
7205 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
7206 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
7207 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
7208 "$ac_tmp/out"`; test -z "$ac_out"; } &&
7209 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable 'datarootdir'
7210 which seems to be undefined. Please make sure it is defined" >&5
7211 printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable 'datarootdir'
7212 which seems to be undefined. Please make sure it is defined" >&2;}
7213
7214 rm -f "$ac_tmp/stdin"
7215 case $ac_file in
7216 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
7217 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
7218 esac \
7219 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7220 ;;
7221
7222
7223 :C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
7224 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
7225 ;;
7226 esac
7227
7228
7229 case $ac_file$ac_mode in
7230 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
7231 # Older Autoconf quotes --file arguments for eval, but not when files
7232 # are listed without --file. Let's play safe and only enable the eval
7233 # if we detect the quoting.
7234 # TODO: see whether this extra hack can be removed once we start
7235 # requiring Autoconf 2.70 or later.
7236 case $CONFIG_FILES in #(
7237 *\'*) :
7238 eval set x "$CONFIG_FILES" ;; #(
7239 *) :
7240 set x $CONFIG_FILES ;; #(
7241 *) :
7242 ;;
7243 esac
7244 shift
7245 # Used to flag and report bootstrapping failures.
7246 am_rc=0
7247 for am_mf
7248 do
7249 # Strip MF so we end up with the name of the file.
7250 am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'`
7251 # Check whether this is an Automake generated Makefile which includes
7252 # dependency-tracking related rules and includes.
7253 # Grep'ing the whole file directly is not great: AIX grep has a line
7254 # limit of 2048, but all sed's we know have understand at least 4000.
7255 sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
7256 || continue
7257 am_dirpart=`$as_dirname -- "$am_mf" ||
7258 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7259 X"$am_mf" : 'X\(//\)[^/]' \| \
7260 X"$am_mf" : 'X\(//\)$' \| \
7261 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
7262 printf "%s\n" X"$am_mf" |
7263 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7264 s//\1/
7265 q
7266 }
7267 /^X\(\/\/\)[^/].*/{
7268 s//\1/
7269 q
7270 }
7271 /^X\(\/\/\)$/{
7272 s//\1/
7273 q
7274 }
7275 /^X\(\/\).*/{
7276 s//\1/
7277 q
7278 }
7279 s/.*/./; q'`
7280 am_filepart=`$as_basename -- "$am_mf" ||
7281 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
7282 X"$am_mf" : 'X\(//\)$' \| \
7283 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
7284 printf "%s\n" X/"$am_mf" |
7285 sed '/^.*\/\([^/][^/]*\)\/*$/{
7286 s//\1/
7287 q
7288 }
7289 /^X\/\(\/\/\)$/{
7290 s//\1/
7291 q
7292 }
7293 /^X\/\(\/\).*/{
7294 s//\1/
7295 q
7296 }
7297 s/.*/./; q'`
7298 { echo "$as_me:$LINENO: cd "$am_dirpart" \
7299 && sed -e '/# am--include-marker/d' "$am_filepart" \
7300 | $MAKE -f - am--depfiles" >&5
7301 (cd "$am_dirpart" \
7302 && sed -e '/# am--include-marker/d' "$am_filepart" \
7303 | $MAKE -f - am--depfiles) >&5 2>&5
7304 ac_status=$?
7305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7306 (exit $ac_status); } || am_rc=$?
7307 done
7308 if test $am_rc -ne 0; then
7309 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
7310 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
7311 as_fn_error $? "Something went wrong bootstrapping makefile fragments
7312 for automatic dependency tracking. If GNU make was not used, consider
7313 re-running the configure script with MAKE=\"gmake\" (or whatever is
7314 necessary). You can also try re-running configure with the
7315 '--disable-dependency-tracking' option to at least be able to build
7316 the package (albeit without support for automatic dependency tracking).
7317 See 'config.log' for more details" "$LINENO" 5; }
7318 fi
7319 { am_dirpart=; unset am_dirpart;}
7320 { am_filepart=; unset am_filepart;}
7321 { am_mf=; unset am_mf;}
7322 { am_rc=; unset am_rc;}
7323 rm -f conftest-deps.mk
7324 }
7325 ;;
7326
7327 esac
7328 done # for ac_tag
7329
7330
7331 as_fn_exit 0
7332 _ACEOF
7333 ac_clean_files=$ac_clean_files_save
7334
7335 test $ac_write_fail = 0 ||
7336 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
7337
7338
7339 # configure is writing to config.log, and then calls config.status.
7340 # config.status does its own redirection, appending to config.log.
7341 # Unfortunately, on DOS this fails, as config.log is still kept open
7342 # by configure, so config.status won't be able to write to it; its
7343 # output is simply discarded. So we exec the FD to /dev/null,
7344 # effectively closing config.log, so it can be properly (re)opened and
7345 # appended to by config.status. When coming back to configure, we
7346 # need to make the FD available again.
7347 if test "$no_create" != yes; then
7348 ac_cs_success=:
7349 ac_config_status_args=
7350 test "$silent" = yes &&
7351 ac_config_status_args="$ac_config_status_args --quiet"
7352 exec 5>/dev/null
7353 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
7354 exec 5>>config.log
7355 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
7356 # would make configure fail if this is the last instruction.
7357 $ac_cs_success || as_fn_exit 1
7358 fi
7359 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
7360 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
7361 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
7362 fi
7363
7364