Debian Codegraph @

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