Debian Codegraph @

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