Debian Codegraph @

configure

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