Debian Codegraph @

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