configure revision 1.11 1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.63 for netpgp 20090525.
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='20090525'
600 PACKAGE_STRING='netpgp 20090525'
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 20090525 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 20090525:";;
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 20090525
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 20090525, 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 limits.h malloc.h zlib.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
4137
4138 for ac_header in openssl/aes.h openssl/bn.h openssl/cast.h openssl/des.h
4139 do
4140 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4141 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4142 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4143 $as_echo_n "checking for $ac_header... " >&6; }
4144 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4145 $as_echo_n "(cached) " >&6
4146 fi
4147 ac_res=`eval 'as_val=${'$as_ac_Header'}
4148 $as_echo "$as_val"'`
4149 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4150 $as_echo "$ac_res" >&6; }
4151 else
4152 # Is the header compilable?
4153 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
4154 $as_echo_n "checking $ac_header usability... " >&6; }
4155 cat >conftest.$ac_ext <<_ACEOF
4156 /* confdefs.h. */
4157 _ACEOF
4158 cat confdefs.h >>conftest.$ac_ext
4159 cat >>conftest.$ac_ext <<_ACEOF
4160 /* end confdefs.h. */
4161 $ac_includes_default
4162 #include <$ac_header>
4163 _ACEOF
4164 rm -f conftest.$ac_objext
4165 if { (ac_try="$ac_compile"
4166 case "(($ac_try" in
4167 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4168 *) ac_try_echo=$ac_try;;
4169 esac
4170 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4171 $as_echo "$ac_try_echo") >&5
4172 (eval "$ac_compile") 2>conftest.er1
4173 ac_status=$?
4174 grep -v '^ *+' conftest.er1 >conftest.err
4175 rm -f conftest.er1
4176 cat conftest.err >&5
4177 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4178 (exit $ac_status); } && {
4179 test -z "$ac_c_werror_flag" ||
4180 test ! -s conftest.err
4181 } && test -s conftest.$ac_objext; then
4182 ac_header_compiler=yes
4183 else
4184 $as_echo "$as_me: failed program was:" >&5
4185 sed 's/^/| /' conftest.$ac_ext >&5
4186
4187 ac_header_compiler=no
4188 fi
4189
4190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4191 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4192 $as_echo "$ac_header_compiler" >&6; }
4193
4194 # Is the header present?
4195 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
4196 $as_echo_n "checking $ac_header presence... " >&6; }
4197 cat >conftest.$ac_ext <<_ACEOF
4198 /* confdefs.h. */
4199 _ACEOF
4200 cat confdefs.h >>conftest.$ac_ext
4201 cat >>conftest.$ac_ext <<_ACEOF
4202 /* end confdefs.h. */
4203 #include <$ac_header>
4204 _ACEOF
4205 if { (ac_try="$ac_cpp conftest.$ac_ext"
4206 case "(($ac_try" in
4207 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4208 *) ac_try_echo=$ac_try;;
4209 esac
4210 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4211 $as_echo "$ac_try_echo") >&5
4212 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4213 ac_status=$?
4214 grep -v '^ *+' conftest.er1 >conftest.err
4215 rm -f conftest.er1
4216 cat conftest.err >&5
4217 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4218 (exit $ac_status); } >/dev/null && {
4219 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4220 test ! -s conftest.err
4221 }; then
4222 ac_header_preproc=yes
4223 else
4224 $as_echo "$as_me: failed program was:" >&5
4225 sed 's/^/| /' conftest.$ac_ext >&5
4226
4227 ac_header_preproc=no
4228 fi
4229
4230 rm -f conftest.err conftest.$ac_ext
4231 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4232 $as_echo "$ac_header_preproc" >&6; }
4233
4234 # So? What about this header?
4235 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4236 yes:no: )
4237 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4238 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4239 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4240 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4241 ac_header_preproc=yes
4242 ;;
4243 no:yes:* )
4244 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4245 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4246 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4247 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4248 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4249 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4250 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4251 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4252 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4253 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4254 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4255 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4256 ( cat <<\_ASBOX
4257 ## -------------------------------------------------------- ##
4258 ## Report this to Alistair Crooks <agc (at] netbsd.org> c0596823 ##
4259 ## -------------------------------------------------------- ##
4260 _ASBOX
4261 ) | sed "s/^/$as_me: WARNING: /" >&2
4262 ;;
4263 esac
4264 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4265 $as_echo_n "checking for $ac_header... " >&6; }
4266 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4267 $as_echo_n "(cached) " >&6
4268 else
4269 eval "$as_ac_Header=\$ac_header_preproc"
4270 fi
4271 ac_res=`eval 'as_val=${'$as_ac_Header'}
4272 $as_echo "$as_val"'`
4273 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4274 $as_echo "$ac_res" >&6; }
4275
4276 fi
4277 as_val=`eval 'as_val=${'$as_ac_Header'}
4278 $as_echo "$as_val"'`
4279 if test "x$as_val" = x""yes; then
4280 cat >>confdefs.h <<_ACEOF
4281 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4282 _ACEOF
4283
4284 fi
4285
4286 done
4287
4288
4289
4290
4291
4292 for ac_header in openssl/dsa.h openssl/err.h openssl/idea.h openssl/md5.h
4293 do
4294 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4295 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4296 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4297 $as_echo_n "checking for $ac_header... " >&6; }
4298 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4299 $as_echo_n "(cached) " >&6
4300 fi
4301 ac_res=`eval 'as_val=${'$as_ac_Header'}
4302 $as_echo "$as_val"'`
4303 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4304 $as_echo "$ac_res" >&6; }
4305 else
4306 # Is the header compilable?
4307 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
4308 $as_echo_n "checking $ac_header usability... " >&6; }
4309 cat >conftest.$ac_ext <<_ACEOF
4310 /* confdefs.h. */
4311 _ACEOF
4312 cat confdefs.h >>conftest.$ac_ext
4313 cat >>conftest.$ac_ext <<_ACEOF
4314 /* end confdefs.h. */
4315 $ac_includes_default
4316 #include <$ac_header>
4317 _ACEOF
4318 rm -f conftest.$ac_objext
4319 if { (ac_try="$ac_compile"
4320 case "(($ac_try" in
4321 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4322 *) ac_try_echo=$ac_try;;
4323 esac
4324 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4325 $as_echo "$ac_try_echo") >&5
4326 (eval "$ac_compile") 2>conftest.er1
4327 ac_status=$?
4328 grep -v '^ *+' conftest.er1 >conftest.err
4329 rm -f conftest.er1
4330 cat conftest.err >&5
4331 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4332 (exit $ac_status); } && {
4333 test -z "$ac_c_werror_flag" ||
4334 test ! -s conftest.err
4335 } && test -s conftest.$ac_objext; then
4336 ac_header_compiler=yes
4337 else
4338 $as_echo "$as_me: failed program was:" >&5
4339 sed 's/^/| /' conftest.$ac_ext >&5
4340
4341 ac_header_compiler=no
4342 fi
4343
4344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4345 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4346 $as_echo "$ac_header_compiler" >&6; }
4347
4348 # Is the header present?
4349 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
4350 $as_echo_n "checking $ac_header presence... " >&6; }
4351 cat >conftest.$ac_ext <<_ACEOF
4352 /* confdefs.h. */
4353 _ACEOF
4354 cat confdefs.h >>conftest.$ac_ext
4355 cat >>conftest.$ac_ext <<_ACEOF
4356 /* end confdefs.h. */
4357 #include <$ac_header>
4358 _ACEOF
4359 if { (ac_try="$ac_cpp conftest.$ac_ext"
4360 case "(($ac_try" in
4361 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4362 *) ac_try_echo=$ac_try;;
4363 esac
4364 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4365 $as_echo "$ac_try_echo") >&5
4366 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4367 ac_status=$?
4368 grep -v '^ *+' conftest.er1 >conftest.err
4369 rm -f conftest.er1
4370 cat conftest.err >&5
4371 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4372 (exit $ac_status); } >/dev/null && {
4373 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4374 test ! -s conftest.err
4375 }; then
4376 ac_header_preproc=yes
4377 else
4378 $as_echo "$as_me: failed program was:" >&5
4379 sed 's/^/| /' conftest.$ac_ext >&5
4380
4381 ac_header_preproc=no
4382 fi
4383
4384 rm -f conftest.err conftest.$ac_ext
4385 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4386 $as_echo "$ac_header_preproc" >&6; }
4387
4388 # So? What about this header?
4389 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4390 yes:no: )
4391 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4392 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4393 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4394 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4395 ac_header_preproc=yes
4396 ;;
4397 no:yes:* )
4398 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4399 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4400 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4401 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4402 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4403 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4404 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4405 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4406 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4407 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4408 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4409 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4410 ( cat <<\_ASBOX
4411 ## -------------------------------------------------------- ##
4412 ## Report this to Alistair Crooks <agc (at] netbsd.org> c0596823 ##
4413 ## -------------------------------------------------------- ##
4414 _ASBOX
4415 ) | sed "s/^/$as_me: WARNING: /" >&2
4416 ;;
4417 esac
4418 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4419 $as_echo_n "checking for $ac_header... " >&6; }
4420 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4421 $as_echo_n "(cached) " >&6
4422 else
4423 eval "$as_ac_Header=\$ac_header_preproc"
4424 fi
4425 ac_res=`eval 'as_val=${'$as_ac_Header'}
4426 $as_echo "$as_val"'`
4427 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4428 $as_echo "$ac_res" >&6; }
4429
4430 fi
4431 as_val=`eval 'as_val=${'$as_ac_Header'}
4432 $as_echo "$as_val"'`
4433 if test "x$as_val" = x""yes; then
4434 cat >>confdefs.h <<_ACEOF
4435 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4436 _ACEOF
4437
4438 fi
4439
4440 done
4441
4442
4443
4444
4445
4446 for ac_header in openssl/rand.h openssl/rsa.h openssl/sha.h openssl/err.h
4447 do
4448 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4449 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4450 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4451 $as_echo_n "checking for $ac_header... " >&6; }
4452 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4453 $as_echo_n "(cached) " >&6
4454 fi
4455 ac_res=`eval 'as_val=${'$as_ac_Header'}
4456 $as_echo "$as_val"'`
4457 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4458 $as_echo "$ac_res" >&6; }
4459 else
4460 # Is the header compilable?
4461 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
4462 $as_echo_n "checking $ac_header usability... " >&6; }
4463 cat >conftest.$ac_ext <<_ACEOF
4464 /* confdefs.h. */
4465 _ACEOF
4466 cat confdefs.h >>conftest.$ac_ext
4467 cat >>conftest.$ac_ext <<_ACEOF
4468 /* end confdefs.h. */
4469 $ac_includes_default
4470 #include <$ac_header>
4471 _ACEOF
4472 rm -f conftest.$ac_objext
4473 if { (ac_try="$ac_compile"
4474 case "(($ac_try" in
4475 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4476 *) ac_try_echo=$ac_try;;
4477 esac
4478 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4479 $as_echo "$ac_try_echo") >&5
4480 (eval "$ac_compile") 2>conftest.er1
4481 ac_status=$?
4482 grep -v '^ *+' conftest.er1 >conftest.err
4483 rm -f conftest.er1
4484 cat conftest.err >&5
4485 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4486 (exit $ac_status); } && {
4487 test -z "$ac_c_werror_flag" ||
4488 test ! -s conftest.err
4489 } && test -s conftest.$ac_objext; then
4490 ac_header_compiler=yes
4491 else
4492 $as_echo "$as_me: failed program was:" >&5
4493 sed 's/^/| /' conftest.$ac_ext >&5
4494
4495 ac_header_compiler=no
4496 fi
4497
4498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4499 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4500 $as_echo "$ac_header_compiler" >&6; }
4501
4502 # Is the header present?
4503 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
4504 $as_echo_n "checking $ac_header presence... " >&6; }
4505 cat >conftest.$ac_ext <<_ACEOF
4506 /* confdefs.h. */
4507 _ACEOF
4508 cat confdefs.h >>conftest.$ac_ext
4509 cat >>conftest.$ac_ext <<_ACEOF
4510 /* end confdefs.h. */
4511 #include <$ac_header>
4512 _ACEOF
4513 if { (ac_try="$ac_cpp conftest.$ac_ext"
4514 case "(($ac_try" in
4515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4516 *) ac_try_echo=$ac_try;;
4517 esac
4518 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4519 $as_echo "$ac_try_echo") >&5
4520 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4521 ac_status=$?
4522 grep -v '^ *+' conftest.er1 >conftest.err
4523 rm -f conftest.er1
4524 cat conftest.err >&5
4525 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4526 (exit $ac_status); } >/dev/null && {
4527 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4528 test ! -s conftest.err
4529 }; then
4530 ac_header_preproc=yes
4531 else
4532 $as_echo "$as_me: failed program was:" >&5
4533 sed 's/^/| /' conftest.$ac_ext >&5
4534
4535 ac_header_preproc=no
4536 fi
4537
4538 rm -f conftest.err conftest.$ac_ext
4539 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4540 $as_echo "$ac_header_preproc" >&6; }
4541
4542 # So? What about this header?
4543 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4544 yes:no: )
4545 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4546 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4547 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4548 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4549 ac_header_preproc=yes
4550 ;;
4551 no:yes:* )
4552 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4553 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4554 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4555 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4556 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4557 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4558 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4559 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4560 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4561 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4562 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4563 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4564 ( cat <<\_ASBOX
4565 ## -------------------------------------------------------- ##
4566 ## Report this to Alistair Crooks <agc (at] netbsd.org> c0596823 ##
4567 ## -------------------------------------------------------- ##
4568 _ASBOX
4569 ) | sed "s/^/$as_me: WARNING: /" >&2
4570 ;;
4571 esac
4572 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4573 $as_echo_n "checking for $ac_header... " >&6; }
4574 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4575 $as_echo_n "(cached) " >&6
4576 else
4577 eval "$as_ac_Header=\$ac_header_preproc"
4578 fi
4579 ac_res=`eval 'as_val=${'$as_ac_Header'}
4580 $as_echo "$as_val"'`
4581 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4582 $as_echo "$ac_res" >&6; }
4583
4584 fi
4585 as_val=`eval 'as_val=${'$as_ac_Header'}
4586 $as_echo "$as_val"'`
4587 if test "x$as_val" = x""yes; then
4588 cat >>confdefs.h <<_ACEOF
4589 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4590 _ACEOF
4591
4592 fi
4593
4594 done
4595
4596
4597
4598
4599
4600 for ac_header in openssl/idea.h openssl/md5.h openssl/rand.h openssl/rsa.h
4601 do
4602 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4603 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4604 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4605 $as_echo_n "checking for $ac_header... " >&6; }
4606 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4607 $as_echo_n "(cached) " >&6
4608 fi
4609 ac_res=`eval 'as_val=${'$as_ac_Header'}
4610 $as_echo "$as_val"'`
4611 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4612 $as_echo "$ac_res" >&6; }
4613 else
4614 # Is the header compilable?
4615 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
4616 $as_echo_n "checking $ac_header usability... " >&6; }
4617 cat >conftest.$ac_ext <<_ACEOF
4618 /* confdefs.h. */
4619 _ACEOF
4620 cat confdefs.h >>conftest.$ac_ext
4621 cat >>conftest.$ac_ext <<_ACEOF
4622 /* end confdefs.h. */
4623 $ac_includes_default
4624 #include <$ac_header>
4625 _ACEOF
4626 rm -f conftest.$ac_objext
4627 if { (ac_try="$ac_compile"
4628 case "(($ac_try" in
4629 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4630 *) ac_try_echo=$ac_try;;
4631 esac
4632 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4633 $as_echo "$ac_try_echo") >&5
4634 (eval "$ac_compile") 2>conftest.er1
4635 ac_status=$?
4636 grep -v '^ *+' conftest.er1 >conftest.err
4637 rm -f conftest.er1
4638 cat conftest.err >&5
4639 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4640 (exit $ac_status); } && {
4641 test -z "$ac_c_werror_flag" ||
4642 test ! -s conftest.err
4643 } && test -s conftest.$ac_objext; then
4644 ac_header_compiler=yes
4645 else
4646 $as_echo "$as_me: failed program was:" >&5
4647 sed 's/^/| /' conftest.$ac_ext >&5
4648
4649 ac_header_compiler=no
4650 fi
4651
4652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4653 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4654 $as_echo "$ac_header_compiler" >&6; }
4655
4656 # Is the header present?
4657 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
4658 $as_echo_n "checking $ac_header presence... " >&6; }
4659 cat >conftest.$ac_ext <<_ACEOF
4660 /* confdefs.h. */
4661 _ACEOF
4662 cat confdefs.h >>conftest.$ac_ext
4663 cat >>conftest.$ac_ext <<_ACEOF
4664 /* end confdefs.h. */
4665 #include <$ac_header>
4666 _ACEOF
4667 if { (ac_try="$ac_cpp conftest.$ac_ext"
4668 case "(($ac_try" in
4669 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4670 *) ac_try_echo=$ac_try;;
4671 esac
4672 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4673 $as_echo "$ac_try_echo") >&5
4674 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4675 ac_status=$?
4676 grep -v '^ *+' conftest.er1 >conftest.err
4677 rm -f conftest.er1
4678 cat conftest.err >&5
4679 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4680 (exit $ac_status); } >/dev/null && {
4681 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4682 test ! -s conftest.err
4683 }; then
4684 ac_header_preproc=yes
4685 else
4686 $as_echo "$as_me: failed program was:" >&5
4687 sed 's/^/| /' conftest.$ac_ext >&5
4688
4689 ac_header_preproc=no
4690 fi
4691
4692 rm -f conftest.err conftest.$ac_ext
4693 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4694 $as_echo "$ac_header_preproc" >&6; }
4695
4696 # So? What about this header?
4697 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4698 yes:no: )
4699 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4700 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4701 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4702 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4703 ac_header_preproc=yes
4704 ;;
4705 no:yes:* )
4706 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4707 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4708 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4709 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4710 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4711 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4712 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4713 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4714 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4715 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4716 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4717 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4718 ( cat <<\_ASBOX
4719 ## -------------------------------------------------------- ##
4720 ## Report this to Alistair Crooks <agc (at] netbsd.org> c0596823 ##
4721 ## -------------------------------------------------------- ##
4722 _ASBOX
4723 ) | sed "s/^/$as_me: WARNING: /" >&2
4724 ;;
4725 esac
4726 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4727 $as_echo_n "checking for $ac_header... " >&6; }
4728 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4729 $as_echo_n "(cached) " >&6
4730 else
4731 eval "$as_ac_Header=\$ac_header_preproc"
4732 fi
4733 ac_res=`eval 'as_val=${'$as_ac_Header'}
4734 $as_echo "$as_val"'`
4735 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4736 $as_echo "$ac_res" >&6; }
4737
4738 fi
4739 as_val=`eval 'as_val=${'$as_ac_Header'}
4740 $as_echo "$as_val"'`
4741 if test "x$as_val" = x""yes; then
4742 cat >>confdefs.h <<_ACEOF
4743 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4744 _ACEOF
4745
4746 fi
4747
4748 done
4749
4750
4751 for ac_header in openssl/sha.h
4752 do
4753 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4754 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4755 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4756 $as_echo_n "checking for $ac_header... " >&6; }
4757 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4758 $as_echo_n "(cached) " >&6
4759 fi
4760 ac_res=`eval 'as_val=${'$as_ac_Header'}
4761 $as_echo "$as_val"'`
4762 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4763 $as_echo "$ac_res" >&6; }
4764 else
4765 # Is the header compilable?
4766 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
4767 $as_echo_n "checking $ac_header usability... " >&6; }
4768 cat >conftest.$ac_ext <<_ACEOF
4769 /* confdefs.h. */
4770 _ACEOF
4771 cat confdefs.h >>conftest.$ac_ext
4772 cat >>conftest.$ac_ext <<_ACEOF
4773 /* end confdefs.h. */
4774 $ac_includes_default
4775 #include <$ac_header>
4776 _ACEOF
4777 rm -f conftest.$ac_objext
4778 if { (ac_try="$ac_compile"
4779 case "(($ac_try" in
4780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4781 *) ac_try_echo=$ac_try;;
4782 esac
4783 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4784 $as_echo "$ac_try_echo") >&5
4785 (eval "$ac_compile") 2>conftest.er1
4786 ac_status=$?
4787 grep -v '^ *+' conftest.er1 >conftest.err
4788 rm -f conftest.er1
4789 cat conftest.err >&5
4790 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4791 (exit $ac_status); } && {
4792 test -z "$ac_c_werror_flag" ||
4793 test ! -s conftest.err
4794 } && test -s conftest.$ac_objext; then
4795 ac_header_compiler=yes
4796 else
4797 $as_echo "$as_me: failed program was:" >&5
4798 sed 's/^/| /' conftest.$ac_ext >&5
4799
4800 ac_header_compiler=no
4801 fi
4802
4803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4804 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4805 $as_echo "$ac_header_compiler" >&6; }
4806
4807 # Is the header present?
4808 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
4809 $as_echo_n "checking $ac_header presence... " >&6; }
4810 cat >conftest.$ac_ext <<_ACEOF
4811 /* confdefs.h. */
4812 _ACEOF
4813 cat confdefs.h >>conftest.$ac_ext
4814 cat >>conftest.$ac_ext <<_ACEOF
4815 /* end confdefs.h. */
4816 #include <$ac_header>
4817 _ACEOF
4818 if { (ac_try="$ac_cpp conftest.$ac_ext"
4819 case "(($ac_try" in
4820 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4821 *) ac_try_echo=$ac_try;;
4822 esac
4823 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4824 $as_echo "$ac_try_echo") >&5
4825 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4826 ac_status=$?
4827 grep -v '^ *+' conftest.er1 >conftest.err
4828 rm -f conftest.er1
4829 cat conftest.err >&5
4830 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4831 (exit $ac_status); } >/dev/null && {
4832 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4833 test ! -s conftest.err
4834 }; then
4835 ac_header_preproc=yes
4836 else
4837 $as_echo "$as_me: failed program was:" >&5
4838 sed 's/^/| /' conftest.$ac_ext >&5
4839
4840 ac_header_preproc=no
4841 fi
4842
4843 rm -f conftest.err conftest.$ac_ext
4844 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4845 $as_echo "$ac_header_preproc" >&6; }
4846
4847 # So? What about this header?
4848 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4849 yes:no: )
4850 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4851 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4852 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4853 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4854 ac_header_preproc=yes
4855 ;;
4856 no:yes:* )
4857 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4858 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4859 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4860 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4861 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4862 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4863 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4864 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4865 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4866 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4867 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4868 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4869 ( cat <<\_ASBOX
4870 ## -------------------------------------------------------- ##
4871 ## Report this to Alistair Crooks <agc (at] netbsd.org> c0596823 ##
4872 ## -------------------------------------------------------- ##
4873 _ASBOX
4874 ) | sed "s/^/$as_me: WARNING: /" >&2
4875 ;;
4876 esac
4877 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4878 $as_echo_n "checking for $ac_header... " >&6; }
4879 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4880 $as_echo_n "(cached) " >&6
4881 else
4882 eval "$as_ac_Header=\$ac_header_preproc"
4883 fi
4884 ac_res=`eval 'as_val=${'$as_ac_Header'}
4885 $as_echo "$as_val"'`
4886 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4887 $as_echo "$ac_res" >&6; }
4888
4889 fi
4890 as_val=`eval 'as_val=${'$as_ac_Header'}
4891 $as_echo "$as_val"'`
4892 if test "x$as_val" = x""yes; then
4893 cat >>confdefs.h <<_ACEOF
4894 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4895 _ACEOF
4896
4897 fi
4898
4899 done
4900
4901
4902
4903
4904
4905
4906 for ac_header in sys/cdefs.h sys/file.h sys/mman.h sys/param.h sys/resource.h
4907 do
4908 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4909 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4910 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4911 $as_echo_n "checking for $ac_header... " >&6; }
4912 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4913 $as_echo_n "(cached) " >&6
4914 fi
4915 ac_res=`eval 'as_val=${'$as_ac_Header'}
4916 $as_echo "$as_val"'`
4917 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4918 $as_echo "$ac_res" >&6; }
4919 else
4920 # Is the header compilable?
4921 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
4922 $as_echo_n "checking $ac_header usability... " >&6; }
4923 cat >conftest.$ac_ext <<_ACEOF
4924 /* confdefs.h. */
4925 _ACEOF
4926 cat confdefs.h >>conftest.$ac_ext
4927 cat >>conftest.$ac_ext <<_ACEOF
4928 /* end confdefs.h. */
4929 $ac_includes_default
4930 #include <$ac_header>
4931 _ACEOF
4932 rm -f conftest.$ac_objext
4933 if { (ac_try="$ac_compile"
4934 case "(($ac_try" in
4935 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4936 *) ac_try_echo=$ac_try;;
4937 esac
4938 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4939 $as_echo "$ac_try_echo") >&5
4940 (eval "$ac_compile") 2>conftest.er1
4941 ac_status=$?
4942 grep -v '^ *+' conftest.er1 >conftest.err
4943 rm -f conftest.er1
4944 cat conftest.err >&5
4945 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4946 (exit $ac_status); } && {
4947 test -z "$ac_c_werror_flag" ||
4948 test ! -s conftest.err
4949 } && test -s conftest.$ac_objext; then
4950 ac_header_compiler=yes
4951 else
4952 $as_echo "$as_me: failed program was:" >&5
4953 sed 's/^/| /' conftest.$ac_ext >&5
4954
4955 ac_header_compiler=no
4956 fi
4957
4958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4959 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4960 $as_echo "$ac_header_compiler" >&6; }
4961
4962 # Is the header present?
4963 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
4964 $as_echo_n "checking $ac_header presence... " >&6; }
4965 cat >conftest.$ac_ext <<_ACEOF
4966 /* confdefs.h. */
4967 _ACEOF
4968 cat confdefs.h >>conftest.$ac_ext
4969 cat >>conftest.$ac_ext <<_ACEOF
4970 /* end confdefs.h. */
4971 #include <$ac_header>
4972 _ACEOF
4973 if { (ac_try="$ac_cpp conftest.$ac_ext"
4974 case "(($ac_try" in
4975 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4976 *) ac_try_echo=$ac_try;;
4977 esac
4978 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4979 $as_echo "$ac_try_echo") >&5
4980 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4981 ac_status=$?
4982 grep -v '^ *+' conftest.er1 >conftest.err
4983 rm -f conftest.er1
4984 cat conftest.err >&5
4985 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4986 (exit $ac_status); } >/dev/null && {
4987 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4988 test ! -s conftest.err
4989 }; then
4990 ac_header_preproc=yes
4991 else
4992 $as_echo "$as_me: failed program was:" >&5
4993 sed 's/^/| /' conftest.$ac_ext >&5
4994
4995 ac_header_preproc=no
4996 fi
4997
4998 rm -f conftest.err conftest.$ac_ext
4999 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5000 $as_echo "$ac_header_preproc" >&6; }
5001
5002 # So? What about this header?
5003 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5004 yes:no: )
5005 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5006 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5007 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5008 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5009 ac_header_preproc=yes
5010 ;;
5011 no:yes:* )
5012 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5013 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5014 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5015 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5016 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5017 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5018 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5019 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5020 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5021 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5022 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5023 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5024 ( cat <<\_ASBOX
5025 ## -------------------------------------------------------- ##
5026 ## Report this to Alistair Crooks <agc (at] netbsd.org> c0596823 ##
5027 ## -------------------------------------------------------- ##
5028 _ASBOX
5029 ) | sed "s/^/$as_me: WARNING: /" >&2
5030 ;;
5031 esac
5032 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5033 $as_echo_n "checking for $ac_header... " >&6; }
5034 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5035 $as_echo_n "(cached) " >&6
5036 else
5037 eval "$as_ac_Header=\$ac_header_preproc"
5038 fi
5039 ac_res=`eval 'as_val=${'$as_ac_Header'}
5040 $as_echo "$as_val"'`
5041 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5042 $as_echo "$ac_res" >&6; }
5043
5044 fi
5045 as_val=`eval 'as_val=${'$as_ac_Header'}
5046 $as_echo "$as_val"'`
5047 if test "x$as_val" = x""yes; then
5048 cat >>confdefs.h <<_ACEOF
5049 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5050 _ACEOF
5051
5052 fi
5053
5054 done
5055
5056
5057 for ac_header in sys/uio.h
5058 do
5059 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5060 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5061 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5062 $as_echo_n "checking for $ac_header... " >&6; }
5063 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5064 $as_echo_n "(cached) " >&6
5065 fi
5066 ac_res=`eval 'as_val=${'$as_ac_Header'}
5067 $as_echo "$as_val"'`
5068 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5069 $as_echo "$ac_res" >&6; }
5070 else
5071 # Is the header compilable?
5072 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
5073 $as_echo_n "checking $ac_header usability... " >&6; }
5074 cat >conftest.$ac_ext <<_ACEOF
5075 /* confdefs.h. */
5076 _ACEOF
5077 cat confdefs.h >>conftest.$ac_ext
5078 cat >>conftest.$ac_ext <<_ACEOF
5079 /* end confdefs.h. */
5080 $ac_includes_default
5081 #include <$ac_header>
5082 _ACEOF
5083 rm -f conftest.$ac_objext
5084 if { (ac_try="$ac_compile"
5085 case "(($ac_try" in
5086 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5087 *) ac_try_echo=$ac_try;;
5088 esac
5089 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5090 $as_echo "$ac_try_echo") >&5
5091 (eval "$ac_compile") 2>conftest.er1
5092 ac_status=$?
5093 grep -v '^ *+' conftest.er1 >conftest.err
5094 rm -f conftest.er1
5095 cat conftest.err >&5
5096 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5097 (exit $ac_status); } && {
5098 test -z "$ac_c_werror_flag" ||
5099 test ! -s conftest.err
5100 } && test -s conftest.$ac_objext; then
5101 ac_header_compiler=yes
5102 else
5103 $as_echo "$as_me: failed program was:" >&5
5104 sed 's/^/| /' conftest.$ac_ext >&5
5105
5106 ac_header_compiler=no
5107 fi
5108
5109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5110 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5111 $as_echo "$ac_header_compiler" >&6; }
5112
5113 # Is the header present?
5114 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
5115 $as_echo_n "checking $ac_header presence... " >&6; }
5116 cat >conftest.$ac_ext <<_ACEOF
5117 /* confdefs.h. */
5118 _ACEOF
5119 cat confdefs.h >>conftest.$ac_ext
5120 cat >>conftest.$ac_ext <<_ACEOF
5121 /* end confdefs.h. */
5122 #include <$ac_header>
5123 _ACEOF
5124 if { (ac_try="$ac_cpp conftest.$ac_ext"
5125 case "(($ac_try" in
5126 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5127 *) ac_try_echo=$ac_try;;
5128 esac
5129 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5130 $as_echo "$ac_try_echo") >&5
5131 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5132 ac_status=$?
5133 grep -v '^ *+' conftest.er1 >conftest.err
5134 rm -f conftest.er1
5135 cat conftest.err >&5
5136 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5137 (exit $ac_status); } >/dev/null && {
5138 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5139 test ! -s conftest.err
5140 }; then
5141 ac_header_preproc=yes
5142 else
5143 $as_echo "$as_me: failed program was:" >&5
5144 sed 's/^/| /' conftest.$ac_ext >&5
5145
5146 ac_header_preproc=no
5147 fi
5148
5149 rm -f conftest.err conftest.$ac_ext
5150 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5151 $as_echo "$ac_header_preproc" >&6; }
5152
5153 # So? What about this header?
5154 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5155 yes:no: )
5156 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5157 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5158 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5159 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5160 ac_header_preproc=yes
5161 ;;
5162 no:yes:* )
5163 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5164 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5165 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5166 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5167 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5168 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5169 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5170 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5171 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5172 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5173 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5174 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5175 ( cat <<\_ASBOX
5176 ## -------------------------------------------------------- ##
5177 ## Report this to Alistair Crooks <agc (at] netbsd.org> c0596823 ##
5178 ## -------------------------------------------------------- ##
5179 _ASBOX
5180 ) | sed "s/^/$as_me: WARNING: /" >&2
5181 ;;
5182 esac
5183 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5184 $as_echo_n "checking for $ac_header... " >&6; }
5185 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5186 $as_echo_n "(cached) " >&6
5187 else
5188 eval "$as_ac_Header=\$ac_header_preproc"
5189 fi
5190 ac_res=`eval 'as_val=${'$as_ac_Header'}
5191 $as_echo "$as_val"'`
5192 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5193 $as_echo "$ac_res" >&6; }
5194
5195 fi
5196 as_val=`eval 'as_val=${'$as_ac_Header'}
5197 $as_echo "$as_val"'`
5198 if test "x$as_val" = x""yes; then
5199 cat >>confdefs.h <<_ACEOF
5200 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5201 _ACEOF
5202
5203 fi
5204
5205 done
5206
5207
5208
5209 { $as_echo "$as_me:$LINENO: checking for uint8_t" >&5
5210 $as_echo_n "checking for uint8_t... " >&6; }
5211 if test "${ac_cv_c_uint8_t+set}" = set; then
5212 $as_echo_n "(cached) " >&6
5213 else
5214 ac_cv_c_uint8_t=no
5215 for ac_type in 'uint8_t' 'unsigned int' 'unsigned long int' \
5216 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
5217 cat >conftest.$ac_ext <<_ACEOF
5218 /* confdefs.h. */
5219 _ACEOF
5220 cat confdefs.h >>conftest.$ac_ext
5221 cat >>conftest.$ac_ext <<_ACEOF
5222 /* end confdefs.h. */
5223 $ac_includes_default
5224 int
5225 main ()
5226 {
5227 static int test_array [1 - 2 * !(($ac_type) -1 >> (8 - 1) == 1)];
5228 test_array [0] = 0
5229
5230 ;
5231 return 0;
5232 }
5233 _ACEOF
5234 rm -f conftest.$ac_objext
5235 if { (ac_try="$ac_compile"
5236 case "(($ac_try" in
5237 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5238 *) ac_try_echo=$ac_try;;
5239 esac
5240 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5241 $as_echo "$ac_try_echo") >&5
5242 (eval "$ac_compile") 2>conftest.er1
5243 ac_status=$?
5244 grep -v '^ *+' conftest.er1 >conftest.err
5245 rm -f conftest.er1
5246 cat conftest.err >&5
5247 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5248 (exit $ac_status); } && {
5249 test -z "$ac_c_werror_flag" ||
5250 test ! -s conftest.err
5251 } && test -s conftest.$ac_objext; then
5252 case $ac_type in
5253 uint8_t) ac_cv_c_uint8_t=yes ;;
5254 *) ac_cv_c_uint8_t=$ac_type ;;
5255 esac
5256
5257 else
5258 $as_echo "$as_me: failed program was:" >&5
5259 sed 's/^/| /' conftest.$ac_ext >&5
5260
5261
5262 fi
5263
5264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5265 test "$ac_cv_c_uint8_t" != no && break
5266 done
5267 fi
5268 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_uint8_t" >&5
5269 $as_echo "$ac_cv_c_uint8_t" >&6; }
5270 case $ac_cv_c_uint8_t in #(
5271 no|yes) ;; #(
5272 *)
5273
5274 cat >>confdefs.h <<\_ACEOF
5275 #define _UINT8_T 1
5276 _ACEOF
5277
5278
5279 cat >>confdefs.h <<_ACEOF
5280 #define uint8_t $ac_cv_c_uint8_t
5281 _ACEOF
5282 ;;
5283 esac
5284
5285
5286 { $as_echo "$as_me:$LINENO: checking for uint16_t" >&5
5287 $as_echo_n "checking for uint16_t... " >&6; }
5288 if test "${ac_cv_c_uint16_t+set}" = set; then
5289 $as_echo_n "(cached) " >&6
5290 else
5291 ac_cv_c_uint16_t=no
5292 for ac_type in 'uint16_t' 'unsigned int' 'unsigned long int' \
5293 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
5294 cat >conftest.$ac_ext <<_ACEOF
5295 /* confdefs.h. */
5296 _ACEOF
5297 cat confdefs.h >>conftest.$ac_ext
5298 cat >>conftest.$ac_ext <<_ACEOF
5299 /* end confdefs.h. */
5300 $ac_includes_default
5301 int
5302 main ()
5303 {
5304 static int test_array [1 - 2 * !(($ac_type) -1 >> (16 - 1) == 1)];
5305 test_array [0] = 0
5306
5307 ;
5308 return 0;
5309 }
5310 _ACEOF
5311 rm -f conftest.$ac_objext
5312 if { (ac_try="$ac_compile"
5313 case "(($ac_try" in
5314 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5315 *) ac_try_echo=$ac_try;;
5316 esac
5317 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5318 $as_echo "$ac_try_echo") >&5
5319 (eval "$ac_compile") 2>conftest.er1
5320 ac_status=$?
5321 grep -v '^ *+' conftest.er1 >conftest.err
5322 rm -f conftest.er1
5323 cat conftest.err >&5
5324 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5325 (exit $ac_status); } && {
5326 test -z "$ac_c_werror_flag" ||
5327 test ! -s conftest.err
5328 } && test -s conftest.$ac_objext; then
5329 case $ac_type in
5330 uint16_t) ac_cv_c_uint16_t=yes ;;
5331 *) ac_cv_c_uint16_t=$ac_type ;;
5332 esac
5333
5334 else
5335 $as_echo "$as_me: failed program was:" >&5
5336 sed 's/^/| /' conftest.$ac_ext >&5
5337
5338
5339 fi
5340
5341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5342 test "$ac_cv_c_uint16_t" != no && break
5343 done
5344 fi
5345 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_uint16_t" >&5
5346 $as_echo "$ac_cv_c_uint16_t" >&6; }
5347 case $ac_cv_c_uint16_t in #(
5348 no|yes) ;; #(
5349 *)
5350
5351
5352 cat >>confdefs.h <<_ACEOF
5353 #define uint16_t $ac_cv_c_uint16_t
5354 _ACEOF
5355 ;;
5356 esac
5357
5358
5359 { $as_echo "$as_me:$LINENO: checking for uint32_t" >&5
5360 $as_echo_n "checking for uint32_t... " >&6; }
5361 if test "${ac_cv_c_uint32_t+set}" = set; then
5362 $as_echo_n "(cached) " >&6
5363 else
5364 ac_cv_c_uint32_t=no
5365 for ac_type in 'uint32_t' 'unsigned int' 'unsigned long int' \
5366 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
5367 cat >conftest.$ac_ext <<_ACEOF
5368 /* confdefs.h. */
5369 _ACEOF
5370 cat confdefs.h >>conftest.$ac_ext
5371 cat >>conftest.$ac_ext <<_ACEOF
5372 /* end confdefs.h. */
5373 $ac_includes_default
5374 int
5375 main ()
5376 {
5377 static int test_array [1 - 2 * !(($ac_type) -1 >> (32 - 1) == 1)];
5378 test_array [0] = 0
5379
5380 ;
5381 return 0;
5382 }
5383 _ACEOF
5384 rm -f conftest.$ac_objext
5385 if { (ac_try="$ac_compile"
5386 case "(($ac_try" in
5387 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5388 *) ac_try_echo=$ac_try;;
5389 esac
5390 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5391 $as_echo "$ac_try_echo") >&5
5392 (eval "$ac_compile") 2>conftest.er1
5393 ac_status=$?
5394 grep -v '^ *+' conftest.er1 >conftest.err
5395 rm -f conftest.er1
5396 cat conftest.err >&5
5397 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5398 (exit $ac_status); } && {
5399 test -z "$ac_c_werror_flag" ||
5400 test ! -s conftest.err
5401 } && test -s conftest.$ac_objext; then
5402 case $ac_type in
5403 uint32_t) ac_cv_c_uint32_t=yes ;;
5404 *) ac_cv_c_uint32_t=$ac_type ;;
5405 esac
5406
5407 else
5408 $as_echo "$as_me: failed program was:" >&5
5409 sed 's/^/| /' conftest.$ac_ext >&5
5410
5411
5412 fi
5413
5414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5415 test "$ac_cv_c_uint32_t" != no && break
5416 done
5417 fi
5418 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_uint32_t" >&5
5419 $as_echo "$ac_cv_c_uint32_t" >&6; }
5420 case $ac_cv_c_uint32_t in #(
5421 no|yes) ;; #(
5422 *)
5423
5424 cat >>confdefs.h <<\_ACEOF
5425 #define _UINT32_T 1
5426 _ACEOF
5427
5428
5429 cat >>confdefs.h <<_ACEOF
5430 #define uint32_t $ac_cv_c_uint32_t
5431 _ACEOF
5432 ;;
5433 esac
5434
5435
5436 { $as_echo "$as_me:$LINENO: checking for uint64_t" >&5
5437 $as_echo_n "checking for uint64_t... " >&6; }
5438 if test "${ac_cv_c_uint64_t+set}" = set; then
5439 $as_echo_n "(cached) " >&6
5440 else
5441 ac_cv_c_uint64_t=no
5442 for ac_type in 'uint64_t' 'unsigned int' 'unsigned long int' \
5443 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
5444 cat >conftest.$ac_ext <<_ACEOF
5445 /* confdefs.h. */
5446 _ACEOF
5447 cat confdefs.h >>conftest.$ac_ext
5448 cat >>conftest.$ac_ext <<_ACEOF
5449 /* end confdefs.h. */
5450 $ac_includes_default
5451 int
5452 main ()
5453 {
5454 static int test_array [1 - 2 * !(($ac_type) -1 >> (64 - 1) == 1)];
5455 test_array [0] = 0
5456
5457 ;
5458 return 0;
5459 }
5460 _ACEOF
5461 rm -f conftest.$ac_objext
5462 if { (ac_try="$ac_compile"
5463 case "(($ac_try" in
5464 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5465 *) ac_try_echo=$ac_try;;
5466 esac
5467 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5468 $as_echo "$ac_try_echo") >&5
5469 (eval "$ac_compile") 2>conftest.er1
5470 ac_status=$?
5471 grep -v '^ *+' conftest.er1 >conftest.err
5472 rm -f conftest.er1
5473 cat conftest.err >&5
5474 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5475 (exit $ac_status); } && {
5476 test -z "$ac_c_werror_flag" ||
5477 test ! -s conftest.err
5478 } && test -s conftest.$ac_objext; then
5479 case $ac_type in
5480 uint64_t) ac_cv_c_uint64_t=yes ;;
5481 *) ac_cv_c_uint64_t=$ac_type ;;
5482 esac
5483
5484 else
5485 $as_echo "$as_me: failed program was:" >&5
5486 sed 's/^/| /' conftest.$ac_ext >&5
5487
5488
5489 fi
5490
5491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5492 test "$ac_cv_c_uint64_t" != no && break
5493 done
5494 fi
5495 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_uint64_t" >&5
5496 $as_echo "$ac_cv_c_uint64_t" >&6; }
5497 case $ac_cv_c_uint64_t in #(
5498 no|yes) ;; #(
5499 *)
5500
5501 cat >>confdefs.h <<\_ACEOF
5502 #define _UINT64_T 1
5503 _ACEOF
5504
5505
5506 cat >>confdefs.h <<_ACEOF
5507 #define uint64_t $ac_cv_c_uint64_t
5508 _ACEOF
5509 ;;
5510 esac
5511
5512
5513 # check for libraries
5514
5515 { $as_echo "$as_me:$LINENO: checking for gzopen in -lz" >&5
5516 $as_echo_n "checking for gzopen in -lz... " >&6; }
5517 if test "${ac_cv_lib_z_gzopen+set}" = set; then
5518 $as_echo_n "(cached) " >&6
5519 else
5520 ac_check_lib_save_LIBS=$LIBS
5521 LIBS="-lz $LIBS"
5522 cat >conftest.$ac_ext <<_ACEOF
5523 /* confdefs.h. */
5524 _ACEOF
5525 cat confdefs.h >>conftest.$ac_ext
5526 cat >>conftest.$ac_ext <<_ACEOF
5527 /* end confdefs.h. */
5528
5529 /* Override any GCC internal prototype to avoid an error.
5530 Use char because int might match the return type of a GCC
5531 builtin and then its argument prototype would still apply. */
5532 #ifdef __cplusplus
5533 extern "C"
5534 #endif
5535 char gzopen ();
5536 int
5537 main ()
5538 {
5539 return gzopen ();
5540 ;
5541 return 0;
5542 }
5543 _ACEOF
5544 rm -f conftest.$ac_objext conftest$ac_exeext
5545 if { (ac_try="$ac_link"
5546 case "(($ac_try" in
5547 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5548 *) ac_try_echo=$ac_try;;
5549 esac
5550 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5551 $as_echo "$ac_try_echo") >&5
5552 (eval "$ac_link") 2>conftest.er1
5553 ac_status=$?
5554 grep -v '^ *+' conftest.er1 >conftest.err
5555 rm -f conftest.er1
5556 cat conftest.err >&5
5557 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5558 (exit $ac_status); } && {
5559 test -z "$ac_c_werror_flag" ||
5560 test ! -s conftest.err
5561 } && test -s conftest$ac_exeext && {
5562 test "$cross_compiling" = yes ||
5563 $as_test_x conftest$ac_exeext
5564 }; then
5565 ac_cv_lib_z_gzopen=yes
5566 else
5567 $as_echo "$as_me: failed program was:" >&5
5568 sed 's/^/| /' conftest.$ac_ext >&5
5569
5570 ac_cv_lib_z_gzopen=no
5571 fi
5572
5573 rm -rf conftest.dSYM
5574 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5575 conftest$ac_exeext conftest.$ac_ext
5576 LIBS=$ac_check_lib_save_LIBS
5577 fi
5578 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_z_gzopen" >&5
5579 $as_echo "$ac_cv_lib_z_gzopen" >&6; }
5580 if test "x$ac_cv_lib_z_gzopen" = x""yes; then
5581 cat >>confdefs.h <<_ACEOF
5582 #define HAVE_LIBZ 1
5583 _ACEOF
5584
5585 LIBS="-lz $LIBS"
5586
5587 fi
5588
5589
5590 { $as_echo "$as_me:$LINENO: checking for BZ2_bzDecompress in -lbz2" >&5
5591 $as_echo_n "checking for BZ2_bzDecompress in -lbz2... " >&6; }
5592 if test "${ac_cv_lib_bz2_BZ2_bzDecompress+set}" = set; then
5593 $as_echo_n "(cached) " >&6
5594 else
5595 ac_check_lib_save_LIBS=$LIBS
5596 LIBS="-lbz2 $LIBS"
5597 cat >conftest.$ac_ext <<_ACEOF
5598 /* confdefs.h. */
5599 _ACEOF
5600 cat confdefs.h >>conftest.$ac_ext
5601 cat >>conftest.$ac_ext <<_ACEOF
5602 /* end confdefs.h. */
5603
5604 /* Override any GCC internal prototype to avoid an error.
5605 Use char because int might match the return type of a GCC
5606 builtin and then its argument prototype would still apply. */
5607 #ifdef __cplusplus
5608 extern "C"
5609 #endif
5610 char BZ2_bzDecompress ();
5611 int
5612 main ()
5613 {
5614 return BZ2_bzDecompress ();
5615 ;
5616 return 0;
5617 }
5618 _ACEOF
5619 rm -f conftest.$ac_objext conftest$ac_exeext
5620 if { (ac_try="$ac_link"
5621 case "(($ac_try" in
5622 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5623 *) ac_try_echo=$ac_try;;
5624 esac
5625 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5626 $as_echo "$ac_try_echo") >&5
5627 (eval "$ac_link") 2>conftest.er1
5628 ac_status=$?
5629 grep -v '^ *+' conftest.er1 >conftest.err
5630 rm -f conftest.er1
5631 cat conftest.err >&5
5632 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5633 (exit $ac_status); } && {
5634 test -z "$ac_c_werror_flag" ||
5635 test ! -s conftest.err
5636 } && test -s conftest$ac_exeext && {
5637 test "$cross_compiling" = yes ||
5638 $as_test_x conftest$ac_exeext
5639 }; then
5640 ac_cv_lib_bz2_BZ2_bzDecompress=yes
5641 else
5642 $as_echo "$as_me: failed program was:" >&5
5643 sed 's/^/| /' conftest.$ac_ext >&5
5644
5645 ac_cv_lib_bz2_BZ2_bzDecompress=no
5646 fi
5647
5648 rm -rf conftest.dSYM
5649 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5650 conftest$ac_exeext conftest.$ac_ext
5651 LIBS=$ac_check_lib_save_LIBS
5652 fi
5653 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_bz2_BZ2_bzDecompress" >&5
5654 $as_echo "$ac_cv_lib_bz2_BZ2_bzDecompress" >&6; }
5655 if test "x$ac_cv_lib_bz2_BZ2_bzDecompress" = x""yes; then
5656 cat >>confdefs.h <<_ACEOF
5657 #define HAVE_LIBBZ2 1
5658 _ACEOF
5659
5660 LIBS="-lbz2 $LIBS"
5661
5662 fi
5663
5664
5665 { $as_echo "$as_me:$LINENO: checking for RSA_public_encrypt in -lcrypto" >&5
5666 $as_echo_n "checking for RSA_public_encrypt in -lcrypto... " >&6; }
5667 if test "${ac_cv_lib_crypto_RSA_public_encrypt+set}" = set; then
5668 $as_echo_n "(cached) " >&6
5669 else
5670 ac_check_lib_save_LIBS=$LIBS
5671 LIBS="-lcrypto $LIBS"
5672 cat >conftest.$ac_ext <<_ACEOF
5673 /* confdefs.h. */
5674 _ACEOF
5675 cat confdefs.h >>conftest.$ac_ext
5676 cat >>conftest.$ac_ext <<_ACEOF
5677 /* end confdefs.h. */
5678
5679 /* Override any GCC internal prototype to avoid an error.
5680 Use char because int might match the return type of a GCC
5681 builtin and then its argument prototype would still apply. */
5682 #ifdef __cplusplus
5683 extern "C"
5684 #endif
5685 char RSA_public_encrypt ();
5686 int
5687 main ()
5688 {
5689 return RSA_public_encrypt ();
5690 ;
5691 return 0;
5692 }
5693 _ACEOF
5694 rm -f conftest.$ac_objext conftest$ac_exeext
5695 if { (ac_try="$ac_link"
5696 case "(($ac_try" in
5697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5698 *) ac_try_echo=$ac_try;;
5699 esac
5700 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5701 $as_echo "$ac_try_echo") >&5
5702 (eval "$ac_link") 2>conftest.er1
5703 ac_status=$?
5704 grep -v '^ *+' conftest.er1 >conftest.err
5705 rm -f conftest.er1
5706 cat conftest.err >&5
5707 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5708 (exit $ac_status); } && {
5709 test -z "$ac_c_werror_flag" ||
5710 test ! -s conftest.err
5711 } && test -s conftest$ac_exeext && {
5712 test "$cross_compiling" = yes ||
5713 $as_test_x conftest$ac_exeext
5714 }; then
5715 ac_cv_lib_crypto_RSA_public_encrypt=yes
5716 else
5717 $as_echo "$as_me: failed program was:" >&5
5718 sed 's/^/| /' conftest.$ac_ext >&5
5719
5720 ac_cv_lib_crypto_RSA_public_encrypt=no
5721 fi
5722
5723 rm -rf conftest.dSYM
5724 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5725 conftest$ac_exeext conftest.$ac_ext
5726 LIBS=$ac_check_lib_save_LIBS
5727 fi
5728 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_crypto_RSA_public_encrypt" >&5
5729 $as_echo "$ac_cv_lib_crypto_RSA_public_encrypt" >&6; }
5730 if test "x$ac_cv_lib_crypto_RSA_public_encrypt" = x""yes; then
5731 cat >>confdefs.h <<_ACEOF
5732 #define HAVE_LIBCRYPTO 1
5733 _ACEOF
5734
5735 LIBS="-lcrypto $LIBS"
5736
5737 fi
5738
5739
5740 # Checks for library functions.
5741
5742 # write it out
5743 ac_config_files="$ac_config_files Makefile src/lib/Makefile src/bin/Makefile"
5744
5745 cat >confcache <<\_ACEOF
5746 # This file is a shell script that caches the results of configure
5747 # tests run on this system so they can be shared between configure
5748 # scripts and configure runs, see configure's option --config-cache.
5749 # It is not useful on other systems. If it contains results you don't
5750 # want to keep, you may remove or edit it.
5751 #
5752 # config.status only pays attention to the cache file if you give it
5753 # the --recheck option to rerun configure.
5754 #
5755 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5756 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5757 # following values.
5758
5759 _ACEOF
5760
5761 # The following way of writing the cache mishandles newlines in values,
5762 # but we know of no workaround that is simple, portable, and efficient.
5763 # So, we kill variables containing newlines.
5764 # Ultrix sh set writes to stderr and can't be redirected directly,
5765 # and sets the high bit in the cache file unless we assign to the vars.
5766 (
5767 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5768 eval ac_val=\$$ac_var
5769 case $ac_val in #(
5770 *${as_nl}*)
5771 case $ac_var in #(
5772 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
5773 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
5774 esac
5775 case $ac_var in #(
5776 _ | IFS | as_nl) ;; #(
5777 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
5778 *) $as_unset $ac_var ;;
5779 esac ;;
5780 esac
5781 done
5782
5783 (set) 2>&1 |
5784 case $as_nl`(ac_space=' '; set) 2>&1` in #(
5785 *${as_nl}ac_space=\ *)
5786 # `set' does not quote correctly, so add quotes (double-quote
5787 # substitution turns \\\\ into \\, and sed turns \\ into \).
5788 sed -n \
5789 "s/'/'\\\\''/g;
5790 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5791 ;; #(
5792 *)
5793 # `set' quotes correctly as required by POSIX, so do not add quotes.
5794 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5795 ;;
5796 esac |
5797 sort
5798 ) |
5799 sed '
5800 /^ac_cv_env_/b end
5801 t clear
5802 :clear
5803 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5804 t end
5805 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5806 :end' >>confcache
5807 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
5808 if test -w "$cache_file"; then
5809 test "x$cache_file" != "x/dev/null" &&
5810 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
5811 $as_echo "$as_me: updating cache $cache_file" >&6;}
5812 cat confcache >$cache_file
5813 else
5814 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
5815 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5816 fi
5817 fi
5818 rm -f confcache
5819
5820 test "x$prefix" = xNONE && prefix=$ac_default_prefix
5821 # Let make expand exec_prefix.
5822 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5823
5824 DEFS=-DHAVE_CONFIG_H
5825
5826 ac_libobjs=
5827 ac_ltlibobjs=
5828 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5829 # 1. Remove the extension, and $U if already installed.
5830 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
5831 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
5832 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
5833 # will be set to the directory where LIBOBJS objects are built.
5834 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5835 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
5836 done
5837 LIBOBJS=$ac_libobjs
5838
5839 LTLIBOBJS=$ac_ltlibobjs
5840
5841
5842
5843 : ${CONFIG_STATUS=./config.status}
5844 ac_write_fail=0
5845 ac_clean_files_save=$ac_clean_files
5846 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5847 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
5848 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
5849 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5850 #! $SHELL
5851 # Generated by $as_me.
5852 # Run this file to recreate the current configuration.
5853 # Compiler output produced by configure, useful for debugging
5854 # configure, is in config.log if it exists.
5855
5856 debug=false
5857 ac_cs_recheck=false
5858 ac_cs_silent=false
5859 SHELL=\${CONFIG_SHELL-$SHELL}
5860 _ACEOF
5861
5862 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5863 ## --------------------- ##
5864 ## M4sh Initialization. ##
5865 ## --------------------- ##
5866
5867 # Be more Bourne compatible
5868 DUALCASE=1; export DUALCASE # for MKS sh
5869 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
5870 emulate sh
5871 NULLCMD=:
5872 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5873 # is contrary to our usage. Disable this feature.
5874 alias -g '${1+"$@"}'='"$@"'
5875 setopt NO_GLOB_SUBST
5876 else
5877 case `(set -o) 2>/dev/null` in
5878 *posix*) set -o posix ;;
5879 esac
5880
5881 fi
5882
5883
5884
5885
5886 # PATH needs CR
5887 # Avoid depending upon Character Ranges.
5888 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5889 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5890 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5891 as_cr_digits='0123456789'
5892 as_cr_alnum=$as_cr_Letters$as_cr_digits
5893
5894 as_nl='
5895 '
5896 export as_nl
5897 # Printing a long string crashes Solaris 7 /usr/bin/printf.
5898 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5899 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5900 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5901 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5902 as_echo='printf %s\n'
5903 as_echo_n='printf %s'
5904 else
5905 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5906 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
5907 as_echo_n='/usr/ucb/echo -n'
5908 else
5909 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5910 as_echo_n_body='eval
5911 arg=$1;
5912 case $arg in
5913 *"$as_nl"*)
5914 expr "X$arg" : "X\\(.*\\)$as_nl";
5915 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5916 esac;
5917 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
5918 '
5919 export as_echo_n_body
5920 as_echo_n='sh -c $as_echo_n_body as_echo'
5921 fi
5922 export as_echo_body
5923 as_echo='sh -c $as_echo_body as_echo'
5924 fi
5925
5926 # The user is always right.
5927 if test "${PATH_SEPARATOR+set}" != set; then
5928 PATH_SEPARATOR=:
5929 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5930 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5931 PATH_SEPARATOR=';'
5932 }
5933 fi
5934
5935 # Support unset when possible.
5936 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5937 as_unset=unset
5938 else
5939 as_unset=false
5940 fi
5941
5942
5943 # IFS
5944 # We need space, tab and new line, in precisely that order. Quoting is
5945 # there to prevent editors from complaining about space-tab.
5946 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
5947 # splitting by setting IFS to empty value.)
5948 IFS=" "" $as_nl"
5949
5950 # Find who we are. Look in the path if we contain no directory separator.
5951 case $0 in
5952 *[\\/]* ) as_myself=$0 ;;
5953 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5954 for as_dir in $PATH
5955 do
5956 IFS=$as_save_IFS
5957 test -z "$as_dir" && as_dir=.
5958 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5959 done
5960 IFS=$as_save_IFS
5961
5962 ;;
5963 esac
5964 # We did not find ourselves, most probably we were run as `sh COMMAND'
5965 # in which case we are not to be found in the path.
5966 if test "x$as_myself" = x; then
5967 as_myself=$0
5968 fi
5969 if test ! -f "$as_myself"; then
5970 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5971 { (exit 1); exit 1; }
5972 fi
5973
5974 # Work around bugs in pre-3.0 UWIN ksh.
5975 for as_var in ENV MAIL MAILPATH
5976 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
5977 done
5978 PS1='$ '
5979 PS2='> '
5980 PS4='+ '
5981
5982 # NLS nuisances.
5983 LC_ALL=C
5984 export LC_ALL
5985 LANGUAGE=C
5986 export LANGUAGE
5987
5988 # Required to use basename.
5989 if expr a : '\(a\)' >/dev/null 2>&1 &&
5990 test "X`expr 00001 : '.*\(...\)'`" = X001; then
5991 as_expr=expr
5992 else
5993 as_expr=false
5994 fi
5995
5996 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5997 as_basename=basename
5998 else
5999 as_basename=false
6000 fi
6001
6002
6003 # Name of the executable.
6004 as_me=`$as_basename -- "$0" ||
6005 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6006 X"$0" : 'X\(//\)$' \| \
6007 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
6008 $as_echo X/"$0" |
6009 sed '/^.*\/\([^/][^/]*\)\/*$/{
6010 s//\1/
6011 q
6012 }
6013 /^X\/\(\/\/\)$/{
6014 s//\1/
6015 q
6016 }
6017 /^X\/\(\/\).*/{
6018 s//\1/
6019 q
6020 }
6021 s/.*/./; q'`
6022
6023 # CDPATH.
6024 $as_unset CDPATH
6025
6026
6027
6028 as_lineno_1=$LINENO
6029 as_lineno_2=$LINENO
6030 test "x$as_lineno_1" != "x$as_lineno_2" &&
6031 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
6032
6033 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
6034 # uniformly replaced by the line number. The first 'sed' inserts a
6035 # line-number line after each line using $LINENO; the second 'sed'
6036 # does the real work. The second script uses 'N' to pair each
6037 # line-number line with the line containing $LINENO, and appends
6038 # trailing '-' during substitution so that $LINENO is not a special
6039 # case at line end.
6040 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
6041 # scripts with optimization help from Paolo Bonzini. Blame Lee
6042 # E. McMahon (1931-1989) for sed's syntax. :-)
6043 sed -n '
6044 p
6045 /[$]LINENO/=
6046 ' <$as_myself |
6047 sed '
6048 s/[$]LINENO.*/&-/
6049 t lineno
6050 b
6051 :lineno
6052 N
6053 :loop
6054 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
6055 t loop
6056 s/-\n.*//
6057 ' >$as_me.lineno &&
6058 chmod +x "$as_me.lineno" ||
6059 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
6060 { (exit 1); exit 1; }; }
6061
6062 # Don't try to exec as it changes $[0], causing all sort of problems
6063 # (the dirname of $[0] is not the place where we might find the
6064 # original and so on. Autoconf is especially sensitive to this).
6065 . "./$as_me.lineno"
6066 # Exit status is that of the last command.
6067 exit
6068 }
6069
6070
6071 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
6072 as_dirname=dirname
6073 else
6074 as_dirname=false
6075 fi
6076
6077 ECHO_C= ECHO_N= ECHO_T=
6078 case `echo -n x` in
6079 -n*)
6080 case `echo 'x\c'` in
6081 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
6082 *) ECHO_C='\c';;
6083 esac;;
6084 *)
6085 ECHO_N='-n';;
6086 esac
6087 if expr a : '\(a\)' >/dev/null 2>&1 &&
6088 test "X`expr 00001 : '.*\(...\)'`" = X001; then
6089 as_expr=expr
6090 else
6091 as_expr=false
6092 fi
6093
6094 rm -f conf$$ conf$$.exe conf$$.file
6095 if test -d conf$$.dir; then
6096 rm -f conf$$.dir/conf$$.file
6097 else
6098 rm -f conf$$.dir
6099 mkdir conf$$.dir 2>/dev/null
6100 fi
6101 if (echo >conf$$.file) 2>/dev/null; then
6102 if ln -s conf$$.file conf$$ 2>/dev/null; then
6103 as_ln_s='ln -s'
6104 # ... but there are two gotchas:
6105 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
6106 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
6107 # In both cases, we have to default to `cp -p'.
6108 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
6109 as_ln_s='cp -p'
6110 elif ln conf$$.file conf$$ 2>/dev/null; then
6111 as_ln_s=ln
6112 else
6113 as_ln_s='cp -p'
6114 fi
6115 else
6116 as_ln_s='cp -p'
6117 fi
6118 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
6119 rmdir conf$$.dir 2>/dev/null
6120
6121 if mkdir -p . 2>/dev/null; then
6122 as_mkdir_p=:
6123 else
6124 test -d ./-p && rmdir ./-p
6125 as_mkdir_p=false
6126 fi
6127
6128 if test -x / >/dev/null 2>&1; then
6129 as_test_x='test -x'
6130 else
6131 if ls -dL / >/dev/null 2>&1; then
6132 as_ls_L_option=L
6133 else
6134 as_ls_L_option=
6135 fi
6136 as_test_x='
6137 eval sh -c '\''
6138 if test -d "$1"; then
6139 test -d "$1/.";
6140 else
6141 case $1 in
6142 -*)set "./$1";;
6143 esac;
6144 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
6145 ???[sx]*):;;*)false;;esac;fi
6146 '\'' sh
6147 '
6148 fi
6149 as_executable_p=$as_test_x
6150
6151 # Sed expression to map a string onto a valid CPP name.
6152 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6153
6154 # Sed expression to map a string onto a valid variable name.
6155 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
6156
6157
6158 exec 6>&1
6159
6160 # Save the log message, to keep $[0] and so on meaningful, and to
6161 # report actual input values of CONFIG_FILES etc. instead of their
6162 # values after options handling.
6163 ac_log="
6164 This file was extended by netpgp $as_me 20090525, which was
6165 generated by GNU Autoconf 2.63. Invocation command line was
6166
6167 CONFIG_FILES = $CONFIG_FILES
6168 CONFIG_HEADERS = $CONFIG_HEADERS
6169 CONFIG_LINKS = $CONFIG_LINKS
6170 CONFIG_COMMANDS = $CONFIG_COMMANDS
6171 $ $0 $@
6172
6173 on `(hostname || uname -n) 2>/dev/null | sed 1q`
6174 "
6175
6176 _ACEOF
6177
6178 case $ac_config_files in *"
6179 "*) set x $ac_config_files; shift; ac_config_files=$*;;
6180 esac
6181
6182 case $ac_config_headers in *"
6183 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
6184 esac
6185
6186
6187 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6188 # Files that config.status was made for.
6189 config_files="$ac_config_files"
6190 config_headers="$ac_config_headers"
6191
6192 _ACEOF
6193
6194 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6195 ac_cs_usage="\
6196 \`$as_me' instantiates files from templates according to the
6197 current configuration.
6198
6199 Usage: $0 [OPTION]... [FILE]...
6200
6201 -h, --help print this help, then exit
6202 -V, --version print version number and configuration settings, then exit
6203 -q, --quiet, --silent
6204 do not print progress messages
6205 -d, --debug don't remove temporary files
6206 --recheck update $as_me by reconfiguring in the same conditions
6207 --file=FILE[:TEMPLATE]
6208 instantiate the configuration file FILE
6209 --header=FILE[:TEMPLATE]
6210 instantiate the configuration header FILE
6211
6212 Configuration files:
6213 $config_files
6214
6215 Configuration headers:
6216 $config_headers
6217
6218 Report bugs to <bug-autoconf (at] gnu.org>."
6219
6220 _ACEOF
6221 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6222 ac_cs_version="\\
6223 netpgp config.status 20090525
6224 configured by $0, generated by GNU Autoconf 2.63,
6225 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
6226
6227 Copyright (C) 2008 Free Software Foundation, Inc.
6228 This config.status script is free software; the Free Software Foundation
6229 gives unlimited permission to copy, distribute and modify it."
6230
6231 ac_pwd='$ac_pwd'
6232 srcdir='$srcdir'
6233 INSTALL='$INSTALL'
6234 AWK='$AWK'
6235 test -n "\$AWK" || AWK=awk
6236 _ACEOF
6237
6238 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6239 # The default lists apply if the user does not specify any file.
6240 ac_need_defaults=:
6241 while test $# != 0
6242 do
6243 case $1 in
6244 --*=*)
6245 ac_option=`expr "X$1" : 'X\([^=]*\)='`
6246 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
6247 ac_shift=:
6248 ;;
6249 *)
6250 ac_option=$1
6251 ac_optarg=$2
6252 ac_shift=shift
6253 ;;
6254 esac
6255
6256 case $ac_option in
6257 # Handling of the options.
6258 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
6259 ac_cs_recheck=: ;;
6260 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
6261 $as_echo "$ac_cs_version"; exit ;;
6262 --debug | --debu | --deb | --de | --d | -d )
6263 debug=: ;;
6264 --file | --fil | --fi | --f )
6265 $ac_shift
6266 case $ac_optarg in
6267 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6268 esac
6269 CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
6270 ac_need_defaults=false;;
6271 --header | --heade | --head | --hea )
6272 $ac_shift
6273 case $ac_optarg in
6274 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6275 esac
6276 CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
6277 ac_need_defaults=false;;
6278 --he | --h)
6279 # Conflict between --help and --header
6280 { $as_echo "$as_me: error: ambiguous option: $1
6281 Try \`$0 --help' for more information." >&2
6282 { (exit 1); exit 1; }; };;
6283 --help | --hel | -h )
6284 $as_echo "$ac_cs_usage"; exit ;;
6285 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
6286 | -silent | --silent | --silen | --sile | --sil | --si | --s)
6287 ac_cs_silent=: ;;
6288
6289 # This is an error.
6290 -*) { $as_echo "$as_me: error: unrecognized option: $1
6291 Try \`$0 --help' for more information." >&2
6292 { (exit 1); exit 1; }; } ;;
6293
6294 *) ac_config_targets="$ac_config_targets $1"
6295 ac_need_defaults=false ;;
6296
6297 esac
6298 shift
6299 done
6300
6301 ac_configure_extra_args=
6302
6303 if $ac_cs_silent; then
6304 exec 6>/dev/null
6305 ac_configure_extra_args="$ac_configure_extra_args --silent"
6306 fi
6307
6308 _ACEOF
6309 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6310 if \$ac_cs_recheck; then
6311 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6312 shift
6313 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
6314 CONFIG_SHELL='$SHELL'
6315 export CONFIG_SHELL
6316 exec "\$@"
6317 fi
6318
6319 _ACEOF
6320 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6321 exec 5>>config.log
6322 {
6323 echo
6324 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6325 ## Running $as_me. ##
6326 _ASBOX
6327 $as_echo "$ac_log"
6328 } >&5
6329
6330 _ACEOF
6331 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6332 _ACEOF
6333
6334 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6335
6336 # Handling of arguments.
6337 for ac_config_target in $ac_config_targets
6338 do
6339 case $ac_config_target in
6340 "src/lib/config.h") CONFIG_HEADERS="$CONFIG_HEADERS src/lib/config.h" ;;
6341 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
6342 "src/lib/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/Makefile" ;;
6343 "src/bin/Makefile") CONFIG_FILES="$CONFIG_FILES src/bin/Makefile" ;;
6344
6345 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
6346 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
6347 { (exit 1); exit 1; }; };;
6348 esac
6349 done
6350
6351
6352 # If the user did not use the arguments to specify the items to instantiate,
6353 # then the envvar interface is used. Set only those that are not.
6354 # We use the long form for the default assignment because of an extremely
6355 # bizarre bug on SunOS 4.1.3.
6356 if $ac_need_defaults; then
6357 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
6358 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
6359 fi
6360
6361 # Have a temporary directory for convenience. Make it in the build tree
6362 # simply because there is no reason against having it here, and in addition,
6363 # creating and moving files from /tmp can sometimes cause problems.
6364 # Hook for its removal unless debugging.
6365 # Note that there is a small window in which the directory will not be cleaned:
6366 # after its creation but before its name has been assigned to `$tmp'.
6367 $debug ||
6368 {
6369 tmp=
6370 trap 'exit_status=$?
6371 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
6372 ' 0
6373 trap '{ (exit 1); exit 1; }' 1 2 13 15
6374 }
6375 # Create a (secure) tmp directory for tmp files.
6376
6377 {
6378 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
6379 test -n "$tmp" && test -d "$tmp"
6380 } ||
6381 {
6382 tmp=./conf$$-$RANDOM
6383 (umask 077 && mkdir "$tmp")
6384 } ||
6385 {
6386 $as_echo "$as_me: cannot create a temporary directory in ." >&2
6387 { (exit 1); exit 1; }
6388 }
6389
6390 # Set up the scripts for CONFIG_FILES section.
6391 # No need to generate them if there are no CONFIG_FILES.
6392 # This happens for instance with `./config.status config.h'.
6393 if test -n "$CONFIG_FILES"; then
6394
6395
6396 ac_cr='
'
6398 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
6399 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
6400 ac_cs_awk_cr='\\r'
6401 else
6402 ac_cs_awk_cr=$ac_cr
6403 fi
6404
6405 echo 'BEGIN {' >"$tmp/subs1.awk" &&
6406 _ACEOF
6407
6408
6409 {
6410 echo "cat >conf$$subs.awk <<_ACEOF" &&
6411 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
6412 echo "_ACEOF"
6413 } >conf$$subs.sh ||
6414 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
6415 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
6416 { (exit 1); exit 1; }; }
6417 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
6418 ac_delim='%!_!# '
6419 for ac_last_try in false false false false false :; do
6420 . ./conf$$subs.sh ||
6421 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
6422 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
6423 { (exit 1); exit 1; }; }
6424
6425 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
6426 if test $ac_delim_n = $ac_delim_num; then
6427 break
6428 elif $ac_last_try; then
6429 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
6430 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
6431 { (exit 1); exit 1; }; }
6432 else
6433 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6434 fi
6435 done
6436 rm -f conf$$subs.sh
6437
6438 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6439 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
6440 _ACEOF
6441 sed -n '
6442 h
6443 s/^/S["/; s/!.*/"]=/
6444 p
6445 g
6446 s/^[^!]*!//
6447 :repl
6448 t repl
6449 s/'"$ac_delim"'$//
6450 t delim
6451 :nl
6452 h
6453 s/\(.\{148\}\).*/\1/
6454 t more1
6455 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
6456 p
6457 n
6458 b repl
6459 :more1
6460 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6461 p
6462 g
6463 s/.\{148\}//
6464 t nl
6465 :delim
6466 h
6467 s/\(.\{148\}\).*/\1/
6468 t more2
6469 s/["\\]/\\&/g; s/^/"/; s/$/"/
6470 p
6471 b
6472 :more2
6473 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6474 p
6475 g
6476 s/.\{148\}//
6477 t delim
6478 ' <conf$$subs.awk | sed '
6479 /^[^""]/{
6480 N
6481 s/\n//
6482 }
6483 ' >>$CONFIG_STATUS || ac_write_fail=1
6484 rm -f conf$$subs.awk
6485 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6486 _ACAWK
6487 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
6488 for (key in S) S_is_set[key] = 1
6489 FS = ""
6490
6491 }
6492 {
6493 line = $ 0
6494 nfields = split(line, field, "@")
6495 substed = 0
6496 len = length(field[1])
6497 for (i = 2; i < nfields; i++) {
6498 key = field[i]
6499 keylen = length(key)
6500 if (S_is_set[key]) {
6501 value = S[key]
6502 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
6503 len += length(value) + length(field[++i])
6504 substed = 1
6505 } else
6506 len += 1 + keylen
6507 }
6508
6509 print line
6510 }
6511
6512 _ACAWK
6513 _ACEOF
6514 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6515 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
6516 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
6517 else
6518 cat
6519 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
6520 || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
6521 $as_echo "$as_me: error: could not setup config files machinery" >&2;}
6522 { (exit 1); exit 1; }; }
6523 _ACEOF
6524
6525 # VPATH may cause trouble with some makes, so we remove $(srcdir),
6526 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
6527 # trailing colons and then remove the whole line if VPATH becomes empty
6528 # (actually we leave an empty line to preserve line numbers).
6529 if test "x$srcdir" = x.; then
6530 ac_vpsub='/^[ ]*VPATH[ ]*=/{
6531 s/:*\$(srcdir):*/:/
6532 s/:*\${srcdir}:*/:/
6533 s/:*@srcdir@:*/:/
6534 s/^\([^=]*=[ ]*\):*/\1/
6535 s/:*$//
6536 s/^[^=]*=[ ]*$//
6537 }'
6538 fi
6539
6540 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6541 fi # test -n "$CONFIG_FILES"
6542
6543 # Set up the scripts for CONFIG_HEADERS section.
6544 # No need to generate them if there are no CONFIG_HEADERS.
6545 # This happens for instance with `./config.status Makefile'.
6546 if test -n "$CONFIG_HEADERS"; then
6547 cat >"$tmp/defines.awk" <<\_ACAWK ||
6548 BEGIN {
6549 _ACEOF
6550
6551 # Transform confdefs.h into an awk script `defines.awk', embedded as
6552 # here-document in config.status, that substitutes the proper values into
6553 # config.h.in to produce config.h.
6554
6555 # Create a delimiter string that does not exist in confdefs.h, to ease
6556 # handling of long lines.
6557 ac_delim='%!_!# '
6558 for ac_last_try in false false :; do
6559 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
6560 if test -z "$ac_t"; then
6561 break
6562 elif $ac_last_try; then
6563 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
6564 $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
6565 { (exit 1); exit 1; }; }
6566 else
6567 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6568 fi
6569 done
6570
6571 # For the awk script, D is an array of macro values keyed by name,
6572 # likewise P contains macro parameters if any. Preserve backslash
6573 # newline sequences.
6574
6575 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
6576 sed -n '
6577 s/.\{148\}/&'"$ac_delim"'/g
6578 t rset
6579 :rset
6580 s/^[ ]*#[ ]*define[ ][ ]*/ /
6581 t def
6582 d
6583 :def
6584 s/\\$//
6585 t bsnl
6586 s/["\\]/\\&/g
6587 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
6588 D["\1"]=" \3"/p
6589 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
6590 d
6591 :bsnl
6592 s/["\\]/\\&/g
6593 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
6594 D["\1"]=" \3\\\\\\n"\\/p
6595 t cont
6596 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
6597 t cont
6598 d
6599 :cont
6600 n
6601 s/.\{148\}/&'"$ac_delim"'/g
6602 t clear
6603 :clear
6604 s/\\$//
6605 t bsnlc
6606 s/["\\]/\\&/g; s/^/"/; s/$/"/p
6607 d
6608 :bsnlc
6609 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
6610 b cont
6611 ' <confdefs.h | sed '
6612 s/'"$ac_delim"'/"\\\
6613 "/g' >>$CONFIG_STATUS || ac_write_fail=1
6614
6615 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6616 for (key in D) D_is_set[key] = 1
6617 FS = ""
6618 }
6619 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
6620 line = \$ 0
6621 split(line, arg, " ")
6622 if (arg[1] == "#") {
6623 defundef = arg[2]
6624 mac1 = arg[3]
6625 } else {
6626 defundef = substr(arg[1], 2)
6627 mac1 = arg[2]
6628 }
6629 split(mac1, mac2, "(") #)
6630 macro = mac2[1]
6631 prefix = substr(line, 1, index(line, defundef) - 1)
6632 if (D_is_set[macro]) {
6633 # Preserve the white space surrounding the "#".
6634 print prefix "define", macro P[macro] D[macro]
6635 next
6636 } else {
6637 # Replace #undef with comments. This is necessary, for example,
6638 # in the case of _POSIX_SOURCE, which is predefined and required
6639 # on some systems where configure will not decide to define it.
6640 if (defundef == "undef") {
6641 print "/*", prefix defundef, macro, "*/"
6642 next
6643 }
6644 }
6645 }
6646 { print }
6647 _ACAWK
6648 _ACEOF
6649 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6650 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
6651 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
6652 { (exit 1); exit 1; }; }
6653 fi # test -n "$CONFIG_HEADERS"
6654
6655
6656 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS "
6657 shift
6658 for ac_tag
6659 do
6660 case $ac_tag in
6661 :[FHLC]) ac_mode=$ac_tag; continue;;
6662 esac
6663 case $ac_mode$ac_tag in
6664 :[FHL]*:*);;
6665 :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
6666 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
6667 { (exit 1); exit 1; }; };;
6668 :[FH]-) ac_tag=-:-;;
6669 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
6670 esac
6671 ac_save_IFS=$IFS
6672 IFS=:
6673 set x $ac_tag
6674 IFS=$ac_save_IFS
6675 shift
6676 ac_file=$1
6677 shift
6678
6679 case $ac_mode in
6680 :L) ac_source=$1;;
6681 :[FH])
6682 ac_file_inputs=
6683 for ac_f
6684 do
6685 case $ac_f in
6686 -) ac_f="$tmp/stdin";;
6687 *) # Look for the file first in the build tree, then in the source tree
6688 # (if the path is not absolute). The absolute path cannot be DOS-style,
6689 # because $ac_f cannot contain `:'.
6690 test -f "$ac_f" ||
6691 case $ac_f in
6692 [\\/$]*) false;;
6693 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
6694 esac ||
6695 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
6696 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
6697 { (exit 1); exit 1; }; };;
6698 esac
6699 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
6700 ac_file_inputs="$ac_file_inputs '$ac_f'"
6701 done
6702
6703 # Let's still pretend it is `configure' which instantiates (i.e., don't
6704 # use $as_me), people would be surprised to read:
6705 # /* config.h. Generated by config.status. */
6706 configure_input='Generated from '`
6707 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
6708 `' by configure.'
6709 if test x"$ac_file" != x-; then
6710 configure_input="$ac_file. $configure_input"
6711 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
6712 $as_echo "$as_me: creating $ac_file" >&6;}
6713 fi
6714 # Neutralize special characters interpreted by sed in replacement strings.
6715 case $configure_input in #(
6716 *\&* | *\|* | *\\* )
6717 ac_sed_conf_input=`$as_echo "$configure_input" |
6718 sed 's/[\\\\&|]/\\\\&/g'`;; #(
6719 *) ac_sed_conf_input=$configure_input;;
6720 esac
6721
6722 case $ac_tag in
6723 *:-:* | *:-) cat >"$tmp/stdin" \
6724 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
6725 $as_echo "$as_me: error: could not create $ac_file" >&2;}
6726 { (exit 1); exit 1; }; } ;;
6727 esac
6728 ;;
6729 esac
6730
6731 ac_dir=`$as_dirname -- "$ac_file" ||
6732 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6733 X"$ac_file" : 'X\(//\)[^/]' \| \
6734 X"$ac_file" : 'X\(//\)$' \| \
6735 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6736 $as_echo X"$ac_file" |
6737 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6738 s//\1/
6739 q
6740 }
6741 /^X\(\/\/\)[^/].*/{
6742 s//\1/
6743 q
6744 }
6745 /^X\(\/\/\)$/{
6746 s//\1/
6747 q
6748 }
6749 /^X\(\/\).*/{
6750 s//\1/
6751 q
6752 }
6753 s/.*/./; q'`
6754 { as_dir="$ac_dir"
6755 case $as_dir in #(
6756 -*) as_dir=./$as_dir;;
6757 esac
6758 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
6759 as_dirs=
6760 while :; do
6761 case $as_dir in #(
6762 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
6763 *) as_qdir=$as_dir;;
6764 esac
6765 as_dirs="'$as_qdir' $as_dirs"
6766 as_dir=`$as_dirname -- "$as_dir" ||
6767 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6768 X"$as_dir" : 'X\(//\)[^/]' \| \
6769 X"$as_dir" : 'X\(//\)$' \| \
6770 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6771 $as_echo X"$as_dir" |
6772 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6773 s//\1/
6774 q
6775 }
6776 /^X\(\/\/\)[^/].*/{
6777 s//\1/
6778 q
6779 }
6780 /^X\(\/\/\)$/{
6781 s//\1/
6782 q
6783 }
6784 /^X\(\/\).*/{
6785 s//\1/
6786 q
6787 }
6788 s/.*/./; q'`
6789 test -d "$as_dir" && break
6790 done
6791 test -z "$as_dirs" || eval "mkdir $as_dirs"
6792 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
6793 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
6794 { (exit 1); exit 1; }; }; }
6795 ac_builddir=.
6796
6797 case "$ac_dir" in
6798 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6799 *)
6800 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
6801 # A ".." for each directory in $ac_dir_suffix.
6802 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6803 case $ac_top_builddir_sub in
6804 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6805 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
6806 esac ;;
6807 esac
6808 ac_abs_top_builddir=$ac_pwd
6809 ac_abs_builddir=$ac_pwd$ac_dir_suffix
6810 # for backward compatibility:
6811 ac_top_builddir=$ac_top_build_prefix
6812
6813 case $srcdir in
6814 .) # We are building in place.
6815 ac_srcdir=.
6816 ac_top_srcdir=$ac_top_builddir_sub
6817 ac_abs_top_srcdir=$ac_pwd ;;
6818 [\\/]* | ?:[\\/]* ) # Absolute name.
6819 ac_srcdir=$srcdir$ac_dir_suffix;
6820 ac_top_srcdir=$srcdir
6821 ac_abs_top_srcdir=$srcdir ;;
6822 *) # Relative name.
6823 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
6824 ac_top_srcdir=$ac_top_build_prefix$srcdir
6825 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
6826 esac
6827 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
6828
6829
6830 case $ac_mode in
6831 :F)
6832 #
6833 # CONFIG_FILE
6834 #
6835
6836 case $INSTALL in
6837 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6838 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
6839 esac
6840 _ACEOF
6841
6842 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6843 # If the template does not know about datarootdir, expand it.
6844 # FIXME: This hack should be removed a few years after 2.60.
6845 ac_datarootdir_hack=; ac_datarootdir_seen=
6846
6847 ac_sed_dataroot='
6848 /datarootdir/ {
6849 p
6850 q
6851 }
6852 /@datadir@/p
6853 /@docdir@/p
6854 /@infodir@/p
6855 /@localedir@/p
6856 /@mandir@/p
6857 '
6858 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
6859 *datarootdir*) ac_datarootdir_seen=yes;;
6860 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
6861 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6862 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6863 _ACEOF
6864 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6865 ac_datarootdir_hack='
6866 s&@datadir@&$datadir&g
6867 s&@docdir@&$docdir&g
6868 s&@infodir@&$infodir&g
6869 s&@localedir@&$localedir&g
6870 s&@mandir@&$mandir&g
6871 s&\\\${datarootdir}&$datarootdir&g' ;;
6872 esac
6873 _ACEOF
6874
6875 # Neutralize VPATH when `$srcdir' = `.'.
6876 # Shell code in configure.ac might set extrasub.
6877 # FIXME: do we really want to maintain this feature?
6878 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6879 ac_sed_extra="$ac_vpsub
6880 $extrasub
6881 _ACEOF
6882 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6883 :t
6884 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6885 s|@configure_input@|$ac_sed_conf_input|;t t
6886 s&@top_builddir@&$ac_top_builddir_sub&;t t
6887 s&@top_build_prefix@&$ac_top_build_prefix&;t t
6888 s&@srcdir@&$ac_srcdir&;t t
6889 s&@abs_srcdir@&$ac_abs_srcdir&;t t
6890 s&@top_srcdir@&$ac_top_srcdir&;t t
6891 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
6892 s&@builddir@&$ac_builddir&;t t
6893 s&@abs_builddir@&$ac_abs_builddir&;t t
6894 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
6895 s&@INSTALL@&$ac_INSTALL&;t t
6896 $ac_datarootdir_hack
6897 "
6898 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
6899 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
6900 $as_echo "$as_me: error: could not create $ac_file" >&2;}
6901 { (exit 1); exit 1; }; }
6902
6903 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6904 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
6905 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
6906 { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6907 which seems to be undefined. Please make sure it is defined." >&5
6908 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6909 which seems to be undefined. Please make sure it is defined." >&2;}
6910
6911 rm -f "$tmp/stdin"
6912 case $ac_file in
6913 -) cat "$tmp/out" && rm -f "$tmp/out";;
6914 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
6915 esac \
6916 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
6917 $as_echo "$as_me: error: could not create $ac_file" >&2;}
6918 { (exit 1); exit 1; }; }
6919 ;;
6920 :H)
6921 #
6922 # CONFIG_HEADER
6923 #
6924 if test x"$ac_file" != x-; then
6925 {
6926 $as_echo "/* $configure_input */" \
6927 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
6928 } >"$tmp/config.h" \
6929 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
6930 $as_echo "$as_me: error: could not create $ac_file" >&2;}
6931 { (exit 1); exit 1; }; }
6932 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
6933 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
6934 $as_echo "$as_me: $ac_file is unchanged" >&6;}
6935 else
6936 rm -f "$ac_file"
6937 mv "$tmp/config.h" "$ac_file" \
6938 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
6939 $as_echo "$as_me: error: could not create $ac_file" >&2;}
6940 { (exit 1); exit 1; }; }
6941 fi
6942 else
6943 $as_echo "/* $configure_input */" \
6944 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
6945 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
6946 $as_echo "$as_me: error: could not create -" >&2;}
6947 { (exit 1); exit 1; }; }
6948 fi
6949 ;;
6950
6951
6952 esac
6953
6954 done # for ac_tag
6955
6956
6957 { (exit 0); exit 0; }
6958 _ACEOF
6959 chmod +x $CONFIG_STATUS
6960 ac_clean_files=$ac_clean_files_save
6961
6962 test $ac_write_fail = 0 ||
6963 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
6964 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
6965 { (exit 1); exit 1; }; }
6966
6967
6968 # configure is writing to config.log, and then calls config.status.
6969 # config.status does its own redirection, appending to config.log.
6970 # Unfortunately, on DOS this fails, as config.log is still kept open
6971 # by configure, so config.status won't be able to write to it; its
6972 # output is simply discarded. So we exec the FD to /dev/null,
6973 # effectively closing config.log, so it can be properly (re)opened and
6974 # appended to by config.status. When coming back to configure, we
6975 # need to make the FD available again.
6976 if test "$no_create" != yes; then
6977 ac_cs_success=:
6978 ac_config_status_args=
6979 test "$silent" = yes &&
6980 ac_config_status_args="$ac_config_status_args --quiet"
6981 exec 5>/dev/null
6982 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6983 exec 5>>config.log
6984 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6985 # would make configure fail if this is the last instruction.
6986 $ac_cs_success || { (exit 1); exit 1; }
6987 fi
6988 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
6989 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6990 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
6991 fi
6992
6993