Debian Codegraph @

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