Debian Codegraph @

libs/zziplib/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 zziplib (TeX Live) 0.13.72.
4 #
5 # Report bugs to <[email protected]>.
6 #
7 #
8 # Copyright (C) 1992-1996, 1998-2017, 2020-2023 Free Software Foundation,
9 # Inc.
10 #
11 #
12 # This configure script is free software; the Free Software Foundation
13 # gives unlimited permission to copy, distribute and modify it.
14 ## -------------------- ##
15 ## M4sh Initialization. ##
16 ## -------------------- ##
17
18 # Be more Bourne compatible
19 DUALCASE=1; export DUALCASE # for MKS sh
20 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
21 then :
22 emulate sh
23 NULLCMD=:
24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25 # is contrary to our usage. Disable this feature.
26 alias -g '${1+"$@"}'='"$@"'
27 setopt NO_GLOB_SUBST
28 else case e in #(
29 e) case `(set -o) 2>/dev/null` in #(
30 *posix*) :
31 set -o posix ;; #(
32 *) :
33 ;;
34 esac ;;
35 esac
36 fi
37
38
39
40 # Reset variables that may have inherited troublesome values from
41 # the environment.
42
43 # IFS needs to be set, to space, tab, and newline, in precisely that order.
44 # (If _AS_PATH_WALK were called with IFS unset, it would have the
45 # side effect of setting IFS to empty, thus disabling word splitting.)
46 # Quoting is to prevent editors from complaining about space-tab.
47 as_nl='
48 '
49 export as_nl
50 IFS=" "" $as_nl"
51
52 PS1='$ '
53 PS2='> '
54 PS4='+ '
55
56 # Ensure predictable behavior from utilities with locale-dependent output.
57 LC_ALL=C
58 export LC_ALL
59 LANGUAGE=C
60 export LANGUAGE
61
62 # We cannot yet rely on "unset" to work, but we need these variables
63 # to be unset--not just set to an empty or harmless value--now, to
64 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
65 # also avoids known problems related to "unset" and subshell syntax
66 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
67 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
68 do eval test \${$as_var+y} \
69 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
70 done
71
72 # Ensure that fds 0, 1, and 2 are open.
73 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
74 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
75 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
76
77 # The user is always right.
78 if ${PATH_SEPARATOR+false} :; then
79 PATH_SEPARATOR=:
80 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
81 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
82 PATH_SEPARATOR=';'
83 }
84 fi
85
86
87 # Find who we are. Look in the path if we contain no directory separator.
88 as_myself=
89 case $0 in #((
90 *[\\/]* ) as_myself=$0 ;;
91 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
92 for as_dir in $PATH
93 do
94 IFS=$as_save_IFS
95 case $as_dir in #(((
96 '') as_dir=./ ;;
97 */) ;;
98 *) as_dir=$as_dir/ ;;
99 esac
100 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
101 done
102 IFS=$as_save_IFS
103
104 ;;
105 esac
106 # We did not find ourselves, most probably we were run as 'sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
109 as_myself=$0
110 fi
111 if test ! -f "$as_myself"; then
112 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 exit 1
114 fi
115
116
117 # Use a proper internal environment variable to ensure we don't fall
118 # into an infinite loop, continuously re-executing ourselves.
119 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
120 _as_can_reexec=no; export _as_can_reexec;
121 # We cannot yet assume a decent shell, so we have to provide a
122 # neutralization value for shells without unset; and this also
123 # works around shells that cannot unset nonexistent variables.
124 # Preserve -v and -x to the replacement shell.
125 BASH_ENV=/dev/null
126 ENV=/dev/null
127 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
128 case $- in # ((((
129 *v*x* | *x*v* ) as_opts=-vx ;;
130 *v* ) as_opts=-v ;;
131 *x* ) as_opts=-x ;;
132 * ) as_opts= ;;
133 esac
134 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
135 # Admittedly, this is quite paranoid, since all the known shells bail
136 # out after a failed 'exec'.
137 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
138 exit 255
139 fi
140 # We don't want this to propagate to other subprocesses.
141 { _as_can_reexec=; unset _as_can_reexec;}
142 if test "x$CONFIG_SHELL" = x; then
143 as_bourne_compatible="if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
144 then :
145 emulate sh
146 NULLCMD=:
147 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
148 # is contrary to our usage. Disable this feature.
149 alias -g '\${1+\"\$@\"}'='\"\$@\"'
150 setopt NO_GLOB_SUBST
151 else case e in #(
152 e) case \`(set -o) 2>/dev/null\` in #(
153 *posix*) :
154 set -o posix ;; #(
155 *) :
156 ;;
157 esac ;;
158 esac
159 fi
160 "
161 as_required="as_fn_return () { (exit \$1); }
162 as_fn_success () { as_fn_return 0; }
163 as_fn_failure () { as_fn_return 1; }
164 as_fn_ret_success () { return 0; }
165 as_fn_ret_failure () { return 1; }
166
167 exitcode=0
168 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
169 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
170 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
171 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
172 if ( set x; as_fn_ret_success y && test x = \"\$1\" )
173 then :
174
175 else case e in #(
176 e) exitcode=1; echo positional parameters were not saved. ;;
177 esac
178 fi
179 test x\$exitcode = x0 || exit 1
180 blah=\$(echo \$(echo blah))
181 test x\"\$blah\" = xblah || exit 1
182 test -x / || exit 1"
183 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
184 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
185 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
186 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
187 test \$(( 1 + 1 )) = 2 || exit 1"
188 if (eval "$as_required") 2>/dev/null
189 then :
190 as_have_required=yes
191 else case e in #(
192 e) as_have_required=no ;;
193 esac
194 fi
195 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null
196 then :
197
198 else case e in #(
199 e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
200 as_found=false
201 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
202 do
203 IFS=$as_save_IFS
204 case $as_dir in #(((
205 '') as_dir=./ ;;
206 */) ;;
207 *) as_dir=$as_dir/ ;;
208 esac
209 as_found=:
210 case $as_dir in #(
211 /*)
212 for as_base in sh bash ksh sh5; do
213 # Try only shells that exist, to save several forks.
214 as_shell=$as_dir$as_base
215 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
216 as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null
217 then :
218 CONFIG_SHELL=$as_shell as_have_required=yes
219 if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null
220 then :
221 break 2
222 fi
223 fi
224 done;;
225 esac
226 as_found=false
227 done
228 IFS=$as_save_IFS
229 if $as_found
230 then :
231
232 else case e in #(
233 e) if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
234 as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null
235 then :
236 CONFIG_SHELL=$SHELL as_have_required=yes
237 fi ;;
238 esac
239 fi
240
241
242 if test "x$CONFIG_SHELL" != x
243 then :
244 export CONFIG_SHELL
245 # We cannot yet assume a decent shell, so we have to provide a
246 # neutralization value for shells without unset; and this also
247 # works around shells that cannot unset nonexistent variables.
248 # Preserve -v and -x to the replacement shell.
249 BASH_ENV=/dev/null
250 ENV=/dev/null
251 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
252 case $- in # ((((
253 *v*x* | *x*v* ) as_opts=-vx ;;
254 *v* ) as_opts=-v ;;
255 *x* ) as_opts=-x ;;
256 * ) as_opts= ;;
257 esac
258 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
259 # Admittedly, this is quite paranoid, since all the known shells bail
260 # out after a failed 'exec'.
261 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
262 exit 255
263 fi
264
265 if test x$as_have_required = xno
266 then :
267 printf "%s\n" "$0: This script requires a shell more modern than all"
268 printf "%s\n" "$0: the shells that I found on your system."
269 if test ${ZSH_VERSION+y} ; then
270 printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should"
271 printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later."
272 else
273 printf "%s\n" "$0: Please tell [email protected] and [email protected]
274 $0: about your system, including any error possibly output
275 $0: before this message. Then install a modern shell, or
276 $0: manually run the script under such a shell if you do
277 $0: have one."
278 fi
279 exit 1
280 fi ;;
281 esac
282 fi
283 fi
284 SHELL=${CONFIG_SHELL-/bin/sh}
285 export SHELL
286 # Unset more variables known to interfere with behavior of common tools.
287 CLICOLOR_FORCE= GREP_OPTIONS=
288 unset CLICOLOR_FORCE GREP_OPTIONS
289
290 ## --------------------- ##
291 ## M4sh Shell Functions. ##
292 ## --------------------- ##
293 # as_fn_unset VAR
294 # ---------------
295 # Portably unset VAR.
296 as_fn_unset ()
297 {
298 { eval $1=; unset $1;}
299 }
300 as_unset=as_fn_unset
301
302
303 # as_fn_set_status STATUS
304 # -----------------------
305 # Set $? to STATUS, without forking.
306 as_fn_set_status ()
307 {
308 return $1
309 } # as_fn_set_status
310
311 # as_fn_exit STATUS
312 # -----------------
313 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
314 as_fn_exit ()
315 {
316 set +e
317 as_fn_set_status $1
318 exit $1
319 } # as_fn_exit
320
321 # as_fn_mkdir_p
322 # -------------
323 # Create "$as_dir" as a directory, including parents if necessary.
324 as_fn_mkdir_p ()
325 {
326
327 case $as_dir in #(
328 -*) as_dir=./$as_dir;;
329 esac
330 test -d "$as_dir" || eval $as_mkdir_p || {
331 as_dirs=
332 while :; do
333 case $as_dir in #(
334 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
335 *) as_qdir=$as_dir;;
336 esac
337 as_dirs="'$as_qdir' $as_dirs"
338 as_dir=`$as_dirname -- "$as_dir" ||
339 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
340 X"$as_dir" : 'X\(//\)[^/]' \| \
341 X"$as_dir" : 'X\(//\)$' \| \
342 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
343 printf "%s\n" X"$as_dir" |
344 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
345 s//\1/
346 q
347 }
348 /^X\(\/\/\)[^/].*/{
349 s//\1/
350 q
351 }
352 /^X\(\/\/\)$/{
353 s//\1/
354 q
355 }
356 /^X\(\/\).*/{
357 s//\1/
358 q
359 }
360 s/.*/./; q'`
361 test -d "$as_dir" && break
362 done
363 test -z "$as_dirs" || eval "mkdir $as_dirs"
364 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
365
366
367 } # as_fn_mkdir_p
368
369 # as_fn_executable_p FILE
370 # -----------------------
371 # Test if FILE is an executable regular file.
372 as_fn_executable_p ()
373 {
374 test -f "$1" && test -x "$1"
375 } # as_fn_executable_p
376 # as_fn_append VAR VALUE
377 # ----------------------
378 # Append the text in VALUE to the end of the definition contained in VAR. Take
379 # advantage of any shell optimizations that allow amortized linear growth over
380 # repeated appends, instead of the typical quadratic growth present in naive
381 # implementations.
382 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
383 then :
384 eval 'as_fn_append ()
385 {
386 eval $1+=\$2
387 }'
388 else case e in #(
389 e) as_fn_append ()
390 {
391 eval $1=\$$1\$2
392 } ;;
393 esac
394 fi # as_fn_append
395
396 # as_fn_arith ARG...
397 # ------------------
398 # Perform arithmetic evaluation on the ARGs, and store the result in the
399 # global $as_val. Take advantage of shells that can avoid forks. The arguments
400 # must be portable across $(()) and expr.
401 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
402 then :
403 eval 'as_fn_arith ()
404 {
405 as_val=$(( $* ))
406 }'
407 else case e in #(
408 e) as_fn_arith ()
409 {
410 as_val=`expr "$@" || test $? -eq 1`
411 } ;;
412 esac
413 fi # as_fn_arith
414
415
416 # as_fn_error STATUS ERROR [LINENO LOG_FD]
417 # ----------------------------------------
418 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
419 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
420 # script with STATUS, using 1 if that was 0.
421 as_fn_error ()
422 {
423 as_status=$1; test $as_status -eq 0 && as_status=1
424 if test "$4"; then
425 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
426 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
427 fi
428 printf "%s\n" "$as_me: error: $2" >&2
429 as_fn_exit $as_status
430 } # as_fn_error
431
432 if expr a : '\(a\)' >/dev/null 2>&1 &&
433 test "X`expr 00001 : '.*\(...\)'`" = X001; then
434 as_expr=expr
435 else
436 as_expr=false
437 fi
438
439 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
440 as_basename=basename
441 else
442 as_basename=false
443 fi
444
445 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
446 as_dirname=dirname
447 else
448 as_dirname=false
449 fi
450
451 as_me=`$as_basename -- "$0" ||
452 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
453 X"$0" : 'X\(//\)$' \| \
454 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
455 printf "%s\n" X/"$0" |
456 sed '/^.*\/\([^/][^/]*\)\/*$/{
457 s//\1/
458 q
459 }
460 /^X\/\(\/\/\)$/{
461 s//\1/
462 q
463 }
464 /^X\/\(\/\).*/{
465 s//\1/
466 q
467 }
468 s/.*/./; q'`
469
470 # Avoid depending upon Character Ranges.
471 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
472 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
473 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
474 as_cr_digits='0123456789'
475 as_cr_alnum=$as_cr_Letters$as_cr_digits
476
477
478 as_lineno_1=$LINENO as_lineno_1a=$LINENO
479 as_lineno_2=$LINENO as_lineno_2a=$LINENO
480 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
481 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
482 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
483 sed -n '
484 p
485 /[$]LINENO/=
486 ' <$as_myself |
487 sed '
488 t clear
489 :clear
490 s/[$]LINENO.*/&-/
491 t lineno
492 b
493 :lineno
494 N
495 :loop
496 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
497 t loop
498 s/-\n.*//
499 ' >$as_me.lineno &&
500 chmod +x "$as_me.lineno" ||
501 { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
502
503 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
504 # already done that, so ensure we don't try to do so again and fall
505 # in an infinite loop. This has already happened in practice.
506 _as_can_reexec=no; export _as_can_reexec
507 # Don't try to exec as it changes $[0], causing all sort of problems
508 # (the dirname of $[0] is not the place where we might find the
509 # original and so on. Autoconf is especially sensitive to this).
510 . "./$as_me.lineno"
511 # Exit status is that of the last command.
512 exit
513 }
514
515
516 # Determine whether it's possible to make 'echo' print without a newline.
517 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
518 # for compatibility with existing Makefiles.
519 ECHO_C= ECHO_N= ECHO_T=
520 case `echo -n x` in #(((((
521 -n*)
522 case `echo 'xy\c'` in
523 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
524 xy) ECHO_C='\c';;
525 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
526 ECHO_T=' ';;
527 esac;;
528 *)
529 ECHO_N='-n';;
530 esac
531
532 # For backward compatibility with old third-party macros, we provide
533 # the shell variables $as_echo and $as_echo_n. New code should use
534 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
535 as_echo='printf %s\n'
536 as_echo_n='printf %s'
537
538 rm -f conf$$ conf$$.exe conf$$.file
539 if test -d conf$$.dir; then
540 rm -f conf$$.dir/conf$$.file
541 else
542 rm -f conf$$.dir
543 mkdir conf$$.dir 2>/dev/null
544 fi
545 if (echo >conf$$.file) 2>/dev/null; then
546 if ln -s conf$$.file conf$$ 2>/dev/null; then
547 as_ln_s='ln -s'
548 # ... but there are two gotchas:
549 # 1) On MSYS, both 'ln -s file dir' and 'ln file dir' fail.
550 # 2) DJGPP < 2.04 has no symlinks; 'ln -s' creates a wrapper executable.
551 # In both cases, we have to default to 'cp -pR'.
552 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
553 as_ln_s='cp -pR'
554 elif ln conf$$.file conf$$ 2>/dev/null; then
555 as_ln_s=ln
556 else
557 as_ln_s='cp -pR'
558 fi
559 else
560 as_ln_s='cp -pR'
561 fi
562 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
563 rmdir conf$$.dir 2>/dev/null
564
565 if mkdir -p . 2>/dev/null; then
566 as_mkdir_p='mkdir -p "$as_dir"'
567 else
568 test -d ./-p && rmdir ./-p
569 as_mkdir_p=false
570 fi
571
572 as_test_x='test -x'
573 as_executable_p=as_fn_executable_p
574
575 # Sed expression to map a string onto a valid CPP name.
576 as_sed_cpp="y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
577 as_tr_cpp="eval sed '$as_sed_cpp'" # deprecated
578
579 # Sed expression to map a string onto a valid variable name.
580 as_sed_sh="y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
581 as_tr_sh="eval sed '$as_sed_sh'" # deprecated
582
583
584 test -n "$DJDIR" || exec 7<&0 </dev/null
585 exec 6>&1
586
587 # Name of the host.
588 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
589 # so uname gets run too.
590 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
591
592 #
593 # Initializations.
594 #
595 ac_default_prefix=/usr/local
596 ac_clean_files=
597 ac_config_libobj_dir=.
598 LIBOBJS=
599 cross_compiling=no
600 subdirs=
601 MFLAGS=
602 MAKEFLAGS=
603
604 # Identity of this package.
605 PACKAGE_NAME='zziplib (TeX Live)'
606 PACKAGE_TARNAME='zziplib--tex-live-'
607 PACKAGE_VERSION='0.13.72'
608 PACKAGE_STRING='zziplib (TeX Live) 0.13.72'
609 PACKAGE_BUGREPORT='[email protected]'
610 PACKAGE_URL=''
611
612 ac_unique_file="zziplib-src/zziplib.spec"
613 # Factoring default headers for most tests.
614 ac_includes_default="\
615 #include <stddef.h>
616 #ifdef HAVE_STDIO_H
617 # include <stdio.h>
618 #endif
619 #ifdef HAVE_STDLIB_H
620 # include <stdlib.h>
621 #endif
622 #ifdef HAVE_STRING_H
623 # include <string.h>
624 #endif
625 #ifdef HAVE_INTTYPES_H
626 # include <inttypes.h>
627 #endif
628 #ifdef HAVE_STDINT_H
629 # include <stdint.h>
630 #endif
631 #ifdef HAVE_STRINGS_H
632 # include <strings.h>
633 #endif
634 #ifdef HAVE_SYS_TYPES_H
635 # include <sys/types.h>
636 #endif
637 #ifdef HAVE_SYS_STAT_H
638 # include <sys/stat.h>
639 #endif
640 #ifdef HAVE_UNISTD_H
641 # include <unistd.h>
642 #endif"
643
644 ac_header_c_list=
645 enable_year2038=no
646 ac_subst_vars='am__EXEEXT_FALSE
647 am__EXEEXT_TRUE
648 LTLIBOBJS
649 LIBOBJS
650 ZZIPLIB_TREE
651 build_FALSE
652 build_TRUE
653 ZLIB_RULE
654 ZLIB_DEPEND
655 ZLIB_LIBS
656 ZLIB_INCLUDES
657 ZZIPLIB_DEFINES
658 EGREP
659 GREP
660 VISIBILITY_CFLAGS
661 LN_S
662 RANLIB
663 ac_ct_AR
664 AR
665 am__fastdepCCAS_FALSE
666 am__fastdepCCAS_TRUE
667 CCASDEPMODE
668 CCASFLAGS
669 CCAS
670 host_os
671 host_vendor
672 host_cpu
673 host
674 build_os
675 build_vendor
676 build_cpu
677 build
678 WARNING_CFLAGS
679 am__fastdepCC_FALSE
680 am__fastdepCC_TRUE
681 CCDEPMODE
682 am__nodep
683 AMDEPBACKSLASH
684 AMDEP_FALSE
685 AMDEP_TRUE
686 am__include
687 DEPDIR
688 OBJEXT
689 EXEEXT
690 ac_ct_CC
691 CPPFLAGS
692 LDFLAGS
693 CFLAGS
694 CC
695 MAINT
696 MAINTAINER_MODE_FALSE
697 MAINTAINER_MODE_TRUE
698 am__xargs_n
699 am__rm_f_notfound
700 AM_BACKSLASH
701 AM_DEFAULT_VERBOSITY
702 AM_DEFAULT_V
703 AM_V
704 CSCOPE
705 ETAGS
706 CTAGS
707 am__untar
708 am__tar
709 AMTAR
710 am__leading_dot
711 SET_MAKE
712 AWK
713 mkdir_p
714 MKDIR_P
715 INSTALL_STRIP_PROGRAM
716 STRIP
717 install_sh
718 MAKEINFO
719 AUTOHEADER
720 AUTOMAKE
721 AUTOCONF
722 ACLOCAL
723 VERSION
724 PACKAGE
725 CYGPATH_W
726 am__isrc
727 INSTALL_DATA
728 INSTALL_SCRIPT
729 INSTALL_PROGRAM
730 target_alias
731 host_alias
732 build_alias
733 LIBS
734 ECHO_T
735 ECHO_N
736 ECHO_C
737 DEFS
738 mandir
739 localedir
740 libdir
741 psdir
742 pdfdir
743 dvidir
744 htmldir
745 infodir
746 docdir
747 oldincludedir
748 includedir
749 runstatedir
750 localstatedir
751 sharedstatedir
752 sysconfdir
753 datadir
754 datarootdir
755 libexecdir
756 sbindir
757 bindir
758 program_transform_name
759 prefix
760 exec_prefix
761 PACKAGE_URL
762 PACKAGE_BUGREPORT
763 PACKAGE_STRING
764 PACKAGE_VERSION
765 PACKAGE_TARNAME
766 PACKAGE_NAME
767 PATH_SEPARATOR
768 SHELL
769 am__quote'
770 ac_subst_files=''
771 ac_user_opts='
772 enable_option_checking
773 enable_silent_rules
774 enable_maintainer_mode
775 enable_dependency_tracking
776 enable_compiler_warnings
777 enable_largefile
778 with_system_zlib
779 with_zlib_includes
780 with_zlib_libdir
781 enable_year2038
782 '
783 ac_precious_vars='build_alias
784 host_alias
785 target_alias
786 CC
787 CFLAGS
788 LDFLAGS
789 LIBS
790 CPPFLAGS
791 CCAS
792 CCASFLAGS'
793
794
795 # Initialize some variables set by options.
796 ac_init_help=
797 ac_init_version=false
798 ac_unrecognized_opts=
799 ac_unrecognized_sep=
800 # The variables have the same names as the options, with
801 # dashes changed to underlines.
802 cache_file=/dev/null
803 exec_prefix=NONE
804 no_create=
805 no_recursion=
806 prefix=NONE
807 program_prefix=NONE
808 program_suffix=NONE
809 program_transform_name=s,x,x,
810 silent=
811 site=
812 srcdir=
813 verbose=
814 x_includes=NONE
815 x_libraries=NONE
816
817 # Installation directory options.
818 # These are left unexpanded so users can "make install exec_prefix=/foo"
819 # and all the variables that are supposed to be based on exec_prefix
820 # by default will actually change.
821 # Use braces instead of parens because sh, perl, etc. also accept them.
822 # (The list follows the same order as the GNU Coding Standards.)
823 bindir='${exec_prefix}/bin'
824 sbindir='${exec_prefix}/sbin'
825 libexecdir='${exec_prefix}/libexec'
826 datarootdir='${prefix}/share'
827 datadir='${datarootdir}'
828 sysconfdir='${prefix}/etc'
829 sharedstatedir='${prefix}/com'
830 localstatedir='${prefix}/var'
831 runstatedir='${localstatedir}/run'
832 includedir='${prefix}/include'
833 oldincludedir='/usr/include'
834 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
835 infodir='${datarootdir}/info'
836 htmldir='${docdir}'
837 dvidir='${docdir}'
838 pdfdir='${docdir}'
839 psdir='${docdir}'
840 libdir='${exec_prefix}/lib'
841 localedir='${datarootdir}/locale'
842 mandir='${datarootdir}/man'
843
844 ac_prev=
845 ac_dashdash=
846 for ac_option
847 do
848 # If the previous option needs an argument, assign it.
849 if test -n "$ac_prev"; then
850 eval $ac_prev=\$ac_option
851 ac_prev=
852 continue
853 fi
854
855 case $ac_option in
856 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
857 *=) ac_optarg= ;;
858 *) ac_optarg=yes ;;
859 esac
860
861 case $ac_dashdash$ac_option in
862 --)
863 ac_dashdash=yes ;;
864
865 -bindir | --bindir | --bindi | --bind | --bin | --bi)
866 ac_prev=bindir ;;
867 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
868 bindir=$ac_optarg ;;
869
870 -build | --build | --buil | --bui | --bu)
871 ac_prev=build_alias ;;
872 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
873 build_alias=$ac_optarg ;;
874
875 -cache-file | --cache-file | --cache-fil | --cache-fi \
876 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
877 ac_prev=cache_file ;;
878 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
879 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
880 cache_file=$ac_optarg ;;
881
882 --config-cache | -C)
883 cache_file=config.cache ;;
884
885 -datadir | --datadir | --datadi | --datad)
886 ac_prev=datadir ;;
887 -datadir=* | --datadir=* | --datadi=* | --datad=*)
888 datadir=$ac_optarg ;;
889
890 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
891 | --dataroo | --dataro | --datar)
892 ac_prev=datarootdir ;;
893 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
894 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
895 datarootdir=$ac_optarg ;;
896
897 -disable-* | --disable-*)
898 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
899 # Reject names that are not valid shell variable names.
900 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
901 as_fn_error $? "invalid feature name: '$ac_useropt'"
902 ac_useropt_orig=$ac_useropt
903 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
904 case $ac_user_opts in
905 *"
906 "enable_$ac_useropt"
907 "*) ;;
908 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
909 ac_unrecognized_sep=', ';;
910 esac
911 eval enable_$ac_useropt=no ;;
912
913 -docdir | --docdir | --docdi | --doc | --do)
914 ac_prev=docdir ;;
915 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
916 docdir=$ac_optarg ;;
917
918 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
919 ac_prev=dvidir ;;
920 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
921 dvidir=$ac_optarg ;;
922
923 -enable-* | --enable-*)
924 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
925 # Reject names that are not valid shell variable names.
926 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
927 as_fn_error $? "invalid feature name: '$ac_useropt'"
928 ac_useropt_orig=$ac_useropt
929 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
930 case $ac_user_opts in
931 *"
932 "enable_$ac_useropt"
933 "*) ;;
934 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
935 ac_unrecognized_sep=', ';;
936 esac
937 eval enable_$ac_useropt=\$ac_optarg ;;
938
939 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
940 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
941 | --exec | --exe | --ex)
942 ac_prev=exec_prefix ;;
943 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
944 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
945 | --exec=* | --exe=* | --ex=*)
946 exec_prefix=$ac_optarg ;;
947
948 -gas | --gas | --ga | --g)
949 # Obsolete; use --with-gas.
950 with_gas=yes ;;
951
952 -help | --help | --hel | --he | -h)
953 ac_init_help=long ;;
954 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
955 ac_init_help=recursive ;;
956 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
957 ac_init_help=short ;;
958
959 -host | --host | --hos | --ho)
960 ac_prev=host_alias ;;
961 -host=* | --host=* | --hos=* | --ho=*)
962 host_alias=$ac_optarg ;;
963
964 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
965 ac_prev=htmldir ;;
966 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
967 | --ht=*)
968 htmldir=$ac_optarg ;;
969
970 -includedir | --includedir | --includedi | --included | --include \
971 | --includ | --inclu | --incl | --inc)
972 ac_prev=includedir ;;
973 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
974 | --includ=* | --inclu=* | --incl=* | --inc=*)
975 includedir=$ac_optarg ;;
976
977 -infodir | --infodir | --infodi | --infod | --info | --inf)
978 ac_prev=infodir ;;
979 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
980 infodir=$ac_optarg ;;
981
982 -libdir | --libdir | --libdi | --libd)
983 ac_prev=libdir ;;
984 -libdir=* | --libdir=* | --libdi=* | --libd=*)
985 libdir=$ac_optarg ;;
986
987 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
988 | --libexe | --libex | --libe)
989 ac_prev=libexecdir ;;
990 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
991 | --libexe=* | --libex=* | --libe=*)
992 libexecdir=$ac_optarg ;;
993
994 -localedir | --localedir | --localedi | --localed | --locale)
995 ac_prev=localedir ;;
996 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
997 localedir=$ac_optarg ;;
998
999 -localstatedir | --localstatedir | --localstatedi | --localstated \
1000 | --localstate | --localstat | --localsta | --localst | --locals)
1001 ac_prev=localstatedir ;;
1002 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1003 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1004 localstatedir=$ac_optarg ;;
1005
1006 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1007 ac_prev=mandir ;;
1008 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1009 mandir=$ac_optarg ;;
1010
1011 -nfp | --nfp | --nf)
1012 # Obsolete; use --without-fp.
1013 with_fp=no ;;
1014
1015 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1016 | --no-cr | --no-c | -n)
1017 no_create=yes ;;
1018
1019 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1020 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1021 no_recursion=yes ;;
1022
1023 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1024 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1025 | --oldin | --oldi | --old | --ol | --o)
1026 ac_prev=oldincludedir ;;
1027 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1028 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1029 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1030 oldincludedir=$ac_optarg ;;
1031
1032 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1033 ac_prev=prefix ;;
1034 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1035 prefix=$ac_optarg ;;
1036
1037 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1038 | --program-pre | --program-pr | --program-p)
1039 ac_prev=program_prefix ;;
1040 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1041 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1042 program_prefix=$ac_optarg ;;
1043
1044 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1045 | --program-suf | --program-su | --program-s)
1046 ac_prev=program_suffix ;;
1047 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1048 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1049 program_suffix=$ac_optarg ;;
1050
1051 -program-transform-name | --program-transform-name \
1052 | --program-transform-nam | --program-transform-na \
1053 | --program-transform-n | --program-transform- \
1054 | --program-transform | --program-transfor \
1055 | --program-transfo | --program-transf \
1056 | --program-trans | --program-tran \
1057 | --progr-tra | --program-tr | --program-t)
1058 ac_prev=program_transform_name ;;
1059 -program-transform-name=* | --program-transform-name=* \
1060 | --program-transform-nam=* | --program-transform-na=* \
1061 | --program-transform-n=* | --program-transform-=* \
1062 | --program-transform=* | --program-transfor=* \
1063 | --program-transfo=* | --program-transf=* \
1064 | --program-trans=* | --program-tran=* \
1065 | --progr-tra=* | --program-tr=* | --program-t=*)
1066 program_transform_name=$ac_optarg ;;
1067
1068 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1069 ac_prev=pdfdir ;;
1070 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1071 pdfdir=$ac_optarg ;;
1072
1073 -psdir | --psdir | --psdi | --psd | --ps)
1074 ac_prev=psdir ;;
1075 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1076 psdir=$ac_optarg ;;
1077
1078 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1079 | -silent | --silent | --silen | --sile | --sil)
1080 silent=yes ;;
1081
1082 -runstatedir | --runstatedir | --runstatedi | --runstated \
1083 | --runstate | --runstat | --runsta | --runst | --runs \
1084 | --run | --ru | --r)
1085 ac_prev=runstatedir ;;
1086 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1087 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1088 | --run=* | --ru=* | --r=*)
1089 runstatedir=$ac_optarg ;;
1090
1091 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1092 ac_prev=sbindir ;;
1093 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1094 | --sbi=* | --sb=*)
1095 sbindir=$ac_optarg ;;
1096
1097 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1098 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1099 | --sharedst | --shareds | --shared | --share | --shar \
1100 | --sha | --sh)
1101 ac_prev=sharedstatedir ;;
1102 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1103 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1104 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1105 | --sha=* | --sh=*)
1106 sharedstatedir=$ac_optarg ;;
1107
1108 -site | --site | --sit)
1109 ac_prev=site ;;
1110 -site=* | --site=* | --sit=*)
1111 site=$ac_optarg ;;
1112
1113 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1114 ac_prev=srcdir ;;
1115 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1116 srcdir=$ac_optarg ;;
1117
1118 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1119 | --syscon | --sysco | --sysc | --sys | --sy)
1120 ac_prev=sysconfdir ;;
1121 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1122 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1123 sysconfdir=$ac_optarg ;;
1124
1125 -target | --target | --targe | --targ | --tar | --ta | --t)
1126 ac_prev=target_alias ;;
1127 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1128 target_alias=$ac_optarg ;;
1129
1130 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1131 verbose=yes ;;
1132
1133 -version | --version | --versio | --versi | --vers | -V)
1134 ac_init_version=: ;;
1135
1136 -with-* | --with-*)
1137 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1138 # Reject names that are not valid shell variable names.
1139 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1140 as_fn_error $? "invalid package name: '$ac_useropt'"
1141 ac_useropt_orig=$ac_useropt
1142 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1143 case $ac_user_opts in
1144 *"
1145 "with_$ac_useropt"
1146 "*) ;;
1147 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1148 ac_unrecognized_sep=', ';;
1149 esac
1150 eval with_$ac_useropt=\$ac_optarg ;;
1151
1152 -without-* | --without-*)
1153 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1154 # Reject names that are not valid shell variable names.
1155 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1156 as_fn_error $? "invalid package name: '$ac_useropt'"
1157 ac_useropt_orig=$ac_useropt
1158 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1159 case $ac_user_opts in
1160 *"
1161 "with_$ac_useropt"
1162 "*) ;;
1163 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1164 ac_unrecognized_sep=', ';;
1165 esac
1166 eval with_$ac_useropt=no ;;
1167
1168 --x)
1169 # Obsolete; use --with-x.
1170 with_x=yes ;;
1171
1172 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1173 | --x-incl | --x-inc | --x-in | --x-i)
1174 ac_prev=x_includes ;;
1175 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1176 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1177 x_includes=$ac_optarg ;;
1178
1179 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1180 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1181 ac_prev=x_libraries ;;
1182 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1183 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1184 x_libraries=$ac_optarg ;;
1185
1186 -*) as_fn_error $? "unrecognized option: '$ac_option'
1187 Try '$0 --help' for more information"
1188 ;;
1189
1190 *=*)
1191 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1192 # Reject names that are not valid shell variable names.
1193 case $ac_envvar in #(
1194 '' | [0-9]* | *[!_$as_cr_alnum]* )
1195 as_fn_error $? "invalid variable name: '$ac_envvar'" ;;
1196 esac
1197 eval $ac_envvar=\$ac_optarg
1198 export $ac_envvar ;;
1199
1200 *)
1201 # FIXME: should be removed in autoconf 3.0.
1202 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
1203 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1204 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
1205 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1206 ;;
1207
1208 esac
1209 done
1210
1211 if test -n "$ac_prev"; then
1212 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1213 as_fn_error $? "missing argument to $ac_option"
1214 fi
1215
1216 if test -n "$ac_unrecognized_opts"; then
1217 case $enable_option_checking in
1218 no) ;;
1219 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1220 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1221 esac
1222 fi
1223
1224 # Check all directory arguments for consistency.
1225 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1226 datadir sysconfdir sharedstatedir localstatedir includedir \
1227 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1228 libdir localedir mandir runstatedir
1229 do
1230 eval ac_val=\$$ac_var
1231 # Remove trailing slashes.
1232 case $ac_val in
1233 */ )
1234 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1235 eval $ac_var=\$ac_val;;
1236 esac
1237 # Be sure to have absolute directory names.
1238 case $ac_val in
1239 [\\/$]* | ?:[\\/]* ) continue;;
1240 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1241 esac
1242 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1243 done
1244
1245 # There might be people who depend on the old broken behavior: '$host'
1246 # used to hold the argument of --host etc.
1247 # FIXME: To remove some day.
1248 build=$build_alias
1249 host=$host_alias
1250 target=$target_alias
1251
1252 # FIXME: To remove some day.
1253 if test "x$host_alias" != x; then
1254 if test "x$build_alias" = x; then
1255 cross_compiling=maybe
1256 elif test "x$build_alias" != "x$host_alias"; then
1257 cross_compiling=yes
1258 fi
1259 fi
1260
1261 ac_tool_prefix=
1262 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1263
1264 test "$silent" = yes && exec 6>/dev/null
1265
1266
1267 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1268 ac_ls_di=`ls -di .` &&
1269 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1270 as_fn_error $? "working directory cannot be determined"
1271 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1272 as_fn_error $? "pwd does not report name of working directory"
1273
1274
1275 # Find the source files, if location was not specified.
1276 if test -z "$srcdir"; then
1277 ac_srcdir_defaulted=yes
1278 # Try the directory containing this script, then the parent directory.
1279 ac_confdir=`$as_dirname -- "$as_myself" ||
1280 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1281 X"$as_myself" : 'X\(//\)[^/]' \| \
1282 X"$as_myself" : 'X\(//\)$' \| \
1283 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1284 printf "%s\n" X"$as_myself" |
1285 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1286 s//\1/
1287 q
1288 }
1289 /^X\(\/\/\)[^/].*/{
1290 s//\1/
1291 q
1292 }
1293 /^X\(\/\/\)$/{
1294 s//\1/
1295 q
1296 }
1297 /^X\(\/\).*/{
1298 s//\1/
1299 q
1300 }
1301 s/.*/./; q'`
1302 srcdir=$ac_confdir
1303 if test ! -r "$srcdir/$ac_unique_file"; then
1304 srcdir=..
1305 fi
1306 else
1307 ac_srcdir_defaulted=no
1308 fi
1309 if test ! -r "$srcdir/$ac_unique_file"; then
1310 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1311 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1312 fi
1313 ac_msg="sources are in $srcdir, but 'cd $srcdir' does not work"
1314 ac_abs_confdir=`(
1315 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1316 pwd)`
1317 # When building in place, set srcdir=.
1318 if test "$ac_abs_confdir" = "$ac_pwd"; then
1319 srcdir=.
1320 fi
1321 # Remove unnecessary trailing slashes from srcdir.
1322 # Double slashes in file names in object file debugging info
1323 # mess up M-x gdb in Emacs.
1324 case $srcdir in
1325 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1326 esac
1327 for ac_var in $ac_precious_vars; do
1328 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1329 eval ac_env_${ac_var}_value=\$${ac_var}
1330 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1331 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1332 done
1333
1334 #
1335 # Report the --help message.
1336 #
1337 if test "$ac_init_help" = "long"; then
1338 # Omit some internal or obsolete options to make the list less imposing.
1339 # This message is too long to be a string in the A/UX 3.1 sh.
1340 cat <<_ACEOF
1341 'configure' configures zziplib (TeX Live) 0.13.72 to adapt to many kinds of systems.
1342
1343 Usage: $0 [OPTION]... [VAR=VALUE]...
1344
1345 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1346 VAR=VALUE. See below for descriptions of some of the useful variables.
1347
1348 Defaults for the options are specified in brackets.
1349
1350 Configuration:
1351 -h, --help display this help and exit
1352 --help=short display options specific to this package
1353 --help=recursive display the short help of all the included packages
1354 -V, --version display version information and exit
1355 -q, --quiet, --silent do not print 'checking ...' messages
1356 --cache-file=FILE cache test results in FILE [disabled]
1357 -C, --config-cache alias for '--cache-file=config.cache'
1358 -n, --no-create do not create output files
1359 --srcdir=DIR find the sources in DIR [configure dir or '..']
1360
1361 Installation directories:
1362 --prefix=PREFIX install architecture-independent files in PREFIX
1363 [$ac_default_prefix]
1364 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1365 [PREFIX]
1366
1367 By default, 'make install' will install all the files in
1368 '$ac_default_prefix/bin', '$ac_default_prefix/lib' etc. You can specify
1369 an installation prefix other than '$ac_default_prefix' using '--prefix',
1370 for instance '--prefix=\$HOME'.
1371
1372 For better control, use the options below.
1373
1374 Fine tuning of the installation directories:
1375 --bindir=DIR user executables [EPREFIX/bin]
1376 --sbindir=DIR system admin executables [EPREFIX/sbin]
1377 --libexecdir=DIR program executables [EPREFIX/libexec]
1378 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1379 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1380 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1381 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1382 --libdir=DIR object code libraries [EPREFIX/lib]
1383 --includedir=DIR C header files [PREFIX/include]
1384 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1385 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1386 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1387 --infodir=DIR info documentation [DATAROOTDIR/info]
1388 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1389 --mandir=DIR man documentation [DATAROOTDIR/man]
1390 --docdir=DIR documentation root
1391 [DATAROOTDIR/doc/zziplib--tex-live-]
1392 --htmldir=DIR html documentation [DOCDIR]
1393 --dvidir=DIR dvi documentation [DOCDIR]
1394 --pdfdir=DIR pdf documentation [DOCDIR]
1395 --psdir=DIR ps documentation [DOCDIR]
1396 _ACEOF
1397
1398 cat <<\_ACEOF
1399
1400 Program names:
1401 --program-prefix=PREFIX prepend PREFIX to installed program names
1402 --program-suffix=SUFFIX append SUFFIX to installed program names
1403 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1404
1405 System types:
1406 --build=BUILD configure for building on BUILD [guessed]
1407 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1408 _ACEOF
1409 fi
1410
1411 if test -n "$ac_init_help"; then
1412 case $ac_init_help in
1413 short | recursive ) echo "Configuration of zziplib (TeX Live) 0.13.72:";;
1414 esac
1415 cat <<\_ACEOF
1416
1417 Optional Features:
1418 --disable-option-checking ignore unrecognized --enable/--with options
1419 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1420 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1421 --enable-silent-rules less verbose build output (undo: "make V=1")
1422 --disable-silent-rules verbose build output (undo: "make V=0")
1423 --enable-maintainer-mode
1424 enable make rules and dependencies not useful (and
1425 sometimes confusing) to the casual installer
1426 --enable-dependency-tracking
1427 do not reject slow dependency extractors
1428 --disable-dependency-tracking
1429 speeds up one-time build
1430 --enable-compiler-warnings=[no|min|yes|max|all]
1431 Turn on compiler warnings [default: yes if
1432 maintainer-mode, min otherwise]
1433 --disable-largefile omit support for large files
1434 --enable-year2038 support timestamps after 2038
1435
1436 Optional Packages:
1437 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1438 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1439 --with-system-zlib use installed zlib headers and library
1440 --with-zlib-includes=DIR
1441 zlib headers installed in DIR
1442 --with-zlib-libdir=DIR zlib library installed in DIR
1443
1444 Some influential environment variables:
1445 CC C compiler command
1446 CFLAGS C compiler flags
1447 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1448 nonstandard directory <lib dir>
1449 LIBS libraries to pass to the linker, e.g. -l<library>
1450 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1451 you have headers in a nonstandard directory <include dir>
1452 CCAS assembler compiler command (defaults to CC)
1453 CCASFLAGS assembler compiler flags (defaults to CFLAGS)
1454
1455 Use these variables to override the choices made by 'configure' or to help
1456 it to find libraries and programs with nonstandard names/locations.
1457
1458 Report bugs to <[email protected]>.
1459 _ACEOF
1460 ac_status=$?
1461 fi
1462
1463 if test "$ac_init_help" = "recursive"; then
1464 # If there are subdirs, report their specific --help.
1465 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1466 test -d "$ac_dir" ||
1467 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1468 continue
1469 ac_builddir=.
1470
1471 case "$ac_dir" in
1472 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1473 *)
1474 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
1475 # A ".." for each directory in $ac_dir_suffix.
1476 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1477 case $ac_top_builddir_sub in
1478 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1479 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1480 esac ;;
1481 esac
1482 ac_abs_top_builddir=$ac_pwd
1483 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1484 # for backward compatibility:
1485 ac_top_builddir=$ac_top_build_prefix
1486
1487 case $srcdir in
1488 .) # We are building in place.
1489 ac_srcdir=.
1490 ac_top_srcdir=$ac_top_builddir_sub
1491 ac_abs_top_srcdir=$ac_pwd ;;
1492 [\\/]* | ?:[\\/]* ) # Absolute name.
1493 ac_srcdir=$srcdir$ac_dir_suffix;
1494 ac_top_srcdir=$srcdir
1495 ac_abs_top_srcdir=$srcdir ;;
1496 *) # Relative name.
1497 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1498 ac_top_srcdir=$ac_top_build_prefix$srcdir
1499 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1500 esac
1501 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1502
1503 cd "$ac_dir" || { ac_status=$?; continue; }
1504 # Check for configure.gnu first; this name is used for a wrapper for
1505 # Metaconfig's "Configure" on case-insensitive file systems.
1506 if test -f "$ac_srcdir/configure.gnu"; then
1507 echo &&
1508 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1509 elif test -f "$ac_srcdir/configure"; then
1510 echo &&
1511 $SHELL "$ac_srcdir/configure" --help=recursive
1512 else
1513 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1514 fi || ac_status=$?
1515 cd "$ac_pwd" || { ac_status=$?; break; }
1516 done
1517 fi
1518
1519 test -n "$ac_init_help" && exit $ac_status
1520 if $ac_init_version; then
1521 cat <<\_ACEOF
1522 zziplib (TeX Live) configure 0.13.72
1523 generated by GNU Autoconf 2.72
1524
1525 Copyright (C) 2023 Free Software Foundation, Inc.
1526 This configure script is free software; the Free Software Foundation
1527 gives unlimited permission to copy, distribute and modify it.
1528 _ACEOF
1529 exit
1530 fi
1531
1532 ## ------------------------ ##
1533 ## Autoconf initialization. ##
1534 ## ------------------------ ##
1535
1536 # ac_fn_c_try_compile LINENO
1537 # --------------------------
1538 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1539 ac_fn_c_try_compile ()
1540 {
1541 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1542 rm -f conftest.$ac_objext conftest.beam
1543 if { { ac_try="$ac_compile"
1544 case "(($ac_try" in
1545 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1546 *) ac_try_echo=$ac_try;;
1547 esac
1548 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1549 printf "%s\n" "$ac_try_echo"; } >&5
1550 (eval "$ac_compile") 2>conftest.err
1551 ac_status=$?
1552 if test -s conftest.err; then
1553 grep -v '^ *+' conftest.err >conftest.er1
1554 cat conftest.er1 >&5
1555 mv -f conftest.er1 conftest.err
1556 fi
1557 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1558 test $ac_status = 0; } && {
1559 test -z "$ac_c_werror_flag" ||
1560 test ! -s conftest.err
1561 } && test -s conftest.$ac_objext
1562 then :
1563 ac_retval=0
1564 else case e in #(
1565 e) printf "%s\n" "$as_me: failed program was:" >&5
1566 sed 's/^/| /' conftest.$ac_ext >&5
1567
1568 ac_retval=1 ;;
1569 esac
1570 fi
1571 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1572 as_fn_set_status $ac_retval
1573
1574 } # ac_fn_c_try_compile
1575
1576 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1577 # -------------------------------------------------------
1578 # Tests whether HEADER exists and can be compiled using the include files in
1579 # INCLUDES, setting the cache variable VAR accordingly.
1580 ac_fn_c_check_header_compile ()
1581 {
1582 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1583 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1584 printf %s "checking for $2... " >&6; }
1585 if eval test \${$3+y}
1586 then :
1587 printf %s "(cached) " >&6
1588 else case e in #(
1589 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1590 /* end confdefs.h. */
1591 $4
1592 #include <$2>
1593 _ACEOF
1594 if ac_fn_c_try_compile "$LINENO"
1595 then :
1596 eval "$3=yes"
1597 else case e in #(
1598 e) eval "$3=no" ;;
1599 esac
1600 fi
1601 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
1602 esac
1603 fi
1604 eval ac_res=\$$3
1605 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1606 printf "%s\n" "$ac_res" >&6; }
1607 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1608
1609 } # ac_fn_c_check_header_compile
1610
1611 # ac_fn_c_try_link LINENO
1612 # -----------------------
1613 # Try to link conftest.$ac_ext, and return whether this succeeded.
1614 ac_fn_c_try_link ()
1615 {
1616 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1617 rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
1618 if { { ac_try="$ac_link"
1619 case "(($ac_try" in
1620 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1621 *) ac_try_echo=$ac_try;;
1622 esac
1623 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1624 printf "%s\n" "$ac_try_echo"; } >&5
1625 (eval "$ac_link") 2>conftest.err
1626 ac_status=$?
1627 if test -s conftest.err; then
1628 grep -v '^ *+' conftest.err >conftest.er1
1629 cat conftest.er1 >&5
1630 mv -f conftest.er1 conftest.err
1631 fi
1632 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1633 test $ac_status = 0; } && {
1634 test -z "$ac_c_werror_flag" ||
1635 test ! -s conftest.err
1636 } && test -s conftest$ac_exeext && {
1637 test "$cross_compiling" = yes ||
1638 test -x conftest$ac_exeext
1639 }
1640 then :
1641 ac_retval=0
1642 else case e in #(
1643 e) printf "%s\n" "$as_me: failed program was:" >&5
1644 sed 's/^/| /' conftest.$ac_ext >&5
1645
1646 ac_retval=1 ;;
1647 esac
1648 fi
1649 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1650 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1651 # interfere with the next link command; also delete a directory that is
1652 # left behind by Apple's compiler. We do this before executing the actions.
1653 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1654 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1655 as_fn_set_status $ac_retval
1656
1657 } # ac_fn_c_try_link
1658
1659 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1660 # -------------------------------------------
1661 # Tests whether TYPE exists after having included INCLUDES, setting cache
1662 # variable VAR accordingly.
1663 ac_fn_c_check_type ()
1664 {
1665 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1666 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1667 printf %s "checking for $2... " >&6; }
1668 if eval test \${$3+y}
1669 then :
1670 printf %s "(cached) " >&6
1671 else case e in #(
1672 e) eval "$3=no"
1673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1674 /* end confdefs.h. */
1675 $4
1676 int
1677 main (void)
1678 {
1679 if (sizeof ($2))
1680 return 0;
1681 ;
1682 return 0;
1683 }
1684 _ACEOF
1685 if ac_fn_c_try_compile "$LINENO"
1686 then :
1687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1688 /* end confdefs.h. */
1689 $4
1690 int
1691 main (void)
1692 {
1693 if (sizeof (($2)))
1694 return 0;
1695 ;
1696 return 0;
1697 }
1698 _ACEOF
1699 if ac_fn_c_try_compile "$LINENO"
1700 then :
1701
1702 else case e in #(
1703 e) eval "$3=yes" ;;
1704 esac
1705 fi
1706 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1707 fi
1708 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
1709 esac
1710 fi
1711 eval ac_res=\$$3
1712 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1713 printf "%s\n" "$ac_res" >&6; }
1714 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1715
1716 } # ac_fn_c_check_type
1717
1718 # ac_fn_c_try_run LINENO
1719 # ----------------------
1720 # Try to run conftest.$ac_ext, and return whether this succeeded. Assumes that
1721 # executables *can* be run.
1722 ac_fn_c_try_run ()
1723 {
1724 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1725 if { { ac_try="$ac_link"
1726 case "(($ac_try" in
1727 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1728 *) ac_try_echo=$ac_try;;
1729 esac
1730 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1731 printf "%s\n" "$ac_try_echo"; } >&5
1732 (eval "$ac_link") 2>&5
1733 ac_status=$?
1734 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1735 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1736 { { case "(($ac_try" in
1737 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1738 *) ac_try_echo=$ac_try;;
1739 esac
1740 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1741 printf "%s\n" "$ac_try_echo"; } >&5
1742 (eval "$ac_try") 2>&5
1743 ac_status=$?
1744 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1745 test $ac_status = 0; }; }
1746 then :
1747 ac_retval=0
1748 else case e in #(
1749 e) printf "%s\n" "$as_me: program exited with status $ac_status" >&5
1750 printf "%s\n" "$as_me: failed program was:" >&5
1751 sed 's/^/| /' conftest.$ac_ext >&5
1752
1753 ac_retval=$ac_status ;;
1754 esac
1755 fi
1756 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1757 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1758 as_fn_set_status $ac_retval
1759
1760 } # ac_fn_c_try_run
1761
1762 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
1763 # --------------------------------------------
1764 # Tries to find the compile-time value of EXPR in a program that includes
1765 # INCLUDES, setting VAR accordingly. Returns whether the value could be
1766 # computed
1767 ac_fn_c_compute_int ()
1768 {
1769 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1770 if test "$cross_compiling" = yes; then
1771 # Depending upon the size, compute the lo and hi bounds.
1772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1773 /* end confdefs.h. */
1774 $4
1775 int
1776 main (void)
1777 {
1778 static int test_array [1 - 2 * !(($2) >= 0)];
1779 test_array [0] = 0;
1780 return test_array [0];
1781
1782 ;
1783 return 0;
1784 }
1785 _ACEOF
1786 if ac_fn_c_try_compile "$LINENO"
1787 then :
1788 ac_lo=0 ac_mid=0
1789 while :; do
1790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1791 /* end confdefs.h. */
1792 $4
1793 int
1794 main (void)
1795 {
1796 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1797 test_array [0] = 0;
1798 return test_array [0];
1799
1800 ;
1801 return 0;
1802 }
1803 _ACEOF
1804 if ac_fn_c_try_compile "$LINENO"
1805 then :
1806 ac_hi=$ac_mid; break
1807 else case e in #(
1808 e) as_fn_arith $ac_mid + 1 && ac_lo=$as_val
1809 if test $ac_lo -le $ac_mid; then
1810 ac_lo= ac_hi=
1811 break
1812 fi
1813 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val ;;
1814 esac
1815 fi
1816 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1817 done
1818 else case e in #(
1819 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1820 /* end confdefs.h. */
1821 $4
1822 int
1823 main (void)
1824 {
1825 static int test_array [1 - 2 * !(($2) < 0)];
1826 test_array [0] = 0;
1827 return test_array [0];
1828
1829 ;
1830 return 0;
1831 }
1832 _ACEOF
1833 if ac_fn_c_try_compile "$LINENO"
1834 then :
1835 ac_hi=-1 ac_mid=-1
1836 while :; do
1837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1838 /* end confdefs.h. */
1839 $4
1840 int
1841 main (void)
1842 {
1843 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
1844 test_array [0] = 0;
1845 return test_array [0];
1846
1847 ;
1848 return 0;
1849 }
1850 _ACEOF
1851 if ac_fn_c_try_compile "$LINENO"
1852 then :
1853 ac_lo=$ac_mid; break
1854 else case e in #(
1855 e) as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
1856 if test $ac_mid -le $ac_hi; then
1857 ac_lo= ac_hi=
1858 break
1859 fi
1860 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val ;;
1861 esac
1862 fi
1863 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1864 done
1865 else case e in #(
1866 e) ac_lo= ac_hi= ;;
1867 esac
1868 fi
1869 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
1870 esac
1871 fi
1872 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1873 # Binary search between lo and hi bounds.
1874 while test "x$ac_lo" != "x$ac_hi"; do
1875 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
1876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1877 /* end confdefs.h. */
1878 $4
1879 int
1880 main (void)
1881 {
1882 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1883 test_array [0] = 0;
1884 return test_array [0];
1885
1886 ;
1887 return 0;
1888 }
1889 _ACEOF
1890 if ac_fn_c_try_compile "$LINENO"
1891 then :
1892 ac_hi=$ac_mid
1893 else case e in #(
1894 e) as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val ;;
1895 esac
1896 fi
1897 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1898 done
1899 case $ac_lo in #((
1900 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
1901 '') ac_retval=1 ;;
1902 esac
1903 else
1904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1905 /* end confdefs.h. */
1906 $4
1907 static long int longval (void) { return $2; }
1908 static unsigned long int ulongval (void) { return $2; }
1909 #include <stdio.h>
1910 #include <stdlib.h>
1911 int
1912 main (void)
1913 {
1914
1915 FILE *f = fopen ("conftest.val", "w");
1916 if (! f)
1917 return 1;
1918 if (($2) < 0)
1919 {
1920 long int i = longval ();
1921 if (i != ($2))
1922 return 1;
1923 fprintf (f, "%ld", i);
1924 }
1925 else
1926 {
1927 unsigned long int i = ulongval ();
1928 if (i != ($2))
1929 return 1;
1930 fprintf (f, "%lu", i);
1931 }
1932 /* Do not output a trailing newline, as this causes \r\n confusion
1933 on some platforms. */
1934 return ferror (f) || fclose (f) != 0;
1935
1936 ;
1937 return 0;
1938 }
1939 _ACEOF
1940 if ac_fn_c_try_run "$LINENO"
1941 then :
1942 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
1943 else case e in #(
1944 e) ac_retval=1 ;;
1945 esac
1946 fi
1947 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
1948 conftest.$ac_objext conftest.beam conftest.$ac_ext
1949 rm -f conftest.val
1950
1951 fi
1952 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1953 as_fn_set_status $ac_retval
1954
1955 } # ac_fn_c_compute_int
1956
1957 # ac_fn_c_check_func LINENO FUNC VAR
1958 # ----------------------------------
1959 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1960 ac_fn_c_check_func ()
1961 {
1962 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1963 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1964 printf %s "checking for $2... " >&6; }
1965 if eval test \${$3+y}
1966 then :
1967 printf %s "(cached) " >&6
1968 else case e in #(
1969 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1970 /* end confdefs.h. */
1971 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1972 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1973 #define $2 innocuous_$2
1974
1975 /* System header to define __stub macros and hopefully few prototypes,
1976 which can conflict with char $2 (void); below. */
1977
1978 #include <limits.h>
1979 #undef $2
1980
1981 /* Override any GCC internal prototype to avoid an error.
1982 Use char because int might match the return type of a GCC
1983 builtin and then its argument prototype would still apply. */
1984 #ifdef __cplusplus
1985 extern "C"
1986 #endif
1987 char $2 (void);
1988 /* The GNU C library defines this for functions which it implements
1989 to always fail with ENOSYS. Some functions are actually named
1990 something starting with __ and the normal name is an alias. */
1991 #if defined __stub_$2 || defined __stub___$2
1992 choke me
1993 #endif
1994
1995 int
1996 main (void)
1997 {
1998 return $2 ();
1999 ;
2000 return 0;
2001 }
2002 _ACEOF
2003 if ac_fn_c_try_link "$LINENO"
2004 then :
2005 eval "$3=yes"
2006 else case e in #(
2007 e) eval "$3=no" ;;
2008 esac
2009 fi
2010 rm -f core conftest.err conftest.$ac_objext conftest.beam \
2011 conftest$ac_exeext conftest.$ac_ext ;;
2012 esac
2013 fi
2014 eval ac_res=\$$3
2015 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2016 printf "%s\n" "$ac_res" >&6; }
2017 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2018
2019 } # ac_fn_c_check_func
2020 ac_configure_args_raw=
2021 for ac_arg
2022 do
2023 case $ac_arg in
2024 *\'*)
2025 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2026 esac
2027 as_fn_append ac_configure_args_raw " '$ac_arg'"
2028 done
2029
2030 case $ac_configure_args_raw in
2031 *$as_nl*)
2032 ac_safe_unquote= ;;
2033 *)
2034 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
2035 ac_unsafe_a="$ac_unsafe_z#~"
2036 ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
2037 ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
2038 esac
2039
2040 cat >config.log <<_ACEOF
2041 This file contains any messages produced by compilers while
2042 running configure, to aid debugging if configure makes a mistake.
2043
2044 It was created by zziplib (TeX Live) $as_me 0.13.72, which was
2045 generated by GNU Autoconf 2.72. Invocation command line was
2046
2047 $ $0$ac_configure_args_raw
2048
2049 _ACEOF
2050 exec 5>>config.log
2051 {
2052 cat <<_ASUNAME
2053 ## --------- ##
2054 ## Platform. ##
2055 ## --------- ##
2056
2057 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2058 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2059 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2060 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2061 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2062
2063 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2064 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2065
2066 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2067 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2068 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2069 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2070 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2071 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2072 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2073
2074 _ASUNAME
2075
2076 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2077 for as_dir in $PATH
2078 do
2079 IFS=$as_save_IFS
2080 case $as_dir in #(((
2081 '') as_dir=./ ;;
2082 */) ;;
2083 *) as_dir=$as_dir/ ;;
2084 esac
2085 printf "%s\n" "PATH: $as_dir"
2086 done
2087 IFS=$as_save_IFS
2088
2089 } >&5
2090
2091 cat >&5 <<_ACEOF
2092
2093
2094 ## ----------- ##
2095 ## Core tests. ##
2096 ## ----------- ##
2097
2098 _ACEOF
2099
2100
2101 # Keep a trace of the command line.
2102 # Strip out --no-create and --no-recursion so they do not pile up.
2103 # Strip out --silent because we don't want to record it for future runs.
2104 # Also quote any args containing shell meta-characters.
2105 # Make two passes to allow for proper duplicate-argument suppression.
2106 ac_configure_args=
2107 ac_configure_args0=
2108 ac_configure_args1=
2109 ac_must_keep_next=false
2110 for ac_pass in 1 2
2111 do
2112 for ac_arg
2113 do
2114 case $ac_arg in
2115 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2116 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2117 | -silent | --silent | --silen | --sile | --sil)
2118 continue ;;
2119 *\'*)
2120 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2121 esac
2122 case $ac_pass in
2123 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2124 2)
2125 as_fn_append ac_configure_args1 " '$ac_arg'"
2126 if test $ac_must_keep_next = true; then
2127 ac_must_keep_next=false # Got value, back to normal.
2128 else
2129 case $ac_arg in
2130 *=* | --config-cache | -C | -disable-* | --disable-* \
2131 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2132 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2133 | -with-* | --with-* | -without-* | --without-* | --x)
2134 case "$ac_configure_args0 " in
2135 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2136 esac
2137 ;;
2138 -* ) ac_must_keep_next=true ;;
2139 esac
2140 fi
2141 as_fn_append ac_configure_args " '$ac_arg'"
2142 ;;
2143 esac
2144 done
2145 done
2146 { ac_configure_args0=; unset ac_configure_args0;}
2147 { ac_configure_args1=; unset ac_configure_args1;}
2148
2149 # When interrupted or exit'd, cleanup temporary files, and complete
2150 # config.log. We remove comments because anyway the quotes in there
2151 # would cause problems or look ugly.
2152 # WARNING: Use '\'' to represent an apostrophe within the trap.
2153 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2154 trap 'exit_status=$?
2155 # Sanitize IFS.
2156 IFS=" "" $as_nl"
2157 # Save into config.log some information that might help in debugging.
2158 {
2159 echo
2160
2161 printf "%s\n" "## ---------------- ##
2162 ## Cache variables. ##
2163 ## ---------------- ##"
2164 echo
2165 # The following way of writing the cache mishandles newlines in values,
2166 (
2167 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2168 eval ac_val=\$$ac_var
2169 case $ac_val in #(
2170 *${as_nl}*)
2171 case $ac_var in #(
2172 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2173 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2174 esac
2175 case $ac_var in #(
2176 _ | IFS | as_nl) ;; #(
2177 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2178 *) { eval $ac_var=; unset $ac_var;} ;;
2179 esac ;;
2180 esac
2181 done
2182 (set) 2>&1 |
2183 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2184 *${as_nl}ac_space=\ *)
2185 sed -n \
2186 "s/'\''/'\''\\\\'\'''\''/g;
2187 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2188 ;; #(
2189 *)
2190 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2191 ;;
2192 esac |
2193 sort
2194 )
2195 echo
2196
2197 printf "%s\n" "## ----------------- ##
2198 ## Output variables. ##
2199 ## ----------------- ##"
2200 echo
2201 for ac_var in $ac_subst_vars
2202 do
2203 eval ac_val=\$$ac_var
2204 case $ac_val in
2205 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2206 esac
2207 printf "%s\n" "$ac_var='\''$ac_val'\''"
2208 done | sort
2209 echo
2210
2211 if test -n "$ac_subst_files"; then
2212 printf "%s\n" "## ------------------- ##
2213 ## File substitutions. ##
2214 ## ------------------- ##"
2215 echo
2216 for ac_var in $ac_subst_files
2217 do
2218 eval ac_val=\$$ac_var
2219 case $ac_val in
2220 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2221 esac
2222 printf "%s\n" "$ac_var='\''$ac_val'\''"
2223 done | sort
2224 echo
2225 fi
2226
2227 if test -s confdefs.h; then
2228 printf "%s\n" "## ----------- ##
2229 ## confdefs.h. ##
2230 ## ----------- ##"
2231 echo
2232 cat confdefs.h
2233 echo
2234 fi
2235 test "$ac_signal" != 0 &&
2236 printf "%s\n" "$as_me: caught signal $ac_signal"
2237 printf "%s\n" "$as_me: exit $exit_status"
2238 } >&5
2239 rm -f core *.core core.conftest.* &&
2240 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2241 exit $exit_status
2242 ' 0
2243 for ac_signal in 1 2 13 15; do
2244 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2245 done
2246 ac_signal=0
2247
2248 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2249 rm -f -r conftest* confdefs.h
2250
2251 printf "%s\n" "/* confdefs.h */" > confdefs.h
2252
2253 # Predefined preprocessor variables.
2254
2255 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
2256
2257 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
2258
2259 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
2260
2261 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
2262
2263 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
2264
2265 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
2266
2267
2268 # Let the site file select an alternate cache file if it wants to.
2269 # Prefer an explicitly selected file to automatically selected ones.
2270 if test -n "$CONFIG_SITE"; then
2271 ac_site_files="$CONFIG_SITE"
2272 elif test "x$prefix" != xNONE; then
2273 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
2274 else
2275 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
2276 fi
2277
2278 for ac_site_file in $ac_site_files
2279 do
2280 case $ac_site_file in #(
2281 */*) :
2282 ;; #(
2283 *) :
2284 ac_site_file=./$ac_site_file ;;
2285 esac
2286 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
2287 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2288 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
2289 sed 's/^/| /' "$ac_site_file" >&5
2290 . "$ac_site_file" \
2291 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
2292 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
2293 as_fn_error $? "failed to load site script $ac_site_file
2294 See 'config.log' for more details" "$LINENO" 5; }
2295 fi
2296 done
2297
2298 if test -r "$cache_file"; then
2299 # Some versions of bash will fail to source /dev/null (special files
2300 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2301 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2302 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2303 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
2304 case $cache_file in
2305 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2306 *) . "./$cache_file";;
2307 esac
2308 fi
2309 else
2310 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2311 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
2312 >$cache_file
2313 fi
2314
2315 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
2316 # Test code for whether the C compiler supports C89 (global declarations)
2317 ac_c_conftest_c89_globals='
2318 /* Does the compiler advertise C89 conformance?
2319 Do not test the value of __STDC__, because some compilers set it to 0
2320 while being otherwise adequately conformant. */
2321 #if !defined __STDC__
2322 # error "Compiler does not advertise C89 conformance"
2323 #endif
2324
2325 #include <stddef.h>
2326 #include <stdarg.h>
2327 struct stat;
2328 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */
2329 struct buf { int x; };
2330 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
2331 static char *e (char **p, int i)
2332 {
2333 return p[i];
2334 }
2335 static char *f (char * (*g) (char **, int), char **p, ...)
2336 {
2337 char *s;
2338 va_list v;
2339 va_start (v,p);
2340 s = g (p, va_arg (v,int));
2341 va_end (v);
2342 return s;
2343 }
2344
2345 /* C89 style stringification. */
2346 #define noexpand_stringify(a) #a
2347 const char *stringified = noexpand_stringify(arbitrary+token=sequence);
2348
2349 /* C89 style token pasting. Exercises some of the corner cases that
2350 e.g. old MSVC gets wrong, but not very hard. */
2351 #define noexpand_concat(a,b) a##b
2352 #define expand_concat(a,b) noexpand_concat(a,b)
2353 extern int vA;
2354 extern int vbee;
2355 #define aye A
2356 #define bee B
2357 int *pvA = &expand_concat(v,aye);
2358 int *pvbee = &noexpand_concat(v,bee);
2359
2360 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2361 function prototypes and stuff, but not \xHH hex character constants.
2362 These do not provoke an error unfortunately, instead are silently treated
2363 as an "x". The following induces an error, until -std is added to get
2364 proper ANSI mode. Curiously \x00 != x always comes out true, for an
2365 array size at least. It is necessary to write \x00 == 0 to get something
2366 that is true only with -std. */
2367 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
2368
2369 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2370 inside strings and character constants. */
2371 #define FOO(x) '\''x'\''
2372 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
2373
2374 int test (int i, double x);
2375 struct s1 {int (*f) (int a);};
2376 struct s2 {int (*f) (double a);};
2377 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
2378 int, int);'
2379
2380 # Test code for whether the C compiler supports C89 (body of main).
2381 ac_c_conftest_c89_main='
2382 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
2383 '
2384
2385 # Test code for whether the C compiler supports C99 (global declarations)
2386 ac_c_conftest_c99_globals='
2387 /* Does the compiler advertise C99 conformance? */
2388 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
2389 # error "Compiler does not advertise C99 conformance"
2390 #endif
2391
2392 // See if C++-style comments work.
2393
2394 #include <stdbool.h>
2395 extern int puts (const char *);
2396 extern int printf (const char *, ...);
2397 extern int dprintf (int, const char *, ...);
2398 extern void *malloc (size_t);
2399 extern void free (void *);
2400
2401 // Check varargs macros. These examples are taken from C99 6.10.3.5.
2402 // dprintf is used instead of fprintf to avoid needing to declare
2403 // FILE and stderr.
2404 #define debug(...) dprintf (2, __VA_ARGS__)
2405 #define showlist(...) puts (#__VA_ARGS__)
2406 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
2407 static void
2408 test_varargs_macros (void)
2409 {
2410 int x = 1234;
2411 int y = 5678;
2412 debug ("Flag");
2413 debug ("X = %d\n", x);
2414 showlist (The first, second, and third items.);
2415 report (x>y, "x is %d but y is %d", x, y);
2416 }
2417
2418 // Check long long types.
2419 #define BIG64 18446744073709551615ull
2420 #define BIG32 4294967295ul
2421 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
2422 #if !BIG_OK
2423 #error "your preprocessor is broken"
2424 #endif
2425 #if BIG_OK
2426 #else
2427 #error "your preprocessor is broken"
2428 #endif
2429 static long long int bignum = -9223372036854775807LL;
2430 static unsigned long long int ubignum = BIG64;
2431
2432 struct incomplete_array
2433 {
2434 int datasize;
2435 double data[];
2436 };
2437
2438 struct named_init {
2439 int number;
2440 const wchar_t *name;
2441 double average;
2442 };
2443
2444 typedef const char *ccp;
2445
2446 static inline int
2447 test_restrict (ccp restrict text)
2448 {
2449 // Iterate through items via the restricted pointer.
2450 // Also check for declarations in for loops.
2451 for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
2452 continue;
2453 return 0;
2454 }
2455
2456 // Check varargs and va_copy.
2457 static bool
2458 test_varargs (const char *format, ...)
2459 {
2460 va_list args;
2461 va_start (args, format);
2462 va_list args_copy;
2463 va_copy (args_copy, args);
2464
2465 const char *str = "";
2466 int number = 0;
2467 float fnumber = 0;
2468
2469 while (*format)
2470 {
2471 switch (*format++)
2472 {
2473 case '\''s'\'': // string
2474 str = va_arg (args_copy, const char *);
2475 break;
2476 case '\''d'\'': // int
2477 number = va_arg (args_copy, int);
2478 break;
2479 case '\''f'\'': // float
2480 fnumber = va_arg (args_copy, double);
2481 break;
2482 default:
2483 break;
2484 }
2485 }
2486 va_end (args_copy);
2487 va_end (args);
2488
2489 return *str && number && fnumber;
2490 }
2491 '
2492
2493 # Test code for whether the C compiler supports C99 (body of main).
2494 ac_c_conftest_c99_main='
2495 // Check bool.
2496 _Bool success = false;
2497 success |= (argc != 0);
2498
2499 // Check restrict.
2500 if (test_restrict ("String literal") == 0)
2501 success = true;
2502 char *restrict newvar = "Another string";
2503
2504 // Check varargs.
2505 success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
2506 test_varargs_macros ();
2507
2508 // Check flexible array members.
2509 struct incomplete_array *ia =
2510 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
2511 ia->datasize = 10;
2512 for (int i = 0; i < ia->datasize; ++i)
2513 ia->data[i] = i * 1.234;
2514 // Work around memory leak warnings.
2515 free (ia);
2516
2517 // Check named initializers.
2518 struct named_init ni = {
2519 .number = 34,
2520 .name = L"Test wide string",
2521 .average = 543.34343,
2522 };
2523
2524 ni.number = 58;
2525
2526 int dynamic_array[ni.number];
2527 dynamic_array[0] = argv[0][0];
2528 dynamic_array[ni.number - 1] = 543;
2529
2530 // work around unused variable warnings
2531 ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
2532 || dynamic_array[ni.number - 1] != 543);
2533 '
2534
2535 # Test code for whether the C compiler supports C11 (global declarations)
2536 ac_c_conftest_c11_globals='
2537 /* Does the compiler advertise C11 conformance? */
2538 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
2539 # error "Compiler does not advertise C11 conformance"
2540 #endif
2541
2542 // Check _Alignas.
2543 char _Alignas (double) aligned_as_double;
2544 char _Alignas (0) no_special_alignment;
2545 extern char aligned_as_int;
2546 char _Alignas (0) _Alignas (int) aligned_as_int;
2547
2548 // Check _Alignof.
2549 enum
2550 {
2551 int_alignment = _Alignof (int),
2552 int_array_alignment = _Alignof (int[100]),
2553 char_alignment = _Alignof (char)
2554 };
2555 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
2556
2557 // Check _Noreturn.
2558 int _Noreturn does_not_return (void) { for (;;) continue; }
2559
2560 // Check _Static_assert.
2561 struct test_static_assert
2562 {
2563 int x;
2564 _Static_assert (sizeof (int) <= sizeof (long int),
2565 "_Static_assert does not work in struct");
2566 long int y;
2567 };
2568
2569 // Check UTF-8 literals.
2570 #define u8 syntax error!
2571 char const utf8_literal[] = u8"happens to be ASCII" "another string";
2572
2573 // Check duplicate typedefs.
2574 typedef long *long_ptr;
2575 typedef long int *long_ptr;
2576 typedef long_ptr long_ptr;
2577
2578 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
2579 struct anonymous
2580 {
2581 union {
2582 struct { int i; int j; };
2583 struct { int k; long int l; } w;
2584 };
2585 int m;
2586 } v1;
2587 '
2588
2589 # Test code for whether the C compiler supports C11 (body of main).
2590 ac_c_conftest_c11_main='
2591 _Static_assert ((offsetof (struct anonymous, i)
2592 == offsetof (struct anonymous, w.k)),
2593 "Anonymous union alignment botch");
2594 v1.i = 2;
2595 v1.w.k = 5;
2596 ok |= v1.i != 5;
2597 '
2598
2599 # Test code for whether the C compiler supports C11 (complete).
2600 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
2601 ${ac_c_conftest_c99_globals}
2602 ${ac_c_conftest_c11_globals}
2603
2604 int
2605 main (int argc, char **argv)
2606 {
2607 int ok = 0;
2608 ${ac_c_conftest_c89_main}
2609 ${ac_c_conftest_c99_main}
2610 ${ac_c_conftest_c11_main}
2611 return ok;
2612 }
2613 "
2614
2615 # Test code for whether the C compiler supports C99 (complete).
2616 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
2617 ${ac_c_conftest_c99_globals}
2618
2619 int
2620 main (int argc, char **argv)
2621 {
2622 int ok = 0;
2623 ${ac_c_conftest_c89_main}
2624 ${ac_c_conftest_c99_main}
2625 return ok;
2626 }
2627 "
2628
2629 # Test code for whether the C compiler supports C89 (complete).
2630 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
2631
2632 int
2633 main (int argc, char **argv)
2634 {
2635 int ok = 0;
2636 ${ac_c_conftest_c89_main}
2637 return ok;
2638 }
2639 "
2640
2641 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
2642 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
2643 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
2644 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
2645 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
2646 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
2647 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
2648 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
2649 as_fn_append ac_header_c_list " wchar.h wchar_h HAVE_WCHAR_H"
2650 as_fn_append ac_header_c_list " minix/config.h minix_config_h HAVE_MINIX_CONFIG_H"
2651
2652 # Auxiliary files required by this configure script.
2653 ac_aux_files="ar-lib config.guess config.sub compile missing install-sh"
2654
2655 # Locations in which to look for auxiliary files.
2656 ac_aux_dir_candidates="${srcdir}/../../build-aux"
2657
2658 # Search for a directory containing all of the required auxiliary files,
2659 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
2660 # If we don't find one directory that contains all the files we need,
2661 # we report the set of missing files from the *first* directory in
2662 # $ac_aux_dir_candidates and give up.
2663 ac_missing_aux_files=""
2664 ac_first_candidate=:
2665 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
2666 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2667 as_found=false
2668 for as_dir in $ac_aux_dir_candidates
2669 do
2670 IFS=$as_save_IFS
2671 case $as_dir in #(((
2672 '') as_dir=./ ;;
2673 */) ;;
2674 *) as_dir=$as_dir/ ;;
2675 esac
2676 as_found=:
2677
2678 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
2679 ac_aux_dir_found=yes
2680 ac_install_sh=
2681 for ac_aux in $ac_aux_files
2682 do
2683 # As a special case, if "install-sh" is required, that requirement
2684 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
2685 # and $ac_install_sh is set appropriately for whichever one is found.
2686 if test x"$ac_aux" = x"install-sh"
2687 then
2688 if test -f "${as_dir}install-sh"; then
2689 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
2690 ac_install_sh="${as_dir}install-sh -c"
2691 elif test -f "${as_dir}install.sh"; then
2692 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
2693 ac_install_sh="${as_dir}install.sh -c"
2694 elif test -f "${as_dir}shtool"; then
2695 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
2696 ac_install_sh="${as_dir}shtool install -c"
2697 else
2698 ac_aux_dir_found=no
2699 if $ac_first_candidate; then
2700 ac_missing_aux_files="${ac_missing_aux_files} install-sh"
2701 else
2702 break
2703 fi
2704 fi
2705 else
2706 if test -f "${as_dir}${ac_aux}"; then
2707 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
2708 else
2709 ac_aux_dir_found=no
2710 if $ac_first_candidate; then
2711 ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
2712 else
2713 break
2714 fi
2715 fi
2716 fi
2717 done
2718 if test "$ac_aux_dir_found" = yes; then
2719 ac_aux_dir="$as_dir"
2720 break
2721 fi
2722 ac_first_candidate=false
2723
2724 as_found=false
2725 done
2726 IFS=$as_save_IFS
2727 if $as_found
2728 then :
2729
2730 else case e in #(
2731 e) as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5 ;;
2732 esac
2733 fi
2734
2735
2736 # These three variables are undocumented and unsupported,
2737 # and are intended to be withdrawn in a future Autoconf release.
2738 # They can cause serious problems if a builder's source tree is in a directory
2739 # whose full name contains unusual characters.
2740 if test -f "${ac_aux_dir}config.guess"; then
2741 ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
2742 fi
2743 if test -f "${ac_aux_dir}config.sub"; then
2744 ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
2745 fi
2746 if test -f "$ac_aux_dir/configure"; then
2747 ac_configure="$SHELL ${ac_aux_dir}configure"
2748 fi
2749
2750 # Check that the precious variables saved in the cache have kept the same
2751 # value.
2752 ac_cache_corrupted=false
2753 for ac_var in $ac_precious_vars; do
2754 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2755 eval ac_new_set=\$ac_env_${ac_var}_set
2756 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2757 eval ac_new_val=\$ac_env_${ac_var}_value
2758 case $ac_old_set,$ac_new_set in
2759 set,)
2760 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&5
2761 printf "%s\n" "$as_me: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&2;}
2762 ac_cache_corrupted=: ;;
2763 ,set)
2764 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was not set in the previous run" >&5
2765 printf "%s\n" "$as_me: error: '$ac_var' was not set in the previous run" >&2;}
2766 ac_cache_corrupted=: ;;
2767 ,);;
2768 *)
2769 if test "x$ac_old_val" != "x$ac_new_val"; then
2770 # differences in whitespace do not lead to failure.
2771 ac_old_val_w=`echo x $ac_old_val`
2772 ac_new_val_w=`echo x $ac_new_val`
2773 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2774 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' has changed since the previous run:" >&5
2775 printf "%s\n" "$as_me: error: '$ac_var' has changed since the previous run:" >&2;}
2776 ac_cache_corrupted=:
2777 else
2778 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&5
2779 printf "%s\n" "$as_me: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&2;}
2780 eval $ac_var=\$ac_old_val
2781 fi
2782 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: '$ac_old_val'" >&5
2783 printf "%s\n" "$as_me: former value: '$ac_old_val'" >&2;}
2784 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: '$ac_new_val'" >&5
2785 printf "%s\n" "$as_me: current value: '$ac_new_val'" >&2;}
2786 fi;;
2787 esac
2788 # Pass precious variables to config.status.
2789 if test "$ac_new_set" = set; then
2790 case $ac_new_val in
2791 *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2792 *) ac_arg=$ac_var=$ac_new_val ;;
2793 esac
2794 case " $ac_configure_args " in
2795 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2796 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2797 esac
2798 fi
2799 done
2800 if $ac_cache_corrupted; then
2801 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
2802 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
2803 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2804 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
2805 as_fn_error $? "run '${MAKE-make} distclean' and/or 'rm $cache_file'
2806 and start over" "$LINENO" 5
2807 fi
2808 ## -------------------- ##
2809 ## Main body of script. ##
2810 ## -------------------- ##
2811
2812 ac_ext=c
2813 ac_cpp='$CPP $CPPFLAGS'
2814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2817
2818
2819
2820
2821
2822
2823
2824 am__api_version='1.18'
2825
2826
2827
2828 # Find a good install program. We prefer a C program (faster),
2829 # so one script is as good as another. But avoid the broken or
2830 # incompatible versions:
2831 # SysV /etc/install, /usr/sbin/install
2832 # SunOS /usr/etc/install
2833 # IRIX /sbin/install
2834 # AIX /bin/install
2835 # AmigaOS /C/install, which installs bootblocks on floppy discs
2836 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2837 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2838 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2839 # OS/2's system install, which has a completely different semantic
2840 # ./install, which can be erroneously created by make from ./install.sh.
2841 # Reject install programs that cannot install multiple files.
2842 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2843 printf %s "checking for a BSD-compatible install... " >&6; }
2844 if test -z "$INSTALL"; then
2845 if test ${ac_cv_path_install+y}
2846 then :
2847 printf %s "(cached) " >&6
2848 else case e in #(
2849 e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2850 for as_dir in $PATH
2851 do
2852 IFS=$as_save_IFS
2853 case $as_dir in #(((
2854 '') as_dir=./ ;;
2855 */) ;;
2856 *) as_dir=$as_dir/ ;;
2857 esac
2858 # Account for fact that we put trailing slashes in our PATH walk.
2859 case $as_dir in #((
2860 ./ | /[cC]/* | \
2861 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2862 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2863 /usr/ucb/* ) ;;
2864 *)
2865 # OSF1 and SCO ODT 3.0 have their own names for install.
2866 # Don't use installbsd from OSF since it installs stuff as root
2867 # by default.
2868 for ac_prog in ginstall scoinst install; do
2869 for ac_exec_ext in '' $ac_executable_extensions; do
2870 if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
2871 if test $ac_prog = install &&
2872 grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2873 # AIX install. It has an incompatible calling convention.
2874 :
2875 elif test $ac_prog = install &&
2876 grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2877 # program-specific install script used by HP pwplus--don't use.
2878 :
2879 else
2880 rm -rf conftest.one conftest.two conftest.dir
2881 echo one > conftest.one
2882 echo two > conftest.two
2883 mkdir conftest.dir
2884 if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
2885 test -s conftest.one && test -s conftest.two &&
2886 test -s conftest.dir/conftest.one &&
2887 test -s conftest.dir/conftest.two
2888 then
2889 ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
2890 break 3
2891 fi
2892 fi
2893 fi
2894 done
2895 done
2896 ;;
2897 esac
2898
2899 done
2900 IFS=$as_save_IFS
2901
2902 rm -rf conftest.one conftest.two conftest.dir
2903 ;;
2904 esac
2905 fi
2906 if test ${ac_cv_path_install+y}; then
2907 INSTALL=$ac_cv_path_install
2908 else
2909 # As a last resort, use the slow shell script. Don't cache a
2910 # value for INSTALL within a source directory, because that will
2911 # break other packages using the cache if that directory is
2912 # removed, or if the value is a relative name.
2913 INSTALL=$ac_install_sh
2914 fi
2915 fi
2916 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2917 printf "%s\n" "$INSTALL" >&6; }
2918
2919 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2920 # It thinks the first close brace ends the variable substitution.
2921 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2922
2923 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2924
2925 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2926
2927 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether sleep supports fractional seconds" >&5
2928 printf %s "checking whether sleep supports fractional seconds... " >&6; }
2929 if test ${am_cv_sleep_fractional_seconds+y}
2930 then :
2931 printf %s "(cached) " >&6
2932 else case e in #(
2933 e) if sleep 0.001 2>/dev/null
2934 then :
2935 am_cv_sleep_fractional_seconds=yes
2936 else case e in #(
2937 e) am_cv_sleep_fractional_seconds=no ;;
2938 esac
2939 fi
2940 ;;
2941 esac
2942 fi
2943 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_sleep_fractional_seconds" >&5
2944 printf "%s\n" "$am_cv_sleep_fractional_seconds" >&6; }
2945
2946 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking filesystem timestamp resolution" >&5
2947 printf %s "checking filesystem timestamp resolution... " >&6; }
2948 if test ${am_cv_filesystem_timestamp_resolution+y}
2949 then :
2950 printf %s "(cached) " >&6
2951 else case e in #(
2952 e) # Default to the worst case.
2953 am_cv_filesystem_timestamp_resolution=2
2954
2955 # Only try to go finer than 1 sec if sleep can do it.
2956 # Don't try 1 sec, because if 0.01 sec and 0.1 sec don't work,
2957 # - 1 sec is not much of a win compared to 2 sec, and
2958 # - it takes 2 seconds to perform the test whether 1 sec works.
2959 #
2960 # Instead, just use the default 2s on platforms that have 1s resolution,
2961 # accept the extra 1s delay when using $sleep in the Automake tests, in
2962 # exchange for not incurring the 2s delay for running the test for all
2963 # packages.
2964 #
2965 am_try_resolutions=
2966 if test "$am_cv_sleep_fractional_seconds" = yes; then
2967 # Even a millisecond often causes a bunch of false positives,
2968 # so just try a hundredth of a second. The time saved between .001 and
2969 # .01 is not terribly consequential.
2970 am_try_resolutions="0.01 0.1 $am_try_resolutions"
2971 fi
2972
2973 # In order to catch current-generation FAT out, we must *modify* files
2974 # that already exist; the *creation* timestamp is finer. Use names
2975 # that make ls -t sort them differently when they have equal
2976 # timestamps than when they have distinct timestamps, keeping
2977 # in mind that ls -t prints the *newest* file first.
2978 rm -f conftest.ts?
2979 : > conftest.ts1
2980 : > conftest.ts2
2981 : > conftest.ts3
2982
2983 # Make sure ls -t actually works. Do 'set' in a subshell so we don't
2984 # clobber the current shell's arguments. (Outer-level square brackets
2985 # are removed by m4; they're present so that m4 does not expand
2986 # <dollar><star>; be careful, easy to get confused.)
2987 if (
2988 set X `ls -t conftest.ts[12]` &&
2989 {
2990 test "$*" != "X conftest.ts1 conftest.ts2" ||
2991 test "$*" != "X conftest.ts2 conftest.ts1";
2992 }
2993 ); then :; else
2994 # If neither matched, then we have a broken ls. This can happen
2995 # if, for instance, CONFIG_SHELL is bash and it inherits a
2996 # broken ls alias from the environment. This has actually
2997 # happened. Such a system could not be considered "sane".
2998 printf "%s\n" ""Bad output from ls -t: \"`ls -t conftest.ts[12]`\""" >&5
2999 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
3000 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
3001 as_fn_error $? "ls -t produces unexpected output.
3002 Make sure there is not a broken ls alias in your environment.
3003 See 'config.log' for more details" "$LINENO" 5; }
3004 fi
3005
3006 for am_try_res in $am_try_resolutions; do
3007 # Any one fine-grained sleep might happen to cross the boundary
3008 # between two values of a coarser actual resolution, but if we do
3009 # two fine-grained sleeps in a row, at least one of them will fall
3010 # entirely within a coarse interval.
3011 echo alpha > conftest.ts1
3012 sleep $am_try_res
3013 echo beta > conftest.ts2
3014 sleep $am_try_res
3015 echo gamma > conftest.ts3
3016
3017 # We assume that 'ls -t' will make use of high-resolution
3018 # timestamps if the operating system supports them at all.
3019 if (set X `ls -t conftest.ts?` &&
3020 test "$2" = conftest.ts3 &&
3021 test "$3" = conftest.ts2 &&
3022 test "$4" = conftest.ts1); then
3023 #
3024 # Ok, ls -t worked. If we're at a resolution of 1 second, we're done,
3025 # because we don't need to test make.
3026 make_ok=true
3027 if test $am_try_res != 1; then
3028 # But if we've succeeded so far with a subsecond resolution, we
3029 # have one more thing to check: make. It can happen that
3030 # everything else supports the subsecond mtimes, but make doesn't;
3031 # notably on macOS, which ships make 3.81 from 2006 (the last one
3032 # released under GPLv2). https://bugs.gnu.org/68808
3033 #
3034 # We test $MAKE if it is defined in the environment, else "make".
3035 # It might get overridden later, but our hope is that in practice
3036 # it does not matter: it is the system "make" which is (by far)
3037 # the most likely to be broken, whereas if the user overrides it,
3038 # probably they did so with a better, or at least not worse, make.
3039 # https://lists.gnu.org/archive/html/automake/2024-06/msg00051.html
3040 #
3041 # Create a Makefile (real tab character here):
3042 rm -f conftest.mk
3043 echo 'conftest.ts1: conftest.ts2' >conftest.mk
3044 echo ' touch conftest.ts2' >>conftest.mk
3045 #
3046 # Now, running
3047 # touch conftest.ts1; touch conftest.ts2; make
3048 # should touch ts1 because ts2 is newer. This could happen by luck,
3049 # but most often, it will fail if make's support is insufficient. So
3050 # test for several consecutive successes.
3051 #
3052 # (We reuse conftest.ts[12] because we still want to modify existing
3053 # files, not create new ones, per above.)
3054 n=0
3055 make=${MAKE-make}
3056 until test $n -eq 3; do
3057 echo one > conftest.ts1
3058 sleep $am_try_res
3059 echo two > conftest.ts2 # ts2 should now be newer than ts1
3060 if $make -f conftest.mk | grep 'up to date' >/dev/null; then
3061 make_ok=false
3062 break # out of $n loop
3063 fi
3064 n=`expr $n + 1`
3065 done
3066 fi
3067 #
3068 if $make_ok; then
3069 # Everything we know to check worked out, so call this resolution good.
3070 am_cv_filesystem_timestamp_resolution=$am_try_res
3071 break # out of $am_try_res loop
3072 fi
3073 # Otherwise, we'll go on to check the next resolution.
3074 fi
3075 done
3076 rm -f conftest.ts?
3077 # (end _am_filesystem_timestamp_resolution)
3078 ;;
3079 esac
3080 fi
3081 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_filesystem_timestamp_resolution" >&5
3082 printf "%s\n" "$am_cv_filesystem_timestamp_resolution" >&6; }
3083
3084 # This check should not be cached, as it may vary across builds of
3085 # different projects.
3086 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3087 printf %s "checking whether build environment is sane... " >&6; }
3088 # Reject unsafe characters in $srcdir or the absolute working directory
3089 # name. Accept space and tab only in the latter.
3090 am_lf='
3091 '
3092 case `pwd` in
3093 *[\\\"\#\$\&\'\`$am_lf]*)
3094 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3095 printf "%s\n" "no" >&6; }
3096 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
3097 esac
3098 case $srcdir in
3099 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3100 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3101 printf "%s\n" "no" >&6; }
3102 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
3103 esac
3104
3105 # Do 'set' in a subshell so we don't clobber the current shell's
3106 # arguments. Must try -L first in case configure is actually a
3107 # symlink; some systems play weird games with the mod time of symlinks
3108 # (eg FreeBSD returns the mod time of the symlink's containing
3109 # directory).
3110 am_build_env_is_sane=no
3111 am_has_slept=no
3112 rm -f conftest.file
3113 for am_try in 1 2; do
3114 echo "timestamp, slept: $am_has_slept" > conftest.file
3115 if (
3116 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3117 if test "$*" = "X"; then
3118 # -L didn't work.
3119 set X `ls -t "$srcdir/configure" conftest.file`
3120 fi
3121 test "$2" = conftest.file
3122 ); then
3123 am_build_env_is_sane=yes
3124 break
3125 fi
3126 # Just in case.
3127 sleep "$am_cv_filesystem_timestamp_resolution"
3128 am_has_slept=yes
3129 done
3130
3131 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_build_env_is_sane" >&5
3132 printf "%s\n" "$am_build_env_is_sane" >&6; }
3133 if test "$am_build_env_is_sane" = no; then
3134 as_fn_error $? "newly created file is older than distributed files!
3135 Check your system clock" "$LINENO" 5
3136 fi
3137
3138 # If we didn't sleep, we still need to ensure time stamps of config.status and
3139 # generated files are strictly newer.
3140 am_sleep_pid=
3141 if test -e conftest.file || grep 'slept: no' conftest.file >/dev/null 2>&1
3142 then :
3143
3144 else case e in #(
3145 e) ( sleep "$am_cv_filesystem_timestamp_resolution" ) &
3146 am_sleep_pid=$!
3147 ;;
3148 esac
3149 fi
3150
3151 rm -f conftest.file
3152
3153 test "$program_prefix" != NONE &&
3154 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3155 # Use a double $ so make ignores it.
3156 test "$program_suffix" != NONE &&
3157 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3158 # Double any \ or $.
3159 # By default was 's,x,x', remove it if useless.
3160 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3161 program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"`
3162
3163
3164 # Expand $ac_aux_dir to an absolute path.
3165 am_aux_dir=`cd "$ac_aux_dir" && pwd`
3166
3167
3168 if test x"${MISSING+set}" != xset; then
3169 MISSING="\${SHELL} '$am_aux_dir/missing'"
3170 fi
3171 # Use eval to expand $SHELL
3172 if eval "$MISSING --is-lightweight"; then
3173 am_missing_run="$MISSING "
3174 else
3175 am_missing_run=
3176 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
3177 printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
3178 fi
3179
3180 if test x"${install_sh+set}" != xset; then
3181 case $am_aux_dir in
3182 *\ * | *\ *)
3183 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3184 *)
3185 install_sh="\${SHELL} $am_aux_dir/install-sh"
3186 esac
3187 fi
3188
3189 # Installed binaries are usually stripped using 'strip' when the user
3190 # run "make install-strip". However 'strip' might not be the right
3191 # tool to use in cross-compilation environments, therefore Automake
3192 # will honor the 'STRIP' environment variable to overrule this program.
3193 if test "$cross_compiling" != no; then
3194 if test -n "$ac_tool_prefix"; then
3195 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3196 set dummy ${ac_tool_prefix}strip; ac_word=$2
3197 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3198 printf %s "checking for $ac_word... " >&6; }
3199 if test ${ac_cv_prog_STRIP+y}
3200 then :
3201 printf %s "(cached) " >&6
3202 else case e in #(
3203 e) if test -n "$STRIP"; then
3204 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3205 else
3206 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3207 for as_dir in $PATH
3208 do
3209 IFS=$as_save_IFS
3210 case $as_dir in #(((
3211 '') as_dir=./ ;;
3212 */) ;;
3213 *) as_dir=$as_dir/ ;;
3214 esac
3215 for ac_exec_ext in '' $ac_executable_extensions; do
3216 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3217 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3218 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3219 break 2
3220 fi
3221 done
3222 done
3223 IFS=$as_save_IFS
3224
3225 fi ;;
3226 esac
3227 fi
3228 STRIP=$ac_cv_prog_STRIP
3229 if test -n "$STRIP"; then
3230 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3231 printf "%s\n" "$STRIP" >&6; }
3232 else
3233 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3234 printf "%s\n" "no" >&6; }
3235 fi
3236
3237
3238 fi
3239 if test -z "$ac_cv_prog_STRIP"; then
3240 ac_ct_STRIP=$STRIP
3241 # Extract the first word of "strip", so it can be a program name with args.
3242 set dummy strip; ac_word=$2
3243 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3244 printf %s "checking for $ac_word... " >&6; }
3245 if test ${ac_cv_prog_ac_ct_STRIP+y}
3246 then :
3247 printf %s "(cached) " >&6
3248 else case e in #(
3249 e) if test -n "$ac_ct_STRIP"; then
3250 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3251 else
3252 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3253 for as_dir in $PATH
3254 do
3255 IFS=$as_save_IFS
3256 case $as_dir in #(((
3257 '') as_dir=./ ;;
3258 */) ;;
3259 *) as_dir=$as_dir/ ;;
3260 esac
3261 for ac_exec_ext in '' $ac_executable_extensions; do
3262 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3263 ac_cv_prog_ac_ct_STRIP="strip"
3264 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3265 break 2
3266 fi
3267 done
3268 done
3269 IFS=$as_save_IFS
3270
3271 fi ;;
3272 esac
3273 fi
3274 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3275 if test -n "$ac_ct_STRIP"; then
3276 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3277 printf "%s\n" "$ac_ct_STRIP" >&6; }
3278 else
3279 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3280 printf "%s\n" "no" >&6; }
3281 fi
3282
3283 if test "x$ac_ct_STRIP" = x; then
3284 STRIP=":"
3285 else
3286 case $cross_compiling:$ac_tool_warned in
3287 yes:)
3288 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3289 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3290 ac_tool_warned=yes ;;
3291 esac
3292 STRIP=$ac_ct_STRIP
3293 fi
3294 else
3295 STRIP="$ac_cv_prog_STRIP"
3296 fi
3297
3298 fi
3299 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3300
3301
3302 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
3303 printf %s "checking for a race-free mkdir -p... " >&6; }
3304 if test -z "$MKDIR_P"; then
3305 if test ${ac_cv_path_mkdir+y}
3306 then :
3307 printf %s "(cached) " >&6
3308 else case e in #(
3309 e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3310 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3311 do
3312 IFS=$as_save_IFS
3313 case $as_dir in #(((
3314 '') as_dir=./ ;;
3315 */) ;;
3316 *) as_dir=$as_dir/ ;;
3317 esac
3318 for ac_prog in mkdir gmkdir; do
3319 for ac_exec_ext in '' $ac_executable_extensions; do
3320 as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
3321 case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
3322 'mkdir ('*'coreutils) '* | \
3323 *'BusyBox '* | \
3324 'mkdir (fileutils) '4.1*)
3325 ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
3326 break 3;;
3327 esac
3328 done
3329 done
3330 done
3331 IFS=$as_save_IFS
3332 ;;
3333 esac
3334 fi
3335
3336 test -d ./--version && rmdir ./--version
3337 if test ${ac_cv_path_mkdir+y}; then
3338 MKDIR_P="$ac_cv_path_mkdir -p"
3339 else
3340 # As a last resort, use plain mkdir -p,
3341 # in the hope it doesn't have the bugs of ancient mkdir.
3342 MKDIR_P='mkdir -p'
3343 fi
3344 fi
3345 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3346 printf "%s\n" "$MKDIR_P" >&6; }
3347
3348 for ac_prog in gawk mawk nawk awk
3349 do
3350 # Extract the first word of "$ac_prog", so it can be a program name with args.
3351 set dummy $ac_prog; ac_word=$2
3352 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3353 printf %s "checking for $ac_word... " >&6; }
3354 if test ${ac_cv_prog_AWK+y}
3355 then :
3356 printf %s "(cached) " >&6
3357 else case e in #(
3358 e) if test -n "$AWK"; then
3359 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3360 else
3361 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3362 for as_dir in $PATH
3363 do
3364 IFS=$as_save_IFS
3365 case $as_dir in #(((
3366 '') as_dir=./ ;;
3367 */) ;;
3368 *) as_dir=$as_dir/ ;;
3369 esac
3370 for ac_exec_ext in '' $ac_executable_extensions; do
3371 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3372 ac_cv_prog_AWK="$ac_prog"
3373 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3374 break 2
3375 fi
3376 done
3377 done
3378 IFS=$as_save_IFS
3379
3380 fi ;;
3381 esac
3382 fi
3383 AWK=$ac_cv_prog_AWK
3384 if test -n "$AWK"; then
3385 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3386 printf "%s\n" "$AWK" >&6; }
3387 else
3388 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3389 printf "%s\n" "no" >&6; }
3390 fi
3391
3392
3393 test -n "$AWK" && break
3394 done
3395
3396 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3397 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3398 set x ${MAKE-make}
3399 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3400 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
3401 then :
3402 printf %s "(cached) " >&6
3403 else case e in #(
3404 e) cat >conftest.make <<\_ACEOF
3405 SHELL = /bin/sh
3406 all:
3407 @echo '@@@%%%=$(MAKE)=@@@%%%'
3408 _ACEOF
3409 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3410 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3411 *@@@%%%=?*=@@@%%%*)
3412 eval ac_cv_prog_make_${ac_make}_set=yes;;
3413 *)
3414 eval ac_cv_prog_make_${ac_make}_set=no;;
3415 esac
3416 rm -f conftest.make ;;
3417 esac
3418 fi
3419 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3420 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3421 printf "%s\n" "yes" >&6; }
3422 SET_MAKE=
3423 else
3424 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3425 printf "%s\n" "no" >&6; }
3426 SET_MAKE="MAKE=${MAKE-make}"
3427 fi
3428
3429 rm -rf .tst 2>/dev/null
3430 mkdir .tst 2>/dev/null
3431 if test -d .tst; then
3432 am__leading_dot=.
3433 else
3434 am__leading_dot=_
3435 fi
3436 rmdir .tst 2>/dev/null
3437
3438 AM_DEFAULT_VERBOSITY=1
3439 # Check whether --enable-silent-rules was given.
3440 if test ${enable_silent_rules+y}
3441 then :
3442 enableval=$enable_silent_rules;
3443 fi
3444
3445 am_make=${MAKE-make}
3446 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3447 printf %s "checking whether $am_make supports nested variables... " >&6; }
3448 if test ${am_cv_make_support_nested_variables+y}
3449 then :
3450 printf %s "(cached) " >&6
3451 else case e in #(
3452 e) if printf "%s\n" 'TRUE=$(BAR$(V))
3453 BAR0=false
3454 BAR1=true
3455 V=1
3456 am__doit:
3457 @$(TRUE)
3458 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3459 am_cv_make_support_nested_variables=yes
3460 else
3461 am_cv_make_support_nested_variables=no
3462 fi ;;
3463 esac
3464 fi
3465 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3466 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
3467 AM_BACKSLASH='\'
3468
3469 am__rm_f_notfound=
3470 if (rm -f && rm -fr && rm -rf) 2>/dev/null
3471 then :
3472
3473 else case e in #(
3474 e) am__rm_f_notfound='""' ;;
3475 esac
3476 fi
3477
3478
3479 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking xargs -n works" >&5
3480 printf %s "checking xargs -n works... " >&6; }
3481 if test ${am_cv_xargs_n_works+y}
3482 then :
3483 printf %s "(cached) " >&6
3484 else case e in #(
3485 e) if test "`echo 1 2 3 | xargs -n2 echo`" = "1 2
3486 3"
3487 then :
3488 am_cv_xargs_n_works=yes
3489 else case e in #(
3490 e) am_cv_xargs_n_works=no ;;
3491 esac
3492 fi ;;
3493 esac
3494 fi
3495 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_xargs_n_works" >&5
3496 printf "%s\n" "$am_cv_xargs_n_works" >&6; }
3497 if test "$am_cv_xargs_n_works" = yes
3498 then :
3499 am__xargs_n='xargs -n'
3500 else case e in #(
3501 e) am__xargs_n='am__xargs_n () { shift; sed "s/ /\\n/g" | while read am__xargs_n_arg; do "" "$am__xargs_n_arg"; done; }'
3502 ;;
3503 esac
3504 fi
3505
3506
3507
3508
3509
3510
3511
3512
3513
3514
3515 DEPDIR="${am__leading_dot}deps"
3516
3517 ac_config_commands="$ac_config_commands depfiles"
3518
3519 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
3520 printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; }
3521 cat > confinc.mk << 'END'
3522 am__doit:
3523 @echo this is the am__doit target >confinc.out
3524 .PHONY: am__doit
3525 END
3526 am__include="#"
3527 am__quote=
3528 # BSD make does it like this.
3529 echo '.include "confinc.mk" # ignored' > confmf.BSD
3530 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
3531 echo 'include confinc.mk # ignored' > confmf.GNU
3532 _am_result=no
3533 for s in GNU BSD; do
3534 { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
3535 (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
3536 ac_status=$?
3537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3538 (exit $ac_status); }
3539 case $?:`cat confinc.out 2>/dev/null` in #(
3540 '0:this is the am__doit target') :
3541 case $s in #(
3542 BSD) :
3543 am__include='.include' am__quote='"' ;; #(
3544 *) :
3545 am__include='include' am__quote='' ;;
3546 esac ;; #(
3547 *) :
3548 ;;
3549 esac
3550 if test "$am__include" != "#"; then
3551 _am_result="yes ($s style)"
3552 break
3553 fi
3554 done
3555 rm -f confinc.* confmf.*
3556 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
3557 printf "%s\n" "${_am_result}" >&6; }
3558
3559 # Check whether --enable-dependency-tracking was given.
3560 if test ${enable_dependency_tracking+y}
3561 then :
3562 enableval=$enable_dependency_tracking;
3563 fi
3564
3565 if test "x$enable_dependency_tracking" != xno; then
3566 am_depcomp="$ac_aux_dir/depcomp"
3567 AMDEPBACKSLASH='\'
3568 am__nodep='_no'
3569 fi
3570 if test "x$enable_dependency_tracking" != xno; then
3571 AMDEP_TRUE=
3572 AMDEP_FALSE='#'
3573 else
3574 AMDEP_TRUE='#'
3575 AMDEP_FALSE=
3576 fi
3577
3578
3579 ac_ext=c
3580 ac_cpp='$CPP $CPPFLAGS'
3581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3584 if test -n "$ac_tool_prefix"; then
3585 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3586 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3587 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3588 printf %s "checking for $ac_word... " >&6; }
3589 if test ${ac_cv_prog_CC+y}
3590 then :
3591 printf %s "(cached) " >&6
3592 else case e in #(
3593 e) if test -n "$CC"; then
3594 ac_cv_prog_CC="$CC" # Let the user override the test.
3595 else
3596 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3597 for as_dir in $PATH
3598 do
3599 IFS=$as_save_IFS
3600 case $as_dir in #(((
3601 '') as_dir=./ ;;
3602 */) ;;
3603 *) as_dir=$as_dir/ ;;
3604 esac
3605 for ac_exec_ext in '' $ac_executable_extensions; do
3606 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3607 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3608 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3609 break 2
3610 fi
3611 done
3612 done
3613 IFS=$as_save_IFS
3614
3615 fi ;;
3616 esac
3617 fi
3618 CC=$ac_cv_prog_CC
3619 if test -n "$CC"; then
3620 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3621 printf "%s\n" "$CC" >&6; }
3622 else
3623 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3624 printf "%s\n" "no" >&6; }
3625 fi
3626
3627
3628 fi
3629 if test -z "$ac_cv_prog_CC"; then
3630 ac_ct_CC=$CC
3631 # Extract the first word of "gcc", so it can be a program name with args.
3632 set dummy gcc; ac_word=$2
3633 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3634 printf %s "checking for $ac_word... " >&6; }
3635 if test ${ac_cv_prog_ac_ct_CC+y}
3636 then :
3637 printf %s "(cached) " >&6
3638 else case e in #(
3639 e) if test -n "$ac_ct_CC"; then
3640 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3641 else
3642 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3643 for as_dir in $PATH
3644 do
3645 IFS=$as_save_IFS
3646 case $as_dir in #(((
3647 '') as_dir=./ ;;
3648 */) ;;
3649 *) as_dir=$as_dir/ ;;
3650 esac
3651 for ac_exec_ext in '' $ac_executable_extensions; do
3652 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3653 ac_cv_prog_ac_ct_CC="gcc"
3654 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3655 break 2
3656 fi
3657 done
3658 done
3659 IFS=$as_save_IFS
3660
3661 fi ;;
3662 esac
3663 fi
3664 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3665 if test -n "$ac_ct_CC"; then
3666 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3667 printf "%s\n" "$ac_ct_CC" >&6; }
3668 else
3669 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3670 printf "%s\n" "no" >&6; }
3671 fi
3672
3673 if test "x$ac_ct_CC" = x; then
3674 CC=""
3675 else
3676 case $cross_compiling:$ac_tool_warned in
3677 yes:)
3678 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3679 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3680 ac_tool_warned=yes ;;
3681 esac
3682 CC=$ac_ct_CC
3683 fi
3684 else
3685 CC="$ac_cv_prog_CC"
3686 fi
3687
3688 if test -z "$CC"; then
3689 if test -n "$ac_tool_prefix"; then
3690 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3691 set dummy ${ac_tool_prefix}cc; ac_word=$2
3692 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3693 printf %s "checking for $ac_word... " >&6; }
3694 if test ${ac_cv_prog_CC+y}
3695 then :
3696 printf %s "(cached) " >&6
3697 else case e in #(
3698 e) if test -n "$CC"; then
3699 ac_cv_prog_CC="$CC" # Let the user override the test.
3700 else
3701 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3702 for as_dir in $PATH
3703 do
3704 IFS=$as_save_IFS
3705 case $as_dir in #(((
3706 '') as_dir=./ ;;
3707 */) ;;
3708 *) as_dir=$as_dir/ ;;
3709 esac
3710 for ac_exec_ext in '' $ac_executable_extensions; do
3711 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3712 ac_cv_prog_CC="${ac_tool_prefix}cc"
3713 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3714 break 2
3715 fi
3716 done
3717 done
3718 IFS=$as_save_IFS
3719
3720 fi ;;
3721 esac
3722 fi
3723 CC=$ac_cv_prog_CC
3724 if test -n "$CC"; then
3725 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3726 printf "%s\n" "$CC" >&6; }
3727 else
3728 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3729 printf "%s\n" "no" >&6; }
3730 fi
3731
3732
3733 fi
3734 fi
3735 if test -z "$CC"; then
3736 # Extract the first word of "cc", so it can be a program name with args.
3737 set dummy cc; ac_word=$2
3738 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3739 printf %s "checking for $ac_word... " >&6; }
3740 if test ${ac_cv_prog_CC+y}
3741 then :
3742 printf %s "(cached) " >&6
3743 else case e in #(
3744 e) if test -n "$CC"; then
3745 ac_cv_prog_CC="$CC" # Let the user override the test.
3746 else
3747 ac_prog_rejected=no
3748 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3749 for as_dir in $PATH
3750 do
3751 IFS=$as_save_IFS
3752 case $as_dir in #(((
3753 '') as_dir=./ ;;
3754 */) ;;
3755 *) as_dir=$as_dir/ ;;
3756 esac
3757 for ac_exec_ext in '' $ac_executable_extensions; do
3758 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3759 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3760 ac_prog_rejected=yes
3761 continue
3762 fi
3763 ac_cv_prog_CC="cc"
3764 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3765 break 2
3766 fi
3767 done
3768 done
3769 IFS=$as_save_IFS
3770
3771 if test $ac_prog_rejected = yes; then
3772 # We found a bogon in the path, so make sure we never use it.
3773 set dummy $ac_cv_prog_CC
3774 shift
3775 if test $# != 0; then
3776 # We chose a different compiler from the bogus one.
3777 # However, it has the same basename, so the bogon will be chosen
3778 # first if we set CC to just the basename; use the full file name.
3779 shift
3780 ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
3781 fi
3782 fi
3783 fi ;;
3784 esac
3785 fi
3786 CC=$ac_cv_prog_CC
3787 if test -n "$CC"; then
3788 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3789 printf "%s\n" "$CC" >&6; }
3790 else
3791 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3792 printf "%s\n" "no" >&6; }
3793 fi
3794
3795
3796 fi
3797 if test -z "$CC"; then
3798 if test -n "$ac_tool_prefix"; then
3799 for ac_prog in cl.exe
3800 do
3801 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3802 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3803 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3804 printf %s "checking for $ac_word... " >&6; }
3805 if test ${ac_cv_prog_CC+y}
3806 then :
3807 printf %s "(cached) " >&6
3808 else case e in #(
3809 e) if test -n "$CC"; then
3810 ac_cv_prog_CC="$CC" # Let the user override the test.
3811 else
3812 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3813 for as_dir in $PATH
3814 do
3815 IFS=$as_save_IFS
3816 case $as_dir in #(((
3817 '') as_dir=./ ;;
3818 */) ;;
3819 *) as_dir=$as_dir/ ;;
3820 esac
3821 for ac_exec_ext in '' $ac_executable_extensions; do
3822 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3823 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3824 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3825 break 2
3826 fi
3827 done
3828 done
3829 IFS=$as_save_IFS
3830
3831 fi ;;
3832 esac
3833 fi
3834 CC=$ac_cv_prog_CC
3835 if test -n "$CC"; then
3836 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3837 printf "%s\n" "$CC" >&6; }
3838 else
3839 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3840 printf "%s\n" "no" >&6; }
3841 fi
3842
3843
3844 test -n "$CC" && break
3845 done
3846 fi
3847 if test -z "$CC"; then
3848 ac_ct_CC=$CC
3849 for ac_prog in cl.exe
3850 do
3851 # Extract the first word of "$ac_prog", so it can be a program name with args.
3852 set dummy $ac_prog; ac_word=$2
3853 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3854 printf %s "checking for $ac_word... " >&6; }
3855 if test ${ac_cv_prog_ac_ct_CC+y}
3856 then :
3857 printf %s "(cached) " >&6
3858 else case e in #(
3859 e) if test -n "$ac_ct_CC"; then
3860 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3861 else
3862 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3863 for as_dir in $PATH
3864 do
3865 IFS=$as_save_IFS
3866 case $as_dir in #(((
3867 '') as_dir=./ ;;
3868 */) ;;
3869 *) as_dir=$as_dir/ ;;
3870 esac
3871 for ac_exec_ext in '' $ac_executable_extensions; do
3872 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3873 ac_cv_prog_ac_ct_CC="$ac_prog"
3874 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3875 break 2
3876 fi
3877 done
3878 done
3879 IFS=$as_save_IFS
3880
3881 fi ;;
3882 esac
3883 fi
3884 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3885 if test -n "$ac_ct_CC"; then
3886 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3887 printf "%s\n" "$ac_ct_CC" >&6; }
3888 else
3889 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3890 printf "%s\n" "no" >&6; }
3891 fi
3892
3893
3894 test -n "$ac_ct_CC" && break
3895 done
3896
3897 if test "x$ac_ct_CC" = x; then
3898 CC=""
3899 else
3900 case $cross_compiling:$ac_tool_warned in
3901 yes:)
3902 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3903 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3904 ac_tool_warned=yes ;;
3905 esac
3906 CC=$ac_ct_CC
3907 fi
3908 fi
3909
3910 fi
3911 if test -z "$CC"; then
3912 if test -n "$ac_tool_prefix"; then
3913 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
3914 set dummy ${ac_tool_prefix}clang; ac_word=$2
3915 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3916 printf %s "checking for $ac_word... " >&6; }
3917 if test ${ac_cv_prog_CC+y}
3918 then :
3919 printf %s "(cached) " >&6
3920 else case e in #(
3921 e) if test -n "$CC"; then
3922 ac_cv_prog_CC="$CC" # Let the user override the test.
3923 else
3924 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3925 for as_dir in $PATH
3926 do
3927 IFS=$as_save_IFS
3928 case $as_dir in #(((
3929 '') as_dir=./ ;;
3930 */) ;;
3931 *) as_dir=$as_dir/ ;;
3932 esac
3933 for ac_exec_ext in '' $ac_executable_extensions; do
3934 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3935 ac_cv_prog_CC="${ac_tool_prefix}clang"
3936 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3937 break 2
3938 fi
3939 done
3940 done
3941 IFS=$as_save_IFS
3942
3943 fi ;;
3944 esac
3945 fi
3946 CC=$ac_cv_prog_CC
3947 if test -n "$CC"; then
3948 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3949 printf "%s\n" "$CC" >&6; }
3950 else
3951 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3952 printf "%s\n" "no" >&6; }
3953 fi
3954
3955
3956 fi
3957 if test -z "$ac_cv_prog_CC"; then
3958 ac_ct_CC=$CC
3959 # Extract the first word of "clang", so it can be a program name with args.
3960 set dummy clang; ac_word=$2
3961 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3962 printf %s "checking for $ac_word... " >&6; }
3963 if test ${ac_cv_prog_ac_ct_CC+y}
3964 then :
3965 printf %s "(cached) " >&6
3966 else case e in #(
3967 e) if test -n "$ac_ct_CC"; then
3968 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3969 else
3970 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3971 for as_dir in $PATH
3972 do
3973 IFS=$as_save_IFS
3974 case $as_dir in #(((
3975 '') as_dir=./ ;;
3976 */) ;;
3977 *) as_dir=$as_dir/ ;;
3978 esac
3979 for ac_exec_ext in '' $ac_executable_extensions; do
3980 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3981 ac_cv_prog_ac_ct_CC="clang"
3982 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3983 break 2
3984 fi
3985 done
3986 done
3987 IFS=$as_save_IFS
3988
3989 fi ;;
3990 esac
3991 fi
3992 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3993 if test -n "$ac_ct_CC"; then
3994 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3995 printf "%s\n" "$ac_ct_CC" >&6; }
3996 else
3997 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3998 printf "%s\n" "no" >&6; }
3999 fi
4000
4001 if test "x$ac_ct_CC" = x; then
4002 CC=""
4003 else
4004 case $cross_compiling:$ac_tool_warned in
4005 yes:)
4006 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4007 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4008 ac_tool_warned=yes ;;
4009 esac
4010 CC=$ac_ct_CC
4011 fi
4012 else
4013 CC="$ac_cv_prog_CC"
4014 fi
4015
4016 fi
4017
4018
4019 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
4020 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
4021 as_fn_error $? "no acceptable C compiler found in \$PATH
4022 See 'config.log' for more details" "$LINENO" 5; }
4023
4024 # Provide some information about the compiler.
4025 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4026 set X $ac_compile
4027 ac_compiler=$2
4028 for ac_option in --version -v -V -qversion -version; do
4029 { { ac_try="$ac_compiler $ac_option >&5"
4030 case "(($ac_try" in
4031 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4032 *) ac_try_echo=$ac_try;;
4033 esac
4034 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4035 printf "%s\n" "$ac_try_echo"; } >&5
4036 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4037 ac_status=$?
4038 if test -s conftest.err; then
4039 sed '10a\
4040 ... rest of stderr output deleted ...
4041 10q' conftest.err >conftest.er1
4042 cat conftest.er1 >&5
4043 fi
4044 rm -f conftest.er1 conftest.err
4045 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4046 test $ac_status = 0; }
4047 done
4048
4049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4050 /* end confdefs.h. */
4051
4052 int
4053 main (void)
4054 {
4055
4056 ;
4057 return 0;
4058 }
4059 _ACEOF
4060 ac_clean_files_save=$ac_clean_files
4061 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4062 # Try to create an executable without -o first, disregard a.out.
4063 # It will help us diagnose broken compilers, and finding out an intuition
4064 # of exeext.
4065 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4066 printf %s "checking whether the C compiler works... " >&6; }
4067 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4068
4069 # The possible output files:
4070 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4071
4072 ac_rmfiles=
4073 for ac_file in $ac_files
4074 do
4075 case $ac_file in
4076 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4077 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4078 esac
4079 done
4080 rm -f $ac_rmfiles
4081
4082 if { { ac_try="$ac_link_default"
4083 case "(($ac_try" in
4084 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4085 *) ac_try_echo=$ac_try;;
4086 esac
4087 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4088 printf "%s\n" "$ac_try_echo"; } >&5
4089 (eval "$ac_link_default") 2>&5
4090 ac_status=$?
4091 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4092 test $ac_status = 0; }
4093 then :
4094 # Autoconf-2.13 could set the ac_cv_exeext variable to 'no'.
4095 # So ignore a value of 'no', otherwise this would lead to 'EXEEXT = no'
4096 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4097 # so that the user can short-circuit this test for compilers unknown to
4098 # Autoconf.
4099 for ac_file in $ac_files ''
4100 do
4101 test -f "$ac_file" || continue
4102 case $ac_file in
4103 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4104 ;;
4105 [ab].out )
4106 # We found the default executable, but exeext='' is most
4107 # certainly right.
4108 break;;
4109 *.* )
4110 if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
4111 then :; else
4112 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4113 fi
4114 # We set ac_cv_exeext here because the later test for it is not
4115 # safe: cross compilers may not add the suffix if given an '-o'
4116 # argument, so we may need to know it at that point already.
4117 # Even if this section looks crufty: it has the advantage of
4118 # actually working.
4119 break;;
4120 * )
4121 break;;
4122 esac
4123 done
4124 test "$ac_cv_exeext" = no && ac_cv_exeext=
4125
4126 else case e in #(
4127 e) ac_file='' ;;
4128 esac
4129 fi
4130 if test -z "$ac_file"
4131 then :
4132 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4133 printf "%s\n" "no" >&6; }
4134 printf "%s\n" "$as_me: failed program was:" >&5
4135 sed 's/^/| /' conftest.$ac_ext >&5
4136
4137 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
4138 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
4139 as_fn_error 77 "C compiler cannot create executables
4140 See 'config.log' for more details" "$LINENO" 5; }
4141 else case e in #(
4142 e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4143 printf "%s\n" "yes" >&6; } ;;
4144 esac
4145 fi
4146 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4147 printf %s "checking for C compiler default output file name... " >&6; }
4148 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4149 printf "%s\n" "$ac_file" >&6; }
4150 ac_exeext=$ac_cv_exeext
4151
4152 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4153 ac_clean_files=$ac_clean_files_save
4154 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4155 printf %s "checking for suffix of executables... " >&6; }
4156 if { { ac_try="$ac_link"
4157 case "(($ac_try" in
4158 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4159 *) ac_try_echo=$ac_try;;
4160 esac
4161 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4162 printf "%s\n" "$ac_try_echo"; } >&5
4163 (eval "$ac_link") 2>&5
4164 ac_status=$?
4165 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4166 test $ac_status = 0; }
4167 then :
4168 # If both 'conftest.exe' and 'conftest' are 'present' (well, observable)
4169 # catch 'conftest.exe'. For instance with Cygwin, 'ls conftest' will
4170 # work properly (i.e., refer to 'conftest.exe'), while it won't with
4171 # 'rm'.
4172 for ac_file in conftest.exe conftest conftest.*; do
4173 test -f "$ac_file" || continue
4174 case $ac_file in
4175 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4176 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4177 break;;
4178 * ) break;;
4179 esac
4180 done
4181 else case e in #(
4182 e) { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
4183 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
4184 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4185 See 'config.log' for more details" "$LINENO" 5; } ;;
4186 esac
4187 fi
4188 rm -f conftest conftest$ac_cv_exeext
4189 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4190 printf "%s\n" "$ac_cv_exeext" >&6; }
4191
4192 rm -f conftest.$ac_ext
4193 EXEEXT=$ac_cv_exeext
4194 ac_exeext=$EXEEXT
4195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4196 /* end confdefs.h. */
4197 #include <stdio.h>
4198 int
4199 main (void)
4200 {
4201 FILE *f = fopen ("conftest.out", "w");
4202 if (!f)
4203 return 1;
4204 return ferror (f) || fclose (f) != 0;
4205
4206 ;
4207 return 0;
4208 }
4209 _ACEOF
4210 ac_clean_files="$ac_clean_files conftest.out"
4211 # Check that the compiler produces executables we can run. If not, either
4212 # the compiler is broken, or we cross compile.
4213 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4214 printf %s "checking whether we are cross compiling... " >&6; }
4215 if test "$cross_compiling" != yes; then
4216 { { ac_try="$ac_link"
4217 case "(($ac_try" in
4218 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4219 *) ac_try_echo=$ac_try;;
4220 esac
4221 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4222 printf "%s\n" "$ac_try_echo"; } >&5
4223 (eval "$ac_link") 2>&5
4224 ac_status=$?
4225 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4226 test $ac_status = 0; }
4227 if { ac_try='./conftest$ac_cv_exeext'
4228 { { case "(($ac_try" in
4229 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4230 *) ac_try_echo=$ac_try;;
4231 esac
4232 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4233 printf "%s\n" "$ac_try_echo"; } >&5
4234 (eval "$ac_try") 2>&5
4235 ac_status=$?
4236 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4237 test $ac_status = 0; }; }; then
4238 cross_compiling=no
4239 else
4240 if test "$cross_compiling" = maybe; then
4241 cross_compiling=yes
4242 else
4243 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
4244 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
4245 as_fn_error 77 "cannot run C compiled programs.
4246 If you meant to cross compile, use '--host'.
4247 See 'config.log' for more details" "$LINENO" 5; }
4248 fi
4249 fi
4250 fi
4251 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4252 printf "%s\n" "$cross_compiling" >&6; }
4253
4254 rm -f conftest.$ac_ext conftest$ac_cv_exeext \
4255 conftest.o conftest.obj conftest.out
4256 ac_clean_files=$ac_clean_files_save
4257 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4258 printf %s "checking for suffix of object files... " >&6; }
4259 if test ${ac_cv_objext+y}
4260 then :
4261 printf %s "(cached) " >&6
4262 else case e in #(
4263 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4264 /* end confdefs.h. */
4265
4266 int
4267 main (void)
4268 {
4269
4270 ;
4271 return 0;
4272 }
4273 _ACEOF
4274 rm -f conftest.o conftest.obj
4275 if { { ac_try="$ac_compile"
4276 case "(($ac_try" in
4277 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4278 *) ac_try_echo=$ac_try;;
4279 esac
4280 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4281 printf "%s\n" "$ac_try_echo"; } >&5
4282 (eval "$ac_compile") 2>&5
4283 ac_status=$?
4284 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4285 test $ac_status = 0; }
4286 then :
4287 for ac_file in conftest.o conftest.obj conftest.*; do
4288 test -f "$ac_file" || continue;
4289 case $ac_file in
4290 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4291 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4292 break;;
4293 esac
4294 done
4295 else case e in #(
4296 e) printf "%s\n" "$as_me: failed program was:" >&5
4297 sed 's/^/| /' conftest.$ac_ext >&5
4298
4299 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
4300 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
4301 as_fn_error $? "cannot compute suffix of object files: cannot compile
4302 See 'config.log' for more details" "$LINENO" 5; } ;;
4303 esac
4304 fi
4305 rm -f conftest.$ac_cv_objext conftest.$ac_ext ;;
4306 esac
4307 fi
4308 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4309 printf "%s\n" "$ac_cv_objext" >&6; }
4310 OBJEXT=$ac_cv_objext
4311 ac_objext=$OBJEXT
4312 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
4313 printf %s "checking whether the compiler supports GNU C... " >&6; }
4314 if test ${ac_cv_c_compiler_gnu+y}
4315 then :
4316 printf %s "(cached) " >&6
4317 else case e in #(
4318 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4319 /* end confdefs.h. */
4320
4321 int
4322 main (void)
4323 {
4324 #ifndef __GNUC__
4325 choke me
4326 #endif
4327
4328 ;
4329 return 0;
4330 }
4331 _ACEOF
4332 if ac_fn_c_try_compile "$LINENO"
4333 then :
4334 ac_compiler_gnu=yes
4335 else case e in #(
4336 e) ac_compiler_gnu=no ;;
4337 esac
4338 fi
4339 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4340 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4341 ;;
4342 esac
4343 fi
4344 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4345 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
4346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4347
4348 if test $ac_compiler_gnu = yes; then
4349 GCC=yes
4350 else
4351 GCC=
4352 fi
4353 ac_test_CFLAGS=${CFLAGS+y}
4354 ac_save_CFLAGS=$CFLAGS
4355 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4356 printf %s "checking whether $CC accepts -g... " >&6; }
4357 if test ${ac_cv_prog_cc_g+y}
4358 then :
4359 printf %s "(cached) " >&6
4360 else case e in #(
4361 e) ac_save_c_werror_flag=$ac_c_werror_flag
4362 ac_c_werror_flag=yes
4363 ac_cv_prog_cc_g=no
4364 CFLAGS="-g"
4365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4366 /* end confdefs.h. */
4367
4368 int
4369 main (void)
4370 {
4371
4372 ;
4373 return 0;
4374 }
4375 _ACEOF
4376 if ac_fn_c_try_compile "$LINENO"
4377 then :
4378 ac_cv_prog_cc_g=yes
4379 else case e in #(
4380 e) CFLAGS=""
4381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4382 /* end confdefs.h. */
4383
4384 int
4385 main (void)
4386 {
4387
4388 ;
4389 return 0;
4390 }
4391 _ACEOF
4392 if ac_fn_c_try_compile "$LINENO"
4393 then :
4394
4395 else case e in #(
4396 e) ac_c_werror_flag=$ac_save_c_werror_flag
4397 CFLAGS="-g"
4398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4399 /* end confdefs.h. */
4400
4401 int
4402 main (void)
4403 {
4404
4405 ;
4406 return 0;
4407 }
4408 _ACEOF
4409 if ac_fn_c_try_compile "$LINENO"
4410 then :
4411 ac_cv_prog_cc_g=yes
4412 fi
4413 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
4414 esac
4415 fi
4416 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
4417 esac
4418 fi
4419 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4420 ac_c_werror_flag=$ac_save_c_werror_flag ;;
4421 esac
4422 fi
4423 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4424 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
4425 if test $ac_test_CFLAGS; then
4426 CFLAGS=$ac_save_CFLAGS
4427 elif test $ac_cv_prog_cc_g = yes; then
4428 if test "$GCC" = yes; then
4429 CFLAGS="-g -O2"
4430 else
4431 CFLAGS="-g"
4432 fi
4433 else
4434 if test "$GCC" = yes; then
4435 CFLAGS="-O2"
4436 else
4437 CFLAGS=
4438 fi
4439 fi
4440 ac_prog_cc_stdc=no
4441 if test x$ac_prog_cc_stdc = xno
4442 then :
4443 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
4444 printf %s "checking for $CC option to enable C11 features... " >&6; }
4445 if test ${ac_cv_prog_cc_c11+y}
4446 then :
4447 printf %s "(cached) " >&6
4448 else case e in #(
4449 e) ac_cv_prog_cc_c11=no
4450 ac_save_CC=$CC
4451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4452 /* end confdefs.h. */
4453 $ac_c_conftest_c11_program
4454 _ACEOF
4455 for ac_arg in '' -std=gnu11
4456 do
4457 CC="$ac_save_CC $ac_arg"
4458 if ac_fn_c_try_compile "$LINENO"
4459 then :
4460 ac_cv_prog_cc_c11=$ac_arg
4461 fi
4462 rm -f core conftest.err conftest.$ac_objext conftest.beam
4463 test "x$ac_cv_prog_cc_c11" != "xno" && break
4464 done
4465 rm -f conftest.$ac_ext
4466 CC=$ac_save_CC ;;
4467 esac
4468 fi
4469
4470 if test "x$ac_cv_prog_cc_c11" = xno
4471 then :
4472 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4473 printf "%s\n" "unsupported" >&6; }
4474 else case e in #(
4475 e) if test "x$ac_cv_prog_cc_c11" = x
4476 then :
4477 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4478 printf "%s\n" "none needed" >&6; }
4479 else case e in #(
4480 e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
4481 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
4482 CC="$CC $ac_cv_prog_cc_c11" ;;
4483 esac
4484 fi
4485 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
4486 ac_prog_cc_stdc=c11 ;;
4487 esac
4488 fi
4489 fi
4490 if test x$ac_prog_cc_stdc = xno
4491 then :
4492 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
4493 printf %s "checking for $CC option to enable C99 features... " >&6; }
4494 if test ${ac_cv_prog_cc_c99+y}
4495 then :
4496 printf %s "(cached) " >&6
4497 else case e in #(
4498 e) ac_cv_prog_cc_c99=no
4499 ac_save_CC=$CC
4500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4501 /* end confdefs.h. */
4502 $ac_c_conftest_c99_program
4503 _ACEOF
4504 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
4505 do
4506 CC="$ac_save_CC $ac_arg"
4507 if ac_fn_c_try_compile "$LINENO"
4508 then :
4509 ac_cv_prog_cc_c99=$ac_arg
4510 fi
4511 rm -f core conftest.err conftest.$ac_objext conftest.beam
4512 test "x$ac_cv_prog_cc_c99" != "xno" && break
4513 done
4514 rm -f conftest.$ac_ext
4515 CC=$ac_save_CC ;;
4516 esac
4517 fi
4518
4519 if test "x$ac_cv_prog_cc_c99" = xno
4520 then :
4521 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4522 printf "%s\n" "unsupported" >&6; }
4523 else case e in #(
4524 e) if test "x$ac_cv_prog_cc_c99" = x
4525 then :
4526 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4527 printf "%s\n" "none needed" >&6; }
4528 else case e in #(
4529 e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
4530 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
4531 CC="$CC $ac_cv_prog_cc_c99" ;;
4532 esac
4533 fi
4534 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
4535 ac_prog_cc_stdc=c99 ;;
4536 esac
4537 fi
4538 fi
4539 if test x$ac_prog_cc_stdc = xno
4540 then :
4541 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
4542 printf %s "checking for $CC option to enable C89 features... " >&6; }
4543 if test ${ac_cv_prog_cc_c89+y}
4544 then :
4545 printf %s "(cached) " >&6
4546 else case e in #(
4547 e) ac_cv_prog_cc_c89=no
4548 ac_save_CC=$CC
4549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4550 /* end confdefs.h. */
4551 $ac_c_conftest_c89_program
4552 _ACEOF
4553 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4554 do
4555 CC="$ac_save_CC $ac_arg"
4556 if ac_fn_c_try_compile "$LINENO"
4557 then :
4558 ac_cv_prog_cc_c89=$ac_arg
4559 fi
4560 rm -f core conftest.err conftest.$ac_objext conftest.beam
4561 test "x$ac_cv_prog_cc_c89" != "xno" && break
4562 done
4563 rm -f conftest.$ac_ext
4564 CC=$ac_save_CC ;;
4565 esac
4566 fi
4567
4568 if test "x$ac_cv_prog_cc_c89" = xno
4569 then :
4570 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4571 printf "%s\n" "unsupported" >&6; }
4572 else case e in #(
4573 e) if test "x$ac_cv_prog_cc_c89" = x
4574 then :
4575 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4576 printf "%s\n" "none needed" >&6; }
4577 else case e in #(
4578 e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4579 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
4580 CC="$CC $ac_cv_prog_cc_c89" ;;
4581 esac
4582 fi
4583 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
4584 ac_prog_cc_stdc=c89 ;;
4585 esac
4586 fi
4587 fi
4588
4589 ac_ext=c
4590 ac_cpp='$CPP $CPPFLAGS'
4591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4594
4595
4596 ac_ext=c
4597 ac_cpp='$CPP $CPPFLAGS'
4598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4601 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4602 printf %s "checking whether $CC understands -c and -o together... " >&6; }
4603 if test ${am_cv_prog_cc_c_o+y}
4604 then :
4605 printf %s "(cached) " >&6
4606 else case e in #(
4607 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4608 /* end confdefs.h. */
4609
4610 int
4611 main (void)
4612 {
4613
4614 ;
4615 return 0;
4616 }
4617 _ACEOF
4618 # Make sure it works both with $CC and with simple cc.
4619 # Following AC_PROG_CC_C_O, we do the test twice because some
4620 # compilers refuse to overwrite an existing .o file with -o,
4621 # though they will create one.
4622 am_cv_prog_cc_c_o=yes
4623 for am_i in 1 2; do
4624 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4625 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4626 ac_status=$?
4627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4628 (exit $ac_status); } \
4629 && test -f conftest2.$ac_objext; then
4630 : OK
4631 else
4632 am_cv_prog_cc_c_o=no
4633 break
4634 fi
4635 done
4636 # aligned with autoconf, so not including core; see bug#72225.
4637 rm -f -r a.out a.exe b.out conftest.$ac_ext conftest.$ac_objext \
4638 conftest.dSYM conftest1.$ac_ext conftest1.$ac_objext conftest1.dSYM \
4639 conftest2.$ac_ext conftest2.$ac_objext conftest2.dSYM
4640 unset am_i ;;
4641 esac
4642 fi
4643 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4644 printf "%s\n" "$am_cv_prog_cc_c_o" >&6; }
4645 if test "$am_cv_prog_cc_c_o" != yes; then
4646 # Losing compiler, so override with the script.
4647 # FIXME: It is wrong to rewrite CC.
4648 # But if we don't then we get into trouble of one sort or another.
4649 # A longer-term fix would be to have automake use am__CC in this case,
4650 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4651 CC="$am_aux_dir/compile $CC"
4652 fi
4653 ac_ext=c
4654 ac_cpp='$CPP $CPPFLAGS'
4655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4658
4659
4660 depcc="$CC" am_compiler_list=
4661
4662 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4663 printf %s "checking dependency style of $depcc... " >&6; }
4664 if test ${am_cv_CC_dependencies_compiler_type+y}
4665 then :
4666 printf %s "(cached) " >&6
4667 else case e in #(
4668 e) if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4669 # We make a subdir and do the tests there. Otherwise we can end up
4670 # making bogus files that we don't know about and never remove. For
4671 # instance it was reported that on HP-UX the gcc test will end up
4672 # making a dummy file named 'D' -- because '-MD' means "put the output
4673 # in D".
4674 rm -rf conftest.dir
4675 mkdir conftest.dir
4676 # Copy depcomp to subdir because otherwise we won't find it if we're
4677 # using a relative directory.
4678 cp "$am_depcomp" conftest.dir
4679 cd conftest.dir
4680 # We will build objects and dependencies in a subdirectory because
4681 # it helps to detect inapplicable dependency modes. For instance
4682 # both Tru64's cc and ICC support -MD to output dependencies as a
4683 # side effect of compilation, but ICC will put the dependencies in
4684 # the current directory while Tru64 will put them in the object
4685 # directory.
4686 mkdir sub
4687
4688 am_cv_CC_dependencies_compiler_type=none
4689 if test "$am_compiler_list" = ""; then
4690 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4691 fi
4692 am__universal=false
4693 case " $depcc " in #(
4694 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4695 esac
4696
4697 for depmode in $am_compiler_list; do
4698 # Setup a source with many dependencies, because some compilers
4699 # like to wrap large dependency lists on column 80 (with \), and
4700 # we should not choose a depcomp mode which is confused by this.
4701 #
4702 # We need to recreate these files for each test, as the compiler may
4703 # overwrite some of them when testing with obscure command lines.
4704 # This happens at least with the AIX C compiler.
4705 : > sub/conftest.c
4706 for i in 1 2 3 4 5 6; do
4707 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4708 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4709 # Solaris 10 /bin/sh.
4710 echo '/* dummy */' > sub/conftst$i.h
4711 done
4712 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4713
4714 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4715 # mode. It turns out that the SunPro C++ compiler does not properly
4716 # handle '-M -o', and we need to detect this. Also, some Intel
4717 # versions had trouble with output in subdirs.
4718 am__obj=sub/conftest.${OBJEXT-o}
4719 am__minus_obj="-o $am__obj"
4720 case $depmode in
4721 gcc)
4722 # This depmode causes a compiler race in universal mode.
4723 test "$am__universal" = false || continue
4724 ;;
4725 nosideeffect)
4726 # After this tag, mechanisms are not by side-effect, so they'll
4727 # only be used when explicitly requested.
4728 if test "x$enable_dependency_tracking" = xyes; then
4729 continue
4730 else
4731 break
4732 fi
4733 ;;
4734 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4735 # This compiler won't grok '-c -o', but also, the minuso test has
4736 # not run yet. These depmodes are late enough in the game, and
4737 # so weak that their functioning should not be impacted.
4738 am__obj=conftest.${OBJEXT-o}
4739 am__minus_obj=
4740 ;;
4741 none) break ;;
4742 esac
4743 if depmode=$depmode \
4744 source=sub/conftest.c object=$am__obj \
4745 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4746 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4747 >/dev/null 2>conftest.err &&
4748 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4749 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4750 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4751 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4752 # icc doesn't choke on unknown options, it will just issue warnings
4753 # or remarks (even with -Werror). So we grep stderr for any message
4754 # that says an option was ignored or not supported.
4755 # When given -MP, icc 7.0 and 7.1 complain thus:
4756 # icc: Command line warning: ignoring option '-M'; no argument required
4757 # The diagnosis changed in icc 8.0:
4758 # icc: Command line remark: option '-MP' not supported
4759 if (grep 'ignoring option' conftest.err ||
4760 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4761 am_cv_CC_dependencies_compiler_type=$depmode
4762 break
4763 fi
4764 fi
4765 done
4766
4767 cd ..
4768 rm -rf conftest.dir
4769 else
4770 am_cv_CC_dependencies_compiler_type=none
4771 fi
4772 ;;
4773 esac
4774 fi
4775 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4776 printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; }
4777 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4778
4779 if
4780 test "x$enable_dependency_tracking" != xno \
4781 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4782 am__fastdepCC_TRUE=
4783 am__fastdepCC_FALSE='#'
4784 else
4785 am__fastdepCC_TRUE='#'
4786 am__fastdepCC_FALSE=
4787 fi
4788
4789
4790
4791 ac_header= ac_cache=
4792 for ac_item in $ac_header_c_list
4793 do
4794 if test $ac_cache; then
4795 ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
4796 if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
4797 printf "%s\n" "#define $ac_item 1" >> confdefs.h
4798 fi
4799 ac_header= ac_cache=
4800 elif test $ac_header; then
4801 ac_cache=$ac_item
4802 else
4803 ac_header=$ac_item
4804 fi
4805 done
4806
4807
4808
4809
4810
4811
4812
4813
4814 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
4815 then :
4816
4817 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
4818
4819 fi
4820
4821
4822
4823
4824
4825
4826 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4827 printf %s "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4828 if test ${ac_cv_safe_to_define___extensions__+y}
4829 then :
4830 printf %s "(cached) " >&6
4831 else case e in #(
4832 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4833 /* end confdefs.h. */
4834
4835 # define __EXTENSIONS__ 1
4836 $ac_includes_default
4837 int
4838 main (void)
4839 {
4840
4841 ;
4842 return 0;
4843 }
4844 _ACEOF
4845 if ac_fn_c_try_compile "$LINENO"
4846 then :
4847 ac_cv_safe_to_define___extensions__=yes
4848 else case e in #(
4849 e) ac_cv_safe_to_define___extensions__=no ;;
4850 esac
4851 fi
4852 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
4853 esac
4854 fi
4855 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4856 printf "%s\n" "$ac_cv_safe_to_define___extensions__" >&6; }
4857
4858 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether _XOPEN_SOURCE should be defined" >&5
4859 printf %s "checking whether _XOPEN_SOURCE should be defined... " >&6; }
4860 if test ${ac_cv_should_define__xopen_source+y}
4861 then :
4862 printf %s "(cached) " >&6
4863 else case e in #(
4864 e) ac_cv_should_define__xopen_source=no
4865 if test $ac_cv_header_wchar_h = yes
4866 then :
4867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4868 /* end confdefs.h. */
4869
4870 #include <wchar.h>
4871 mbstate_t x;
4872 int
4873 main (void)
4874 {
4875
4876 ;
4877 return 0;
4878 }
4879 _ACEOF
4880 if ac_fn_c_try_compile "$LINENO"
4881 then :
4882
4883 else case e in #(
4884 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4885 /* end confdefs.h. */
4886
4887 #define _XOPEN_SOURCE 500
4888 #include <wchar.h>
4889 mbstate_t x;
4890 int
4891 main (void)
4892 {
4893
4894 ;
4895 return 0;
4896 }
4897 _ACEOF
4898 if ac_fn_c_try_compile "$LINENO"
4899 then :
4900 ac_cv_should_define__xopen_source=yes
4901 fi
4902 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
4903 esac
4904 fi
4905 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4906 fi ;;
4907 esac
4908 fi
4909 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_should_define__xopen_source" >&5
4910 printf "%s\n" "$ac_cv_should_define__xopen_source" >&6; }
4911
4912 printf "%s\n" "#define _ALL_SOURCE 1" >>confdefs.h
4913
4914 printf "%s\n" "#define _DARWIN_C_SOURCE 1" >>confdefs.h
4915
4916 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
4917
4918 printf "%s\n" "#define _HPUX_ALT_XOPEN_SOCKET_API 1" >>confdefs.h
4919
4920 printf "%s\n" "#define _NETBSD_SOURCE 1" >>confdefs.h
4921
4922 printf "%s\n" "#define _OPENBSD_SOURCE 1" >>confdefs.h
4923
4924 printf "%s\n" "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4925
4926 printf "%s\n" "#define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1" >>confdefs.h
4927
4928 printf "%s\n" "#define __STDC_WANT_IEC_60559_BFP_EXT__ 1" >>confdefs.h
4929
4930 printf "%s\n" "#define __STDC_WANT_IEC_60559_DFP_EXT__ 1" >>confdefs.h
4931
4932 printf "%s\n" "#define __STDC_WANT_IEC_60559_EXT__ 1" >>confdefs.h
4933
4934 printf "%s\n" "#define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1" >>confdefs.h
4935
4936 printf "%s\n" "#define __STDC_WANT_IEC_60559_TYPES_EXT__ 1" >>confdefs.h
4937
4938 printf "%s\n" "#define __STDC_WANT_LIB_EXT2__ 1" >>confdefs.h
4939
4940 printf "%s\n" "#define __STDC_WANT_MATH_SPEC_FUNCS__ 1" >>confdefs.h
4941
4942 printf "%s\n" "#define _TANDEM_SOURCE 1" >>confdefs.h
4943
4944 if test $ac_cv_header_minix_config_h = yes
4945 then :
4946 MINIX=yes
4947 printf "%s\n" "#define _MINIX 1" >>confdefs.h
4948
4949 printf "%s\n" "#define _POSIX_SOURCE 1" >>confdefs.h
4950
4951 printf "%s\n" "#define _POSIX_1_SOURCE 2" >>confdefs.h
4952
4953 else case e in #(
4954 e) MINIX= ;;
4955 esac
4956 fi
4957 if test $ac_cv_safe_to_define___extensions__ = yes
4958 then :
4959 printf "%s\n" "#define __EXTENSIONS__ 1" >>confdefs.h
4960
4961 fi
4962 if test $ac_cv_should_define__xopen_source = yes
4963 then :
4964 printf "%s\n" "#define _XOPEN_SOURCE 500" >>confdefs.h
4965
4966 fi
4967
4968 # Check whether --enable-compiler-warnings was given.
4969 if test ${enable_compiler_warnings+y}
4970 then :
4971 enableval=$enable_compiler_warnings;
4972 fi
4973 case $enable_compiler_warnings in #(
4974 no | min | yes | max | all) :
4975 ;; #(
4976 *) :
4977 if test "x$enable_maintainer_mode" = xyes
4978 then :
4979 enable_compiler_warnings=yes
4980 else case e in #(
4981 e) enable_compiler_warnings=min ;;
4982 esac
4983 fi ;;
4984 esac
4985
4986 echo 'tldbg:KPSE_BASIC called (pkg=zziplib, amopt=)' >&5
4987
4988 #
4989 # am_init_automake
4990 if test "`cd $srcdir && pwd`" != "`pwd`"; then
4991 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
4992 # is not polluted with repeated "-I."
4993 am__isrc=' -I$(srcdir)'
4994 # test to see if srcdir already configured
4995 if test -f $srcdir/config.status; then
4996 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
4997 fi
4998 fi
4999
5000 # test whether we have cygpath
5001 if test -z "$CYGPATH_W"; then
5002 if (cygpath --version) >/dev/null 2>/dev/null; then
5003 CYGPATH_W='cygpath -w'
5004 else
5005 CYGPATH_W=echo
5006 fi
5007 fi
5008
5009
5010 # Define the identity of the package.
5011 PACKAGE='zziplib--tex-live-'
5012 VERSION='0.13.72'
5013
5014
5015 printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
5016
5017
5018 printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h
5019
5020 # Some tools Automake needs.
5021
5022 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
5023
5024
5025 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
5026
5027
5028 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
5029
5030
5031 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
5032
5033
5034 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
5035
5036 # For better backward compatibility. To be removed once Automake 1.9.x
5037 # dies out for good. For more background, see:
5038 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
5039 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
5040 mkdir_p='$(MKDIR_P)'
5041
5042 # We need awk for the "check" target (and possibly the TAP driver). The
5043 # system "awk" is bad on some platforms.
5044 # Always define AMTAR for backward compatibility. Yes, it's still used
5045 # in the wild :-( We should find a proper way to deprecate it ...
5046 AMTAR='$${TAR-tar}'
5047
5048
5049 # We'll loop over all known methods to create a tar archive until one works.
5050 _am_tools='gnutar plaintar pax cpio none'
5051
5052 # The POSIX 1988 'ustar' format is defined with fixed-size fields.
5053 # There is notably a 21 bits limit for the UID and the GID. In fact,
5054 # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343
5055 # and bug#13588).
5056 am_max_uid=2097151 # 2^21 - 1
5057 am_max_gid=$am_max_uid
5058 # The $UID and $GID variables are not portable, so we need to resort
5059 # to the POSIX-mandated id(1) utility. Errors in the 'id' calls
5060 # below are definitely unexpected, so allow the users to see them
5061 # (that is, avoid stderr redirection).
5062 am_uid=`id -u || echo unknown`
5063 am_gid=`id -g || echo unknown`
5064 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether UID '$am_uid' is supported by ustar format" >&5
5065 printf %s "checking whether UID '$am_uid' is supported by ustar format... " >&6; }
5066 if test x$am_uid = xunknown; then
5067 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ancient id detected; assuming current UID is ok, but dist-ustar might not work" >&5
5068 printf "%s\n" "$as_me: WARNING: ancient id detected; assuming current UID is ok, but dist-ustar might not work" >&2;}
5069 elif test $am_uid -le $am_max_uid; then
5070 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5071 printf "%s\n" "yes" >&6; }
5072 else
5073 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5074 printf "%s\n" "no" >&6; }
5075 _am_tools=none
5076 fi
5077 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether GID '$am_gid' is supported by ustar format" >&5
5078 printf %s "checking whether GID '$am_gid' is supported by ustar format... " >&6; }
5079 if test x$gm_gid = xunknown; then
5080 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ancient id detected; assuming current GID is ok, but dist-ustar might not work" >&5
5081 printf "%s\n" "$as_me: WARNING: ancient id detected; assuming current GID is ok, but dist-ustar might not work" >&2;}
5082 elif test $am_gid -le $am_max_gid; then
5083 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5084 printf "%s\n" "yes" >&6; }
5085 else
5086 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5087 printf "%s\n" "no" >&6; }
5088 _am_tools=none
5089 fi
5090
5091 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5
5092 printf %s "checking how to create a ustar tar archive... " >&6; }
5093
5094 # Go ahead even if we have the value already cached. We do so because we
5095 # need to set the values for the 'am__tar' and 'am__untar' variables.
5096 _am_tools=${am_cv_prog_tar_ustar-$_am_tools}
5097
5098 for _am_tool in $_am_tools; do
5099 case $_am_tool in
5100 gnutar)
5101 for _am_tar in tar gnutar gtar; do
5102 { echo "$as_me:$LINENO: $_am_tar --version" >&5
5103 ($_am_tar --version) >&5 2>&5
5104 ac_status=$?
5105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5106 (exit $ac_status); } && break
5107 done
5108 am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"'
5109 am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"'
5110 am__untar="$_am_tar -xf -"
5111 ;;
5112 plaintar)
5113 # Must skip GNU tar: if it does not support --format= it doesn't create
5114 # ustar tarball either.
5115 (tar --version) >/dev/null 2>&1 && continue
5116 am__tar='tar chf - "$$tardir"'
5117 am__tar_='tar chf - "$tardir"'
5118 am__untar='tar xf -'
5119 ;;
5120 pax)
5121 am__tar='pax -L -x ustar -w "$$tardir"'
5122 am__tar_='pax -L -x ustar -w "$tardir"'
5123 am__untar='pax -r'
5124 ;;
5125 cpio)
5126 am__tar='find "$$tardir" -print | cpio -o -H ustar -L'
5127 am__tar_='find "$tardir" -print | cpio -o -H ustar -L'
5128 am__untar='cpio -i -H ustar -d'
5129 ;;
5130 none)
5131 am__tar=false
5132 am__tar_=false
5133 am__untar=false
5134 ;;
5135 esac
5136
5137 # If the value was cached, stop now. We just wanted to have am__tar
5138 # and am__untar set.
5139 test -n "${am_cv_prog_tar_ustar}" && break
5140
5141 # tar/untar a dummy directory, and stop if the command works.
5142 rm -rf conftest.dir
5143 mkdir conftest.dir
5144 echo GrepMe > conftest.dir/file
5145 { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
5146 (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
5147 ac_status=$?
5148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5149 (exit $ac_status); }
5150 rm -rf conftest.dir
5151 if test -s conftest.tar; then
5152 { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
5153 ($am__untar <conftest.tar) >&5 2>&5
5154 ac_status=$?
5155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5156 (exit $ac_status); }
5157 { echo "$as_me:$LINENO: cat conftest.dir/file" >&5
5158 (cat conftest.dir/file) >&5 2>&5
5159 ac_status=$?
5160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5161 (exit $ac_status); }
5162 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
5163 fi
5164 done
5165 rm -rf conftest.dir
5166
5167 if test ${am_cv_prog_tar_ustar+y}
5168 then :
5169 printf %s "(cached) " >&6
5170 else case e in #(
5171 e) am_cv_prog_tar_ustar=$_am_tool ;;
5172 esac
5173 fi
5174
5175 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5
5176 printf "%s\n" "$am_cv_prog_tar_ustar" >&6; }
5177
5178
5179
5180
5181
5182 # Variables for tags utilities; see am/tags.am
5183 if test -z "$CTAGS"; then
5184 CTAGS=ctags
5185 fi
5186
5187 if test -z "$ETAGS"; then
5188 ETAGS=etags
5189 fi
5190
5191 if test -z "$CSCOPE"; then
5192 CSCOPE=cscope
5193 fi
5194
5195
5196
5197
5198
5199
5200
5201
5202 # am_maintainer_mode
5203
5204 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
5205 printf %s "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
5206 # Check whether --enable-maintainer-mode was given.
5207 if test ${enable_maintainer_mode+y}
5208 then :
5209 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
5210 else case e in #(
5211 e) USE_MAINTAINER_MODE=no ;;
5212 esac
5213 fi
5214
5215 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5216 printf "%s\n" "$USE_MAINTAINER_MODE" >&6; }
5217 if test $USE_MAINTAINER_MODE = yes; then
5218 MAINTAINER_MODE_TRUE=
5219 MAINTAINER_MODE_FALSE='#'
5220 else
5221 MAINTAINER_MODE_TRUE='#'
5222 MAINTAINER_MODE_FALSE=
5223 fi
5224
5225 MAINT=$MAINTAINER_MODE_TRUE
5226
5227
5228
5229 # See comments in kpse-setup.m4 about system extensions.
5230
5231
5232 # Check whether prototypes work.
5233 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler accepts prototypes" >&5
5234 printf %s "checking whether the compiler accepts prototypes... " >&6; }
5235 if test ${kb_cv_c_prototypes+y}
5236 then :
5237 printf %s "(cached) " >&6
5238 else case e in #(
5239 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5240 /* end confdefs.h. */
5241 #include <stdarg.h>
5242 int
5243 main (void)
5244 {
5245 extern void foo(int i,...);
5246 ;
5247 return 0;
5248 }
5249 _ACEOF
5250 if ac_fn_c_try_link "$LINENO"
5251 then :
5252 kb_cv_c_prototypes=yes
5253 else case e in #(
5254 e) kb_cv_c_prototypes=no ;;
5255 esac
5256 fi
5257 rm -f core conftest.err conftest.$ac_objext conftest.beam \
5258 conftest$ac_exeext conftest.$ac_ext ;;
5259 esac
5260 fi
5261 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $kb_cv_c_prototypes" >&5
5262 printf "%s\n" "$kb_cv_c_prototypes" >&6; }
5263 if test "x$kb_cv_c_prototypes" = xno; then
5264 as_fn_error $? "Sorry, your compiler does not understand prototypes." "$LINENO" 5
5265 fi
5266
5267 # kpse_compiler_warnings options.
5268 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking what warning flags to pass to the C compiler" >&5
5269 printf %s "checking what warning flags to pass to the C compiler... " >&6; }
5270 if test ${kpse_cv_warning_cflags+y}
5271 then :
5272 printf %s "(cached) " >&6
5273 else case e in #(
5274 e) if test "x$GCC" = xyes; then
5275 kpse_cv_warning_cflags=
5276 if test "x$enable_compiler_warnings" != xno; then
5277 kpse_cv_warning_cflags="-Wimplicit -Wreturn-type"
5278 case `$CC -dumpversion` in #(
5279 3.4.* | 4.* | 5.*) :
5280 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wdeclaration-after-statement" ;; #(
5281 *) :
5282 ;;
5283 esac
5284 case `$CC -dumpversion` in #(
5285 3.[234].* | 4.* | 5.*) :
5286 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wno-unknown-pragmas" ;; #(
5287 *) :
5288 ;;
5289 esac
5290 if test "x$enable_compiler_warnings" != xmin; then
5291 kpse_cv_warning_cflags="-Wall -Wunused $kpse_cv_warning_cflags"
5292 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wmissing-prototypes -Wmissing-declarations"
5293 if test "x$enable_compiler_warnings" != xyes; then
5294 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wparentheses -Wswitch -Wtrigraphs -Wpointer-arith"
5295 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wcast-qual -Wcast-align -Wwrite-strings"
5296 case `$CC -dumpversion` in #(
5297 3.4.* | 4.* | 5.*) :
5298 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wold-style-definition" ;; #(
5299 *) :
5300 ;;
5301 esac
5302 if test "x$enable_compiler_warnings" != xmax; then
5303 kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wshadow"
5304 fi
5305 fi
5306 fi
5307 fi
5308 elif test "x$enable_compiler_warnings" = xno; then
5309 kpse_cv_warning_cflags=
5310 else
5311 kpse_cv_warning_cflags= # FIXME: warning flags for non-GNU C compilers
5312 fi ;;
5313 esac
5314 fi
5315 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $kpse_cv_warning_cflags" >&5
5316 printf "%s\n" "$kpse_cv_warning_cflags" >&6; }
5317 WARNING_CFLAGS=$kpse_cv_warning_cflags
5318
5319
5320
5321
5322
5323
5324
5325 # end of kpse_basic macro.
5326 echo 'tldbg:KPSE_BASIC done (pkg=zziplib, amopt=)' >&5
5327
5328
5329
5330
5331 # Make sure we can run config.sub.
5332 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
5333 as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
5334
5335 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
5336 printf %s "checking build system type... " >&6; }
5337 if test ${ac_cv_build+y}
5338 then :
5339 printf %s "(cached) " >&6
5340 else case e in #(
5341 e) ac_build_alias=$build_alias
5342 test "x$ac_build_alias" = x &&
5343 ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
5344 test "x$ac_build_alias" = x &&
5345 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
5346 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
5347 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
5348 ;;
5349 esac
5350 fi
5351 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
5352 printf "%s\n" "$ac_cv_build" >&6; }
5353 case $ac_cv_build in
5354 *-*-*) ;;
5355 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
5356 esac
5357 build=$ac_cv_build
5358 ac_save_IFS=$IFS; IFS='-'
5359 set x $ac_cv_build
5360 shift
5361 build_cpu=$1
5362 build_vendor=$2
5363 shift; shift
5364 # Remember, the first character of IFS is used to create $*,
5365 # except with old shells:
5366 build_os=$*
5367 IFS=$ac_save_IFS
5368 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
5369
5370
5371 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
5372 printf %s "checking host system type... " >&6; }
5373 if test ${ac_cv_host+y}
5374 then :
5375 printf %s "(cached) " >&6
5376 else case e in #(
5377 e) if test "x$host_alias" = x; then
5378 ac_cv_host=$ac_cv_build
5379 else
5380 ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
5381 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
5382 fi
5383 ;;
5384 esac
5385 fi
5386 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
5387 printf "%s\n" "$ac_cv_host" >&6; }
5388 case $ac_cv_host in
5389 *-*-*) ;;
5390 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
5391 esac
5392 host=$ac_cv_host
5393 ac_save_IFS=$IFS; IFS='-'
5394 set x $ac_cv_host
5395 shift
5396 host_cpu=$1
5397 host_vendor=$2
5398 shift; shift
5399 # Remember, the first character of IFS is used to create $*,
5400 # except with old shells:
5401 host_os=$*
5402 IFS=$ac_save_IFS
5403 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
5404
5405
5406
5407 # Checks for programs.
5408 ac_ext=c
5409 ac_cpp='$CPP $CPPFLAGS'
5410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5413 if test -n "$ac_tool_prefix"; then
5414 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
5415 set dummy ${ac_tool_prefix}gcc; ac_word=$2
5416 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5417 printf %s "checking for $ac_word... " >&6; }
5418 if test ${ac_cv_prog_CC+y}
5419 then :
5420 printf %s "(cached) " >&6
5421 else case e in #(
5422 e) if test -n "$CC"; then
5423 ac_cv_prog_CC="$CC" # Let the user override the test.
5424 else
5425 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5426 for as_dir in $PATH
5427 do
5428 IFS=$as_save_IFS
5429 case $as_dir in #(((
5430 '') as_dir=./ ;;
5431 */) ;;
5432 *) as_dir=$as_dir/ ;;
5433 esac
5434 for ac_exec_ext in '' $ac_executable_extensions; do
5435 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5436 ac_cv_prog_CC="${ac_tool_prefix}gcc"
5437 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5438 break 2
5439 fi
5440 done
5441 done
5442 IFS=$as_save_IFS
5443
5444 fi ;;
5445 esac
5446 fi
5447 CC=$ac_cv_prog_CC
5448 if test -n "$CC"; then
5449 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5450 printf "%s\n" "$CC" >&6; }
5451 else
5452 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5453 printf "%s\n" "no" >&6; }
5454 fi
5455
5456
5457 fi
5458 if test -z "$ac_cv_prog_CC"; then
5459 ac_ct_CC=$CC
5460 # Extract the first word of "gcc", so it can be a program name with args.
5461 set dummy gcc; ac_word=$2
5462 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5463 printf %s "checking for $ac_word... " >&6; }
5464 if test ${ac_cv_prog_ac_ct_CC+y}
5465 then :
5466 printf %s "(cached) " >&6
5467 else case e in #(
5468 e) if test -n "$ac_ct_CC"; then
5469 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5470 else
5471 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5472 for as_dir in $PATH
5473 do
5474 IFS=$as_save_IFS
5475 case $as_dir in #(((
5476 '') as_dir=./ ;;
5477 */) ;;
5478 *) as_dir=$as_dir/ ;;
5479 esac
5480 for ac_exec_ext in '' $ac_executable_extensions; do
5481 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5482 ac_cv_prog_ac_ct_CC="gcc"
5483 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5484 break 2
5485 fi
5486 done
5487 done
5488 IFS=$as_save_IFS
5489
5490 fi ;;
5491 esac
5492 fi
5493 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5494 if test -n "$ac_ct_CC"; then
5495 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5496 printf "%s\n" "$ac_ct_CC" >&6; }
5497 else
5498 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5499 printf "%s\n" "no" >&6; }
5500 fi
5501
5502 if test "x$ac_ct_CC" = x; then
5503 CC=""
5504 else
5505 case $cross_compiling:$ac_tool_warned in
5506 yes:)
5507 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5508 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5509 ac_tool_warned=yes ;;
5510 esac
5511 CC=$ac_ct_CC
5512 fi
5513 else
5514 CC="$ac_cv_prog_CC"
5515 fi
5516
5517 if test -z "$CC"; then
5518 if test -n "$ac_tool_prefix"; then
5519 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
5520 set dummy ${ac_tool_prefix}cc; ac_word=$2
5521 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5522 printf %s "checking for $ac_word... " >&6; }
5523 if test ${ac_cv_prog_CC+y}
5524 then :
5525 printf %s "(cached) " >&6
5526 else case e in #(
5527 e) if test -n "$CC"; then
5528 ac_cv_prog_CC="$CC" # Let the user override the test.
5529 else
5530 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5531 for as_dir in $PATH
5532 do
5533 IFS=$as_save_IFS
5534 case $as_dir in #(((
5535 '') as_dir=./ ;;
5536 */) ;;
5537 *) as_dir=$as_dir/ ;;
5538 esac
5539 for ac_exec_ext in '' $ac_executable_extensions; do
5540 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5541 ac_cv_prog_CC="${ac_tool_prefix}cc"
5542 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5543 break 2
5544 fi
5545 done
5546 done
5547 IFS=$as_save_IFS
5548
5549 fi ;;
5550 esac
5551 fi
5552 CC=$ac_cv_prog_CC
5553 if test -n "$CC"; then
5554 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5555 printf "%s\n" "$CC" >&6; }
5556 else
5557 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5558 printf "%s\n" "no" >&6; }
5559 fi
5560
5561
5562 fi
5563 fi
5564 if test -z "$CC"; then
5565 # Extract the first word of "cc", so it can be a program name with args.
5566 set dummy cc; ac_word=$2
5567 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5568 printf %s "checking for $ac_word... " >&6; }
5569 if test ${ac_cv_prog_CC+y}
5570 then :
5571 printf %s "(cached) " >&6
5572 else case e in #(
5573 e) if test -n "$CC"; then
5574 ac_cv_prog_CC="$CC" # Let the user override the test.
5575 else
5576 ac_prog_rejected=no
5577 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5578 for as_dir in $PATH
5579 do
5580 IFS=$as_save_IFS
5581 case $as_dir in #(((
5582 '') as_dir=./ ;;
5583 */) ;;
5584 *) as_dir=$as_dir/ ;;
5585 esac
5586 for ac_exec_ext in '' $ac_executable_extensions; do
5587 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5588 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5589 ac_prog_rejected=yes
5590 continue
5591 fi
5592 ac_cv_prog_CC="cc"
5593 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5594 break 2
5595 fi
5596 done
5597 done
5598 IFS=$as_save_IFS
5599
5600 if test $ac_prog_rejected = yes; then
5601 # We found a bogon in the path, so make sure we never use it.
5602 set dummy $ac_cv_prog_CC
5603 shift
5604 if test $# != 0; then
5605 # We chose a different compiler from the bogus one.
5606 # However, it has the same basename, so the bogon will be chosen
5607 # first if we set CC to just the basename; use the full file name.
5608 shift
5609 ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
5610 fi
5611 fi
5612 fi ;;
5613 esac
5614 fi
5615 CC=$ac_cv_prog_CC
5616 if test -n "$CC"; then
5617 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5618 printf "%s\n" "$CC" >&6; }
5619 else
5620 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5621 printf "%s\n" "no" >&6; }
5622 fi
5623
5624
5625 fi
5626 if test -z "$CC"; then
5627 if test -n "$ac_tool_prefix"; then
5628 for ac_prog in cl.exe
5629 do
5630 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5631 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5632 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5633 printf %s "checking for $ac_word... " >&6; }
5634 if test ${ac_cv_prog_CC+y}
5635 then :
5636 printf %s "(cached) " >&6
5637 else case e in #(
5638 e) if test -n "$CC"; then
5639 ac_cv_prog_CC="$CC" # Let the user override the test.
5640 else
5641 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5642 for as_dir in $PATH
5643 do
5644 IFS=$as_save_IFS
5645 case $as_dir in #(((
5646 '') as_dir=./ ;;
5647 */) ;;
5648 *) as_dir=$as_dir/ ;;
5649 esac
5650 for ac_exec_ext in '' $ac_executable_extensions; do
5651 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5652 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
5653 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5654 break 2
5655 fi
5656 done
5657 done
5658 IFS=$as_save_IFS
5659
5660 fi ;;
5661 esac
5662 fi
5663 CC=$ac_cv_prog_CC
5664 if test -n "$CC"; then
5665 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5666 printf "%s\n" "$CC" >&6; }
5667 else
5668 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5669 printf "%s\n" "no" >&6; }
5670 fi
5671
5672
5673 test -n "$CC" && break
5674 done
5675 fi
5676 if test -z "$CC"; then
5677 ac_ct_CC=$CC
5678 for ac_prog in cl.exe
5679 do
5680 # Extract the first word of "$ac_prog", so it can be a program name with args.
5681 set dummy $ac_prog; ac_word=$2
5682 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5683 printf %s "checking for $ac_word... " >&6; }
5684 if test ${ac_cv_prog_ac_ct_CC+y}
5685 then :
5686 printf %s "(cached) " >&6
5687 else case e in #(
5688 e) if test -n "$ac_ct_CC"; then
5689 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5690 else
5691 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5692 for as_dir in $PATH
5693 do
5694 IFS=$as_save_IFS
5695 case $as_dir in #(((
5696 '') as_dir=./ ;;
5697 */) ;;
5698 *) as_dir=$as_dir/ ;;
5699 esac
5700 for ac_exec_ext in '' $ac_executable_extensions; do
5701 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5702 ac_cv_prog_ac_ct_CC="$ac_prog"
5703 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5704 break 2
5705 fi
5706 done
5707 done
5708 IFS=$as_save_IFS
5709
5710 fi ;;
5711 esac
5712 fi
5713 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5714 if test -n "$ac_ct_CC"; then
5715 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5716 printf "%s\n" "$ac_ct_CC" >&6; }
5717 else
5718 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5719 printf "%s\n" "no" >&6; }
5720 fi
5721
5722
5723 test -n "$ac_ct_CC" && break
5724 done
5725
5726 if test "x$ac_ct_CC" = x; then
5727 CC=""
5728 else
5729 case $cross_compiling:$ac_tool_warned in
5730 yes:)
5731 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5732 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5733 ac_tool_warned=yes ;;
5734 esac
5735 CC=$ac_ct_CC
5736 fi
5737 fi
5738
5739 fi
5740 if test -z "$CC"; then
5741 if test -n "$ac_tool_prefix"; then
5742 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
5743 set dummy ${ac_tool_prefix}clang; ac_word=$2
5744 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5745 printf %s "checking for $ac_word... " >&6; }
5746 if test ${ac_cv_prog_CC+y}
5747 then :
5748 printf %s "(cached) " >&6
5749 else case e in #(
5750 e) if test -n "$CC"; then
5751 ac_cv_prog_CC="$CC" # Let the user override the test.
5752 else
5753 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5754 for as_dir in $PATH
5755 do
5756 IFS=$as_save_IFS
5757 case $as_dir in #(((
5758 '') as_dir=./ ;;
5759 */) ;;
5760 *) as_dir=$as_dir/ ;;
5761 esac
5762 for ac_exec_ext in '' $ac_executable_extensions; do
5763 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5764 ac_cv_prog_CC="${ac_tool_prefix}clang"
5765 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5766 break 2
5767 fi
5768 done
5769 done
5770 IFS=$as_save_IFS
5771
5772 fi ;;
5773 esac
5774 fi
5775 CC=$ac_cv_prog_CC
5776 if test -n "$CC"; then
5777 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5778 printf "%s\n" "$CC" >&6; }
5779 else
5780 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5781 printf "%s\n" "no" >&6; }
5782 fi
5783
5784
5785 fi
5786 if test -z "$ac_cv_prog_CC"; then
5787 ac_ct_CC=$CC
5788 # Extract the first word of "clang", so it can be a program name with args.
5789 set dummy clang; ac_word=$2
5790 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5791 printf %s "checking for $ac_word... " >&6; }
5792 if test ${ac_cv_prog_ac_ct_CC+y}
5793 then :
5794 printf %s "(cached) " >&6
5795 else case e in #(
5796 e) if test -n "$ac_ct_CC"; then
5797 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5798 else
5799 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5800 for as_dir in $PATH
5801 do
5802 IFS=$as_save_IFS
5803 case $as_dir in #(((
5804 '') as_dir=./ ;;
5805 */) ;;
5806 *) as_dir=$as_dir/ ;;
5807 esac
5808 for ac_exec_ext in '' $ac_executable_extensions; do
5809 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5810 ac_cv_prog_ac_ct_CC="clang"
5811 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5812 break 2
5813 fi
5814 done
5815 done
5816 IFS=$as_save_IFS
5817
5818 fi ;;
5819 esac
5820 fi
5821 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5822 if test -n "$ac_ct_CC"; then
5823 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5824 printf "%s\n" "$ac_ct_CC" >&6; }
5825 else
5826 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5827 printf "%s\n" "no" >&6; }
5828 fi
5829
5830 if test "x$ac_ct_CC" = x; then
5831 CC=""
5832 else
5833 case $cross_compiling:$ac_tool_warned in
5834 yes:)
5835 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5836 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5837 ac_tool_warned=yes ;;
5838 esac
5839 CC=$ac_ct_CC
5840 fi
5841 else
5842 CC="$ac_cv_prog_CC"
5843 fi
5844
5845 fi
5846
5847
5848 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
5849 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
5850 as_fn_error $? "no acceptable C compiler found in \$PATH
5851 See 'config.log' for more details" "$LINENO" 5; }
5852
5853 # Provide some information about the compiler.
5854 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5855 set X $ac_compile
5856 ac_compiler=$2
5857 for ac_option in --version -v -V -qversion -version; do
5858 { { ac_try="$ac_compiler $ac_option >&5"
5859 case "(($ac_try" in
5860 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5861 *) ac_try_echo=$ac_try;;
5862 esac
5863 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5864 printf "%s\n" "$ac_try_echo"; } >&5
5865 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5866 ac_status=$?
5867 if test -s conftest.err; then
5868 sed '10a\
5869 ... rest of stderr output deleted ...
5870 10q' conftest.err >conftest.er1
5871 cat conftest.er1 >&5
5872 fi
5873 rm -f conftest.er1 conftest.err
5874 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5875 test $ac_status = 0; }
5876 done
5877
5878 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
5879 printf %s "checking whether the compiler supports GNU C... " >&6; }
5880 if test ${ac_cv_c_compiler_gnu+y}
5881 then :
5882 printf %s "(cached) " >&6
5883 else case e in #(
5884 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5885 /* end confdefs.h. */
5886
5887 int
5888 main (void)
5889 {
5890 #ifndef __GNUC__
5891 choke me
5892 #endif
5893
5894 ;
5895 return 0;
5896 }
5897 _ACEOF
5898 if ac_fn_c_try_compile "$LINENO"
5899 then :
5900 ac_compiler_gnu=yes
5901 else case e in #(
5902 e) ac_compiler_gnu=no ;;
5903 esac
5904 fi
5905 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5906 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5907 ;;
5908 esac
5909 fi
5910 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5911 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
5912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5913
5914 if test $ac_compiler_gnu = yes; then
5915 GCC=yes
5916 else
5917 GCC=
5918 fi
5919 ac_test_CFLAGS=${CFLAGS+y}
5920 ac_save_CFLAGS=$CFLAGS
5921 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5922 printf %s "checking whether $CC accepts -g... " >&6; }
5923 if test ${ac_cv_prog_cc_g+y}
5924 then :
5925 printf %s "(cached) " >&6
5926 else case e in #(
5927 e) ac_save_c_werror_flag=$ac_c_werror_flag
5928 ac_c_werror_flag=yes
5929 ac_cv_prog_cc_g=no
5930 CFLAGS="-g"
5931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5932 /* end confdefs.h. */
5933
5934 int
5935 main (void)
5936 {
5937
5938 ;
5939 return 0;
5940 }
5941 _ACEOF
5942 if ac_fn_c_try_compile "$LINENO"
5943 then :
5944 ac_cv_prog_cc_g=yes
5945 else case e in #(
5946 e) CFLAGS=""
5947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5948 /* end confdefs.h. */
5949
5950 int
5951 main (void)
5952 {
5953
5954 ;
5955 return 0;
5956 }
5957 _ACEOF
5958 if ac_fn_c_try_compile "$LINENO"
5959 then :
5960
5961 else case e in #(
5962 e) ac_c_werror_flag=$ac_save_c_werror_flag
5963 CFLAGS="-g"
5964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5965 /* end confdefs.h. */
5966
5967 int
5968 main (void)
5969 {
5970
5971 ;
5972 return 0;
5973 }
5974 _ACEOF
5975 if ac_fn_c_try_compile "$LINENO"
5976 then :
5977 ac_cv_prog_cc_g=yes
5978 fi
5979 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
5980 esac
5981 fi
5982 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
5983 esac
5984 fi
5985 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5986 ac_c_werror_flag=$ac_save_c_werror_flag ;;
5987 esac
5988 fi
5989 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5990 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
5991 if test $ac_test_CFLAGS; then
5992 CFLAGS=$ac_save_CFLAGS
5993 elif test $ac_cv_prog_cc_g = yes; then
5994 if test "$GCC" = yes; then
5995 CFLAGS="-g -O2"
5996 else
5997 CFLAGS="-g"
5998 fi
5999 else
6000 if test "$GCC" = yes; then
6001 CFLAGS="-O2"
6002 else
6003 CFLAGS=
6004 fi
6005 fi
6006 ac_prog_cc_stdc=no
6007 if test x$ac_prog_cc_stdc = xno
6008 then :
6009 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
6010 printf %s "checking for $CC option to enable C11 features... " >&6; }
6011 if test ${ac_cv_prog_cc_c11+y}
6012 then :
6013 printf %s "(cached) " >&6
6014 else case e in #(
6015 e) ac_cv_prog_cc_c11=no
6016 ac_save_CC=$CC
6017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6018 /* end confdefs.h. */
6019 $ac_c_conftest_c11_program
6020 _ACEOF
6021 for ac_arg in '' -std=gnu11
6022 do
6023 CC="$ac_save_CC $ac_arg"
6024 if ac_fn_c_try_compile "$LINENO"
6025 then :
6026 ac_cv_prog_cc_c11=$ac_arg
6027 fi
6028 rm -f core conftest.err conftest.$ac_objext conftest.beam
6029 test "x$ac_cv_prog_cc_c11" != "xno" && break
6030 done
6031 rm -f conftest.$ac_ext
6032 CC=$ac_save_CC ;;
6033 esac
6034 fi
6035
6036 if test "x$ac_cv_prog_cc_c11" = xno
6037 then :
6038 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
6039 printf "%s\n" "unsupported" >&6; }
6040 else case e in #(
6041 e) if test "x$ac_cv_prog_cc_c11" = x
6042 then :
6043 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
6044 printf "%s\n" "none needed" >&6; }
6045 else case e in #(
6046 e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
6047 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
6048 CC="$CC $ac_cv_prog_cc_c11" ;;
6049 esac
6050 fi
6051 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
6052 ac_prog_cc_stdc=c11 ;;
6053 esac
6054 fi
6055 fi
6056 if test x$ac_prog_cc_stdc = xno
6057 then :
6058 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
6059 printf %s "checking for $CC option to enable C99 features... " >&6; }
6060 if test ${ac_cv_prog_cc_c99+y}
6061 then :
6062 printf %s "(cached) " >&6
6063 else case e in #(
6064 e) ac_cv_prog_cc_c99=no
6065 ac_save_CC=$CC
6066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6067 /* end confdefs.h. */
6068 $ac_c_conftest_c99_program
6069 _ACEOF
6070 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
6071 do
6072 CC="$ac_save_CC $ac_arg"
6073 if ac_fn_c_try_compile "$LINENO"
6074 then :
6075 ac_cv_prog_cc_c99=$ac_arg
6076 fi
6077 rm -f core conftest.err conftest.$ac_objext conftest.beam
6078 test "x$ac_cv_prog_cc_c99" != "xno" && break
6079 done
6080 rm -f conftest.$ac_ext
6081 CC=$ac_save_CC ;;
6082 esac
6083 fi
6084
6085 if test "x$ac_cv_prog_cc_c99" = xno
6086 then :
6087 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
6088 printf "%s\n" "unsupported" >&6; }
6089 else case e in #(
6090 e) if test "x$ac_cv_prog_cc_c99" = x
6091 then :
6092 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
6093 printf "%s\n" "none needed" >&6; }
6094 else case e in #(
6095 e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
6096 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
6097 CC="$CC $ac_cv_prog_cc_c99" ;;
6098 esac
6099 fi
6100 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
6101 ac_prog_cc_stdc=c99 ;;
6102 esac
6103 fi
6104 fi
6105 if test x$ac_prog_cc_stdc = xno
6106 then :
6107 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
6108 printf %s "checking for $CC option to enable C89 features... " >&6; }
6109 if test ${ac_cv_prog_cc_c89+y}
6110 then :
6111 printf %s "(cached) " >&6
6112 else case e in #(
6113 e) ac_cv_prog_cc_c89=no
6114 ac_save_CC=$CC
6115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6116 /* end confdefs.h. */
6117 $ac_c_conftest_c89_program
6118 _ACEOF
6119 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
6120 do
6121 CC="$ac_save_CC $ac_arg"
6122 if ac_fn_c_try_compile "$LINENO"
6123 then :
6124 ac_cv_prog_cc_c89=$ac_arg
6125 fi
6126 rm -f core conftest.err conftest.$ac_objext conftest.beam
6127 test "x$ac_cv_prog_cc_c89" != "xno" && break
6128 done
6129 rm -f conftest.$ac_ext
6130 CC=$ac_save_CC ;;
6131 esac
6132 fi
6133
6134 if test "x$ac_cv_prog_cc_c89" = xno
6135 then :
6136 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
6137 printf "%s\n" "unsupported" >&6; }
6138 else case e in #(
6139 e) if test "x$ac_cv_prog_cc_c89" = x
6140 then :
6141 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
6142 printf "%s\n" "none needed" >&6; }
6143 else case e in #(
6144 e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
6145 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
6146 CC="$CC $ac_cv_prog_cc_c89" ;;
6147 esac
6148 fi
6149 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
6150 ac_prog_cc_stdc=c89 ;;
6151 esac
6152 fi
6153 fi
6154
6155 ac_ext=c
6156 ac_cpp='$CPP $CPPFLAGS'
6157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6160
6161
6162 ac_ext=c
6163 ac_cpp='$CPP $CPPFLAGS'
6164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6167 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
6168 printf %s "checking whether $CC understands -c and -o together... " >&6; }
6169 if test ${am_cv_prog_cc_c_o+y}
6170 then :
6171 printf %s "(cached) " >&6
6172 else case e in #(
6173 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6174 /* end confdefs.h. */
6175
6176 int
6177 main (void)
6178 {
6179
6180 ;
6181 return 0;
6182 }
6183 _ACEOF
6184 # Make sure it works both with $CC and with simple cc.
6185 # Following AC_PROG_CC_C_O, we do the test twice because some
6186 # compilers refuse to overwrite an existing .o file with -o,
6187 # though they will create one.
6188 am_cv_prog_cc_c_o=yes
6189 for am_i in 1 2; do
6190 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
6191 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
6192 ac_status=$?
6193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6194 (exit $ac_status); } \
6195 && test -f conftest2.$ac_objext; then
6196 : OK
6197 else
6198 am_cv_prog_cc_c_o=no
6199 break
6200 fi
6201 done
6202 # aligned with autoconf, so not including core; see bug#72225.
6203 rm -f -r a.out a.exe b.out conftest.$ac_ext conftest.$ac_objext \
6204 conftest.dSYM conftest1.$ac_ext conftest1.$ac_objext conftest1.dSYM \
6205 conftest2.$ac_ext conftest2.$ac_objext conftest2.dSYM
6206 unset am_i ;;
6207 esac
6208 fi
6209 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
6210 printf "%s\n" "$am_cv_prog_cc_c_o" >&6; }
6211 if test "$am_cv_prog_cc_c_o" != yes; then
6212 # Losing compiler, so override with the script.
6213 # FIXME: It is wrong to rewrite CC.
6214 # But if we don't then we get into trouble of one sort or another.
6215 # A longer-term fix would be to have automake use am__CC in this case,
6216 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
6217 CC="$am_aux_dir/compile $CC"
6218 fi
6219 ac_ext=c
6220 ac_cpp='$CPP $CPPFLAGS'
6221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6224
6225
6226 depcc="$CC" am_compiler_list=
6227
6228 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
6229 printf %s "checking dependency style of $depcc... " >&6; }
6230 if test ${am_cv_CC_dependencies_compiler_type+y}
6231 then :
6232 printf %s "(cached) " >&6
6233 else case e in #(
6234 e) if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6235 # We make a subdir and do the tests there. Otherwise we can end up
6236 # making bogus files that we don't know about and never remove. For
6237 # instance it was reported that on HP-UX the gcc test will end up
6238 # making a dummy file named 'D' -- because '-MD' means "put the output
6239 # in D".
6240 rm -rf conftest.dir
6241 mkdir conftest.dir
6242 # Copy depcomp to subdir because otherwise we won't find it if we're
6243 # using a relative directory.
6244 cp "$am_depcomp" conftest.dir
6245 cd conftest.dir
6246 # We will build objects and dependencies in a subdirectory because
6247 # it helps to detect inapplicable dependency modes. For instance
6248 # both Tru64's cc and ICC support -MD to output dependencies as a
6249 # side effect of compilation, but ICC will put the dependencies in
6250 # the current directory while Tru64 will put them in the object
6251 # directory.
6252 mkdir sub
6253
6254 am_cv_CC_dependencies_compiler_type=none
6255 if test "$am_compiler_list" = ""; then
6256 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
6257 fi
6258 am__universal=false
6259 case " $depcc " in #(
6260 *\ -arch\ *\ -arch\ *) am__universal=true ;;
6261 esac
6262
6263 for depmode in $am_compiler_list; do
6264 # Setup a source with many dependencies, because some compilers
6265 # like to wrap large dependency lists on column 80 (with \), and
6266 # we should not choose a depcomp mode which is confused by this.
6267 #
6268 # We need to recreate these files for each test, as the compiler may
6269 # overwrite some of them when testing with obscure command lines.
6270 # This happens at least with the AIX C compiler.
6271 : > sub/conftest.c
6272 for i in 1 2 3 4 5 6; do
6273 echo '#include "conftst'$i'.h"' >> sub/conftest.c
6274 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
6275 # Solaris 10 /bin/sh.
6276 echo '/* dummy */' > sub/conftst$i.h
6277 done
6278 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6279
6280 # We check with '-c' and '-o' for the sake of the "dashmstdout"
6281 # mode. It turns out that the SunPro C++ compiler does not properly
6282 # handle '-M -o', and we need to detect this. Also, some Intel
6283 # versions had trouble with output in subdirs.
6284 am__obj=sub/conftest.${OBJEXT-o}
6285 am__minus_obj="-o $am__obj"
6286 case $depmode in
6287 gcc)
6288 # This depmode causes a compiler race in universal mode.
6289 test "$am__universal" = false || continue
6290 ;;
6291 nosideeffect)
6292 # After this tag, mechanisms are not by side-effect, so they'll
6293 # only be used when explicitly requested.
6294 if test "x$enable_dependency_tracking" = xyes; then
6295 continue
6296 else
6297 break
6298 fi
6299 ;;
6300 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
6301 # This compiler won't grok '-c -o', but also, the minuso test has
6302 # not run yet. These depmodes are late enough in the game, and
6303 # so weak that their functioning should not be impacted.
6304 am__obj=conftest.${OBJEXT-o}
6305 am__minus_obj=
6306 ;;
6307 none) break ;;
6308 esac
6309 if depmode=$depmode \
6310 source=sub/conftest.c object=$am__obj \
6311 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
6312 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
6313 >/dev/null 2>conftest.err &&
6314 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
6315 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
6316 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
6317 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
6318 # icc doesn't choke on unknown options, it will just issue warnings
6319 # or remarks (even with -Werror). So we grep stderr for any message
6320 # that says an option was ignored or not supported.
6321 # When given -MP, icc 7.0 and 7.1 complain thus:
6322 # icc: Command line warning: ignoring option '-M'; no argument required
6323 # The diagnosis changed in icc 8.0:
6324 # icc: Command line remark: option '-MP' not supported
6325 if (grep 'ignoring option' conftest.err ||
6326 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
6327 am_cv_CC_dependencies_compiler_type=$depmode
6328 break
6329 fi
6330 fi
6331 done
6332
6333 cd ..
6334 rm -rf conftest.dir
6335 else
6336 am_cv_CC_dependencies_compiler_type=none
6337 fi
6338 ;;
6339 esac
6340 fi
6341 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
6342 printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; }
6343 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
6344
6345 if
6346 test "x$enable_dependency_tracking" != xno \
6347 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
6348 am__fastdepCC_TRUE=
6349 am__fastdepCC_FALSE='#'
6350 else
6351 am__fastdepCC_TRUE='#'
6352 am__fastdepCC_FALSE=
6353 fi
6354
6355
6356 # By default we simply use the C compiler to build assembly code.
6357
6358 test "${CCAS+set}" = set || CCAS=$CC
6359 test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
6360
6361
6362
6363 depcc="$CCAS" am_compiler_list=
6364
6365 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
6366 printf %s "checking dependency style of $depcc... " >&6; }
6367 if test ${am_cv_CCAS_dependencies_compiler_type+y}
6368 then :
6369 printf %s "(cached) " >&6
6370 else case e in #(
6371 e) if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6372 # We make a subdir and do the tests there. Otherwise we can end up
6373 # making bogus files that we don't know about and never remove. For
6374 # instance it was reported that on HP-UX the gcc test will end up
6375 # making a dummy file named 'D' -- because '-MD' means "put the output
6376 # in D".
6377 rm -rf conftest.dir
6378 mkdir conftest.dir
6379 # Copy depcomp to subdir because otherwise we won't find it if we're
6380 # using a relative directory.
6381 cp "$am_depcomp" conftest.dir
6382 cd conftest.dir
6383 # We will build objects and dependencies in a subdirectory because
6384 # it helps to detect inapplicable dependency modes. For instance
6385 # both Tru64's cc and ICC support -MD to output dependencies as a
6386 # side effect of compilation, but ICC will put the dependencies in
6387 # the current directory while Tru64 will put them in the object
6388 # directory.
6389 mkdir sub
6390
6391 am_cv_CCAS_dependencies_compiler_type=none
6392 if test "$am_compiler_list" = ""; then
6393 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
6394 fi
6395 am__universal=false
6396
6397
6398 for depmode in $am_compiler_list; do
6399 # Setup a source with many dependencies, because some compilers
6400 # like to wrap large dependency lists on column 80 (with \), and
6401 # we should not choose a depcomp mode which is confused by this.
6402 #
6403 # We need to recreate these files for each test, as the compiler may
6404 # overwrite some of them when testing with obscure command lines.
6405 # This happens at least with the AIX C compiler.
6406 : > sub/conftest.c
6407 for i in 1 2 3 4 5 6; do
6408 echo '#include "conftst'$i'.h"' >> sub/conftest.c
6409 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
6410 # Solaris 10 /bin/sh.
6411 echo '/* dummy */' > sub/conftst$i.h
6412 done
6413 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6414
6415 # We check with '-c' and '-o' for the sake of the "dashmstdout"
6416 # mode. It turns out that the SunPro C++ compiler does not properly
6417 # handle '-M -o', and we need to detect this. Also, some Intel
6418 # versions had trouble with output in subdirs.
6419 am__obj=sub/conftest.${OBJEXT-o}
6420 am__minus_obj="-o $am__obj"
6421 case $depmode in
6422 gcc)
6423 # This depmode causes a compiler race in universal mode.
6424 test "$am__universal" = false || continue
6425 ;;
6426 nosideeffect)
6427 # After this tag, mechanisms are not by side-effect, so they'll
6428 # only be used when explicitly requested.
6429 if test "x$enable_dependency_tracking" = xyes; then
6430 continue
6431 else
6432 break
6433 fi
6434 ;;
6435 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
6436 # This compiler won't grok '-c -o', but also, the minuso test has
6437 # not run yet. These depmodes are late enough in the game, and
6438 # so weak that their functioning should not be impacted.
6439 am__obj=conftest.${OBJEXT-o}
6440 am__minus_obj=
6441 ;;
6442 none) break ;;
6443 esac
6444 if depmode=$depmode \
6445 source=sub/conftest.c object=$am__obj \
6446 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
6447 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
6448 >/dev/null 2>conftest.err &&
6449 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
6450 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
6451 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
6452 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
6453 # icc doesn't choke on unknown options, it will just issue warnings
6454 # or remarks (even with -Werror). So we grep stderr for any message
6455 # that says an option was ignored or not supported.
6456 # When given -MP, icc 7.0 and 7.1 complain thus:
6457 # icc: Command line warning: ignoring option '-M'; no argument required
6458 # The diagnosis changed in icc 8.0:
6459 # icc: Command line remark: option '-MP' not supported
6460 if (grep 'ignoring option' conftest.err ||
6461 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
6462 am_cv_CCAS_dependencies_compiler_type=$depmode
6463 break
6464 fi
6465 fi
6466 done
6467
6468 cd ..
6469 rm -rf conftest.dir
6470 else
6471 am_cv_CCAS_dependencies_compiler_type=none
6472 fi
6473 ;;
6474 esac
6475 fi
6476 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CCAS_dependencies_compiler_type" >&5
6477 printf "%s\n" "$am_cv_CCAS_dependencies_compiler_type" >&6; }
6478 CCASDEPMODE=depmode=$am_cv_CCAS_dependencies_compiler_type
6479
6480 if
6481 test "x$enable_dependency_tracking" != xno \
6482 && test "$am_cv_CCAS_dependencies_compiler_type" = gcc3; then
6483 am__fastdepCCAS_TRUE=
6484 am__fastdepCCAS_FALSE='#'
6485 else
6486 am__fastdepCCAS_TRUE='#'
6487 am__fastdepCCAS_FALSE=
6488 fi
6489
6490
6491
6492 if test -n "$ac_tool_prefix"; then
6493 for ac_prog in ar lib "link -lib"
6494 do
6495 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6496 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6497 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6498 printf %s "checking for $ac_word... " >&6; }
6499 if test ${ac_cv_prog_AR+y}
6500 then :
6501 printf %s "(cached) " >&6
6502 else case e in #(
6503 e) if test -n "$AR"; then
6504 ac_cv_prog_AR="$AR" # Let the user override the test.
6505 else
6506 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6507 for as_dir in $PATH
6508 do
6509 IFS=$as_save_IFS
6510 case $as_dir in #(((
6511 '') as_dir=./ ;;
6512 */) ;;
6513 *) as_dir=$as_dir/ ;;
6514 esac
6515 for ac_exec_ext in '' $ac_executable_extensions; do
6516 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6517 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6518 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6519 break 2
6520 fi
6521 done
6522 done
6523 IFS=$as_save_IFS
6524
6525 fi ;;
6526 esac
6527 fi
6528 AR=$ac_cv_prog_AR
6529 if test -n "$AR"; then
6530 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6531 printf "%s\n" "$AR" >&6; }
6532 else
6533 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6534 printf "%s\n" "no" >&6; }
6535 fi
6536
6537
6538 test -n "$AR" && break
6539 done
6540 fi
6541 if test -z "$AR"; then
6542 ac_ct_AR=$AR
6543 for ac_prog in ar lib "link -lib"
6544 do
6545 # Extract the first word of "$ac_prog", so it can be a program name with args.
6546 set dummy $ac_prog; ac_word=$2
6547 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6548 printf %s "checking for $ac_word... " >&6; }
6549 if test ${ac_cv_prog_ac_ct_AR+y}
6550 then :
6551 printf %s "(cached) " >&6
6552 else case e in #(
6553 e) if test -n "$ac_ct_AR"; then
6554 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6555 else
6556 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6557 for as_dir in $PATH
6558 do
6559 IFS=$as_save_IFS
6560 case $as_dir in #(((
6561 '') as_dir=./ ;;
6562 */) ;;
6563 *) as_dir=$as_dir/ ;;
6564 esac
6565 for ac_exec_ext in '' $ac_executable_extensions; do
6566 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6567 ac_cv_prog_ac_ct_AR="$ac_prog"
6568 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6569 break 2
6570 fi
6571 done
6572 done
6573 IFS=$as_save_IFS
6574
6575 fi ;;
6576 esac
6577 fi
6578 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6579 if test -n "$ac_ct_AR"; then
6580 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6581 printf "%s\n" "$ac_ct_AR" >&6; }
6582 else
6583 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6584 printf "%s\n" "no" >&6; }
6585 fi
6586
6587
6588 test -n "$ac_ct_AR" && break
6589 done
6590
6591 if test "x$ac_ct_AR" = x; then
6592 AR="false"
6593 else
6594 case $cross_compiling:$ac_tool_warned in
6595 yes:)
6596 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6597 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6598 ac_tool_warned=yes ;;
6599 esac
6600 AR=$ac_ct_AR
6601 fi
6602 fi
6603
6604 : ${AR=ar}
6605 : ${ARFLAGS=cr}
6606
6607 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5
6608 printf %s "checking the archiver ($AR) interface... " >&6; }
6609 if test ${am_cv_ar_interface+y}
6610 then :
6611 printf %s "(cached) " >&6
6612 else case e in #(
6613 e) ac_ext=c
6614 ac_cpp='$CPP $CPPFLAGS'
6615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6618
6619 am_cv_ar_interface=ar
6620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6621 /* end confdefs.h. */
6622 int some_variable = 0;
6623 _ACEOF
6624 if ac_fn_c_try_compile "$LINENO"
6625 then :
6626 am_ar_try='$AR $ARFLAGS libconftest.a conftest.$ac_objext >&5'
6627 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
6628 (eval $am_ar_try) 2>&5
6629 ac_status=$?
6630 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6631 test $ac_status = 0; }
6632 if test "$ac_status" -eq 0; then
6633 am_cv_ar_interface=ar
6634 else
6635 am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5'
6636 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
6637 (eval $am_ar_try) 2>&5
6638 ac_status=$?
6639 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6640 test $ac_status = 0; }
6641 if test "$ac_status" -eq 0; then
6642 am_cv_ar_interface=lib
6643 else
6644 am_cv_ar_interface=unknown
6645 fi
6646 fi
6647 rm -f conftest.lib libconftest.a
6648
6649 fi
6650 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6651 ac_ext=c
6652 ac_cpp='$CPP $CPPFLAGS'
6653 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6654 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6655 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6656 ;;
6657 esac
6658 fi
6659 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5
6660 printf "%s\n" "$am_cv_ar_interface" >&6; }
6661
6662 case $am_cv_ar_interface in
6663 ar)
6664 ;;
6665 lib)
6666 # Microsoft lib, so override with the ar-lib wrapper script.
6667 # FIXME: It is wrong to rewrite AR.
6668 # But if we don't then we get into trouble of one sort or another.
6669 # A longer-term fix would be to have automake use am__AR in this case,
6670 # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something
6671 # similar.
6672 AR="$am_aux_dir/ar-lib $AR"
6673 ;;
6674 unknown)
6675 as_fn_error $? "could not determine $AR interface" "$LINENO" 5
6676 ;;
6677 esac
6678
6679 if test -n "$ac_tool_prefix"; then
6680 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6681 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6682 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6683 printf %s "checking for $ac_word... " >&6; }
6684 if test ${ac_cv_prog_RANLIB+y}
6685 then :
6686 printf %s "(cached) " >&6
6687 else case e in #(
6688 e) if test -n "$RANLIB"; then
6689 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6690 else
6691 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6692 for as_dir in $PATH
6693 do
6694 IFS=$as_save_IFS
6695 case $as_dir in #(((
6696 '') as_dir=./ ;;
6697 */) ;;
6698 *) as_dir=$as_dir/ ;;
6699 esac
6700 for ac_exec_ext in '' $ac_executable_extensions; do
6701 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6702 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6703 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6704 break 2
6705 fi
6706 done
6707 done
6708 IFS=$as_save_IFS
6709
6710 fi ;;
6711 esac
6712 fi
6713 RANLIB=$ac_cv_prog_RANLIB
6714 if test -n "$RANLIB"; then
6715 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6716 printf "%s\n" "$RANLIB" >&6; }
6717 else
6718 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6719 printf "%s\n" "no" >&6; }
6720 fi
6721
6722
6723 fi
6724 if test -z "$ac_cv_prog_RANLIB"; then
6725 ac_ct_RANLIB=$RANLIB
6726 # Extract the first word of "ranlib", so it can be a program name with args.
6727 set dummy ranlib; ac_word=$2
6728 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6729 printf %s "checking for $ac_word... " >&6; }
6730 if test ${ac_cv_prog_ac_ct_RANLIB+y}
6731 then :
6732 printf %s "(cached) " >&6
6733 else case e in #(
6734 e) if test -n "$ac_ct_RANLIB"; then
6735 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6736 else
6737 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6738 for as_dir in $PATH
6739 do
6740 IFS=$as_save_IFS
6741 case $as_dir in #(((
6742 '') as_dir=./ ;;
6743 */) ;;
6744 *) as_dir=$as_dir/ ;;
6745 esac
6746 for ac_exec_ext in '' $ac_executable_extensions; do
6747 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6748 ac_cv_prog_ac_ct_RANLIB="ranlib"
6749 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6750 break 2
6751 fi
6752 done
6753 done
6754 IFS=$as_save_IFS
6755
6756 fi ;;
6757 esac
6758 fi
6759 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6760 if test -n "$ac_ct_RANLIB"; then
6761 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6762 printf "%s\n" "$ac_ct_RANLIB" >&6; }
6763 else
6764 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6765 printf "%s\n" "no" >&6; }
6766 fi
6767
6768 if test "x$ac_ct_RANLIB" = x; then
6769 RANLIB=":"
6770 else
6771 case $cross_compiling:$ac_tool_warned in
6772 yes:)
6773 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6774 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6775 ac_tool_warned=yes ;;
6776 esac
6777 RANLIB=$ac_ct_RANLIB
6778 fi
6779 else
6780 RANLIB="$ac_cv_prog_RANLIB"
6781 fi
6782
6783 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6784 printf %s "checking whether ln -s works... " >&6; }
6785 LN_S=$as_ln_s
6786 if test "$LN_S" = "ln -s"; then
6787 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6788 printf "%s\n" "yes" >&6; }
6789 else
6790 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6791 printf "%s\n" "no, using $LN_S" >&6; }
6792 fi
6793
6794
6795 echo 'tldbg:KPSE_COMPILER_VISIBILITY called.' >&5
6796 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking CFLAGS for C to hide external symbols" >&5
6797 printf %s "checking CFLAGS for C to hide external symbols... " >&6; }
6798 if test ${kpse_cv_visibility_cflags+y}
6799 then :
6800 printf %s "(cached) " >&6
6801 else case e in #(
6802 e) ac_ext=c
6803 ac_cpp='$CPP $CPPFLAGS'
6804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6807
6808 kpse_cv_visibility_cflags=unknown
6809 kpse_save_flags=$CFLAGS
6810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6811 /* end confdefs.h. */
6812 #include <stdio.h>
6813 extern void foo(void);
6814 void foo(void){printf("foo\n");}
6815 _ACEOF
6816 # Maybe other compiler need other tests; patches needed.
6817 #
6818 # The idea, maybe, is to use both flags when they are supported, but
6819 # old C++ compilers, as well as C, don't support
6820 # -fvisibility-inlines-hidden, so test just -fvisibility=hidden too?
6821 #
6822 for kpse_flag in "-fvisibility=hidden -fvisibility-inlines-hidden" \
6823 "-fvisibility=hidden"; do
6824 if test x"C" = xC \
6825 && echo "$kpse_flag" | grep inlines-hidden >/dev/null; then
6826 # C does not support this additional flag; just skip the test.
6827 continue
6828 fi
6829 CFLAGS="$kpse_save_flags -Werror $kpse_flag"
6830 if ac_fn_c_try_compile "$LINENO"
6831 then :
6832 kpse_cv_visibility_cflags=$kpse_flag; break
6833 fi
6834 rm -f core conftest.err conftest.$ac_objext conftest.beam
6835 done
6836 CFLAGS=$kpse_save_flags
6837 ac_ext=c
6838 ac_cpp='$CPP $CPPFLAGS'
6839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6842
6843 ;;
6844 esac
6845 fi
6846 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $kpse_cv_visibility_cflags" >&5
6847 printf "%s\n" "$kpse_cv_visibility_cflags" >&6; }
6848 case $kpse_cv_visibility_cflags in #(
6849 unknown) :
6850 ;; #(
6851 *) :
6852 VISIBILITY_CFLAGS=$kpse_cv_visibility_cflags
6853 ;;
6854 esac
6855
6856
6857
6858
6859
6860 # Checks for header files.
6861 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6862 printf %s "checking for grep that handles long lines and -e... " >&6; }
6863 if test ${ac_cv_path_GREP+y}
6864 then :
6865 printf %s "(cached) " >&6
6866 else case e in #(
6867 e) if test -z "$GREP"; then
6868 ac_path_GREP_found=false
6869 # Loop through the user's path and test for each of PROGNAME-LIST
6870 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6871 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6872 do
6873 IFS=$as_save_IFS
6874 case $as_dir in #(((
6875 '') as_dir=./ ;;
6876 */) ;;
6877 *) as_dir=$as_dir/ ;;
6878 esac
6879 for ac_prog in grep ggrep
6880 do
6881 for ac_exec_ext in '' $ac_executable_extensions; do
6882 ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
6883 as_fn_executable_p "$ac_path_GREP" || continue
6884 # Check for GNU ac_path_GREP and select it if it is found.
6885 # Check for GNU $ac_path_GREP
6886 case `"$ac_path_GREP" --version 2>&1` in #(
6887 *GNU*)
6888 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6889 #(
6890 *)
6891 ac_count=0
6892 printf %s 0123456789 >"conftest.in"
6893 while :
6894 do
6895 cat "conftest.in" "conftest.in" >"conftest.tmp"
6896 mv "conftest.tmp" "conftest.in"
6897 cp "conftest.in" "conftest.nl"
6898 printf "%s\n" 'GREP' >> "conftest.nl"
6899 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6900 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6901 as_fn_arith $ac_count + 1 && ac_count=$as_val
6902 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6903 # Best one so far, save it but keep looking for a better one
6904 ac_cv_path_GREP="$ac_path_GREP"
6905 ac_path_GREP_max=$ac_count
6906 fi
6907 # 10*(2^10) chars as input seems more than enough
6908 test $ac_count -gt 10 && break
6909 done
6910 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6911 esac
6912
6913 $ac_path_GREP_found && break 3
6914 done
6915 done
6916 done
6917 IFS=$as_save_IFS
6918 if test -z "$ac_cv_path_GREP"; then
6919 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6920 fi
6921 else
6922 ac_cv_path_GREP=$GREP
6923 fi
6924 ;;
6925 esac
6926 fi
6927 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6928 printf "%s\n" "$ac_cv_path_GREP" >&6; }
6929 GREP="$ac_cv_path_GREP"
6930
6931
6932 # Autoupdate added the next two lines to ensure that your configure
6933 # script's behavior did not change. They are probably safe to remove.
6934
6935 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6936 printf %s "checking for egrep... " >&6; }
6937 if test ${ac_cv_path_EGREP+y}
6938 then :
6939 printf %s "(cached) " >&6
6940 else case e in #(
6941 e) if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6942 then ac_cv_path_EGREP="$GREP -E"
6943 else
6944 if test -z "$EGREP"; then
6945 ac_path_EGREP_found=false
6946 # Loop through the user's path and test for each of PROGNAME-LIST
6947 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6948 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6949 do
6950 IFS=$as_save_IFS
6951 case $as_dir in #(((
6952 '') as_dir=./ ;;
6953 */) ;;
6954 *) as_dir=$as_dir/ ;;
6955 esac
6956 for ac_prog in egrep
6957 do
6958 for ac_exec_ext in '' $ac_executable_extensions; do
6959 ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
6960 as_fn_executable_p "$ac_path_EGREP" || continue
6961 # Check for GNU ac_path_EGREP and select it if it is found.
6962 # Check for GNU $ac_path_EGREP
6963 case `"$ac_path_EGREP" --version 2>&1` in #(
6964 *GNU*)
6965 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6966 #(
6967 *)
6968 ac_count=0
6969 printf %s 0123456789 >"conftest.in"
6970 while :
6971 do
6972 cat "conftest.in" "conftest.in" >"conftest.tmp"
6973 mv "conftest.tmp" "conftest.in"
6974 cp "conftest.in" "conftest.nl"
6975 printf "%s\n" 'EGREP' >> "conftest.nl"
6976 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6977 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6978 as_fn_arith $ac_count + 1 && ac_count=$as_val
6979 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6980 # Best one so far, save it but keep looking for a better one
6981 ac_cv_path_EGREP="$ac_path_EGREP"
6982 ac_path_EGREP_max=$ac_count
6983 fi
6984 # 10*(2^10) chars as input seems more than enough
6985 test $ac_count -gt 10 && break
6986 done
6987 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6988 esac
6989
6990 $ac_path_EGREP_found && break 3
6991 done
6992 done
6993 done
6994 IFS=$as_save_IFS
6995 if test -z "$ac_cv_path_EGREP"; then
6996 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6997 fi
6998 else
6999 ac_cv_path_EGREP=$EGREP
7000 fi
7001
7002 fi ;;
7003 esac
7004 fi
7005 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
7006 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
7007 EGREP="$ac_cv_path_EGREP"
7008
7009 EGREP_TRADITIONAL=$EGREP
7010 ac_cv_path_EGREP_TRADITIONAL=$EGREP
7011
7012
7013 ac_header_dirent=no
7014 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
7015 as_ac_Header=`printf "%s\n" "ac_cv_header_dirent_$ac_hdr" | sed "$as_sed_sh"`
7016 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
7017 printf %s "checking for $ac_hdr that defines DIR... " >&6; }
7018 if eval test \${$as_ac_Header+y}
7019 then :
7020 printf %s "(cached) " >&6
7021 else case e in #(
7022 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7023 /* end confdefs.h. */
7024 #include <sys/types.h>
7025 #include <$ac_hdr>
7026
7027 int
7028 main (void)
7029 {
7030 if ((DIR *) 0)
7031 return 0;
7032 ;
7033 return 0;
7034 }
7035 _ACEOF
7036 if ac_fn_c_try_compile "$LINENO"
7037 then :
7038 eval "$as_ac_Header=yes"
7039 else case e in #(
7040 e) eval "$as_ac_Header=no" ;;
7041 esac
7042 fi
7043 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
7044 esac
7045 fi
7046 eval ac_res=\$$as_ac_Header
7047 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7048 printf "%s\n" "$ac_res" >&6; }
7049 if eval test \"x\$"$as_ac_Header"\" = x"yes"
7050 then :
7051 cat >>confdefs.h <<_ACEOF
7052 #define `printf "%s\n" "HAVE_$ac_hdr" | sed "$as_sed_cpp"` 1
7053 _ACEOF
7054
7055 ac_header_dirent=$ac_hdr; break
7056 fi
7057
7058 done
7059 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
7060 if test $ac_header_dirent = dirent.h; then
7061 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
7062 printf %s "checking for library containing opendir... " >&6; }
7063 if test ${ac_cv_search_opendir+y}
7064 then :
7065 printf %s "(cached) " >&6
7066 else case e in #(
7067 e) ac_func_search_save_LIBS=$LIBS
7068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7069 /* end confdefs.h. */
7070
7071 /* Override any GCC internal prototype to avoid an error.
7072 Use char because int might match the return type of a GCC
7073 builtin and then its argument prototype would still apply.
7074 The 'extern "C"' is for builds by C++ compilers;
7075 although this is not generally supported in C code supporting it here
7076 has little cost and some practical benefit (sr 110532). */
7077 #ifdef __cplusplus
7078 extern "C"
7079 #endif
7080 char opendir (void);
7081 int
7082 main (void)
7083 {
7084 return opendir ();
7085 ;
7086 return 0;
7087 }
7088 _ACEOF
7089 for ac_lib in '' dir
7090 do
7091 if test -z "$ac_lib"; then
7092 ac_res="none required"
7093 else
7094 ac_res=-l$ac_lib
7095 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
7096 fi
7097 if ac_fn_c_try_link "$LINENO"
7098 then :
7099 ac_cv_search_opendir=$ac_res
7100 fi
7101 rm -f core conftest.err conftest.$ac_objext conftest.beam \
7102 conftest$ac_exeext
7103 if test ${ac_cv_search_opendir+y}
7104 then :
7105 break
7106 fi
7107 done
7108 if test ${ac_cv_search_opendir+y}
7109 then :
7110
7111 else case e in #(
7112 e) ac_cv_search_opendir=no ;;
7113 esac
7114 fi
7115 rm conftest.$ac_ext
7116 LIBS=$ac_func_search_save_LIBS ;;
7117 esac
7118 fi
7119 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
7120 printf "%s\n" "$ac_cv_search_opendir" >&6; }
7121 ac_res=$ac_cv_search_opendir
7122 if test "$ac_res" != no
7123 then :
7124 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
7125
7126 fi
7127
7128 else
7129 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
7130 printf %s "checking for library containing opendir... " >&6; }
7131 if test ${ac_cv_search_opendir+y}
7132 then :
7133 printf %s "(cached) " >&6
7134 else case e in #(
7135 e) ac_func_search_save_LIBS=$LIBS
7136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7137 /* end confdefs.h. */
7138
7139 /* Override any GCC internal prototype to avoid an error.
7140 Use char because int might match the return type of a GCC
7141 builtin and then its argument prototype would still apply.
7142 The 'extern "C"' is for builds by C++ compilers;
7143 although this is not generally supported in C code supporting it here
7144 has little cost and some practical benefit (sr 110532). */
7145 #ifdef __cplusplus
7146 extern "C"
7147 #endif
7148 char opendir (void);
7149 int
7150 main (void)
7151 {
7152 return opendir ();
7153 ;
7154 return 0;
7155 }
7156 _ACEOF
7157 for ac_lib in '' x
7158 do
7159 if test -z "$ac_lib"; then
7160 ac_res="none required"
7161 else
7162 ac_res=-l$ac_lib
7163 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
7164 fi
7165 if ac_fn_c_try_link "$LINENO"
7166 then :
7167 ac_cv_search_opendir=$ac_res
7168 fi
7169 rm -f core conftest.err conftest.$ac_objext conftest.beam \
7170 conftest$ac_exeext
7171 if test ${ac_cv_search_opendir+y}
7172 then :
7173 break
7174 fi
7175 done
7176 if test ${ac_cv_search_opendir+y}
7177 then :
7178
7179 else case e in #(
7180 e) ac_cv_search_opendir=no ;;
7181 esac
7182 fi
7183 rm conftest.$ac_ext
7184 LIBS=$ac_func_search_save_LIBS ;;
7185 esac
7186 fi
7187 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
7188 printf "%s\n" "$ac_cv_search_opendir" >&6; }
7189 ac_res=$ac_cv_search_opendir
7190 if test "$ac_res" != no
7191 then :
7192 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
7193
7194 fi
7195
7196 fi
7197
7198 ac_fn_c_check_header_compile "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
7199 if test "x$ac_cv_header_stdint_h" = xyes
7200 then :
7201 printf "%s\n" "#define HAVE_STDINT_H 1" >>confdefs.h
7202
7203 fi
7204 ac_fn_c_check_header_compile "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
7205 if test "x$ac_cv_header_unistd_h" = xyes
7206 then :
7207 printf "%s\n" "#define HAVE_UNISTD_H 1" >>confdefs.h
7208
7209 fi
7210 ac_fn_c_check_header_compile "$LINENO" "windows.h" "ac_cv_header_windows_h" "$ac_includes_default"
7211 if test "x$ac_cv_header_windows_h" = xyes
7212 then :
7213 printf "%s\n" "#define HAVE_WINDOWS_H 1" >>confdefs.h
7214
7215 fi
7216 ac_fn_c_check_header_compile "$LINENO" "sys/int_types.h" "ac_cv_header_sys_int_types_h" "$ac_includes_default"
7217 if test "x$ac_cv_header_sys_int_types_h" = xyes
7218 then :
7219 printf "%s\n" "#define HAVE_SYS_INT_TYPES_H 1" >>confdefs.h
7220
7221 fi
7222
7223 ac_fn_c_check_header_compile "$LINENO" "winnt.h" "ac_cv_header_winnt_h" "#include <windows.h>
7224 "
7225 if test "x$ac_cv_header_winnt_h" = xyes
7226 then :
7227 printf "%s\n" "#define HAVE_WINNT_H 1" >>confdefs.h
7228
7229 fi
7230 ac_fn_c_check_header_compile "$LINENO" "winbase.h" "ac_cv_header_winbase_h" "#include <windows.h>
7231 "
7232 if test "x$ac_cv_header_winbase_h" = xyes
7233 then :
7234 printf "%s\n" "#define HAVE_WINBASE_H 1" >>confdefs.h
7235
7236 fi
7237
7238 ac_fn_c_check_header_compile "$LINENO" "sys/types.h" "ac_cv_header_sys_types_h" "$ac_includes_default"
7239 if test "x$ac_cv_header_sys_types_h" = xyes
7240 then :
7241 printf "%s\n" "#define HAVE_SYS_TYPES_H 1" >>confdefs.h
7242
7243 fi
7244 ac_fn_c_check_header_compile "$LINENO" "sys/mman.h" "ac_cv_header_sys_mman_h" "$ac_includes_default"
7245 if test "x$ac_cv_header_sys_mman_h" = xyes
7246 then :
7247 printf "%s\n" "#define HAVE_SYS_MMAN_H 1" >>confdefs.h
7248
7249 fi
7250 ac_fn_c_check_header_compile "$LINENO" "sys/stat.h" "ac_cv_header_sys_stat_h" "$ac_includes_default"
7251 if test "x$ac_cv_header_sys_stat_h" = xyes
7252 then :
7253 printf "%s\n" "#define HAVE_SYS_STAT_H 1" >>confdefs.h
7254
7255 fi
7256 ac_fn_c_check_header_compile "$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default"
7257 if test "x$ac_cv_header_sys_param_h" = xyes
7258 then :
7259 printf "%s\n" "#define HAVE_SYS_PARAM_H 1" >>confdefs.h
7260
7261 fi
7262 ac_fn_c_check_header_compile "$LINENO" "io.h" "ac_cv_header_io_h" "$ac_includes_default"
7263 if test "x$ac_cv_header_io_h" = xyes
7264 then :
7265 printf "%s\n" "#define HAVE_IO_H 1" >>confdefs.h
7266
7267 fi
7268 ac_fn_c_check_header_compile "$LINENO" "direct.h" "ac_cv_header_direct_h" "$ac_includes_default"
7269 if test "x$ac_cv_header_direct_h" = xyes
7270 then :
7271 printf "%s\n" "#define HAVE_DIRECT_H 1" >>confdefs.h
7272
7273 fi
7274 ac_fn_c_check_header_compile "$LINENO" "byteswap.h" "ac_cv_header_byteswap_h" "$ac_includes_default"
7275 if test "x$ac_cv_header_byteswap_h" = xyes
7276 then :
7277 printf "%s\n" "#define HAVE_BYTESWAP_H 1" >>confdefs.h
7278
7279 fi
7280
7281 ac_fn_c_check_header_compile "$LINENO" "fnmatch.h" "ac_cv_header_fnmatch_h" "$ac_includes_default"
7282 if test "x$ac_cv_header_fnmatch_h" = xyes
7283 then :
7284 printf "%s\n" "#define HAVE_FNMATCH_H 1" >>confdefs.h
7285
7286 fi
7287
7288
7289 # mmap ---------------------------------------------------------------
7290 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether can use mmap for file scanning" >&5
7291 printf %s "checking whether can use mmap for file scanning... " >&6; }
7292 enable_mmap='no (just a bit slower)'
7293 test "x$ac_cv_header_winbase_h" = xyes && enable_mmap="yes, winbase.h"
7294 test "x$ac_cv_header_sys_mman_h" = xyes && enable_mmap="yes, sys/mman.h"
7295 case $enable_mmap in #(
7296 yes*) :
7297 ZZIPLIB_DEFINES='-D_USE_MMAP' ;; #(
7298 *) :
7299 ;;
7300 esac
7301 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_mmap" >&5
7302 printf "%s\n" "$enable_mmap" >&6; }
7303
7304
7305 # Check whether --enable-largefile was given.
7306 if test ${enable_largefile+y}
7307 then :
7308 enableval=$enable_largefile;
7309 fi
7310 if test "$enable_largefile,$enable_year2038" != no,no
7311 then :
7312 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable large file support" >&5
7313 printf %s "checking for $CC option to enable large file support... " >&6; }
7314 if test ${ac_cv_sys_largefile_opts+y}
7315 then :
7316 printf %s "(cached) " >&6
7317 else case e in #(
7318 e) ac_save_CC="$CC"
7319 ac_opt_found=no
7320 for ac_opt in "none needed" "-D_FILE_OFFSET_BITS=64" "-D_LARGE_FILES=1" "-n32"; do
7321 if test x"$ac_opt" != x"none needed"
7322 then :
7323 CC="$ac_save_CC $ac_opt"
7324 fi
7325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7326 /* end confdefs.h. */
7327 #include <sys/types.h>
7328 #ifndef FTYPE
7329 # define FTYPE off_t
7330 #endif
7331 /* Check that FTYPE can represent 2**63 - 1 correctly.
7332 We can't simply define LARGE_FTYPE to be 9223372036854775807,
7333 since some C++ compilers masquerading as C compilers
7334 incorrectly reject 9223372036854775807. */
7335 #define LARGE_FTYPE (((FTYPE) 1 << 31 << 31) - 1 + ((FTYPE) 1 << 31 << 31))
7336 int FTYPE_is_large[(LARGE_FTYPE % 2147483629 == 721
7337 && LARGE_FTYPE % 2147483647 == 1)
7338 ? 1 : -1];
7339 int
7340 main (void)
7341 {
7342
7343 ;
7344 return 0;
7345 }
7346 _ACEOF
7347 if ac_fn_c_try_compile "$LINENO"
7348 then :
7349 if test x"$ac_opt" = x"none needed"
7350 then :
7351 # GNU/Linux s390x and alpha need _FILE_OFFSET_BITS=64 for wide ino_t.
7352 CC="$CC -DFTYPE=ino_t"
7353 if ac_fn_c_try_compile "$LINENO"
7354 then :
7355
7356 else case e in #(
7357 e) CC="$CC -D_FILE_OFFSET_BITS=64"
7358 if ac_fn_c_try_compile "$LINENO"
7359 then :
7360 ac_opt='-D_FILE_OFFSET_BITS=64'
7361 fi
7362 rm -f core conftest.err conftest.$ac_objext conftest.beam ;;
7363 esac
7364 fi
7365 rm -f core conftest.err conftest.$ac_objext conftest.beam
7366 fi
7367 ac_cv_sys_largefile_opts=$ac_opt
7368 ac_opt_found=yes
7369 fi
7370 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7371 test $ac_opt_found = no || break
7372 done
7373 CC="$ac_save_CC"
7374
7375 test $ac_opt_found = yes || ac_cv_sys_largefile_opts="support not detected" ;;
7376 esac
7377 fi
7378 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_opts" >&5
7379 printf "%s\n" "$ac_cv_sys_largefile_opts" >&6; }
7380
7381 ac_have_largefile=yes
7382 case $ac_cv_sys_largefile_opts in #(
7383 "none needed") :
7384 ;; #(
7385 "supported through gnulib") :
7386 ;; #(
7387 "support not detected") :
7388 ac_have_largefile=no ;; #(
7389 "-D_FILE_OFFSET_BITS=64") :
7390
7391 printf "%s\n" "#define _FILE_OFFSET_BITS 64" >>confdefs.h
7392 ;; #(
7393 "-D_LARGE_FILES=1") :
7394
7395 printf "%s\n" "#define _LARGE_FILES 1" >>confdefs.h
7396 ;; #(
7397 "-n32") :
7398 CC="$CC -n32" ;; #(
7399 *) :
7400 as_fn_error $? "internal error: bad value for \$ac_cv_sys_largefile_opts" "$LINENO" 5 ;;
7401 esac
7402
7403 if test "$enable_year2038" != no
7404 then :
7405 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option for timestamps after 2038" >&5
7406 printf %s "checking for $CC option for timestamps after 2038... " >&6; }
7407 if test ${ac_cv_sys_year2038_opts+y}
7408 then :
7409 printf %s "(cached) " >&6
7410 else case e in #(
7411 e) ac_save_CPPFLAGS="$CPPFLAGS"
7412 ac_opt_found=no
7413 for ac_opt in "none needed" "-D_TIME_BITS=64" "-D__MINGW_USE_VC2005_COMPAT" "-U_USE_32_BIT_TIME_T -D__MINGW_USE_VC2005_COMPAT"; do
7414 if test x"$ac_opt" != x"none needed"
7415 then :
7416 CPPFLAGS="$ac_save_CPPFLAGS $ac_opt"
7417 fi
7418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7419 /* end confdefs.h. */
7420
7421 #include <time.h>
7422 /* Check that time_t can represent 2**32 - 1 correctly. */
7423 #define LARGE_TIME_T \\
7424 ((time_t) (((time_t) 1 << 30) - 1 + 3 * ((time_t) 1 << 30)))
7425 int verify_time_t_range[(LARGE_TIME_T / 65537 == 65535
7426 && LARGE_TIME_T % 65537 == 0)
7427 ? 1 : -1];
7428
7429 int
7430 main (void)
7431 {
7432
7433 ;
7434 return 0;
7435 }
7436 _ACEOF
7437 if ac_fn_c_try_compile "$LINENO"
7438 then :
7439 ac_cv_sys_year2038_opts="$ac_opt"
7440 ac_opt_found=yes
7441 fi
7442 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7443 test $ac_opt_found = no || break
7444 done
7445 CPPFLAGS="$ac_save_CPPFLAGS"
7446 test $ac_opt_found = yes || ac_cv_sys_year2038_opts="support not detected" ;;
7447 esac
7448 fi
7449 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_year2038_opts" >&5
7450 printf "%s\n" "$ac_cv_sys_year2038_opts" >&6; }
7451
7452 ac_have_year2038=yes
7453 case $ac_cv_sys_year2038_opts in #(
7454 "none needed") :
7455 ;; #(
7456 "support not detected") :
7457 ac_have_year2038=no ;; #(
7458 "-D_TIME_BITS=64") :
7459
7460 printf "%s\n" "#define _TIME_BITS 64" >>confdefs.h
7461 ;; #(
7462 "-D__MINGW_USE_VC2005_COMPAT") :
7463
7464 printf "%s\n" "#define __MINGW_USE_VC2005_COMPAT 1" >>confdefs.h
7465 ;; #(
7466 "-U_USE_32_BIT_TIME_T"*) :
7467 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
7468 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
7469 as_fn_error $? "the 'time_t' type is currently forced to be 32-bit. It
7470 will stop working after mid-January 2038. Remove
7471 _USE_32BIT_TIME_T from the compiler flags.
7472 See 'config.log' for more details" "$LINENO" 5; } ;; #(
7473 *) :
7474 as_fn_error $? "internal error: bad value for \$ac_cv_sys_year2038_opts" "$LINENO" 5 ;;
7475 esac
7476
7477 fi
7478
7479 fi
7480 # we know about some internals of ac_sys_largefile here...
7481 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether system differentiates 64bit off_t by defines" >&5
7482 printf %s "checking whether system differentiates 64bit off_t by defines... " >&6; }
7483 ac_cv_sys_largefile_sensitive="no"
7484 if test ".${ac_cv_sys_file_offset_bits-no}${ac_cv_sys_large_files-no}" != ".nono"
7485 then ac_cv_sys_largefile_sensitive="yes"
7486
7487 printf "%s\n" "#define LARGEFILE_SENSITIVE 1" >>confdefs.h
7488
7489 fi
7490 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_sensitive" >&5
7491 printf "%s\n" "$ac_cv_sys_largefile_sensitive" >&6; }
7492
7493
7494 # Need this to avoid off64_t error with system extensions enabled.
7495 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for declarations of fseeko and ftello" >&5
7496 printf %s "checking for declarations of fseeko and ftello... " >&6; }
7497 if test ${ac_cv_func_fseeko_ftello+y}
7498 then :
7499 printf %s "(cached) " >&6
7500 else case e in #(
7501 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7502 /* end confdefs.h. */
7503
7504 #if defined __hpux && !defined _LARGEFILE_SOURCE
7505 # include <limits.h>
7506 # if LONG_MAX >> 31 == 0
7507 # error "32-bit HP-UX 11/ia64 needs _LARGEFILE_SOURCE for fseeko in C++"
7508 # endif
7509 #endif
7510 #include <sys/types.h> /* for off_t */
7511 #include <stdio.h>
7512
7513 int
7514 main (void)
7515 {
7516
7517 int (*fp1) (FILE *, off_t, int) = fseeko;
7518 off_t (*fp2) (FILE *) = ftello;
7519 return fseeko (stdin, 0, 0)
7520 && fp1 (stdin, 0, 0)
7521 && ftello (stdin) >= 0
7522 && fp2 (stdin) >= 0;
7523
7524 ;
7525 return 0;
7526 }
7527 _ACEOF
7528 if ac_fn_c_try_compile "$LINENO"
7529 then :
7530 ac_cv_func_fseeko_ftello=yes
7531 else case e in #(
7532 e) ac_save_CPPFLAGS="$CPPFLAGS"
7533 CPPFLAGS="$CPPFLAGS -D_LARGEFILE_SOURCE=1"
7534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7535 /* end confdefs.h. */
7536
7537 #if defined __hpux && !defined _LARGEFILE_SOURCE
7538 # include <limits.h>
7539 # if LONG_MAX >> 31 == 0
7540 # error "32-bit HP-UX 11/ia64 needs _LARGEFILE_SOURCE for fseeko in C++"
7541 # endif
7542 #endif
7543 #include <sys/types.h> /* for off_t */
7544 #include <stdio.h>
7545
7546 int
7547 main (void)
7548 {
7549
7550 int (*fp1) (FILE *, off_t, int) = fseeko;
7551 off_t (*fp2) (FILE *) = ftello;
7552 return fseeko (stdin, 0, 0)
7553 && fp1 (stdin, 0, 0)
7554 && ftello (stdin) >= 0
7555 && fp2 (stdin) >= 0;
7556
7557 ;
7558 return 0;
7559 }
7560 _ACEOF
7561 if ac_fn_c_try_compile "$LINENO"
7562 then :
7563 ac_cv_func_fseeko_ftello="need _LARGEFILE_SOURCE"
7564 else case e in #(
7565 e) ac_cv_func_fseeko_ftello=no ;;
7566 esac
7567 fi
7568 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
7569 esac
7570 fi
7571 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
7572 esac
7573 fi
7574 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_fseeko_ftello" >&5
7575 printf "%s\n" "$ac_cv_func_fseeko_ftello" >&6; }
7576 if test "$ac_cv_func_fseeko_ftello" != no
7577 then :
7578
7579 printf "%s\n" "#define HAVE_FSEEKO 1" >>confdefs.h
7580
7581 fi
7582 if test "$ac_cv_func_fseeko_ftello" = "need _LARGEFILE_SOURCE"
7583 then :
7584
7585 printf "%s\n" "#define _LARGEFILE_SOURCE 1" >>confdefs.h
7586
7587 fi
7588
7589 if test "x$enable_largefile" != xno; then
7590 case $ac_cv_sys_file_offset_bits in #(
7591 no) :
7592 ;; #(
7593 unknown) :
7594 case $ac_cv_sys_large_files in #(
7595 no | unknown) :
7596 ;; #(
7597 *) :
7598 ZZIPLIB_DEFINES="$ZZIPLIB_DEFINES -D_LARGE_FILES" ;;
7599 esac ;; #(
7600 *) :
7601 ZZIPLIB_DEFINES="$ZZIPLIB_DEFINES -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64" ;;
7602 esac
7603 fi
7604 case $ac_cv_sys_largefile_source in #(
7605 no | unknown) :
7606 ;; #(
7607 *) :
7608 ZZIPLIB_DEFINES="$ZZIPLIB_DEFINES -D_LARGEFILE_SOURCE" ;;
7609 esac
7610
7611
7612 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for declarations of fseeko and ftello" >&5
7613 printf %s "checking for declarations of fseeko and ftello... " >&6; }
7614 if test ${ac_cv_func_fseeko_ftello+y}
7615 then :
7616 printf %s "(cached) " >&6
7617 else case e in #(
7618 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7619 /* end confdefs.h. */
7620
7621 #if defined __hpux && !defined _LARGEFILE_SOURCE
7622 # include <limits.h>
7623 # if LONG_MAX >> 31 == 0
7624 # error "32-bit HP-UX 11/ia64 needs _LARGEFILE_SOURCE for fseeko in C++"
7625 # endif
7626 #endif
7627 #include <sys/types.h> /* for off_t */
7628 #include <stdio.h>
7629
7630 int
7631 main (void)
7632 {
7633
7634 int (*fp1) (FILE *, off_t, int) = fseeko;
7635 off_t (*fp2) (FILE *) = ftello;
7636 return fseeko (stdin, 0, 0)
7637 && fp1 (stdin, 0, 0)
7638 && ftello (stdin) >= 0
7639 && fp2 (stdin) >= 0;
7640
7641 ;
7642 return 0;
7643 }
7644 _ACEOF
7645 if ac_fn_c_try_compile "$LINENO"
7646 then :
7647 ac_cv_func_fseeko_ftello=yes
7648 else case e in #(
7649 e) ac_save_CPPFLAGS="$CPPFLAGS"
7650 CPPFLAGS="$CPPFLAGS -D_LARGEFILE_SOURCE=1"
7651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7652 /* end confdefs.h. */
7653
7654 #if defined __hpux && !defined _LARGEFILE_SOURCE
7655 # include <limits.h>
7656 # if LONG_MAX >> 31 == 0
7657 # error "32-bit HP-UX 11/ia64 needs _LARGEFILE_SOURCE for fseeko in C++"
7658 # endif
7659 #endif
7660 #include <sys/types.h> /* for off_t */
7661 #include <stdio.h>
7662
7663 int
7664 main (void)
7665 {
7666
7667 int (*fp1) (FILE *, off_t, int) = fseeko;
7668 off_t (*fp2) (FILE *) = ftello;
7669 return fseeko (stdin, 0, 0)
7670 && fp1 (stdin, 0, 0)
7671 && ftello (stdin) >= 0
7672 && fp2 (stdin) >= 0;
7673
7674 ;
7675 return 0;
7676 }
7677 _ACEOF
7678 if ac_fn_c_try_compile "$LINENO"
7679 then :
7680 ac_cv_func_fseeko_ftello="need _LARGEFILE_SOURCE"
7681 else case e in #(
7682 e) ac_cv_func_fseeko_ftello=no ;;
7683 esac
7684 fi
7685 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
7686 esac
7687 fi
7688 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
7689 esac
7690 fi
7691 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_fseeko_ftello" >&5
7692 printf "%s\n" "$ac_cv_func_fseeko_ftello" >&6; }
7693 if test "$ac_cv_func_fseeko_ftello" != no
7694 then :
7695
7696 printf "%s\n" "#define HAVE_FSEEKO 1" >>confdefs.h
7697
7698 fi
7699 if test "$ac_cv_func_fseeko_ftello" = "need _LARGEFILE_SOURCE"
7700 then :
7701
7702 printf "%s\n" "#define _LARGEFILE_SOURCE 1" >>confdefs.h
7703
7704 fi
7705
7706
7707 # Checks for typedefs, structures, and compiler characteristics.
7708 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
7709 printf %s "checking for inline... " >&6; }
7710 if test ${ac_cv_c_inline+y}
7711 then :
7712 printf %s "(cached) " >&6
7713 else case e in #(
7714 e) ac_cv_c_inline=no
7715 for ac_kw in inline __inline__ __inline; do
7716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7717 /* end confdefs.h. */
7718 #ifndef __cplusplus
7719 typedef int foo_t;
7720 static $ac_kw foo_t static_foo (void) {return 0; }
7721 $ac_kw foo_t foo (void) {return 0; }
7722 #endif
7723
7724 _ACEOF
7725 if ac_fn_c_try_compile "$LINENO"
7726 then :
7727 ac_cv_c_inline=$ac_kw
7728 fi
7729 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7730 test "$ac_cv_c_inline" != no && break
7731 done
7732 ;;
7733 esac
7734 fi
7735 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
7736 printf "%s\n" "$ac_cv_c_inline" >&6; }
7737
7738 case $ac_cv_c_inline in
7739 inline | yes) ;;
7740 *)
7741 case $ac_cv_c_inline in
7742 no) ac_val=;;
7743 *) ac_val=$ac_cv_c_inline;;
7744 esac
7745 cat >>confdefs.h <<_ACEOF
7746 #ifndef __cplusplus
7747 #define inline $ac_val
7748 #endif
7749 _ACEOF
7750 ;;
7751 esac
7752
7753 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
7754 printf %s "checking for an ANSI C-conforming const... " >&6; }
7755 if test ${ac_cv_c_const+y}
7756 then :
7757 printf %s "(cached) " >&6
7758 else case e in #(
7759 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7760 /* end confdefs.h. */
7761
7762 int
7763 main (void)
7764 {
7765
7766 #ifndef __cplusplus
7767 /* Ultrix mips cc rejects this sort of thing. */
7768 typedef int charset[2];
7769 const charset cs = { 0, 0 };
7770 /* SunOS 4.1.1 cc rejects this. */
7771 char const *const *pcpcc;
7772 char **ppc;
7773 /* NEC SVR4.0.2 mips cc rejects this. */
7774 struct point {int x, y;};
7775 static struct point const zero = {0,0};
7776 /* IBM XL C 1.02.0.0 rejects this.
7777 It does not let you subtract one const X* pointer from another in
7778 an arm of an if-expression whose if-part is not a constant
7779 expression */
7780 const char *g = "string";
7781 pcpcc = &g + (g ? g-g : 0);
7782 /* HPUX 7.0 cc rejects these. */
7783 ++pcpcc;
7784 ppc = (char**) pcpcc;
7785 pcpcc = (char const *const *) ppc;
7786 { /* SCO 3.2v4 cc rejects this sort of thing. */
7787 char tx;
7788 char *t = &tx;
7789 char const *s = 0 ? (char *) 0 : (char const *) 0;
7790
7791 *t++ = 0;
7792 if (s) return 0;
7793 }
7794 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
7795 int x[] = {25, 17};
7796 const int *foo = &x[0];
7797 ++foo;
7798 }
7799 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
7800 typedef const int *iptr;
7801 iptr p = 0;
7802 ++p;
7803 }
7804 { /* IBM XL C 1.02.0.0 rejects this sort of thing, saying
7805 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
7806 struct s { int j; const int *ap[3]; } bx;
7807 struct s *b = &bx; b->j = 5;
7808 }
7809 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
7810 const int foo = 10;
7811 if (!foo) return 0;
7812 }
7813 return !cs[0] && !zero.x;
7814 #endif
7815
7816 ;
7817 return 0;
7818 }
7819 _ACEOF
7820 if ac_fn_c_try_compile "$LINENO"
7821 then :
7822 ac_cv_c_const=yes
7823 else case e in #(
7824 e) ac_cv_c_const=no ;;
7825 esac
7826 fi
7827 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
7828 esac
7829 fi
7830 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
7831 printf "%s\n" "$ac_cv_c_const" >&6; }
7832 if test $ac_cv_c_const = no; then
7833
7834 printf "%s\n" "#define const /**/" >>confdefs.h
7835
7836 fi
7837
7838 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C/C++ restrict keyword" >&5
7839 printf %s "checking for C/C++ restrict keyword... " >&6; }
7840 if test ${ac_cv_c_restrict+y}
7841 then :
7842 printf %s "(cached) " >&6
7843 else case e in #(
7844 e) ac_cv_c_restrict=no
7845 # Put '__restrict__' first, to avoid problems with glibc and non-GCC; see:
7846 # https://lists.gnu.org/archive/html/bug-autoconf/2016-02/msg00006.html
7847 # Put 'restrict' last, because C++ lacks it.
7848 for ac_kw in __restrict__ __restrict _Restrict restrict; do
7849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7850 /* end confdefs.h. */
7851 typedef int *int_ptr;
7852 int foo (int_ptr $ac_kw ip) { return ip[0]; }
7853 int bar (int [$ac_kw]); /* Catch GCC bug 14050. */
7854 int bar (int ip[$ac_kw]) { return ip[0]; }
7855
7856 int
7857 main (void)
7858 {
7859 int s[1];
7860 int *$ac_kw t = s;
7861 t[0] = 0;
7862 return foo (t) + bar (t);
7863
7864 ;
7865 return 0;
7866 }
7867 _ACEOF
7868 if ac_fn_c_try_compile "$LINENO"
7869 then :
7870 ac_cv_c_restrict=$ac_kw
7871 fi
7872 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7873 test "$ac_cv_c_restrict" != no && break
7874 done
7875 ;;
7876 esac
7877 fi
7878 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_restrict" >&5
7879 printf "%s\n" "$ac_cv_c_restrict" >&6; }
7880
7881 case $ac_cv_c_restrict in
7882 restrict) ;;
7883 no) printf "%s\n" "#define restrict /**/" >>confdefs.h
7884 ;;
7885 *) printf "%s\n" "#define restrict $ac_cv_c_restrict" >>confdefs.h
7886 ;;
7887 esac
7888
7889 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
7890 if test "x$ac_cv_type_size_t" = xyes
7891 then :
7892
7893 else case e in #(
7894 e)
7895 printf "%s\n" "#define size_t unsigned int" >>confdefs.h
7896 ;;
7897 esac
7898 fi
7899
7900 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
7901 if test "x$ac_cv_type_ssize_t" = xyes
7902 then :
7903
7904 else case e in #(
7905 e)
7906 printf "%s\n" "#define ssize_t int" >>confdefs.h
7907 ;;
7908 esac
7909 fi
7910
7911 ac_fn_c_check_type "$LINENO" "off64_t" "ac_cv_type_off64_t" "$ac_includes_default"
7912 if test "x$ac_cv_type_off64_t" = xyes
7913 then :
7914
7915 else case e in #(
7916 e)
7917 printf "%s\n" "#define off64_t _zzip_off_t" >>confdefs.h
7918 ;;
7919 esac
7920 fi
7921
7922 ac_fn_c_check_type "$LINENO" "__int64" "ac_cv_type___int64" "$ac_includes_default"
7923 if test "x$ac_cv_type___int64" = xyes
7924 then :
7925
7926 else case e in #(
7927 e)
7928 printf "%s\n" "#define __int64 long long" >>confdefs.h
7929 ;;
7930 esac
7931 fi
7932
7933 # The cast to long int works around a bug in the HP C Compiler
7934 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
7935 # declarations like 'int a3[[(sizeof (unsigned char)) >= 0]];'.
7936 # This bug is HP SR number 8606223364.
7937 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
7938 printf %s "checking size of short... " >&6; }
7939 if test ${ac_cv_sizeof_short+y}
7940 then :
7941 printf %s "(cached) " >&6
7942 else case e in #(
7943 e) if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"
7944 then :
7945
7946 else case e in #(
7947 e) if test "$ac_cv_type_short" = yes; then
7948 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
7949 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
7950 as_fn_error 77 "cannot compute sizeof (short)
7951 See 'config.log' for more details" "$LINENO" 5; }
7952 else
7953 ac_cv_sizeof_short=0
7954 fi ;;
7955 esac
7956 fi
7957 ;;
7958 esac
7959 fi
7960 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
7961 printf "%s\n" "$ac_cv_sizeof_short" >&6; }
7962
7963
7964
7965 printf "%s\n" "#define SIZEOF_SHORT $ac_cv_sizeof_short" >>confdefs.h
7966
7967
7968 # The cast to long int works around a bug in the HP C Compiler
7969 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
7970 # declarations like 'int a3[[(sizeof (unsigned char)) >= 0]];'.
7971 # This bug is HP SR number 8606223364.
7972 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
7973 printf %s "checking size of int... " >&6; }
7974 if test ${ac_cv_sizeof_int+y}
7975 then :
7976 printf %s "(cached) " >&6
7977 else case e in #(
7978 e) if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"
7979 then :
7980
7981 else case e in #(
7982 e) if test "$ac_cv_type_int" = yes; then
7983 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
7984 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
7985 as_fn_error 77 "cannot compute sizeof (int)
7986 See 'config.log' for more details" "$LINENO" 5; }
7987 else
7988 ac_cv_sizeof_int=0
7989 fi ;;
7990 esac
7991 fi
7992 ;;
7993 esac
7994 fi
7995 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
7996 printf "%s\n" "$ac_cv_sizeof_int" >&6; }
7997
7998
7999
8000 printf "%s\n" "#define SIZEOF_INT $ac_cv_sizeof_int" >>confdefs.h
8001
8002
8003 # The cast to long int works around a bug in the HP C Compiler
8004 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8005 # declarations like 'int a3[[(sizeof (unsigned char)) >= 0]];'.
8006 # This bug is HP SR number 8606223364.
8007 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
8008 printf %s "checking size of long... " >&6; }
8009 if test ${ac_cv_sizeof_long+y}
8010 then :
8011 printf %s "(cached) " >&6
8012 else case e in #(
8013 e) if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"
8014 then :
8015
8016 else case e in #(
8017 e) if test "$ac_cv_type_long" = yes; then
8018 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
8019 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
8020 as_fn_error 77 "cannot compute sizeof (long)
8021 See 'config.log' for more details" "$LINENO" 5; }
8022 else
8023 ac_cv_sizeof_long=0
8024 fi ;;
8025 esac
8026 fi
8027 ;;
8028 esac
8029 fi
8030 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
8031 printf "%s\n" "$ac_cv_sizeof_long" >&6; }
8032
8033
8034
8035 printf "%s\n" "#define SIZEOF_LONG $ac_cv_sizeof_long" >>confdefs.h
8036
8037
8038 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
8039 printf %s "checking whether byte ordering is bigendian... " >&6; }
8040 if test ${ac_cv_c_bigendian+y}
8041 then :
8042 printf %s "(cached) " >&6
8043 else case e in #(
8044 e) ac_cv_c_bigendian=unknown
8045 # See if we're dealing with a universal compiler.
8046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8047 /* end confdefs.h. */
8048 #ifndef __APPLE_CC__
8049 not a universal capable compiler
8050 #endif
8051 typedef int dummy;
8052
8053 _ACEOF
8054 if ac_fn_c_try_compile "$LINENO"
8055 then :
8056
8057 # Check for potential -arch flags. It is not universal unless
8058 # there are at least two -arch flags with different values.
8059 ac_arch=
8060 ac_prev=
8061 for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
8062 if test -n "$ac_prev"; then
8063 case $ac_word in
8064 i?86 | x86_64 | ppc | ppc64)
8065 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
8066 ac_arch=$ac_word
8067 else
8068 ac_cv_c_bigendian=universal
8069 break
8070 fi
8071 ;;
8072 esac
8073 ac_prev=
8074 elif test "x$ac_word" = "x-arch"; then
8075 ac_prev=arch
8076 fi
8077 done
8078 fi
8079 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8080 if test $ac_cv_c_bigendian = unknown; then
8081 # See if sys/param.h defines the BYTE_ORDER macro.
8082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8083 /* end confdefs.h. */
8084 #include <sys/types.h>
8085 #include <sys/param.h>
8086
8087 int
8088 main (void)
8089 {
8090 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \\
8091 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \\
8092 && LITTLE_ENDIAN)
8093 bogus endian macros
8094 #endif
8095
8096 ;
8097 return 0;
8098 }
8099 _ACEOF
8100 if ac_fn_c_try_compile "$LINENO"
8101 then :
8102 # It does; now see whether it defined to BIG_ENDIAN or not.
8103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8104 /* end confdefs.h. */
8105 #include <sys/types.h>
8106 #include <sys/param.h>
8107
8108 int
8109 main (void)
8110 {
8111 #if BYTE_ORDER != BIG_ENDIAN
8112 not big endian
8113 #endif
8114
8115 ;
8116 return 0;
8117 }
8118 _ACEOF
8119 if ac_fn_c_try_compile "$LINENO"
8120 then :
8121 ac_cv_c_bigendian=yes
8122 else case e in #(
8123 e) ac_cv_c_bigendian=no ;;
8124 esac
8125 fi
8126 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8127 fi
8128 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8129 fi
8130 if test $ac_cv_c_bigendian = unknown; then
8131 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
8132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8133 /* end confdefs.h. */
8134 #include <limits.h>
8135
8136 int
8137 main (void)
8138 {
8139 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
8140 bogus endian macros
8141 #endif
8142
8143 ;
8144 return 0;
8145 }
8146 _ACEOF
8147 if ac_fn_c_try_compile "$LINENO"
8148 then :
8149 # It does; now see whether it defined to _BIG_ENDIAN or not.
8150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8151 /* end confdefs.h. */
8152 #include <limits.h>
8153
8154 int
8155 main (void)
8156 {
8157 #ifndef _BIG_ENDIAN
8158 not big endian
8159 #endif
8160
8161 ;
8162 return 0;
8163 }
8164 _ACEOF
8165 if ac_fn_c_try_compile "$LINENO"
8166 then :
8167 ac_cv_c_bigendian=yes
8168 else case e in #(
8169 e) ac_cv_c_bigendian=no ;;
8170 esac
8171 fi
8172 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8173 fi
8174 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8175 fi
8176 if test $ac_cv_c_bigendian = unknown; then
8177 # Compile a test program.
8178 if test "$cross_compiling" = yes
8179 then :
8180 # Try to guess by grepping values from an object file.
8181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8182 /* end confdefs.h. */
8183 unsigned short int ascii_mm[] =
8184 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
8185 unsigned short int ascii_ii[] =
8186 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
8187 int use_ascii (int i) {
8188 return ascii_mm[i] + ascii_ii[i];
8189 }
8190 unsigned short int ebcdic_ii[] =
8191 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
8192 unsigned short int ebcdic_mm[] =
8193 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
8194 int use_ebcdic (int i) {
8195 return ebcdic_mm[i] + ebcdic_ii[i];
8196 }
8197 int
8198 main (int argc, char **argv)
8199 {
8200 /* Intimidate the compiler so that it does not
8201 optimize the arrays away. */
8202 char *p = argv[0];
8203 ascii_mm[1] = *p++; ebcdic_mm[1] = *p++;
8204 ascii_ii[1] = *p++; ebcdic_ii[1] = *p++;
8205 return use_ascii (argc) == use_ebcdic (*p);
8206 }
8207 _ACEOF
8208 if ac_fn_c_try_link "$LINENO"
8209 then :
8210 if grep BIGenDianSyS conftest$ac_exeext >/dev/null; then
8211 ac_cv_c_bigendian=yes
8212 fi
8213 if grep LiTTleEnDian conftest$ac_exeext >/dev/null ; then
8214 if test "$ac_cv_c_bigendian" = unknown; then
8215 ac_cv_c_bigendian=no
8216 else
8217 # finding both strings is unlikely to happen, but who knows?
8218 ac_cv_c_bigendian=unknown
8219 fi
8220 fi
8221 fi
8222 rm -f core conftest.err conftest.$ac_objext conftest.beam \
8223 conftest$ac_exeext conftest.$ac_ext
8224 else case e in #(
8225 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8226 /* end confdefs.h. */
8227 $ac_includes_default
8228 int
8229 main (void)
8230 {
8231
8232 /* Are we little or big endian? From Harbison&Steele. */
8233 union
8234 {
8235 long int l;
8236 char c[sizeof (long int)];
8237 } u;
8238 u.l = 1;
8239 return u.c[sizeof (long int) - 1] == 1;
8240
8241 ;
8242 return 0;
8243 }
8244 _ACEOF
8245 if ac_fn_c_try_run "$LINENO"
8246 then :
8247 ac_cv_c_bigendian=no
8248 else case e in #(
8249 e) ac_cv_c_bigendian=yes ;;
8250 esac
8251 fi
8252 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8253 conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
8254 esac
8255 fi
8256
8257 fi ;;
8258 esac
8259 fi
8260 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
8261 printf "%s\n" "$ac_cv_c_bigendian" >&6; }
8262 case $ac_cv_c_bigendian in #(
8263 yes)
8264 printf "%s\n" "#define WORDS_BIGENDIAN 1" >>confdefs.h
8265 ;; #(
8266 no)
8267 ;; #(
8268 universal)
8269
8270 printf "%s\n" "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
8271
8272 ;; #(
8273 *)
8274 as_fn_error $? "unknown endianness
8275 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
8276 esac
8277
8278
8279 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if pointers to integers require aligned access" >&5
8280 printf %s "checking if pointers to integers require aligned access... " >&6; }
8281 if test ${zziplib_cv_aligned_access+y}
8282 then :
8283 printf %s "(cached) " >&6
8284 else case e in #(
8285 e) if test "$cross_compiling" = yes
8286 then :
8287 case $host_cpu in #(
8288 alpha*|arm*|bfin*|hp*|mips*|sh*|sparc*|ia64|nv1) :
8289 zziplib_cv_aligned_access=yes ;; #(
8290 *) :
8291 zziplib_cv_aligned_access=no ;;
8292 esac
8293 else case e in #(
8294 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8295 /* end confdefs.h. */
8296
8297 #include <stdio.h>
8298 #include <stdlib.h>
8299 int
8300 main (void)
8301 {
8302
8303 char* string = malloc(40);
8304 int i;
8305 for (i=0; i < 40; i++) string[i] = i;
8306 {
8307 void* s = string;
8308 int* p = s+1;
8309 int* q = s+2;
8310 if (*p == *q) { return 1; }
8311 }
8312 ;
8313 return 0;
8314 }
8315 _ACEOF
8316 if ac_fn_c_try_run "$LINENO"
8317 then :
8318 zziplib_cv_aligned_access=no
8319 else case e in #(
8320 e) zziplib_cv_aligned_access=yes ;;
8321 esac
8322 fi
8323 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8324 conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
8325 esac
8326 fi
8327 ;;
8328 esac
8329 fi
8330 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $zziplib_cv_aligned_access" >&5
8331 printf "%s\n" "$zziplib_cv_aligned_access" >&6; }
8332 if test "x$zziplib_cv_aligned_access" = xyes ; then
8333
8334 printf "%s\n" "#define HAVE_ALIGNED_ACCESS_REQUIRED 1" >>confdefs.h
8335
8336 fi
8337
8338
8339 # Checks for library functions.
8340 ac_fn_c_check_func "$LINENO" "strcasecmp" "ac_cv_func_strcasecmp"
8341 if test "x$ac_cv_func_strcasecmp" = xyes
8342 then :
8343 printf "%s\n" "#define HAVE_STRCASECMP 1" >>confdefs.h
8344
8345 fi
8346 ac_fn_c_check_func "$LINENO" "strnlen" "ac_cv_func_strnlen"
8347 if test "x$ac_cv_func_strnlen" = xyes
8348 then :
8349 printf "%s\n" "#define HAVE_STRNLEN 1" >>confdefs.h
8350
8351 fi
8352 ac_fn_c_check_func "$LINENO" "strndup" "ac_cv_func_strndup"
8353 if test "x$ac_cv_func_strndup" = xyes
8354 then :
8355 printf "%s\n" "#define HAVE_STRNDUP 1" >>confdefs.h
8356
8357 fi
8358
8359
8360 kpse_save_CPPFLAGS=$CPPFLAGS
8361 kpse_save_LIBS=$LIBS
8362
8363 ##tldbg _KPSE_INIT: Initialize TL infrastructure.
8364 kpse_BLD=`(cd "./../../." && pwd)`
8365 kpse_SRC=`(cd "$srcdir/../../." && pwd)`
8366
8367 ##tldbg _KPSE_LIB_FLAGS: Setup zlib (-lz) flags.
8368 echo 'tldbg:_KPSE_LIB_FLAGS called: libdir=zlib, libname=z, options=, tlincl=-IBLD/libs/zlib/include, tllib=BLD/libs/zlib/libz.a, tlextra=, rebuildsrcdeps=, rebuildblddeps=${top_builddir}/../../libs/zlib/include/zconf.h.' >&5
8369 ##tldbg _KPSE_LIB_FLAGS_TL: zlib (z) .
8370
8371 # Check whether --with-system-zlib was given.
8372 if test ${with_system_zlib+y}
8373 then :
8374 withval=$with_system_zlib;
8375 fi
8376
8377 # Check whether --with-zlib-includes was given.
8378 if test ${with_zlib_includes+y}
8379 then :
8380 withval=$with_zlib_includes;
8381 fi
8382
8383 # Check whether --with-zlib-libdir was given.
8384 if test ${with_zlib_libdir+y}
8385 then :
8386 withval=$with_zlib_libdir;
8387 fi
8388 if test "x$with_system_zlib" = xyes; then
8389 ##tldbg _KPSE_LIB_FLAGS_SYSTEM: zlib (z).
8390 if test "x$with_zlib_includes" != x && test "x$with_zlib_includes" != xyes; then
8391 ZLIB_INCLUDES="-I$with_zlib_includes"
8392 fi
8393 ZLIB_LIBS="-lz"
8394 if test "x$with_zlib_libdir" != x && test "x$with_zlib_libdir" != xyes; then
8395 ZLIB_LIBS="-L$with_zlib_libdir $ZLIB_LIBS"
8396 fi
8397 else
8398 ZLIB_INCLUDES="-I$kpse_BLD/libs/zlib/include"
8399 ZLIB_LIBS="$kpse_BLD/libs/zlib/libz.a"
8400 ZLIB_DEPEND='${top_builddir}/../../libs/zlib/libz.a'
8401 ZLIB_RULE='# Rebuild libz
8402 $(ZLIB_DEPEND): ${top_builddir}/../../libs/zlib/include/zconf.h
8403 cd ${top_builddir}/../../libs/zlib && $(MAKE) $(AM_MAKEFLAGS) rebuild
8404 ${top_builddir}/../../libs/zlib/include/zconf.h:
8405 cd ${top_builddir}/../../libs/zlib && $(MAKE) $(AM_MAKEFLAGS) rebuild'
8406 fi
8407 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if <zlib.h> defines 'z_const'" >&5
8408 printf %s "checking if <zlib.h> defines 'z_const'... " >&6; }
8409 if test ${kpse_cv_have_decl_z_const+y}
8410 then :
8411 printf %s "(cached) " >&6
8412 else case e in #(
8413 e) eval CPPFLAGS=\"$ZLIB_INCLUDES \$CPPFLAGS\"
8414 eval LIBS=\"$ZLIB_LIBS \$LIBS\"
8415
8416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8417 /* end confdefs.h. */
8418 #include <zlib.h>
8419 int
8420 main (void)
8421 {
8422 z_const char * foo();
8423 ;
8424 return 0;
8425 }
8426 _ACEOF
8427 if ac_fn_c_try_compile "$LINENO"
8428 then :
8429 kpse_cv_have_decl_z_const=yes
8430 else case e in #(
8431 e) kpse_cv_have_decl_z_const=no ;;
8432 esac
8433 fi
8434 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8435 CPPFLAGS=$kpse_save_CPPFLAGS
8436 LIBS=$kpse_save_LIBS
8437 ;;
8438 esac
8439 fi
8440 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $kpse_cv_have_decl_z_const" >&5
8441 printf "%s\n" "$kpse_cv_have_decl_z_const" >&6; }
8442 case $kpse_cv_have_decl_z_const in #(
8443 yes) :
8444
8445 printf "%s\n" "#define ZLIB_CONST 1" >>confdefs.h
8446 ;; #(
8447 *) :
8448
8449 printf "%s\n" "#define z_const /**/" >>confdefs.h
8450 ;;
8451 esac
8452
8453
8454 if test "x$enable_build" != xno; then
8455 build_TRUE=
8456 build_FALSE='#'
8457 else
8458 build_TRUE='#'
8459 build_FALSE=
8460 fi
8461
8462
8463 if test "x$enable_build" != xno || test -f config.force; then
8464
8465 eval CPPFLAGS=\"$ZLIB_INCLUDES \$CPPFLAGS\"
8466 eval LIBS=\"$ZLIB_LIBS \$LIBS\"
8467
8468 ac_fn_c_check_header_compile "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
8469 if test "x$ac_cv_header_zlib_h" = xyes
8470 then :
8471 printf "%s\n" "#define HAVE_ZLIB_H 1" >>confdefs.h
8472
8473 fi
8474
8475 ac_fn_c_check_func "$LINENO" "zlibVersion" "ac_cv_func_zlibVersion"
8476 if test "x$ac_cv_func_zlibVersion" = xyes
8477 then :
8478
8479 else case e in #(
8480 e) as_fn_error $? "zlib not found" "$LINENO" 5 ;;
8481 esac
8482 fi
8483
8484 CPPFLAGS=$kpse_save_CPPFLAGS
8485 LIBS=$kpse_save_LIBS
8486
8487
8488 echo timestamp >config.force
8489 fi
8490
8491 ZZIPLIB_TREE=zziplib-src
8492
8493
8494 # -----------------------------------------------------------------------
8495 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: creating include/zzip/_msvc.in via zzip/_msvc.sed of config.h.in" >&5
8496 printf "%s\n" "creating include/zzip/_msvc.in via zzip/_msvc.sed of config.h.in" >&6; }
8497 test -d include || mkdir include
8498 sed -f $srcdir/$ZZIPLIB_TREE/zzip/_msvc.sed $srcdir/config.h.in >include/_msvc.in
8499 ac_config_headers="$ac_config_headers config.h"
8500
8501 ac_config_commands="$ac_config_commands include/zzip/_config.h"
8502
8503 ac_config_commands="$ac_config_commands include/zzip/_msvc.h"
8504
8505
8506 ac_config_files="$ac_config_files Makefile include/zzip/Makefile"
8507
8508
8509 cat >confcache <<\_ACEOF
8510 # This file is a shell script that caches the results of configure
8511 # tests run on this system so they can be shared between configure
8512 # scripts and configure runs, see configure's option --config-cache.
8513 # It is not useful on other systems. If it contains results you don't
8514 # want to keep, you may remove or edit it.
8515 #
8516 # config.status only pays attention to the cache file if you give it
8517 # the --recheck option to rerun configure.
8518 #
8519 # 'ac_cv_env_foo' variables (set or unset) will be overridden when
8520 # loading this file, other *unset* 'ac_cv_foo' will be assigned the
8521 # following values.
8522
8523 _ACEOF
8524
8525 # The following way of writing the cache mishandles newlines in values,
8526 # but we know of no workaround that is simple, portable, and efficient.
8527 # So, we kill variables containing newlines.
8528 # Ultrix sh set writes to stderr and can't be redirected directly,
8529 # and sets the high bit in the cache file unless we assign to the vars.
8530 (
8531 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
8532 eval ac_val=\$$ac_var
8533 case $ac_val in #(
8534 *${as_nl}*)
8535 case $ac_var in #(
8536 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
8537 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
8538 esac
8539 case $ac_var in #(
8540 _ | IFS | as_nl) ;; #(
8541 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
8542 *) { eval $ac_var=; unset $ac_var;} ;;
8543 esac ;;
8544 esac
8545 done
8546
8547 (set) 2>&1 |
8548 case $as_nl`(ac_space=' '; set) 2>&1` in #(
8549 *${as_nl}ac_space=\ *)
8550 # 'set' does not quote correctly, so add quotes: double-quote
8551 # substitution turns \\\\ into \\, and sed turns \\ into \.
8552 sed -n \
8553 "s/'/'\\\\''/g;
8554 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
8555 ;; #(
8556 *)
8557 # 'set' quotes correctly as required by POSIX, so do not add quotes.
8558 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
8559 ;;
8560 esac |
8561 sort
8562 ) |
8563 sed '
8564 /^ac_cv_env_/b end
8565 t clear
8566 :clear
8567 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
8568 t end
8569 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
8570 :end' >>confcache
8571 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
8572 if test -w "$cache_file"; then
8573 if test "x$cache_file" != "x/dev/null"; then
8574 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
8575 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
8576 if test ! -f "$cache_file" || test -h "$cache_file"; then
8577 cat confcache >"$cache_file"
8578 else
8579 case $cache_file in #(
8580 */* | ?:*)
8581 mv -f confcache "$cache_file"$$ &&
8582 mv -f "$cache_file"$$ "$cache_file" ;; #(
8583 *)
8584 mv -f confcache "$cache_file" ;;
8585 esac
8586 fi
8587 fi
8588 else
8589 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
8590 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
8591 fi
8592 fi
8593 rm -f confcache
8594
8595 test "x$prefix" = xNONE && prefix=$ac_default_prefix
8596 # Let make expand exec_prefix.
8597 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
8598
8599 DEFS=-DHAVE_CONFIG_H
8600
8601 ac_libobjs=
8602 ac_ltlibobjs=
8603 U=
8604 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
8605 # 1. Remove the extension, and $U if already installed.
8606 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
8607 ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
8608 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
8609 # will be set to the directory where LIBOBJS objects are built.
8610 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
8611 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
8612 done
8613 LIBOBJS=$ac_libobjs
8614
8615 LTLIBOBJS=$ac_ltlibobjs
8616
8617
8618 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
8619 printf %s "checking that generated files are newer than configure... " >&6; }
8620 if test -n "$am_sleep_pid"; then
8621 # Hide warnings about reused PIDs.
8622 wait $am_sleep_pid 2>/dev/null
8623 fi
8624 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
8625 printf "%s\n" "done" >&6; }
8626 case $enable_silent_rules in # (((
8627 yes) AM_DEFAULT_VERBOSITY=0;;
8628 no) AM_DEFAULT_VERBOSITY=1;;
8629 esac
8630 if test $am_cv_make_support_nested_variables = yes; then
8631 AM_V='$(V)'
8632 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
8633 else
8634 AM_V=$AM_DEFAULT_VERBOSITY
8635 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
8636 fi
8637
8638 if test -n "$EXEEXT"; then
8639 am__EXEEXT_TRUE=
8640 am__EXEEXT_FALSE='#'
8641 else
8642 am__EXEEXT_TRUE='#'
8643 am__EXEEXT_FALSE=
8644 fi
8645
8646 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
8647 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
8648 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8649 fi
8650 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
8651 as_fn_error $? "conditional \"AMDEP\" was never defined.
8652 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8653 fi
8654 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
8655 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
8656 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8657 fi
8658 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
8659 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
8660 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8661 fi
8662 if test -z "${am__fastdepCCAS_TRUE}" && test -z "${am__fastdepCCAS_FALSE}"; then
8663 as_fn_error $? "conditional \"am__fastdepCCAS\" was never defined.
8664 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8665 fi
8666 # Check whether --enable-year2038 was given.
8667 if test ${enable_year2038+y}
8668 then :
8669 enableval=$enable_year2038;
8670 fi
8671
8672
8673 if test -z "${build_TRUE}" && test -z "${build_FALSE}"; then
8674 as_fn_error $? "conditional \"build\" was never defined.
8675 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8676 fi
8677
8678 : "${CONFIG_STATUS=./config.status}"
8679 ac_write_fail=0
8680 ac_clean_files_save=$ac_clean_files
8681 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
8682 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
8683 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
8684 as_write_fail=0
8685 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
8686 #! $SHELL
8687 # Generated by $as_me.
8688 # Run this file to recreate the current configuration.
8689 # Compiler output produced by configure, useful for debugging
8690 # configure, is in config.log if it exists.
8691
8692 debug=false
8693 ac_cs_recheck=false
8694 ac_cs_silent=false
8695
8696 SHELL=\${CONFIG_SHELL-$SHELL}
8697 export SHELL
8698 _ASEOF
8699 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
8700 ## -------------------- ##
8701 ## M4sh Initialization. ##
8702 ## -------------------- ##
8703
8704 # Be more Bourne compatible
8705 DUALCASE=1; export DUALCASE # for MKS sh
8706 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
8707 then :
8708 emulate sh
8709 NULLCMD=:
8710 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
8711 # is contrary to our usage. Disable this feature.
8712 alias -g '${1+"$@"}'='"$@"'
8713 setopt NO_GLOB_SUBST
8714 else case e in #(
8715 e) case `(set -o) 2>/dev/null` in #(
8716 *posix*) :
8717 set -o posix ;; #(
8718 *) :
8719 ;;
8720 esac ;;
8721 esac
8722 fi
8723
8724
8725
8726 # Reset variables that may have inherited troublesome values from
8727 # the environment.
8728
8729 # IFS needs to be set, to space, tab, and newline, in precisely that order.
8730 # (If _AS_PATH_WALK were called with IFS unset, it would have the
8731 # side effect of setting IFS to empty, thus disabling word splitting.)
8732 # Quoting is to prevent editors from complaining about space-tab.
8733 as_nl='
8734 '
8735 export as_nl
8736 IFS=" "" $as_nl"
8737
8738 PS1='$ '
8739 PS2='> '
8740 PS4='+ '
8741
8742 # Ensure predictable behavior from utilities with locale-dependent output.
8743 LC_ALL=C
8744 export LC_ALL
8745 LANGUAGE=C
8746 export LANGUAGE
8747
8748 # We cannot yet rely on "unset" to work, but we need these variables
8749 # to be unset--not just set to an empty or harmless value--now, to
8750 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
8751 # also avoids known problems related to "unset" and subshell syntax
8752 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
8753 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
8754 do eval test \${$as_var+y} \
8755 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
8756 done
8757
8758 # Ensure that fds 0, 1, and 2 are open.
8759 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
8760 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
8761 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
8762
8763 # The user is always right.
8764 if ${PATH_SEPARATOR+false} :; then
8765 PATH_SEPARATOR=:
8766 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
8767 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
8768 PATH_SEPARATOR=';'
8769 }
8770 fi
8771
8772
8773 # Find who we are. Look in the path if we contain no directory separator.
8774 as_myself=
8775 case $0 in #((
8776 *[\\/]* ) as_myself=$0 ;;
8777 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8778 for as_dir in $PATH
8779 do
8780 IFS=$as_save_IFS
8781 case $as_dir in #(((
8782 '') as_dir=./ ;;
8783 */) ;;
8784 *) as_dir=$as_dir/ ;;
8785 esac
8786 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
8787 done
8788 IFS=$as_save_IFS
8789
8790 ;;
8791 esac
8792 # We did not find ourselves, most probably we were run as 'sh COMMAND'
8793 # in which case we are not to be found in the path.
8794 if test "x$as_myself" = x; then
8795 as_myself=$0
8796 fi
8797 if test ! -f "$as_myself"; then
8798 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
8799 exit 1
8800 fi
8801
8802
8803
8804 # as_fn_error STATUS ERROR [LINENO LOG_FD]
8805 # ----------------------------------------
8806 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
8807 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
8808 # script with STATUS, using 1 if that was 0.
8809 as_fn_error ()
8810 {
8811 as_status=$1; test $as_status -eq 0 && as_status=1
8812 if test "$4"; then
8813 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
8814 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
8815 fi
8816 printf "%s\n" "$as_me: error: $2" >&2
8817 as_fn_exit $as_status
8818 } # as_fn_error
8819
8820
8821 # as_fn_set_status STATUS
8822 # -----------------------
8823 # Set $? to STATUS, without forking.
8824 as_fn_set_status ()
8825 {
8826 return $1
8827 } # as_fn_set_status
8828
8829 # as_fn_exit STATUS
8830 # -----------------
8831 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
8832 as_fn_exit ()
8833 {
8834 set +e
8835 as_fn_set_status $1
8836 exit $1
8837 } # as_fn_exit
8838
8839 # as_fn_unset VAR
8840 # ---------------
8841 # Portably unset VAR.
8842 as_fn_unset ()
8843 {
8844 { eval $1=; unset $1;}
8845 }
8846 as_unset=as_fn_unset
8847
8848 # as_fn_append VAR VALUE
8849 # ----------------------
8850 # Append the text in VALUE to the end of the definition contained in VAR. Take
8851 # advantage of any shell optimizations that allow amortized linear growth over
8852 # repeated appends, instead of the typical quadratic growth present in naive
8853 # implementations.
8854 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
8855 then :
8856 eval 'as_fn_append ()
8857 {
8858 eval $1+=\$2
8859 }'
8860 else case e in #(
8861 e) as_fn_append ()
8862 {
8863 eval $1=\$$1\$2
8864 } ;;
8865 esac
8866 fi # as_fn_append
8867
8868 # as_fn_arith ARG...
8869 # ------------------
8870 # Perform arithmetic evaluation on the ARGs, and store the result in the
8871 # global $as_val. Take advantage of shells that can avoid forks. The arguments
8872 # must be portable across $(()) and expr.
8873 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
8874 then :
8875 eval 'as_fn_arith ()
8876 {
8877 as_val=$(( $* ))
8878 }'
8879 else case e in #(
8880 e) as_fn_arith ()
8881 {
8882 as_val=`expr "$@" || test $? -eq 1`
8883 } ;;
8884 esac
8885 fi # as_fn_arith
8886
8887
8888 if expr a : '\(a\)' >/dev/null 2>&1 &&
8889 test "X`expr 00001 : '.*\(...\)'`" = X001; then
8890 as_expr=expr
8891 else
8892 as_expr=false
8893 fi
8894
8895 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
8896 as_basename=basename
8897 else
8898 as_basename=false
8899 fi
8900
8901 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
8902 as_dirname=dirname
8903 else
8904 as_dirname=false
8905 fi
8906
8907 as_me=`$as_basename -- "$0" ||
8908 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
8909 X"$0" : 'X\(//\)$' \| \
8910 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
8911 printf "%s\n" X/"$0" |
8912 sed '/^.*\/\([^/][^/]*\)\/*$/{
8913 s//\1/
8914 q
8915 }
8916 /^X\/\(\/\/\)$/{
8917 s//\1/
8918 q
8919 }
8920 /^X\/\(\/\).*/{
8921 s//\1/
8922 q
8923 }
8924 s/.*/./; q'`
8925
8926 # Avoid depending upon Character Ranges.
8927 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
8928 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
8929 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
8930 as_cr_digits='0123456789'
8931 as_cr_alnum=$as_cr_Letters$as_cr_digits
8932
8933
8934 # Determine whether it's possible to make 'echo' print without a newline.
8935 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
8936 # for compatibility with existing Makefiles.
8937 ECHO_C= ECHO_N= ECHO_T=
8938 case `echo -n x` in #(((((
8939 -n*)
8940 case `echo 'xy\c'` in
8941 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
8942 xy) ECHO_C='\c';;
8943 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
8944 ECHO_T=' ';;
8945 esac;;
8946 *)
8947 ECHO_N='-n';;
8948 esac
8949
8950 # For backward compatibility with old third-party macros, we provide
8951 # the shell variables $as_echo and $as_echo_n. New code should use
8952 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
8953 as_echo='printf %s\n'
8954 as_echo_n='printf %s'
8955
8956 rm -f conf$$ conf$$.exe conf$$.file
8957 if test -d conf$$.dir; then
8958 rm -f conf$$.dir/conf$$.file
8959 else
8960 rm -f conf$$.dir
8961 mkdir conf$$.dir 2>/dev/null
8962 fi
8963 if (echo >conf$$.file) 2>/dev/null; then
8964 if ln -s conf$$.file conf$$ 2>/dev/null; then
8965 as_ln_s='ln -s'
8966 # ... but there are two gotchas:
8967 # 1) On MSYS, both 'ln -s file dir' and 'ln file dir' fail.
8968 # 2) DJGPP < 2.04 has no symlinks; 'ln -s' creates a wrapper executable.
8969 # In both cases, we have to default to 'cp -pR'.
8970 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
8971 as_ln_s='cp -pR'
8972 elif ln conf$$.file conf$$ 2>/dev/null; then
8973 as_ln_s=ln
8974 else
8975 as_ln_s='cp -pR'
8976 fi
8977 else
8978 as_ln_s='cp -pR'
8979 fi
8980 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
8981 rmdir conf$$.dir 2>/dev/null
8982
8983
8984 # as_fn_mkdir_p
8985 # -------------
8986 # Create "$as_dir" as a directory, including parents if necessary.
8987 as_fn_mkdir_p ()
8988 {
8989
8990 case $as_dir in #(
8991 -*) as_dir=./$as_dir;;
8992 esac
8993 test -d "$as_dir" || eval $as_mkdir_p || {
8994 as_dirs=
8995 while :; do
8996 case $as_dir in #(
8997 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
8998 *) as_qdir=$as_dir;;
8999 esac
9000 as_dirs="'$as_qdir' $as_dirs"
9001 as_dir=`$as_dirname -- "$as_dir" ||
9002 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9003 X"$as_dir" : 'X\(//\)[^/]' \| \
9004 X"$as_dir" : 'X\(//\)$' \| \
9005 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
9006 printf "%s\n" X"$as_dir" |
9007 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9008 s//\1/
9009 q
9010 }
9011 /^X\(\/\/\)[^/].*/{
9012 s//\1/
9013 q
9014 }
9015 /^X\(\/\/\)$/{
9016 s//\1/
9017 q
9018 }
9019 /^X\(\/\).*/{
9020 s//\1/
9021 q
9022 }
9023 s/.*/./; q'`
9024 test -d "$as_dir" && break
9025 done
9026 test -z "$as_dirs" || eval "mkdir $as_dirs"
9027 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
9028
9029
9030 } # as_fn_mkdir_p
9031 if mkdir -p . 2>/dev/null; then
9032 as_mkdir_p='mkdir -p "$as_dir"'
9033 else
9034 test -d ./-p && rmdir ./-p
9035 as_mkdir_p=false
9036 fi
9037
9038
9039 # as_fn_executable_p FILE
9040 # -----------------------
9041 # Test if FILE is an executable regular file.
9042 as_fn_executable_p ()
9043 {
9044 test -f "$1" && test -x "$1"
9045 } # as_fn_executable_p
9046 as_test_x='test -x'
9047 as_executable_p=as_fn_executable_p
9048
9049 # Sed expression to map a string onto a valid CPP name.
9050 as_sed_cpp="y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
9051 as_tr_cpp="eval sed '$as_sed_cpp'" # deprecated
9052
9053 # Sed expression to map a string onto a valid variable name.
9054 as_sed_sh="y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
9055 as_tr_sh="eval sed '$as_sed_sh'" # deprecated
9056
9057
9058 exec 6>&1
9059 ## ----------------------------------- ##
9060 ## Main body of $CONFIG_STATUS script. ##
9061 ## ----------------------------------- ##
9062 _ASEOF
9063 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
9064
9065 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9066 # Save the log message, to keep $0 and so on meaningful, and to
9067 # report actual input values of CONFIG_FILES etc. instead of their
9068 # values after options handling.
9069 ac_log="
9070 This file was extended by zziplib (TeX Live) $as_me 0.13.72, which was
9071 generated by GNU Autoconf 2.72. Invocation command line was
9072
9073 CONFIG_FILES = $CONFIG_FILES
9074 CONFIG_HEADERS = $CONFIG_HEADERS
9075 CONFIG_LINKS = $CONFIG_LINKS
9076 CONFIG_COMMANDS = $CONFIG_COMMANDS
9077 $ $0 $@
9078
9079 on `(hostname || uname -n) 2>/dev/null | sed 1q`
9080 "
9081
9082 _ACEOF
9083
9084 case $ac_config_files in *"
9085 "*) set x $ac_config_files; shift; ac_config_files=$*;;
9086 esac
9087
9088 case $ac_config_headers in *"
9089 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
9090 esac
9091
9092
9093 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9094 # Files that config.status was made for.
9095 config_files="$ac_config_files"
9096 config_headers="$ac_config_headers"
9097 config_commands="$ac_config_commands"
9098
9099 _ACEOF
9100
9101 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9102 ac_cs_usage="\
9103 '$as_me' instantiates files and other configuration actions
9104 from templates according to the current configuration. Unless the files
9105 and actions are specified as TAGs, all are instantiated by default.
9106
9107 Usage: $0 [OPTION]... [TAG]...
9108
9109 -h, --help print this help, then exit
9110 -V, --version print version number and configuration settings, then exit
9111 --config print configuration, then exit
9112 -q, --quiet, --silent
9113 do not print progress messages
9114 -d, --debug don't remove temporary files
9115 --recheck update $as_me by reconfiguring in the same conditions
9116 --file=FILE[:TEMPLATE]
9117 instantiate the configuration file FILE
9118 --header=FILE[:TEMPLATE]
9119 instantiate the configuration header FILE
9120
9121 Configuration files:
9122 $config_files
9123
9124 Configuration headers:
9125 $config_headers
9126
9127 Configuration commands:
9128 $config_commands
9129
9130 Report bugs to <[email protected]>."
9131
9132 _ACEOF
9133 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
9134 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
9135 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9136 ac_cs_config='$ac_cs_config_escaped'
9137 ac_cs_version="\\
9138 zziplib (TeX Live) config.status 0.13.72
9139 configured by $0, generated by GNU Autoconf 2.72,
9140 with options \\"\$ac_cs_config\\"
9141
9142 Copyright (C) 2023 Free Software Foundation, Inc.
9143 This config.status script is free software; the Free Software Foundation
9144 gives unlimited permission to copy, distribute and modify it."
9145
9146 ac_pwd='$ac_pwd'
9147 srcdir='$srcdir'
9148 INSTALL='$INSTALL'
9149 MKDIR_P='$MKDIR_P'
9150 AWK='$AWK'
9151 test -n "\$AWK" || AWK=awk
9152 _ACEOF
9153
9154 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9155 # The default lists apply if the user does not specify any file.
9156 ac_need_defaults=:
9157 while test $# != 0
9158 do
9159 case $1 in
9160 --*=?*)
9161 ac_option=`expr "X$1" : 'X\([^=]*\)='`
9162 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
9163 ac_shift=:
9164 ;;
9165 --*=)
9166 ac_option=`expr "X$1" : 'X\([^=]*\)='`
9167 ac_optarg=
9168 ac_shift=:
9169 ;;
9170 *)
9171 ac_option=$1
9172 ac_optarg=$2
9173 ac_shift=shift
9174 ;;
9175 esac
9176
9177 case $ac_option in
9178 # Handling of the options.
9179 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
9180 ac_cs_recheck=: ;;
9181 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
9182 printf "%s\n" "$ac_cs_version"; exit ;;
9183 --config | --confi | --conf | --con | --co | --c )
9184 printf "%s\n" "$ac_cs_config"; exit ;;
9185 --debug | --debu | --deb | --de | --d | -d )
9186 debug=: ;;
9187 --file | --fil | --fi | --f )
9188 $ac_shift
9189 case $ac_optarg in
9190 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
9191 '') as_fn_error $? "missing file argument" ;;
9192 esac
9193 as_fn_append CONFIG_FILES " '$ac_optarg'"
9194 ac_need_defaults=false;;
9195 --header | --heade | --head | --hea )
9196 $ac_shift
9197 case $ac_optarg in
9198 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
9199 esac
9200 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
9201 ac_need_defaults=false;;
9202 --he | --h)
9203 # Conflict between --help and --header
9204 as_fn_error $? "ambiguous option: '$1'
9205 Try '$0 --help' for more information.";;
9206 --help | --hel | -h )
9207 printf "%s\n" "$ac_cs_usage"; exit ;;
9208 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
9209 | -silent | --silent | --silen | --sile | --sil | --si | --s)
9210 ac_cs_silent=: ;;
9211
9212 # This is an error.
9213 -*) as_fn_error $? "unrecognized option: '$1'
9214 Try '$0 --help' for more information." ;;
9215
9216 *) as_fn_append ac_config_targets " $1"
9217 ac_need_defaults=false ;;
9218
9219 esac
9220 shift
9221 done
9222
9223 ac_configure_extra_args=
9224
9225 if $ac_cs_silent; then
9226 exec 6>/dev/null
9227 ac_configure_extra_args="$ac_configure_extra_args --silent"
9228 fi
9229
9230 _ACEOF
9231 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9232 if \$ac_cs_recheck; then
9233 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
9234 shift
9235 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
9236 CONFIG_SHELL='$SHELL'
9237 export CONFIG_SHELL
9238 exec "\$@"
9239 fi
9240
9241 _ACEOF
9242 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9243 exec 5>>config.log
9244 {
9245 echo
9246 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
9247 ## Running $as_me. ##
9248 _ASBOX
9249 printf "%s\n" "$ac_log"
9250 } >&5
9251
9252 _ACEOF
9253 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9254 #
9255 # INIT-COMMANDS
9256 #
9257 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
9258 PACKAGE="$PACKAGE"
9259 PACKAGE="$PACKAGE"
9260
9261 _ACEOF
9262
9263 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9264
9265 # Handling of arguments.
9266 for ac_config_target in $ac_config_targets
9267 do
9268 case $ac_config_target in
9269 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
9270 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
9271 "include/zzip/_config.h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/zzip/_config.h" ;;
9272 "include/zzip/_msvc.h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/zzip/_msvc.h" ;;
9273 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
9274 "include/zzip/Makefile") CONFIG_FILES="$CONFIG_FILES include/zzip/Makefile" ;;
9275
9276 *) as_fn_error $? "invalid argument: '$ac_config_target'" "$LINENO" 5;;
9277 esac
9278 done
9279
9280
9281 # If the user did not use the arguments to specify the items to instantiate,
9282 # then the envvar interface is used. Set only those that are not.
9283 # We use the long form for the default assignment because of an extremely
9284 # bizarre bug on SunOS 4.1.3.
9285 if $ac_need_defaults; then
9286 test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
9287 test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
9288 test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
9289 fi
9290
9291 # Have a temporary directory for convenience. Make it in the build tree
9292 # simply because there is no reason against having it here, and in addition,
9293 # creating and moving files from /tmp can sometimes cause problems.
9294 # Hook for its removal unless debugging.
9295 # Note that there is a small window in which the directory will not be cleaned:
9296 # after its creation but before its name has been assigned to '$tmp'.
9297 $debug ||
9298 {
9299 tmp= ac_tmp=
9300 trap 'exit_status=$?
9301 : "${ac_tmp:=$tmp}"
9302 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
9303 ' 0
9304 trap 'as_fn_exit 1' 1 2 13 15
9305 }
9306 # Create a (secure) tmp directory for tmp files.
9307
9308 {
9309 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
9310 test -d "$tmp"
9311 } ||
9312 {
9313 tmp=./conf$$-$RANDOM
9314 (umask 077 && mkdir "$tmp")
9315 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
9316 ac_tmp=$tmp
9317
9318 # Set up the scripts for CONFIG_FILES section.
9319 # No need to generate them if there are no CONFIG_FILES.
9320 # This happens for instance with './config.status config.h'.
9321 if test -n "$CONFIG_FILES"; then
9322
9323
9324 ac_cr=`echo X | tr X '\015'`
9325 # On cygwin, bash can eat \r inside `` if the user requested igncr.
9326 # But we know of no other shell where ac_cr would be empty at this
9327 # point, so we can use a bashism as a fallback.
9328 if test "x$ac_cr" = x; then
9329 eval ac_cr=\$\'\\r\'
9330 fi
9331 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
9332 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
9333 ac_cs_awk_cr='\\r'
9334 else
9335 ac_cs_awk_cr=$ac_cr
9336 fi
9337
9338 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
9339 _ACEOF
9340
9341
9342 {
9343 echo "cat >conf$$subs.awk <<_ACEOF" &&
9344 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
9345 echo "_ACEOF"
9346 } >conf$$subs.sh ||
9347 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
9348 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
9349 ac_delim='%!_!# '
9350 for ac_last_try in false false false false false :; do
9351 . ./conf$$subs.sh ||
9352 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
9353
9354 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
9355 if test $ac_delim_n = $ac_delim_num; then
9356 break
9357 elif $ac_last_try; then
9358 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
9359 else
9360 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
9361 fi
9362 done
9363 rm -f conf$$subs.sh
9364
9365 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9366 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
9367 _ACEOF
9368 sed -n '
9369 h
9370 s/^/S["/; s/!.*/"]=/
9371 p
9372 g
9373 s/^[^!]*!//
9374 :repl
9375 t repl
9376 s/'"$ac_delim"'$//
9377 t delim
9378 :nl
9379 h
9380 s/\(.\{148\}\)..*/\1/
9381 t more1
9382 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
9383 p
9384 n
9385 b repl
9386 :more1
9387 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
9388 p
9389 g
9390 s/.\{148\}//
9391 t nl
9392 :delim
9393 h
9394 s/\(.\{148\}\)..*/\1/
9395 t more2
9396 s/["\\]/\\&/g; s/^/"/; s/$/"/
9397 p
9398 b
9399 :more2
9400 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
9401 p
9402 g
9403 s/.\{148\}//
9404 t delim
9405 ' <conf$$subs.awk | sed '
9406 /^[^""]/{
9407 N
9408 s/\n//
9409 }
9410 ' >>$CONFIG_STATUS || ac_write_fail=1
9411 rm -f conf$$subs.awk
9412 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9413 _ACAWK
9414 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
9415 for (key in S) S_is_set[key] = 1
9416 FS = ""
9417
9418 }
9419 {
9420 line = $ 0
9421 nfields = split(line, field, "@")
9422 substed = 0
9423 len = length(field[1])
9424 for (i = 2; i < nfields; i++) {
9425 key = field[i]
9426 keylen = length(key)
9427 if (S_is_set[key]) {
9428 value = S[key]
9429 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
9430 len += length(value) + length(field[++i])
9431 substed = 1
9432 } else
9433 len += 1 + keylen
9434 }
9435
9436 print line
9437 }
9438
9439 _ACAWK
9440 _ACEOF
9441 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9442 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
9443 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
9444 else
9445 cat
9446 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
9447 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
9448 _ACEOF
9449
9450 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
9451 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
9452 # trailing colons and then remove the whole line if VPATH becomes empty
9453 # (actually we leave an empty line to preserve line numbers).
9454 if test "x$srcdir" = x.; then
9455 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
9456 h
9457 s///
9458 s/^/:/
9459 s/[ ]*$/:/
9460 s/:\$(srcdir):/:/g
9461 s/:\${srcdir}:/:/g
9462 s/:@srcdir@:/:/g
9463 s/^:*//
9464 s/:*$//
9465 x
9466 s/\(=[ ]*\).*/\1/
9467 G
9468 s/\n//
9469 s/^[^=]*=[ ]*$//
9470 }'
9471 fi
9472
9473 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9474 fi # test -n "$CONFIG_FILES"
9475
9476 # Set up the scripts for CONFIG_HEADERS section.
9477 # No need to generate them if there are no CONFIG_HEADERS.
9478 # This happens for instance with './config.status Makefile'.
9479 if test -n "$CONFIG_HEADERS"; then
9480 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
9481 BEGIN {
9482 _ACEOF
9483
9484 # Transform confdefs.h into an awk script 'defines.awk', embedded as
9485 # here-document in config.status, that substitutes the proper values into
9486 # config.h.in to produce config.h.
9487
9488 # Create a delimiter string that does not exist in confdefs.h, to ease
9489 # handling of long lines.
9490 ac_delim='%!_!# '
9491 for ac_last_try in false false :; do
9492 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
9493 if test -z "$ac_tt"; then
9494 break
9495 elif $ac_last_try; then
9496 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
9497 else
9498 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
9499 fi
9500 done
9501
9502 # For the awk script, D is an array of macro values keyed by name,
9503 # likewise P contains macro parameters if any. Preserve backslash
9504 # newline sequences.
9505
9506 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
9507 sed -n '
9508 s/.\{148\}/&'"$ac_delim"'/g
9509 t rset
9510 :rset
9511 s/^[ ]*#[ ]*define[ ][ ]*/ /
9512 t def
9513 d
9514 :def
9515 s/\\$//
9516 t bsnl
9517 s/["\\]/\\&/g
9518 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
9519 D["\1"]=" \3"/p
9520 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
9521 d
9522 :bsnl
9523 s/["\\]/\\&/g
9524 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
9525 D["\1"]=" \3\\\\\\n"\\/p
9526 t cont
9527 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
9528 t cont
9529 d
9530 :cont
9531 n
9532 s/.\{148\}/&'"$ac_delim"'/g
9533 t clear
9534 :clear
9535 s/\\$//
9536 t bsnlc
9537 s/["\\]/\\&/g; s/^/"/; s/$/"/p
9538 d
9539 :bsnlc
9540 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
9541 b cont
9542 ' <confdefs.h | sed '
9543 s/'"$ac_delim"'/"\\\
9544 "/g' >>$CONFIG_STATUS || ac_write_fail=1
9545
9546 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9547 for (key in D) D_is_set[key] = 1
9548 FS = ""
9549 }
9550 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
9551 line = \$ 0
9552 split(line, arg, " ")
9553 if (arg[1] == "#") {
9554 defundef = arg[2]
9555 mac1 = arg[3]
9556 } else {
9557 defundef = substr(arg[1], 2)
9558 mac1 = arg[2]
9559 }
9560 split(mac1, mac2, "(") #)
9561 macro = mac2[1]
9562 prefix = substr(line, 1, index(line, defundef) - 1)
9563 if (D_is_set[macro]) {
9564 # Preserve the white space surrounding the "#".
9565 print prefix "define", macro P[macro] D[macro]
9566 next
9567 } else {
9568 # Replace #undef with comments. This is necessary, for example,
9569 # in the case of _POSIX_SOURCE, which is predefined and required
9570 # on some systems where configure will not decide to define it.
9571 if (defundef == "undef") {
9572 print "/*", prefix defundef, macro, "*/"
9573 next
9574 }
9575 }
9576 }
9577 { print }
9578 _ACAWK
9579 _ACEOF
9580 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9581 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
9582 fi # test -n "$CONFIG_HEADERS"
9583
9584
9585 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
9586 shift
9587 for ac_tag
9588 do
9589 case $ac_tag in
9590 :[FHLC]) ac_mode=$ac_tag; continue;;
9591 esac
9592 case $ac_mode$ac_tag in
9593 :[FHL]*:*);;
9594 :L* | :C*:*) as_fn_error $? "invalid tag '$ac_tag'" "$LINENO" 5;;
9595 :[FH]-) ac_tag=-:-;;
9596 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
9597 esac
9598 ac_save_IFS=$IFS
9599 IFS=:
9600 set x $ac_tag
9601 IFS=$ac_save_IFS
9602 shift
9603 ac_file=$1
9604 shift
9605
9606 case $ac_mode in
9607 :L) ac_source=$1;;
9608 :[FH])
9609 ac_file_inputs=
9610 for ac_f
9611 do
9612 case $ac_f in
9613 -) ac_f="$ac_tmp/stdin";;
9614 *) # Look for the file first in the build tree, then in the source tree
9615 # (if the path is not absolute). The absolute path cannot be DOS-style,
9616 # because $ac_f cannot contain ':'.
9617 test -f "$ac_f" ||
9618 case $ac_f in
9619 [\\/$]*) false;;
9620 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
9621 esac ||
9622 as_fn_error 1 "cannot find input file: '$ac_f'" "$LINENO" 5;;
9623 esac
9624 case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
9625 as_fn_append ac_file_inputs " '$ac_f'"
9626 done
9627
9628 # Let's still pretend it is 'configure' which instantiates (i.e., don't
9629 # use $as_me), people would be surprised to read:
9630 # /* config.h. Generated by config.status. */
9631 configure_input='Generated from '`
9632 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
9633 `' by configure.'
9634 if test x"$ac_file" != x-; then
9635 configure_input="$ac_file. $configure_input"
9636 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
9637 printf "%s\n" "$as_me: creating $ac_file" >&6;}
9638 fi
9639 # Neutralize special characters interpreted by sed in replacement strings.
9640 case $configure_input in #(
9641 *\&* | *\|* | *\\* )
9642 ac_sed_conf_input=`printf "%s\n" "$configure_input" |
9643 sed 's/[\\\\&|]/\\\\&/g'`;; #(
9644 *) ac_sed_conf_input=$configure_input;;
9645 esac
9646
9647 case $ac_tag in
9648 *:-:* | *:-) cat >"$ac_tmp/stdin" \
9649 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
9650 esac
9651 ;;
9652 esac
9653
9654 ac_dir=`$as_dirname -- "$ac_file" ||
9655 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9656 X"$ac_file" : 'X\(//\)[^/]' \| \
9657 X"$ac_file" : 'X\(//\)$' \| \
9658 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
9659 printf "%s\n" X"$ac_file" |
9660 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9661 s//\1/
9662 q
9663 }
9664 /^X\(\/\/\)[^/].*/{
9665 s//\1/
9666 q
9667 }
9668 /^X\(\/\/\)$/{
9669 s//\1/
9670 q
9671 }
9672 /^X\(\/\).*/{
9673 s//\1/
9674 q
9675 }
9676 s/.*/./; q'`
9677 as_dir="$ac_dir"; as_fn_mkdir_p
9678 ac_builddir=.
9679
9680 case "$ac_dir" in
9681 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
9682 *)
9683 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
9684 # A ".." for each directory in $ac_dir_suffix.
9685 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
9686 case $ac_top_builddir_sub in
9687 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
9688 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
9689 esac ;;
9690 esac
9691 ac_abs_top_builddir=$ac_pwd
9692 ac_abs_builddir=$ac_pwd$ac_dir_suffix
9693 # for backward compatibility:
9694 ac_top_builddir=$ac_top_build_prefix
9695
9696 case $srcdir in
9697 .) # We are building in place.
9698 ac_srcdir=.
9699 ac_top_srcdir=$ac_top_builddir_sub
9700 ac_abs_top_srcdir=$ac_pwd ;;
9701 [\\/]* | ?:[\\/]* ) # Absolute name.
9702 ac_srcdir=$srcdir$ac_dir_suffix;
9703 ac_top_srcdir=$srcdir
9704 ac_abs_top_srcdir=$srcdir ;;
9705 *) # Relative name.
9706 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
9707 ac_top_srcdir=$ac_top_build_prefix$srcdir
9708 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
9709 esac
9710 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
9711
9712
9713 case $ac_mode in
9714 :F)
9715 #
9716 # CONFIG_FILE
9717 #
9718
9719 case $INSTALL in
9720 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
9721 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
9722 esac
9723 ac_MKDIR_P=$MKDIR_P
9724 case $MKDIR_P in
9725 [\\/$]* | ?:[\\/]* ) ;;
9726 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
9727 esac
9728 _ACEOF
9729
9730 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9731 # If the template does not know about datarootdir, expand it.
9732 # FIXME: This hack should be removed a few years after 2.60.
9733 ac_datarootdir_hack=; ac_datarootdir_seen=
9734 ac_sed_dataroot='
9735 /datarootdir/ {
9736 p
9737 q
9738 }
9739 /@datadir@/p
9740 /@docdir@/p
9741 /@infodir@/p
9742 /@localedir@/p
9743 /@mandir@/p'
9744 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
9745 *datarootdir*) ac_datarootdir_seen=yes;;
9746 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
9747 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
9748 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
9749 _ACEOF
9750 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9751 ac_datarootdir_hack='
9752 s&@datadir@&$datadir&g
9753 s&@docdir@&$docdir&g
9754 s&@infodir@&$infodir&g
9755 s&@localedir@&$localedir&g
9756 s&@mandir@&$mandir&g
9757 s&\\\${datarootdir}&$datarootdir&g' ;;
9758 esac
9759 _ACEOF
9760
9761 # Neutralize VPATH when '$srcdir' = '.'.
9762 # Shell code in configure.ac might set extrasub.
9763 # FIXME: do we really want to maintain this feature?
9764 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9765 ac_sed_extra="$ac_vpsub
9766 $extrasub
9767 _ACEOF
9768 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9769 :t
9770 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
9771 s|@configure_input@|$ac_sed_conf_input|;t t
9772 s&@top_builddir@&$ac_top_builddir_sub&;t t
9773 s&@top_build_prefix@&$ac_top_build_prefix&;t t
9774 s&@srcdir@&$ac_srcdir&;t t
9775 s&@abs_srcdir@&$ac_abs_srcdir&;t t
9776 s&@top_srcdir@&$ac_top_srcdir&;t t
9777 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
9778 s&@builddir@&$ac_builddir&;t t
9779 s&@abs_builddir@&$ac_abs_builddir&;t t
9780 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
9781 s&@INSTALL@&$ac_INSTALL&;t t
9782 s&@MKDIR_P@&$ac_MKDIR_P&;t t
9783 $ac_datarootdir_hack
9784 "
9785 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
9786 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
9787
9788 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
9789 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
9790 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
9791 "$ac_tmp/out"`; test -z "$ac_out"; } &&
9792 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable 'datarootdir'
9793 which seems to be undefined. Please make sure it is defined" >&5
9794 printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable 'datarootdir'
9795 which seems to be undefined. Please make sure it is defined" >&2;}
9796
9797 rm -f "$ac_tmp/stdin"
9798 case $ac_file in
9799 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
9800 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
9801 esac \
9802 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
9803 ;;
9804 :H)
9805 #
9806 # CONFIG_HEADER
9807 #
9808 if test x"$ac_file" != x-; then
9809 {
9810 printf "%s\n" "/* $configure_input */" >&1 \
9811 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
9812 } >"$ac_tmp/config.h" \
9813 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
9814 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
9815 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
9816 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
9817 else
9818 rm -f "$ac_file"
9819 mv "$ac_tmp/config.h" "$ac_file" \
9820 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
9821 fi
9822 else
9823 printf "%s\n" "/* $configure_input */" >&1 \
9824 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
9825 || as_fn_error $? "could not create -" "$LINENO" 5
9826 fi
9827 # Compute "$ac_file"'s index in $config_headers.
9828 _am_arg="$ac_file"
9829 _am_stamp_count=1
9830 for _am_header in $config_headers :; do
9831 case $_am_header in
9832 $_am_arg | $_am_arg:* )
9833 break ;;
9834 * )
9835 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
9836 esac
9837 done
9838 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
9839 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9840 X"$_am_arg" : 'X\(//\)[^/]' \| \
9841 X"$_am_arg" : 'X\(//\)$' \| \
9842 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
9843 printf "%s\n" X"$_am_arg" |
9844 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9845 s//\1/
9846 q
9847 }
9848 /^X\(\/\/\)[^/].*/{
9849 s//\1/
9850 q
9851 }
9852 /^X\(\/\/\)$/{
9853 s//\1/
9854 q
9855 }
9856 /^X\(\/\).*/{
9857 s//\1/
9858 q
9859 }
9860 s/.*/./; q'`/stamp-h$_am_stamp_count
9861 ;;
9862
9863 :C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
9864 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
9865 ;;
9866 esac
9867
9868
9869 case $ac_file$ac_mode in
9870 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
9871 # Older Autoconf quotes --file arguments for eval, but not when files
9872 # are listed without --file. Let's play safe and only enable the eval
9873 # if we detect the quoting.
9874 # TODO: see whether this extra hack can be removed once we start
9875 # requiring Autoconf 2.70 or later.
9876 case $CONFIG_FILES in #(
9877 *\'*) :
9878 eval set x "$CONFIG_FILES" ;; #(
9879 *) :
9880 set x $CONFIG_FILES ;; #(
9881 *) :
9882 ;;
9883 esac
9884 shift
9885 # Used to flag and report bootstrapping failures.
9886 am_rc=0
9887 for am_mf
9888 do
9889 # Strip MF so we end up with the name of the file.
9890 am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'`
9891 # Check whether this is an Automake generated Makefile which includes
9892 # dependency-tracking related rules and includes.
9893 # Grep'ing the whole file directly is not great: AIX grep has a line
9894 # limit of 2048, but all sed's we know have understand at least 4000.
9895 sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
9896 || continue
9897 am_dirpart=`$as_dirname -- "$am_mf" ||
9898 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9899 X"$am_mf" : 'X\(//\)[^/]' \| \
9900 X"$am_mf" : 'X\(//\)$' \| \
9901 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
9902 printf "%s\n" X"$am_mf" |
9903 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9904 s//\1/
9905 q
9906 }
9907 /^X\(\/\/\)[^/].*/{
9908 s//\1/
9909 q
9910 }
9911 /^X\(\/\/\)$/{
9912 s//\1/
9913 q
9914 }
9915 /^X\(\/\).*/{
9916 s//\1/
9917 q
9918 }
9919 s/.*/./; q'`
9920 am_filepart=`$as_basename -- "$am_mf" ||
9921 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
9922 X"$am_mf" : 'X\(//\)$' \| \
9923 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
9924 printf "%s\n" X/"$am_mf" |
9925 sed '/^.*\/\([^/][^/]*\)\/*$/{
9926 s//\1/
9927 q
9928 }
9929 /^X\/\(\/\/\)$/{
9930 s//\1/
9931 q
9932 }
9933 /^X\/\(\/\).*/{
9934 s//\1/
9935 q
9936 }
9937 s/.*/./; q'`
9938 { echo "$as_me:$LINENO: cd "$am_dirpart" \
9939 && sed -e '/# am--include-marker/d' "$am_filepart" \
9940 | $MAKE -f - am--depfiles" >&5
9941 (cd "$am_dirpart" \
9942 && sed -e '/# am--include-marker/d' "$am_filepart" \
9943 | $MAKE -f - am--depfiles) >&5 2>&5
9944 ac_status=$?
9945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9946 (exit $ac_status); } || am_rc=$?
9947 done
9948 if test $am_rc -ne 0; then
9949 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
9950 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
9951 as_fn_error $? "Something went wrong bootstrapping makefile fragments
9952 for automatic dependency tracking. If GNU make was not used, consider
9953 re-running the configure script with MAKE=\"gmake\" (or whatever is
9954 necessary). You can also try re-running configure with the
9955 '--disable-dependency-tracking' option to at least be able to build
9956 the package (albeit without support for automatic dependency tracking).
9957 See 'config.log' for more details" "$LINENO" 5; }
9958 fi
9959 { am_dirpart=; unset am_dirpart;}
9960 { am_filepart=; unset am_filepart;}
9961 { am_mf=; unset am_mf;}
9962 { am_rc=; unset am_rc;}
9963 rm -f conftest-deps.mk
9964 }
9965 ;;
9966 "include/zzip/_config.h":C) ac_prefix_conf_OUT=`$as_echo include/zzip/_config.h`
9967 ac_prefix_conf_DEF=`$as_echo _$ac_prefix_conf_OUT | sed -e "y:abcdefghijklmnopqrstuvwxyz:ABCDEFGHIJKLMNOPQRSTUVWXYZ:" -e "s/[^abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ]/_/g"`
9968 ac_prefix_conf_PKG=`$as_echo zzip`
9969 ac_prefix_conf_LOW=`$as_echo _$ac_prefix_conf_PKG | sed -e "y:ABCDEFGHIJKLMNOPQRSTUVWXYZ-:abcdefghijklmnopqrstuvwxyz_:"`
9970 ac_prefix_conf_UPP=`$as_echo $ac_prefix_conf_PKG | sed -e "y:abcdefghijklmnopqrstuvwxyz-:ABCDEFGHIJKLMNOPQRSTUVWXYZ_:" -e "/^[0123456789]/s/^/_/"`
9971 ac_prefix_conf_INP=`$as_echo "config.h" | sed -e 's/ *//'`
9972 if test ".$ac_prefix_conf_INP" = "."; then
9973 for ac_file in : $CONFIG_HEADERS; do test "_$ac_file" = _: && continue
9974 case "$ac_file" in
9975 *.h) ac_prefix_conf_INP=$ac_file ;;
9976 *)
9977 esac
9978 test ".$ac_prefix_conf_INP" != "." && break
9979 done
9980 fi
9981 if test ".$ac_prefix_conf_INP" = "."; then
9982 case "$ac_prefix_conf_OUT" in
9983 */*) ac_prefix_conf_INP=`basename "$ac_prefix_conf_OUT"`
9984 ;;
9985 *-*) ac_prefix_conf_INP=`$as_echo "$ac_prefix_conf_OUT" | sed -e "s/[abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_]*-//"`
9986 ;;
9987 *) ac_prefix_conf_INP=config.h
9988 ;;
9989 esac
9990 fi
9991 if test -z "$ac_prefix_conf_PKG" ; then
9992 as_fn_error $? "no prefix for _PREFIX_PKG_CONFIG_H" "$LINENO" 5
9993 else
9994 if test ! -f "$ac_prefix_conf_INP" ; then if test -f "$srcdir/$ac_prefix_conf_INP" ; then
9995 ac_prefix_conf_INP="$srcdir/$ac_prefix_conf_INP"
9996 fi fi
9997 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_prefix_conf_OUT - prefix $ac_prefix_conf_UPP for $ac_prefix_conf_INP defines" >&5
9998 printf "%s\n" "$as_me: creating $ac_prefix_conf_OUT - prefix $ac_prefix_conf_UPP for $ac_prefix_conf_INP defines" >&6;}
9999 if test -f $ac_prefix_conf_INP ; then
10000 $as_echo "s/^#undef *\\([ABCDEFGHIJKLMNOPQRSTUVWXYZ_]\\)/#undef $ac_prefix_conf_UPP""_\\1/" > conftest.prefix
10001 $as_echo "s/^#undef *\\([abcdefghijklmnopqrstuvwxyz]\\)/#undef $ac_prefix_conf_LOW""_\\1/" >> conftest.prefix
10002 $as_echo "s/^#define *\\([ABCDEFGHIJKLMNOPQRSTUVWXYZ_][abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_]*\\)\\(.*\\)/#ifndef $ac_prefix_conf_UPP""_\\1 \\" >> conftest.prefix
10003 $as_echo "#define $ac_prefix_conf_UPP""_\\1 \\2 \\" >> conftest.prefix
10004 $as_echo "#endif/" >>conftest.prefix
10005 $as_echo "s/^#define *\\([abcdefghijklmnopqrstuvwxyz][abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_]*\\)\\(.*\\)/#ifndef $ac_prefix_conf_LOW""_\\1 \\" >> conftest.prefix
10006 $as_echo "#define $ac_prefix_conf_LOW""_\\1 \\2 \\" >> conftest.prefix
10007 $as_echo "#endif/" >> conftest.prefix
10008 # now executing _script on _DEF input to create _OUT output file
10009 $as_echo "#ifndef $ac_prefix_conf_DEF" >$tmp/pconfig.h
10010 $as_echo "#define $ac_prefix_conf_DEF 1" >>$tmp/pconfig.h
10011 $as_echo ' ' >>$tmp/pconfig.h
10012 $as_echo /'*' $ac_prefix_conf_OUT. Generated automatically at end of configure. '*'/ >>$tmp/pconfig.h
10013
10014 sed -f conftest.prefix $ac_prefix_conf_INP >>$tmp/pconfig.h
10015 $as_echo ' ' >>$tmp/pconfig.h
10016 $as_echo '/* once:' $ac_prefix_conf_DEF '*/' >>$tmp/pconfig.h
10017 $as_echo "#endif" >>$tmp/pconfig.h
10018 if cmp -s $ac_prefix_conf_OUT $tmp/pconfig.h 2>/dev/null; then
10019 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_prefix_conf_OUT is unchanged" >&5
10020 printf "%s\n" "$as_me: $ac_prefix_conf_OUT is unchanged" >&6;}
10021 else
10022 ac_dir=`$as_dirname -- "$ac_prefix_conf_OUT" ||
10023 $as_expr X"$ac_prefix_conf_OUT" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10024 X"$ac_prefix_conf_OUT" : 'X\(//\)[^/]' \| \
10025 X"$ac_prefix_conf_OUT" : 'X\(//\)$' \| \
10026 X"$ac_prefix_conf_OUT" : 'X\(/\)' \| . 2>/dev/null ||
10027 printf "%s\n" X"$ac_prefix_conf_OUT" |
10028 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10029 s//\1/
10030 q
10031 }
10032 /^X\(\/\/\)[^/].*/{
10033 s//\1/
10034 q
10035 }
10036 /^X\(\/\/\)$/{
10037 s//\1/
10038 q
10039 }
10040 /^X\(\/\).*/{
10041 s//\1/
10042 q
10043 }
10044 s/.*/./; q'`
10045 as_dir="$ac_dir"; as_fn_mkdir_p
10046 rm -f "$ac_prefix_conf_OUT"
10047 mv $tmp/pconfig.h "$ac_prefix_conf_OUT"
10048 fi
10049 cp conftest.prefix _configs.sed
10050 else
10051 as_fn_error $? "input file $ac_prefix_conf_INP does not exist - skip generating $ac_prefix_conf_OUT" "$LINENO" 5
10052 fi
10053 rm -f conftest.*
10054 fi
10055 ;;
10056 "include/zzip/_msvc.h":C) ac_prefix_conf_OUT=`$as_echo include/zzip/_msvc.h`
10057 ac_prefix_conf_DEF=`$as_echo _$ac_prefix_conf_OUT | sed -e "y:abcdefghijklmnopqrstuvwxyz:ABCDEFGHIJKLMNOPQRSTUVWXYZ:" -e "s/[^abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ]/_/g"`
10058 ac_prefix_conf_PKG=`$as_echo zzip`
10059 ac_prefix_conf_LOW=`$as_echo _$ac_prefix_conf_PKG | sed -e "y:ABCDEFGHIJKLMNOPQRSTUVWXYZ-:abcdefghijklmnopqrstuvwxyz_:"`
10060 ac_prefix_conf_UPP=`$as_echo $ac_prefix_conf_PKG | sed -e "y:abcdefghijklmnopqrstuvwxyz-:ABCDEFGHIJKLMNOPQRSTUVWXYZ_:" -e "/^[0123456789]/s/^/_/"`
10061 ac_prefix_conf_INP=`$as_echo "include/_msvc.in" | sed -e 's/ *//'`
10062 if test ".$ac_prefix_conf_INP" = "."; then
10063 for ac_file in : $CONFIG_HEADERS; do test "_$ac_file" = _: && continue
10064 case "$ac_file" in
10065 *.h) ac_prefix_conf_INP=$ac_file ;;
10066 *)
10067 esac
10068 test ".$ac_prefix_conf_INP" != "." && break
10069 done
10070 fi
10071 if test ".$ac_prefix_conf_INP" = "."; then
10072 case "$ac_prefix_conf_OUT" in
10073 */*) ac_prefix_conf_INP=`basename "$ac_prefix_conf_OUT"`
10074 ;;
10075 *-*) ac_prefix_conf_INP=`$as_echo "$ac_prefix_conf_OUT" | sed -e "s/[abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_]*-//"`
10076 ;;
10077 *) ac_prefix_conf_INP=config.h
10078 ;;
10079 esac
10080 fi
10081 if test -z "$ac_prefix_conf_PKG" ; then
10082 as_fn_error $? "no prefix for _PREFIX_PKG_CONFIG_H" "$LINENO" 5
10083 else
10084 if test ! -f "$ac_prefix_conf_INP" ; then if test -f "$srcdir/$ac_prefix_conf_INP" ; then
10085 ac_prefix_conf_INP="$srcdir/$ac_prefix_conf_INP"
10086 fi fi
10087 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_prefix_conf_OUT - prefix $ac_prefix_conf_UPP for $ac_prefix_conf_INP defines" >&5
10088 printf "%s\n" "$as_me: creating $ac_prefix_conf_OUT - prefix $ac_prefix_conf_UPP for $ac_prefix_conf_INP defines" >&6;}
10089 if test -f $ac_prefix_conf_INP ; then
10090 $as_echo "s/^#undef *\\([ABCDEFGHIJKLMNOPQRSTUVWXYZ_]\\)/#undef $ac_prefix_conf_UPP""_\\1/" > conftest.prefix
10091 $as_echo "s/^#undef *\\([abcdefghijklmnopqrstuvwxyz]\\)/#undef $ac_prefix_conf_LOW""_\\1/" >> conftest.prefix
10092 $as_echo "s/^#define *\\([ABCDEFGHIJKLMNOPQRSTUVWXYZ_][abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_]*\\)\\(.*\\)/#ifndef $ac_prefix_conf_UPP""_\\1 \\" >> conftest.prefix
10093 $as_echo "#define $ac_prefix_conf_UPP""_\\1 \\2 \\" >> conftest.prefix
10094 $as_echo "#endif/" >>conftest.prefix
10095 $as_echo "s/^#define *\\([abcdefghijklmnopqrstuvwxyz][abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_]*\\)\\(.*\\)/#ifndef $ac_prefix_conf_LOW""_\\1 \\" >> conftest.prefix
10096 $as_echo "#define $ac_prefix_conf_LOW""_\\1 \\2 \\" >> conftest.prefix
10097 $as_echo "#endif/" >> conftest.prefix
10098 # now executing _script on _DEF input to create _OUT output file
10099 $as_echo "#ifndef $ac_prefix_conf_DEF" >$tmp/pconfig.h
10100 $as_echo "#define $ac_prefix_conf_DEF 1" >>$tmp/pconfig.h
10101 $as_echo ' ' >>$tmp/pconfig.h
10102 $as_echo /'*' $ac_prefix_conf_OUT. Generated automatically at end of configure. '*'/ >>$tmp/pconfig.h
10103
10104 sed -f conftest.prefix $ac_prefix_conf_INP >>$tmp/pconfig.h
10105 $as_echo ' ' >>$tmp/pconfig.h
10106 $as_echo '/* once:' $ac_prefix_conf_DEF '*/' >>$tmp/pconfig.h
10107 $as_echo "#endif" >>$tmp/pconfig.h
10108 if cmp -s $ac_prefix_conf_OUT $tmp/pconfig.h 2>/dev/null; then
10109 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_prefix_conf_OUT is unchanged" >&5
10110 printf "%s\n" "$as_me: $ac_prefix_conf_OUT is unchanged" >&6;}
10111 else
10112 ac_dir=`$as_dirname -- "$ac_prefix_conf_OUT" ||
10113 $as_expr X"$ac_prefix_conf_OUT" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10114 X"$ac_prefix_conf_OUT" : 'X\(//\)[^/]' \| \
10115 X"$ac_prefix_conf_OUT" : 'X\(//\)$' \| \
10116 X"$ac_prefix_conf_OUT" : 'X\(/\)' \| . 2>/dev/null ||
10117 printf "%s\n" X"$ac_prefix_conf_OUT" |
10118 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10119 s//\1/
10120 q
10121 }
10122 /^X\(\/\/\)[^/].*/{
10123 s//\1/
10124 q
10125 }
10126 /^X\(\/\/\)$/{
10127 s//\1/
10128 q
10129 }
10130 /^X\(\/\).*/{
10131 s//\1/
10132 q
10133 }
10134 s/.*/./; q'`
10135 as_dir="$ac_dir"; as_fn_mkdir_p
10136 rm -f "$ac_prefix_conf_OUT"
10137 mv $tmp/pconfig.h "$ac_prefix_conf_OUT"
10138 fi
10139 cp conftest.prefix _configs.sed
10140 else
10141 as_fn_error $? "input file $ac_prefix_conf_INP does not exist - skip generating $ac_prefix_conf_OUT" "$LINENO" 5
10142 fi
10143 rm -f conftest.*
10144 fi
10145 ;;
10146
10147 esac
10148 done # for ac_tag
10149
10150
10151 as_fn_exit 0
10152 _ACEOF
10153 ac_clean_files=$ac_clean_files_save
10154
10155 test $ac_write_fail = 0 ||
10156 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
10157
10158
10159 # configure is writing to config.log, and then calls config.status.
10160 # config.status does its own redirection, appending to config.log.
10161 # Unfortunately, on DOS this fails, as config.log is still kept open
10162 # by configure, so config.status won't be able to write to it; its
10163 # output is simply discarded. So we exec the FD to /dev/null,
10164 # effectively closing config.log, so it can be properly (re)opened and
10165 # appended to by config.status. When coming back to configure, we
10166 # need to make the FD available again.
10167 if test "$no_create" != yes; then
10168 ac_cs_success=:
10169 ac_config_status_args=
10170 test "$silent" = yes &&
10171 ac_config_status_args="$ac_config_status_args --quiet"
10172 exec 5>/dev/null
10173 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
10174 exec 5>>config.log
10175 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
10176 # would make configure fail if this is the last instruction.
10177 $ac_cs_success || as_fn_exit 1
10178 fi
10179 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
10180 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
10181 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
10182 fi
10183
10184