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