Debian Codegraph @

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