Debian Codegraph @

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