configure revision 1.3 1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.63 for netpgp 20090423.
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='20090423'
600 PACKAGE_STRING='netpgp 20090423'
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 20090423 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 20090423:";;
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 20090423
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 20090423, which was
1436 generated by GNU Autoconf 2.63. Invocation command line was
1437
1438 $ $0 $@
1439
1440 _ACEOF
1441 exec 5>>config.log
1442 {
1443 cat <<_ASUNAME
1444 ## --------- ##
1445 ## Platform. ##
1446 ## --------- ##
1447
1448 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1449 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1450 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1451 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1452 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1453
1454 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1455 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1456
1457 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1458 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1459 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1460 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1461 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1462 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1463 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1464
1465 _ASUNAME
1466
1467 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1468 for as_dir in $PATH
1469 do
1470 IFS=$as_save_IFS
1471 test -z "$as_dir" && as_dir=.
1472 $as_echo "PATH: $as_dir"
1473 done
1474 IFS=$as_save_IFS
1475
1476 } >&5
1477
1478 cat >&5 <<_ACEOF
1479
1480
1481 ## ----------- ##
1482 ## Core tests. ##
1483 ## ----------- ##
1484
1485 _ACEOF
1486
1487
1488 # Keep a trace of the command line.
1489 # Strip out --no-create and --no-recursion so they do not pile up.
1490 # Strip out --silent because we don't want to record it for future runs.
1491 # Also quote any args containing shell meta-characters.
1492 # Make two passes to allow for proper duplicate-argument suppression.
1493 ac_configure_args=
1494 ac_configure_args0=
1495 ac_configure_args1=
1496 ac_must_keep_next=false
1497 for ac_pass in 1 2
1498 do
1499 for ac_arg
1500 do
1501 case $ac_arg in
1502 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1503 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1504 | -silent | --silent | --silen | --sile | --sil)
1505 continue ;;
1506 *\'*)
1507 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1508 esac
1509 case $ac_pass in
1510 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1511 2)
1512 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1513 if test $ac_must_keep_next = true; then
1514 ac_must_keep_next=false # Got value, back to normal.
1515 else
1516 case $ac_arg in
1517 *=* | --config-cache | -C | -disable-* | --disable-* \
1518 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1519 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1520 | -with-* | --with-* | -without-* | --without-* | --x)
1521 case "$ac_configure_args0 " in
1522 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1523 esac
1524 ;;
1525 -* ) ac_must_keep_next=true ;;
1526 esac
1527 fi
1528 ac_configure_args="$ac_configure_args '$ac_arg'"
1529 ;;
1530 esac
1531 done
1532 done
1533 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1534 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1535
1536 # When interrupted or exit'd, cleanup temporary files, and complete
1537 # config.log. We remove comments because anyway the quotes in there
1538 # would cause problems or look ugly.
1539 # WARNING: Use '\'' to represent an apostrophe within the trap.
1540 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1541 trap 'exit_status=$?
1542 # Save into config.log some information that might help in debugging.
1543 {
1544 echo
1545
1546 cat <<\_ASBOX
1547 ## ---------------- ##
1548 ## Cache variables. ##
1549 ## ---------------- ##
1550 _ASBOX
1551 echo
1552 # The following way of writing the cache mishandles newlines in values,
1553 (
1554 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1555 eval ac_val=\$$ac_var
1556 case $ac_val in #(
1557 *${as_nl}*)
1558 case $ac_var in #(
1559 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1560 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1561 esac
1562 case $ac_var in #(
1563 _ | IFS | as_nl) ;; #(
1564 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1565 *) $as_unset $ac_var ;;
1566 esac ;;
1567 esac
1568 done
1569 (set) 2>&1 |
1570 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1571 *${as_nl}ac_space=\ *)
1572 sed -n \
1573 "s/'\''/'\''\\\\'\'''\''/g;
1574 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1575 ;; #(
1576 *)
1577 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1578 ;;
1579 esac |
1580 sort
1581 )
1582 echo
1583
1584 cat <<\_ASBOX
1585 ## ----------------- ##
1586 ## Output variables. ##
1587 ## ----------------- ##
1588 _ASBOX
1589 echo
1590 for ac_var in $ac_subst_vars
1591 do
1592 eval ac_val=\$$ac_var
1593 case $ac_val in
1594 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1595 esac
1596 $as_echo "$ac_var='\''$ac_val'\''"
1597 done | sort
1598 echo
1599
1600 if test -n "$ac_subst_files"; then
1601 cat <<\_ASBOX
1602 ## ------------------- ##
1603 ## File substitutions. ##
1604 ## ------------------- ##
1605 _ASBOX
1606 echo
1607 for ac_var in $ac_subst_files
1608 do
1609 eval ac_val=\$$ac_var
1610 case $ac_val in
1611 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1612 esac
1613 $as_echo "$ac_var='\''$ac_val'\''"
1614 done | sort
1615 echo
1616 fi
1617
1618 if test -s confdefs.h; then
1619 cat <<\_ASBOX
1620 ## ----------- ##
1621 ## confdefs.h. ##
1622 ## ----------- ##
1623 _ASBOX
1624 echo
1625 cat confdefs.h
1626 echo
1627 fi
1628 test "$ac_signal" != 0 &&
1629 $as_echo "$as_me: caught signal $ac_signal"
1630 $as_echo "$as_me: exit $exit_status"
1631 } >&5
1632 rm -f core *.core core.conftest.* &&
1633 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1634 exit $exit_status
1635 ' 0
1636 for ac_signal in 1 2 13 15; do
1637 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1638 done
1639 ac_signal=0
1640
1641 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1642 rm -f -r conftest* confdefs.h
1643
1644 # Predefined preprocessor variables.
1645
1646 cat >>confdefs.h <<_ACEOF
1647 #define PACKAGE_NAME "$PACKAGE_NAME"
1648 _ACEOF
1649
1650
1651 cat >>confdefs.h <<_ACEOF
1652 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1653 _ACEOF
1654
1655
1656 cat >>confdefs.h <<_ACEOF
1657 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1658 _ACEOF
1659
1660
1661 cat >>confdefs.h <<_ACEOF
1662 #define PACKAGE_STRING "$PACKAGE_STRING"
1663 _ACEOF
1664
1665
1666 cat >>confdefs.h <<_ACEOF
1667 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1668 _ACEOF
1669
1670
1671 # Let the site file select an alternate cache file if it wants to.
1672 # Prefer an explicitly selected file to automatically selected ones.
1673 ac_site_file1=NONE
1674 ac_site_file2=NONE
1675 if test -n "$CONFIG_SITE"; then
1676 ac_site_file1=$CONFIG_SITE
1677 elif test "x$prefix" != xNONE; then
1678 ac_site_file1=$prefix/share/config.site
1679 ac_site_file2=$prefix/etc/config.site
1680 else
1681 ac_site_file1=$ac_default_prefix/share/config.site
1682 ac_site_file2=$ac_default_prefix/etc/config.site
1683 fi
1684 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1685 do
1686 test "x$ac_site_file" = xNONE && continue
1687 if test -r "$ac_site_file"; then
1688 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1689 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1690 sed 's/^/| /' "$ac_site_file" >&5
1691 . "$ac_site_file"
1692 fi
1693 done
1694
1695 if test -r "$cache_file"; then
1696 # Some versions of bash will fail to source /dev/null (special
1697 # files actually), so we avoid doing that.
1698 if test -f "$cache_file"; then
1699 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1700 $as_echo "$as_me: loading cache $cache_file" >&6;}
1701 case $cache_file in
1702 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1703 *) . "./$cache_file";;
1704 esac
1705 fi
1706 else
1707 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1708 $as_echo "$as_me: creating cache $cache_file" >&6;}
1709 >$cache_file
1710 fi
1711
1712 # Check that the precious variables saved in the cache have kept the same
1713 # value.
1714 ac_cache_corrupted=false
1715 for ac_var in $ac_precious_vars; do
1716 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1717 eval ac_new_set=\$ac_env_${ac_var}_set
1718 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1719 eval ac_new_val=\$ac_env_${ac_var}_value
1720 case $ac_old_set,$ac_new_set in
1721 set,)
1722 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1723 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1724 ac_cache_corrupted=: ;;
1725 ,set)
1726 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1727 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1728 ac_cache_corrupted=: ;;
1729 ,);;
1730 *)
1731 if test "x$ac_old_val" != "x$ac_new_val"; then
1732 # differences in whitespace do not lead to failure.
1733 ac_old_val_w=`echo x $ac_old_val`
1734 ac_new_val_w=`echo x $ac_new_val`
1735 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1736 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1737 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1738 ac_cache_corrupted=:
1739 else
1740 { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1741 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1742 eval $ac_var=\$ac_old_val
1743 fi
1744 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
1745 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1746 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1747 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1748 fi;;
1749 esac
1750 # Pass precious variables to config.status.
1751 if test "$ac_new_set" = set; then
1752 case $ac_new_val in
1753 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1754 *) ac_arg=$ac_var=$ac_new_val ;;
1755 esac
1756 case " $ac_configure_args " in
1757 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1758 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1759 esac
1760 fi
1761 done
1762 if $ac_cache_corrupted; then
1763 { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1764 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1765 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1766 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1767 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1768 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1769 { (exit 1); exit 1; }; }
1770 fi
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796 ac_ext=c
1797 ac_cpp='$CPP $CPPFLAGS'
1798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1801
1802
1803
1804 ac_config_headers="$ac_config_headers src/lib/config.h"
1805
1806 test "$program_prefix" != NONE &&
1807 program_transform_name="s&^&$program_prefix&;$program_transform_name"
1808 # Use a double $ so make ignores it.
1809 test "$program_suffix" != NONE &&
1810 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1811 # Double any \ or $.
1812 # By default was `s,x,x', remove it if useless.
1813 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
1814 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
1815
1816
1817 ac_aux_dir=
1818 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1819 if test -f "$ac_dir/install-sh"; then
1820 ac_aux_dir=$ac_dir
1821 ac_install_sh="$ac_aux_dir/install-sh -c"
1822 break
1823 elif test -f "$ac_dir/install.sh"; then
1824 ac_aux_dir=$ac_dir
1825 ac_install_sh="$ac_aux_dir/install.sh -c"
1826 break
1827 elif test -f "$ac_dir/shtool"; then
1828 ac_aux_dir=$ac_dir
1829 ac_install_sh="$ac_aux_dir/shtool install -c"
1830 break
1831 fi
1832 done
1833 if test -z "$ac_aux_dir"; then
1834 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1835 $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1836 { (exit 1); exit 1; }; }
1837 fi
1838
1839 # These three variables are undocumented and unsupported,
1840 # and are intended to be withdrawn in a future Autoconf release.
1841 # They can cause serious problems if a builder's source tree is in a directory
1842 # whose full name contains unusual characters.
1843 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1844 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1845 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1846
1847
1848 # Make sure we can run config.sub.
1849 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1850 { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1851 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1852 { (exit 1); exit 1; }; }
1853
1854 { $as_echo "$as_me:$LINENO: checking build system type" >&5
1855 $as_echo_n "checking build system type... " >&6; }
1856 if test "${ac_cv_build+set}" = set; then
1857 $as_echo_n "(cached) " >&6
1858 else
1859 ac_build_alias=$build_alias
1860 test "x$ac_build_alias" = x &&
1861 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1862 test "x$ac_build_alias" = x &&
1863 { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1864 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1865 { (exit 1); exit 1; }; }
1866 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1867 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1868 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1869 { (exit 1); exit 1; }; }
1870
1871 fi
1872 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1873 $as_echo "$ac_cv_build" >&6; }
1874 case $ac_cv_build in
1875 *-*-*) ;;
1876 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1877 $as_echo "$as_me: error: invalid value of canonical build" >&2;}
1878 { (exit 1); exit 1; }; };;
1879 esac
1880 build=$ac_cv_build
1881 ac_save_IFS=$IFS; IFS='-'
1882 set x $ac_cv_build
1883 shift
1884 build_cpu=$1
1885 build_vendor=$2
1886 shift; shift
1887 # Remember, the first character of IFS is used to create $*,
1888 # except with old shells:
1889 build_os=$*
1890 IFS=$ac_save_IFS
1891 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
1892
1893
1894 { $as_echo "$as_me:$LINENO: checking host system type" >&5
1895 $as_echo_n "checking host system type... " >&6; }
1896 if test "${ac_cv_host+set}" = set; then
1897 $as_echo_n "(cached) " >&6
1898 else
1899 if test "x$host_alias" = x; then
1900 ac_cv_host=$ac_cv_build
1901 else
1902 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1903 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
1904 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1905 { (exit 1); exit 1; }; }
1906 fi
1907
1908 fi
1909 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1910 $as_echo "$ac_cv_host" >&6; }
1911 case $ac_cv_host in
1912 *-*-*) ;;
1913 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
1914 $as_echo "$as_me: error: invalid value of canonical host" >&2;}
1915 { (exit 1); exit 1; }; };;
1916 esac
1917 host=$ac_cv_host
1918 ac_save_IFS=$IFS; IFS='-'
1919 set x $ac_cv_host
1920 shift
1921 host_cpu=$1
1922 host_vendor=$2
1923 shift; shift
1924 # Remember, the first character of IFS is used to create $*,
1925 # except with old shells:
1926 host_os=$*
1927 IFS=$ac_save_IFS
1928 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
1929
1930
1931 CANONICAL_HOST=$host
1932
1933
1934 # Checks for programs.
1935 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1936 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
1937 set x ${MAKE-make}
1938 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
1939 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
1940 $as_echo_n "(cached) " >&6
1941 else
1942 cat >conftest.make <<\_ACEOF
1943 SHELL = /bin/sh
1944 all:
1945 @echo '@@@%%%=$(MAKE)=@@@%%%'
1946 _ACEOF
1947 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1948 case `${MAKE-make} -f conftest.make 2>/dev/null` in
1949 *@@@%%%=?*=@@@%%%*)
1950 eval ac_cv_prog_make_${ac_make}_set=yes;;
1951 *)
1952 eval ac_cv_prog_make_${ac_make}_set=no;;
1953 esac
1954 rm -f conftest.make
1955 fi
1956 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
1957 { $as_echo "$as_me:$LINENO: result: yes" >&5
1958 $as_echo "yes" >&6; }
1959 SET_MAKE=
1960 else
1961 { $as_echo "$as_me:$LINENO: result: no" >&5
1962 $as_echo "no" >&6; }
1963 SET_MAKE="MAKE=${MAKE-make}"
1964 fi
1965
1966 for ac_prog in gawk mawk nawk awk
1967 do
1968 # Extract the first word of "$ac_prog", so it can be a program name with args.
1969 set dummy $ac_prog; ac_word=$2
1970 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
1971 $as_echo_n "checking for $ac_word... " >&6; }
1972 if test "${ac_cv_prog_AWK+set}" = set; then
1973 $as_echo_n "(cached) " >&6
1974 else
1975 if test -n "$AWK"; then
1976 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1977 else
1978 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1979 for as_dir in $PATH
1980 do
1981 IFS=$as_save_IFS
1982 test -z "$as_dir" && as_dir=.
1983 for ac_exec_ext in '' $ac_executable_extensions; do
1984 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1985 ac_cv_prog_AWK="$ac_prog"
1986 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1987 break 2
1988 fi
1989 done
1990 done
1991 IFS=$as_save_IFS
1992
1993 fi
1994 fi
1995 AWK=$ac_cv_prog_AWK
1996 if test -n "$AWK"; then
1997 { $as_echo "$as_me:$LINENO: result: $AWK" >&5
1998 $as_echo "$AWK" >&6; }
1999 else
2000 { $as_echo "$as_me:$LINENO: result: no" >&5
2001 $as_echo "no" >&6; }
2002 fi
2003
2004
2005 test -n "$AWK" && break
2006 done
2007
2008 ac_ext=c
2009 ac_cpp='$CPP $CPPFLAGS'
2010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2013 if test -n "$ac_tool_prefix"; then
2014 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2015 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2016 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2017 $as_echo_n "checking for $ac_word... " >&6; }
2018 if test "${ac_cv_prog_CC+set}" = set; then
2019 $as_echo_n "(cached) " >&6
2020 else
2021 if test -n "$CC"; then
2022 ac_cv_prog_CC="$CC" # Let the user override the test.
2023 else
2024 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2025 for as_dir in $PATH
2026 do
2027 IFS=$as_save_IFS
2028 test -z "$as_dir" && as_dir=.
2029 for ac_exec_ext in '' $ac_executable_extensions; do
2030 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2031 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2032 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2033 break 2
2034 fi
2035 done
2036 done
2037 IFS=$as_save_IFS
2038
2039 fi
2040 fi
2041 CC=$ac_cv_prog_CC
2042 if test -n "$CC"; then
2043 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2044 $as_echo "$CC" >&6; }
2045 else
2046 { $as_echo "$as_me:$LINENO: result: no" >&5
2047 $as_echo "no" >&6; }
2048 fi
2049
2050
2051 fi
2052 if test -z "$ac_cv_prog_CC"; then
2053 ac_ct_CC=$CC
2054 # Extract the first word of "gcc", so it can be a program name with args.
2055 set dummy gcc; ac_word=$2
2056 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2057 $as_echo_n "checking for $ac_word... " >&6; }
2058 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2059 $as_echo_n "(cached) " >&6
2060 else
2061 if test -n "$ac_ct_CC"; then
2062 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2063 else
2064 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2065 for as_dir in $PATH
2066 do
2067 IFS=$as_save_IFS
2068 test -z "$as_dir" && as_dir=.
2069 for ac_exec_ext in '' $ac_executable_extensions; do
2070 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2071 ac_cv_prog_ac_ct_CC="gcc"
2072 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2073 break 2
2074 fi
2075 done
2076 done
2077 IFS=$as_save_IFS
2078
2079 fi
2080 fi
2081 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2082 if test -n "$ac_ct_CC"; then
2083 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2084 $as_echo "$ac_ct_CC" >&6; }
2085 else
2086 { $as_echo "$as_me:$LINENO: result: no" >&5
2087 $as_echo "no" >&6; }
2088 fi
2089
2090 if test "x$ac_ct_CC" = x; then
2091 CC=""
2092 else
2093 case $cross_compiling:$ac_tool_warned in
2094 yes:)
2095 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2096 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2097 ac_tool_warned=yes ;;
2098 esac
2099 CC=$ac_ct_CC
2100 fi
2101 else
2102 CC="$ac_cv_prog_CC"
2103 fi
2104
2105 if test -z "$CC"; then
2106 if test -n "$ac_tool_prefix"; then
2107 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2108 set dummy ${ac_tool_prefix}cc; ac_word=$2
2109 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2110 $as_echo_n "checking for $ac_word... " >&6; }
2111 if test "${ac_cv_prog_CC+set}" = set; then
2112 $as_echo_n "(cached) " >&6
2113 else
2114 if test -n "$CC"; then
2115 ac_cv_prog_CC="$CC" # Let the user override the test.
2116 else
2117 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2118 for as_dir in $PATH
2119 do
2120 IFS=$as_save_IFS
2121 test -z "$as_dir" && as_dir=.
2122 for ac_exec_ext in '' $ac_executable_extensions; do
2123 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2124 ac_cv_prog_CC="${ac_tool_prefix}cc"
2125 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2126 break 2
2127 fi
2128 done
2129 done
2130 IFS=$as_save_IFS
2131
2132 fi
2133 fi
2134 CC=$ac_cv_prog_CC
2135 if test -n "$CC"; then
2136 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2137 $as_echo "$CC" >&6; }
2138 else
2139 { $as_echo "$as_me:$LINENO: result: no" >&5
2140 $as_echo "no" >&6; }
2141 fi
2142
2143
2144 fi
2145 fi
2146 if test -z "$CC"; then
2147 # Extract the first word of "cc", so it can be a program name with args.
2148 set dummy cc; ac_word=$2
2149 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2150 $as_echo_n "checking for $ac_word... " >&6; }
2151 if test "${ac_cv_prog_CC+set}" = set; then
2152 $as_echo_n "(cached) " >&6
2153 else
2154 if test -n "$CC"; then
2155 ac_cv_prog_CC="$CC" # Let the user override the test.
2156 else
2157 ac_prog_rejected=no
2158 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2159 for as_dir in $PATH
2160 do
2161 IFS=$as_save_IFS
2162 test -z "$as_dir" && as_dir=.
2163 for ac_exec_ext in '' $ac_executable_extensions; do
2164 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2165 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2166 ac_prog_rejected=yes
2167 continue
2168 fi
2169 ac_cv_prog_CC="cc"
2170 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2171 break 2
2172 fi
2173 done
2174 done
2175 IFS=$as_save_IFS
2176
2177 if test $ac_prog_rejected = yes; then
2178 # We found a bogon in the path, so make sure we never use it.
2179 set dummy $ac_cv_prog_CC
2180 shift
2181 if test $# != 0; then
2182 # We chose a different compiler from the bogus one.
2183 # However, it has the same basename, so the bogon will be chosen
2184 # first if we set CC to just the basename; use the full file name.
2185 shift
2186 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2187 fi
2188 fi
2189 fi
2190 fi
2191 CC=$ac_cv_prog_CC
2192 if test -n "$CC"; then
2193 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2194 $as_echo "$CC" >&6; }
2195 else
2196 { $as_echo "$as_me:$LINENO: result: no" >&5
2197 $as_echo "no" >&6; }
2198 fi
2199
2200
2201 fi
2202 if test -z "$CC"; then
2203 if test -n "$ac_tool_prefix"; then
2204 for ac_prog in cl.exe
2205 do
2206 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2207 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2208 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2209 $as_echo_n "checking for $ac_word... " >&6; }
2210 if test "${ac_cv_prog_CC+set}" = set; then
2211 $as_echo_n "(cached) " >&6
2212 else
2213 if test -n "$CC"; then
2214 ac_cv_prog_CC="$CC" # Let the user override the test.
2215 else
2216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2217 for as_dir in $PATH
2218 do
2219 IFS=$as_save_IFS
2220 test -z "$as_dir" && as_dir=.
2221 for ac_exec_ext in '' $ac_executable_extensions; do
2222 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2223 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2224 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2225 break 2
2226 fi
2227 done
2228 done
2229 IFS=$as_save_IFS
2230
2231 fi
2232 fi
2233 CC=$ac_cv_prog_CC
2234 if test -n "$CC"; then
2235 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2236 $as_echo "$CC" >&6; }
2237 else
2238 { $as_echo "$as_me:$LINENO: result: no" >&5
2239 $as_echo "no" >&6; }
2240 fi
2241
2242
2243 test -n "$CC" && break
2244 done
2245 fi
2246 if test -z "$CC"; then
2247 ac_ct_CC=$CC
2248 for ac_prog in cl.exe
2249 do
2250 # Extract the first word of "$ac_prog", so it can be a program name with args.
2251 set dummy $ac_prog; ac_word=$2
2252 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2253 $as_echo_n "checking for $ac_word... " >&6; }
2254 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2255 $as_echo_n "(cached) " >&6
2256 else
2257 if test -n "$ac_ct_CC"; then
2258 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2259 else
2260 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2261 for as_dir in $PATH
2262 do
2263 IFS=$as_save_IFS
2264 test -z "$as_dir" && as_dir=.
2265 for ac_exec_ext in '' $ac_executable_extensions; do
2266 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2267 ac_cv_prog_ac_ct_CC="$ac_prog"
2268 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2269 break 2
2270 fi
2271 done
2272 done
2273 IFS=$as_save_IFS
2274
2275 fi
2276 fi
2277 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2278 if test -n "$ac_ct_CC"; then
2279 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2280 $as_echo "$ac_ct_CC" >&6; }
2281 else
2282 { $as_echo "$as_me:$LINENO: result: no" >&5
2283 $as_echo "no" >&6; }
2284 fi
2285
2286
2287 test -n "$ac_ct_CC" && break
2288 done
2289
2290 if test "x$ac_ct_CC" = x; then
2291 CC=""
2292 else
2293 case $cross_compiling:$ac_tool_warned in
2294 yes:)
2295 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2296 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2297 ac_tool_warned=yes ;;
2298 esac
2299 CC=$ac_ct_CC
2300 fi
2301 fi
2302
2303 fi
2304
2305
2306 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2307 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2308 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2309 See \`config.log' for more details." >&5
2310 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2311 See \`config.log' for more details." >&2;}
2312 { (exit 1); exit 1; }; }; }
2313
2314 # Provide some information about the compiler.
2315 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
2316 set X $ac_compile
2317 ac_compiler=$2
2318 { (ac_try="$ac_compiler --version >&5"
2319 case "(($ac_try" in
2320 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2321 *) ac_try_echo=$ac_try;;
2322 esac
2323 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2324 $as_echo "$ac_try_echo") >&5
2325 (eval "$ac_compiler --version >&5") 2>&5
2326 ac_status=$?
2327 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2328 (exit $ac_status); }
2329 { (ac_try="$ac_compiler -v >&5"
2330 case "(($ac_try" in
2331 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2332 *) ac_try_echo=$ac_try;;
2333 esac
2334 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2335 $as_echo "$ac_try_echo") >&5
2336 (eval "$ac_compiler -v >&5") 2>&5
2337 ac_status=$?
2338 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2339 (exit $ac_status); }
2340 { (ac_try="$ac_compiler -V >&5"
2341 case "(($ac_try" in
2342 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2343 *) ac_try_echo=$ac_try;;
2344 esac
2345 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2346 $as_echo "$ac_try_echo") >&5
2347 (eval "$ac_compiler -V >&5") 2>&5
2348 ac_status=$?
2349 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2350 (exit $ac_status); }
2351
2352 cat >conftest.$ac_ext <<_ACEOF
2353 /* confdefs.h. */
2354 _ACEOF
2355 cat confdefs.h >>conftest.$ac_ext
2356 cat >>conftest.$ac_ext <<_ACEOF
2357 /* end confdefs.h. */
2358
2359 int
2360 main ()
2361 {
2362
2363 ;
2364 return 0;
2365 }
2366 _ACEOF
2367 ac_clean_files_save=$ac_clean_files
2368 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2369 # Try to create an executable without -o first, disregard a.out.
2370 # It will help us diagnose broken compilers, and finding out an intuition
2371 # of exeext.
2372 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2373 $as_echo_n "checking for C compiler default output file name... " >&6; }
2374 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2375
2376 # The possible output files:
2377 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2378
2379 ac_rmfiles=
2380 for ac_file in $ac_files
2381 do
2382 case $ac_file in
2383 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2384 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2385 esac
2386 done
2387 rm -f $ac_rmfiles
2388
2389 if { (ac_try="$ac_link_default"
2390 case "(($ac_try" in
2391 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2392 *) ac_try_echo=$ac_try;;
2393 esac
2394 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2395 $as_echo "$ac_try_echo") >&5
2396 (eval "$ac_link_default") 2>&5
2397 ac_status=$?
2398 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2399 (exit $ac_status); }; then
2400 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2401 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2402 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2403 # so that the user can short-circuit this test for compilers unknown to
2404 # Autoconf.
2405 for ac_file in $ac_files ''
2406 do
2407 test -f "$ac_file" || continue
2408 case $ac_file in
2409 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2410 ;;
2411 [ab].out )
2412 # We found the default executable, but exeext='' is most
2413 # certainly right.
2414 break;;
2415 *.* )
2416 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2417 then :; else
2418 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2419 fi
2420 # We set ac_cv_exeext here because the later test for it is not
2421 # safe: cross compilers may not add the suffix if given an `-o'
2422 # argument, so we may need to know it at that point already.
2423 # Even if this section looks crufty: it has the advantage of
2424 # actually working.
2425 break;;
2426 * )
2427 break;;
2428 esac
2429 done
2430 test "$ac_cv_exeext" = no && ac_cv_exeext=
2431
2432 else
2433 ac_file=''
2434 fi
2435
2436 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
2437 $as_echo "$ac_file" >&6; }
2438 if test -z "$ac_file"; then
2439 $as_echo "$as_me: failed program was:" >&5
2440 sed 's/^/| /' conftest.$ac_ext >&5
2441
2442 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2443 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2444 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
2445 See \`config.log' for more details." >&5
2446 $as_echo "$as_me: error: C compiler cannot create executables
2447 See \`config.log' for more details." >&2;}
2448 { (exit 77); exit 77; }; }; }
2449 fi
2450
2451 ac_exeext=$ac_cv_exeext
2452
2453 # Check that the compiler produces executables we can run. If not, either
2454 # the compiler is broken, or we cross compile.
2455 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2456 $as_echo_n "checking whether the C compiler works... " >&6; }
2457 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2458 # If not cross compiling, check that we can run a simple program.
2459 if test "$cross_compiling" != yes; then
2460 if { ac_try='./$ac_file'
2461 { (case "(($ac_try" in
2462 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2463 *) ac_try_echo=$ac_try;;
2464 esac
2465 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2466 $as_echo "$ac_try_echo") >&5
2467 (eval "$ac_try") 2>&5
2468 ac_status=$?
2469 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2470 (exit $ac_status); }; }; then
2471 cross_compiling=no
2472 else
2473 if test "$cross_compiling" = maybe; then
2474 cross_compiling=yes
2475 else
2476 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2477 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2478 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
2479 If you meant to cross compile, use \`--host'.
2480 See \`config.log' for more details." >&5
2481 $as_echo "$as_me: error: cannot run C compiled programs.
2482 If you meant to cross compile, use \`--host'.
2483 See \`config.log' for more details." >&2;}
2484 { (exit 1); exit 1; }; }; }
2485 fi
2486 fi
2487 fi
2488 { $as_echo "$as_me:$LINENO: result: yes" >&5
2489 $as_echo "yes" >&6; }
2490
2491 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2492 ac_clean_files=$ac_clean_files_save
2493 # Check that the compiler produces executables we can run. If not, either
2494 # the compiler is broken, or we cross compile.
2495 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2496 $as_echo_n "checking whether we are cross compiling... " >&6; }
2497 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
2498 $as_echo "$cross_compiling" >&6; }
2499
2500 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
2501 $as_echo_n "checking for suffix of executables... " >&6; }
2502 if { (ac_try="$ac_link"
2503 case "(($ac_try" in
2504 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2505 *) ac_try_echo=$ac_try;;
2506 esac
2507 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2508 $as_echo "$ac_try_echo") >&5
2509 (eval "$ac_link") 2>&5
2510 ac_status=$?
2511 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2512 (exit $ac_status); }; then
2513 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2514 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2515 # work properly (i.e., refer to `conftest.exe'), while it won't with
2516 # `rm'.
2517 for ac_file in conftest.exe conftest conftest.*; do
2518 test -f "$ac_file" || continue
2519 case $ac_file in
2520 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2521 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2522 break;;
2523 * ) break;;
2524 esac
2525 done
2526 else
2527 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2528 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2529 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2530 See \`config.log' for more details." >&5
2531 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2532 See \`config.log' for more details." >&2;}
2533 { (exit 1); exit 1; }; }; }
2534 fi
2535
2536 rm -f conftest$ac_cv_exeext
2537 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2538 $as_echo "$ac_cv_exeext" >&6; }
2539
2540 rm -f conftest.$ac_ext
2541 EXEEXT=$ac_cv_exeext
2542 ac_exeext=$EXEEXT
2543 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
2544 $as_echo_n "checking for suffix of object files... " >&6; }
2545 if test "${ac_cv_objext+set}" = set; then
2546 $as_echo_n "(cached) " >&6
2547 else
2548 cat >conftest.$ac_ext <<_ACEOF
2549 /* confdefs.h. */
2550 _ACEOF
2551 cat confdefs.h >>conftest.$ac_ext
2552 cat >>conftest.$ac_ext <<_ACEOF
2553 /* end confdefs.h. */
2554
2555 int
2556 main ()
2557 {
2558
2559 ;
2560 return 0;
2561 }
2562 _ACEOF
2563 rm -f conftest.o conftest.obj
2564 if { (ac_try="$ac_compile"
2565 case "(($ac_try" in
2566 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2567 *) ac_try_echo=$ac_try;;
2568 esac
2569 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2570 $as_echo "$ac_try_echo") >&5
2571 (eval "$ac_compile") 2>&5
2572 ac_status=$?
2573 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2574 (exit $ac_status); }; then
2575 for ac_file in conftest.o conftest.obj conftest.*; do
2576 test -f "$ac_file" || continue;
2577 case $ac_file in
2578 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2579 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2580 break;;
2581 esac
2582 done
2583 else
2584 $as_echo "$as_me: failed program was:" >&5
2585 sed 's/^/| /' conftest.$ac_ext >&5
2586
2587 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2588 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2589 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2590 See \`config.log' for more details." >&5
2591 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
2592 See \`config.log' for more details." >&2;}
2593 { (exit 1); exit 1; }; }; }
2594 fi
2595
2596 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2597 fi
2598 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2599 $as_echo "$ac_cv_objext" >&6; }
2600 OBJEXT=$ac_cv_objext
2601 ac_objext=$OBJEXT
2602 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2603 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2604 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2605 $as_echo_n "(cached) " >&6
2606 else
2607 cat >conftest.$ac_ext <<_ACEOF
2608 /* confdefs.h. */
2609 _ACEOF
2610 cat confdefs.h >>conftest.$ac_ext
2611 cat >>conftest.$ac_ext <<_ACEOF
2612 /* end confdefs.h. */
2613
2614 int
2615 main ()
2616 {
2617 #ifndef __GNUC__
2618 choke me
2619 #endif
2620
2621 ;
2622 return 0;
2623 }
2624 _ACEOF
2625 rm -f conftest.$ac_objext
2626 if { (ac_try="$ac_compile"
2627 case "(($ac_try" in
2628 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2629 *) ac_try_echo=$ac_try;;
2630 esac
2631 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2632 $as_echo "$ac_try_echo") >&5
2633 (eval "$ac_compile") 2>conftest.er1
2634 ac_status=$?
2635 grep -v '^ *+' conftest.er1 >conftest.err
2636 rm -f conftest.er1
2637 cat conftest.err >&5
2638 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2639 (exit $ac_status); } && {
2640 test -z "$ac_c_werror_flag" ||
2641 test ! -s conftest.err
2642 } && test -s conftest.$ac_objext; then
2643 ac_compiler_gnu=yes
2644 else
2645 $as_echo "$as_me: failed program was:" >&5
2646 sed 's/^/| /' conftest.$ac_ext >&5
2647
2648 ac_compiler_gnu=no
2649 fi
2650
2651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2652 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2653
2654 fi
2655 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2656 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2657 if test $ac_compiler_gnu = yes; then
2658 GCC=yes
2659 else
2660 GCC=
2661 fi
2662 ac_test_CFLAGS=${CFLAGS+set}
2663 ac_save_CFLAGS=$CFLAGS
2664 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2665 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2666 if test "${ac_cv_prog_cc_g+set}" = set; then
2667 $as_echo_n "(cached) " >&6
2668 else
2669 ac_save_c_werror_flag=$ac_c_werror_flag
2670 ac_c_werror_flag=yes
2671 ac_cv_prog_cc_g=no
2672 CFLAGS="-g"
2673 cat >conftest.$ac_ext <<_ACEOF
2674 /* confdefs.h. */
2675 _ACEOF
2676 cat confdefs.h >>conftest.$ac_ext
2677 cat >>conftest.$ac_ext <<_ACEOF
2678 /* end confdefs.h. */
2679
2680 int
2681 main ()
2682 {
2683
2684 ;
2685 return 0;
2686 }
2687 _ACEOF
2688 rm -f conftest.$ac_objext
2689 if { (ac_try="$ac_compile"
2690 case "(($ac_try" in
2691 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2692 *) ac_try_echo=$ac_try;;
2693 esac
2694 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2695 $as_echo "$ac_try_echo") >&5
2696 (eval "$ac_compile") 2>conftest.er1
2697 ac_status=$?
2698 grep -v '^ *+' conftest.er1 >conftest.err
2699 rm -f conftest.er1
2700 cat conftest.err >&5
2701 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2702 (exit $ac_status); } && {
2703 test -z "$ac_c_werror_flag" ||
2704 test ! -s conftest.err
2705 } && test -s conftest.$ac_objext; then
2706 ac_cv_prog_cc_g=yes
2707 else
2708 $as_echo "$as_me: failed program was:" >&5
2709 sed 's/^/| /' conftest.$ac_ext >&5
2710
2711 CFLAGS=""
2712 cat >conftest.$ac_ext <<_ACEOF
2713 /* confdefs.h. */
2714 _ACEOF
2715 cat confdefs.h >>conftest.$ac_ext
2716 cat >>conftest.$ac_ext <<_ACEOF
2717 /* end confdefs.h. */
2718
2719 int
2720 main ()
2721 {
2722
2723 ;
2724 return 0;
2725 }
2726 _ACEOF
2727 rm -f conftest.$ac_objext
2728 if { (ac_try="$ac_compile"
2729 case "(($ac_try" in
2730 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2731 *) ac_try_echo=$ac_try;;
2732 esac
2733 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2734 $as_echo "$ac_try_echo") >&5
2735 (eval "$ac_compile") 2>conftest.er1
2736 ac_status=$?
2737 grep -v '^ *+' conftest.er1 >conftest.err
2738 rm -f conftest.er1
2739 cat conftest.err >&5
2740 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2741 (exit $ac_status); } && {
2742 test -z "$ac_c_werror_flag" ||
2743 test ! -s conftest.err
2744 } && test -s conftest.$ac_objext; then
2745 :
2746 else
2747 $as_echo "$as_me: failed program was:" >&5
2748 sed 's/^/| /' conftest.$ac_ext >&5
2749
2750 ac_c_werror_flag=$ac_save_c_werror_flag
2751 CFLAGS="-g"
2752 cat >conftest.$ac_ext <<_ACEOF
2753 /* confdefs.h. */
2754 _ACEOF
2755 cat confdefs.h >>conftest.$ac_ext
2756 cat >>conftest.$ac_ext <<_ACEOF
2757 /* end confdefs.h. */
2758
2759 int
2760 main ()
2761 {
2762
2763 ;
2764 return 0;
2765 }
2766 _ACEOF
2767 rm -f conftest.$ac_objext
2768 if { (ac_try="$ac_compile"
2769 case "(($ac_try" in
2770 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2771 *) ac_try_echo=$ac_try;;
2772 esac
2773 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2774 $as_echo "$ac_try_echo") >&5
2775 (eval "$ac_compile") 2>conftest.er1
2776 ac_status=$?
2777 grep -v '^ *+' conftest.er1 >conftest.err
2778 rm -f conftest.er1
2779 cat conftest.err >&5
2780 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2781 (exit $ac_status); } && {
2782 test -z "$ac_c_werror_flag" ||
2783 test ! -s conftest.err
2784 } && test -s conftest.$ac_objext; then
2785 ac_cv_prog_cc_g=yes
2786 else
2787 $as_echo "$as_me: failed program was:" >&5
2788 sed 's/^/| /' conftest.$ac_ext >&5
2789
2790
2791 fi
2792
2793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2794 fi
2795
2796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2797 fi
2798
2799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2800 ac_c_werror_flag=$ac_save_c_werror_flag
2801 fi
2802 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2803 $as_echo "$ac_cv_prog_cc_g" >&6; }
2804 if test "$ac_test_CFLAGS" = set; then
2805 CFLAGS=$ac_save_CFLAGS
2806 elif test $ac_cv_prog_cc_g = yes; then
2807 if test "$GCC" = yes; then
2808 CFLAGS="-g -O2"
2809 else
2810 CFLAGS="-g"
2811 fi
2812 else
2813 if test "$GCC" = yes; then
2814 CFLAGS="-O2"
2815 else
2816 CFLAGS=
2817 fi
2818 fi
2819 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2820 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2821 if test "${ac_cv_prog_cc_c89+set}" = set; then
2822 $as_echo_n "(cached) " >&6
2823 else
2824 ac_cv_prog_cc_c89=no
2825 ac_save_CC=$CC
2826 cat >conftest.$ac_ext <<_ACEOF
2827 /* confdefs.h. */
2828 _ACEOF
2829 cat confdefs.h >>conftest.$ac_ext
2830 cat >>conftest.$ac_ext <<_ACEOF
2831 /* end confdefs.h. */
2832 #include <stdarg.h>
2833 #include <stdio.h>
2834 #include <sys/types.h>
2835 #include <sys/stat.h>
2836 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2837 struct buf { int x; };
2838 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2839 static char *e (p, i)
2840 char **p;
2841 int i;
2842 {
2843 return p[i];
2844 }
2845 static char *f (char * (*g) (char **, int), char **p, ...)
2846 {
2847 char *s;
2848 va_list v;
2849 va_start (v,p);
2850 s = g (p, va_arg (v,int));
2851 va_end (v);
2852 return s;
2853 }
2854
2855 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2856 function prototypes and stuff, but not '\xHH' hex character constants.
2857 These don't provoke an error unfortunately, instead are silently treated
2858 as 'x'. The following induces an error, until -std is added to get
2859 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2860 array size at least. It's necessary to write '\x00'==0 to get something
2861 that's true only with -std. */
2862 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2863
2864 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2865 inside strings and character constants. */
2866 #define FOO(x) 'x'
2867 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2868
2869 int test (int i, double x);
2870 struct s1 {int (*f) (int a);};
2871 struct s2 {int (*f) (double a);};
2872 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2873 int argc;
2874 char **argv;
2875 int
2876 main ()
2877 {
2878 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2879 ;
2880 return 0;
2881 }
2882 _ACEOF
2883 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2884 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2885 do
2886 CC="$ac_save_CC $ac_arg"
2887 rm -f conftest.$ac_objext
2888 if { (ac_try="$ac_compile"
2889 case "(($ac_try" in
2890 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2891 *) ac_try_echo=$ac_try;;
2892 esac
2893 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2894 $as_echo "$ac_try_echo") >&5
2895 (eval "$ac_compile") 2>conftest.er1
2896 ac_status=$?
2897 grep -v '^ *+' conftest.er1 >conftest.err
2898 rm -f conftest.er1
2899 cat conftest.err >&5
2900 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2901 (exit $ac_status); } && {
2902 test -z "$ac_c_werror_flag" ||
2903 test ! -s conftest.err
2904 } && test -s conftest.$ac_objext; then
2905 ac_cv_prog_cc_c89=$ac_arg
2906 else
2907 $as_echo "$as_me: failed program was:" >&5
2908 sed 's/^/| /' conftest.$ac_ext >&5
2909
2910
2911 fi
2912
2913 rm -f core conftest.err conftest.$ac_objext
2914 test "x$ac_cv_prog_cc_c89" != "xno" && break
2915 done
2916 rm -f conftest.$ac_ext
2917 CC=$ac_save_CC
2918
2919 fi
2920 # AC_CACHE_VAL
2921 case "x$ac_cv_prog_cc_c89" in
2922 x)
2923 { $as_echo "$as_me:$LINENO: result: none needed" >&5
2924 $as_echo "none needed" >&6; } ;;
2925 xno)
2926 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
2927 $as_echo "unsupported" >&6; } ;;
2928 *)
2929 CC="$CC $ac_cv_prog_cc_c89"
2930 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2931 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2932 esac
2933
2934
2935 ac_ext=c
2936 ac_cpp='$CPP $CPPFLAGS'
2937 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2938 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2939 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2940
2941 # Find a good install program. We prefer a C program (faster),
2942 # so one script is as good as another. But avoid the broken or
2943 # incompatible versions:
2944 # SysV /etc/install, /usr/sbin/install
2945 # SunOS /usr/etc/install
2946 # IRIX /sbin/install
2947 # AIX /bin/install
2948 # AmigaOS /C/install, which installs bootblocks on floppy discs
2949 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2950 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2951 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2952 # OS/2's system install, which has a completely different semantic
2953 # ./install, which can be erroneously created by make from ./install.sh.
2954 # Reject install programs that cannot install multiple files.
2955 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2956 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2957 if test -z "$INSTALL"; then
2958 if test "${ac_cv_path_install+set}" = set; then
2959 $as_echo_n "(cached) " >&6
2960 else
2961 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2962 for as_dir in $PATH
2963 do
2964 IFS=$as_save_IFS
2965 test -z "$as_dir" && as_dir=.
2966 # Account for people who put trailing slashes in PATH elements.
2967 case $as_dir/ in
2968 ./ | .// | /cC/* | \
2969 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2970 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2971 /usr/ucb/* ) ;;
2972 *)
2973 # OSF1 and SCO ODT 3.0 have their own names for install.
2974 # Don't use installbsd from OSF since it installs stuff as root
2975 # by default.
2976 for ac_prog in ginstall scoinst install; do
2977 for ac_exec_ext in '' $ac_executable_extensions; do
2978 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2979 if test $ac_prog = install &&
2980 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2981 # AIX install. It has an incompatible calling convention.
2982 :
2983 elif test $ac_prog = install &&
2984 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2985 # program-specific install script used by HP pwplus--don't use.
2986 :
2987 else
2988 rm -rf conftest.one conftest.two conftest.dir
2989 echo one > conftest.one
2990 echo two > conftest.two
2991 mkdir conftest.dir
2992 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2993 test -s conftest.one && test -s conftest.two &&
2994 test -s conftest.dir/conftest.one &&
2995 test -s conftest.dir/conftest.two
2996 then
2997 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2998 break 3
2999 fi
3000 fi
3001 fi
3002 done
3003 done
3004 ;;
3005 esac
3006
3007 done
3008 IFS=$as_save_IFS
3009
3010 rm -rf conftest.one conftest.two conftest.dir
3011
3012 fi
3013 if test "${ac_cv_path_install+set}" = set; then
3014 INSTALL=$ac_cv_path_install
3015 else
3016 # As a last resort, use the slow shell script. Don't cache a
3017 # value for INSTALL within a source directory, because that will
3018 # break other packages using the cache if that directory is
3019 # removed, or if the value is a relative name.
3020 INSTALL=$ac_install_sh
3021 fi
3022 fi
3023 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
3024 $as_echo "$INSTALL" >&6; }
3025
3026 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3027 # It thinks the first close brace ends the variable substitution.
3028 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3029
3030 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3031
3032 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3033
3034 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
3035 $as_echo_n "checking whether ln -s works... " >&6; }
3036 LN_S=$as_ln_s
3037 if test "$LN_S" = "ln -s"; then
3038 { $as_echo "$as_me:$LINENO: result: yes" >&5
3039 $as_echo "yes" >&6; }
3040 else
3041 { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3042 $as_echo "no, using $LN_S" >&6; }
3043 fi
3044
3045
3046 AUTOCONF=${AUTOCONF-"$srcdir/missing --run autoconf"}
3047
3048 AUTOHEADER=${AUTOHEADER-"$srcdir/missing --run autoheader"}
3049
3050
3051
3052 ac_ext=c
3053 ac_cpp='$CPP $CPPFLAGS'
3054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3057 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3058 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3059 # On Suns, sometimes $CPP names a directory.
3060 if test -n "$CPP" && test -d "$CPP"; then
3061 CPP=
3062 fi
3063 if test -z "$CPP"; then
3064 if test "${ac_cv_prog_CPP+set}" = set; then
3065 $as_echo_n "(cached) " >&6
3066 else
3067 # Double quotes because CPP needs to be expanded
3068 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3069 do
3070 ac_preproc_ok=false
3071 for ac_c_preproc_warn_flag in '' yes
3072 do
3073 # Use a header file that comes with gcc, so configuring glibc
3074 # with a fresh cross-compiler works.
3075 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3076 # <limits.h> exists even on freestanding compilers.
3077 # On the NeXT, cc -E runs the code through the compiler's parser,
3078 # not just through cpp. "Syntax error" is here to catch this case.
3079 cat >conftest.$ac_ext <<_ACEOF
3080 /* confdefs.h. */
3081 _ACEOF
3082 cat confdefs.h >>conftest.$ac_ext
3083 cat >>conftest.$ac_ext <<_ACEOF
3084 /* end confdefs.h. */
3085 #ifdef __STDC__
3086 # include <limits.h>
3087 #else
3088 # include <assert.h>
3089 #endif
3090 Syntax error
3091 _ACEOF
3092 if { (ac_try="$ac_cpp conftest.$ac_ext"
3093 case "(($ac_try" in
3094 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3095 *) ac_try_echo=$ac_try;;
3096 esac
3097 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3098 $as_echo "$ac_try_echo") >&5
3099 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3100 ac_status=$?
3101 grep -v '^ *+' conftest.er1 >conftest.err
3102 rm -f conftest.er1
3103 cat conftest.err >&5
3104 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3105 (exit $ac_status); } >/dev/null && {
3106 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3107 test ! -s conftest.err
3108 }; then
3109 :
3110 else
3111 $as_echo "$as_me: failed program was:" >&5
3112 sed 's/^/| /' conftest.$ac_ext >&5
3113
3114 # Broken: fails on valid input.
3115 continue
3116 fi
3117
3118 rm -f conftest.err conftest.$ac_ext
3119
3120 # OK, works on sane cases. Now check whether nonexistent headers
3121 # can be detected and how.
3122 cat >conftest.$ac_ext <<_ACEOF
3123 /* confdefs.h. */
3124 _ACEOF
3125 cat confdefs.h >>conftest.$ac_ext
3126 cat >>conftest.$ac_ext <<_ACEOF
3127 /* end confdefs.h. */
3128 #include <ac_nonexistent.h>
3129 _ACEOF
3130 if { (ac_try="$ac_cpp conftest.$ac_ext"
3131 case "(($ac_try" in
3132 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3133 *) ac_try_echo=$ac_try;;
3134 esac
3135 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3136 $as_echo "$ac_try_echo") >&5
3137 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3138 ac_status=$?
3139 grep -v '^ *+' conftest.er1 >conftest.err
3140 rm -f conftest.er1
3141 cat conftest.err >&5
3142 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3143 (exit $ac_status); } >/dev/null && {
3144 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3145 test ! -s conftest.err
3146 }; then
3147 # Broken: success on invalid input.
3148 continue
3149 else
3150 $as_echo "$as_me: failed program was:" >&5
3151 sed 's/^/| /' conftest.$ac_ext >&5
3152
3153 # Passes both tests.
3154 ac_preproc_ok=:
3155 break
3156 fi
3157
3158 rm -f conftest.err conftest.$ac_ext
3159
3160 done
3161 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3162 rm -f conftest.err conftest.$ac_ext
3163 if $ac_preproc_ok; then
3164 break
3165 fi
3166
3167 done
3168 ac_cv_prog_CPP=$CPP
3169
3170 fi
3171 CPP=$ac_cv_prog_CPP
3172 else
3173 ac_cv_prog_CPP=$CPP
3174 fi
3175 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
3176 $as_echo "$CPP" >&6; }
3177 ac_preproc_ok=false
3178 for ac_c_preproc_warn_flag in '' yes
3179 do
3180 # Use a header file that comes with gcc, so configuring glibc
3181 # with a fresh cross-compiler works.
3182 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3183 # <limits.h> exists even on freestanding compilers.
3184 # On the NeXT, cc -E runs the code through the compiler's parser,
3185 # not just through cpp. "Syntax error" is here to catch this case.
3186 cat >conftest.$ac_ext <<_ACEOF
3187 /* confdefs.h. */
3188 _ACEOF
3189 cat confdefs.h >>conftest.$ac_ext
3190 cat >>conftest.$ac_ext <<_ACEOF
3191 /* end confdefs.h. */
3192 #ifdef __STDC__
3193 # include <limits.h>
3194 #else
3195 # include <assert.h>
3196 #endif
3197 Syntax error
3198 _ACEOF
3199 if { (ac_try="$ac_cpp conftest.$ac_ext"
3200 case "(($ac_try" in
3201 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3202 *) ac_try_echo=$ac_try;;
3203 esac
3204 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3205 $as_echo "$ac_try_echo") >&5
3206 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3207 ac_status=$?
3208 grep -v '^ *+' conftest.er1 >conftest.err
3209 rm -f conftest.er1
3210 cat conftest.err >&5
3211 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3212 (exit $ac_status); } >/dev/null && {
3213 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3214 test ! -s conftest.err
3215 }; then
3216 :
3217 else
3218 $as_echo "$as_me: failed program was:" >&5
3219 sed 's/^/| /' conftest.$ac_ext >&5
3220
3221 # Broken: fails on valid input.
3222 continue
3223 fi
3224
3225 rm -f conftest.err conftest.$ac_ext
3226
3227 # OK, works on sane cases. Now check whether nonexistent headers
3228 # can be detected and how.
3229 cat >conftest.$ac_ext <<_ACEOF
3230 /* confdefs.h. */
3231 _ACEOF
3232 cat confdefs.h >>conftest.$ac_ext
3233 cat >>conftest.$ac_ext <<_ACEOF
3234 /* end confdefs.h. */
3235 #include <ac_nonexistent.h>
3236 _ACEOF
3237 if { (ac_try="$ac_cpp conftest.$ac_ext"
3238 case "(($ac_try" in
3239 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3240 *) ac_try_echo=$ac_try;;
3241 esac
3242 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3243 $as_echo "$ac_try_echo") >&5
3244 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3245 ac_status=$?
3246 grep -v '^ *+' conftest.er1 >conftest.err
3247 rm -f conftest.er1
3248 cat conftest.err >&5
3249 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3250 (exit $ac_status); } >/dev/null && {
3251 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3252 test ! -s conftest.err
3253 }; then
3254 # Broken: success on invalid input.
3255 continue
3256 else
3257 $as_echo "$as_me: failed program was:" >&5
3258 sed 's/^/| /' conftest.$ac_ext >&5
3259
3260 # Passes both tests.
3261 ac_preproc_ok=:
3262 break
3263 fi
3264
3265 rm -f conftest.err conftest.$ac_ext
3266
3267 done
3268 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3269 rm -f conftest.err conftest.$ac_ext
3270 if $ac_preproc_ok; then
3271 :
3272 else
3273 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3274 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3275 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3276 See \`config.log' for more details." >&5
3277 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3278 See \`config.log' for more details." >&2;}
3279 { (exit 1); exit 1; }; }; }
3280 fi
3281
3282 ac_ext=c
3283 ac_cpp='$CPP $CPPFLAGS'
3284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3287
3288
3289 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3290 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3291 if test "${ac_cv_path_GREP+set}" = set; then
3292 $as_echo_n "(cached) " >&6
3293 else
3294 if test -z "$GREP"; then
3295 ac_path_GREP_found=false
3296 # Loop through the user's path and test for each of PROGNAME-LIST
3297 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3298 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3299 do
3300 IFS=$as_save_IFS
3301 test -z "$as_dir" && as_dir=.
3302 for ac_prog in grep ggrep; do
3303 for ac_exec_ext in '' $ac_executable_extensions; do
3304 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3305 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3306 # Check for GNU ac_path_GREP and select it if it is found.
3307 # Check for GNU $ac_path_GREP
3308 case `"$ac_path_GREP" --version 2>&1` in
3309 *GNU*)
3310 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3311 *)
3312 ac_count=0
3313 $as_echo_n 0123456789 >"conftest.in"
3314 while :
3315 do
3316 cat "conftest.in" "conftest.in" >"conftest.tmp"
3317 mv "conftest.tmp" "conftest.in"
3318 cp "conftest.in" "conftest.nl"
3319 $as_echo 'GREP' >> "conftest.nl"
3320 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3321 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3322 ac_count=`expr $ac_count + 1`
3323 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3324 # Best one so far, save it but keep looking for a better one
3325 ac_cv_path_GREP="$ac_path_GREP"
3326 ac_path_GREP_max=$ac_count
3327 fi
3328 # 10*(2^10) chars as input seems more than enough
3329 test $ac_count -gt 10 && break
3330 done
3331 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3332 esac
3333
3334 $ac_path_GREP_found && break 3
3335 done
3336 done
3337 done
3338 IFS=$as_save_IFS
3339 if test -z "$ac_cv_path_GREP"; then
3340 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3341 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3342 { (exit 1); exit 1; }; }
3343 fi
3344 else
3345 ac_cv_path_GREP=$GREP
3346 fi
3347
3348 fi
3349 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3350 $as_echo "$ac_cv_path_GREP" >&6; }
3351 GREP="$ac_cv_path_GREP"
3352
3353
3354 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
3355 $as_echo_n "checking for egrep... " >&6; }
3356 if test "${ac_cv_path_EGREP+set}" = set; then
3357 $as_echo_n "(cached) " >&6
3358 else
3359 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3360 then ac_cv_path_EGREP="$GREP -E"
3361 else
3362 if test -z "$EGREP"; then
3363 ac_path_EGREP_found=false
3364 # Loop through the user's path and test for each of PROGNAME-LIST
3365 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3366 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3367 do
3368 IFS=$as_save_IFS
3369 test -z "$as_dir" && as_dir=.
3370 for ac_prog in egrep; do
3371 for ac_exec_ext in '' $ac_executable_extensions; do
3372 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3373 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3374 # Check for GNU ac_path_EGREP and select it if it is found.
3375 # Check for GNU $ac_path_EGREP
3376 case `"$ac_path_EGREP" --version 2>&1` in
3377 *GNU*)
3378 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3379 *)
3380 ac_count=0
3381 $as_echo_n 0123456789 >"conftest.in"
3382 while :
3383 do
3384 cat "conftest.in" "conftest.in" >"conftest.tmp"
3385 mv "conftest.tmp" "conftest.in"
3386 cp "conftest.in" "conftest.nl"
3387 $as_echo 'EGREP' >> "conftest.nl"
3388 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3389 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3390 ac_count=`expr $ac_count + 1`
3391 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3392 # Best one so far, save it but keep looking for a better one
3393 ac_cv_path_EGREP="$ac_path_EGREP"
3394 ac_path_EGREP_max=$ac_count
3395 fi
3396 # 10*(2^10) chars as input seems more than enough
3397 test $ac_count -gt 10 && break
3398 done
3399 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3400 esac
3401
3402 $ac_path_EGREP_found && break 3
3403 done
3404 done
3405 done
3406 IFS=$as_save_IFS
3407 if test -z "$ac_cv_path_EGREP"; then
3408 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3409 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3410 { (exit 1); exit 1; }; }
3411 fi
3412 else
3413 ac_cv_path_EGREP=$EGREP
3414 fi
3415
3416 fi
3417 fi
3418 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3419 $as_echo "$ac_cv_path_EGREP" >&6; }
3420 EGREP="$ac_cv_path_EGREP"
3421
3422
3423 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3424 $as_echo_n "checking for ANSI C header files... " >&6; }
3425 if test "${ac_cv_header_stdc+set}" = set; then
3426 $as_echo_n "(cached) " >&6
3427 else
3428 cat >conftest.$ac_ext <<_ACEOF
3429 /* confdefs.h. */
3430 _ACEOF
3431 cat confdefs.h >>conftest.$ac_ext
3432 cat >>conftest.$ac_ext <<_ACEOF
3433 /* end confdefs.h. */
3434 #include <stdlib.h>
3435 #include <stdarg.h>
3436 #include <string.h>
3437 #include <float.h>
3438
3439 int
3440 main ()
3441 {
3442
3443 ;
3444 return 0;
3445 }
3446 _ACEOF
3447 rm -f conftest.$ac_objext
3448 if { (ac_try="$ac_compile"
3449 case "(($ac_try" in
3450 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3451 *) ac_try_echo=$ac_try;;
3452 esac
3453 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3454 $as_echo "$ac_try_echo") >&5
3455 (eval "$ac_compile") 2>conftest.er1
3456 ac_status=$?
3457 grep -v '^ *+' conftest.er1 >conftest.err
3458 rm -f conftest.er1
3459 cat conftest.err >&5
3460 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3461 (exit $ac_status); } && {
3462 test -z "$ac_c_werror_flag" ||
3463 test ! -s conftest.err
3464 } && test -s conftest.$ac_objext; then
3465 ac_cv_header_stdc=yes
3466 else
3467 $as_echo "$as_me: failed program was:" >&5
3468 sed 's/^/| /' conftest.$ac_ext >&5
3469
3470 ac_cv_header_stdc=no
3471 fi
3472
3473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3474
3475 if test $ac_cv_header_stdc = yes; then
3476 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3477 cat >conftest.$ac_ext <<_ACEOF
3478 /* confdefs.h. */
3479 _ACEOF
3480 cat confdefs.h >>conftest.$ac_ext
3481 cat >>conftest.$ac_ext <<_ACEOF
3482 /* end confdefs.h. */
3483 #include <string.h>
3484
3485 _ACEOF
3486 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3487 $EGREP "memchr" >/dev/null 2>&1; then
3488 :
3489 else
3490 ac_cv_header_stdc=no
3491 fi
3492 rm -f conftest*
3493
3494 fi
3495
3496 if test $ac_cv_header_stdc = yes; then
3497 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3498 cat >conftest.$ac_ext <<_ACEOF
3499 /* confdefs.h. */
3500 _ACEOF
3501 cat confdefs.h >>conftest.$ac_ext
3502 cat >>conftest.$ac_ext <<_ACEOF
3503 /* end confdefs.h. */
3504 #include <stdlib.h>
3505
3506 _ACEOF
3507 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3508 $EGREP "free" >/dev/null 2>&1; then
3509 :
3510 else
3511 ac_cv_header_stdc=no
3512 fi
3513 rm -f conftest*
3514
3515 fi
3516
3517 if test $ac_cv_header_stdc = yes; then
3518 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3519 if test "$cross_compiling" = yes; then
3520 :
3521 else
3522 cat >conftest.$ac_ext <<_ACEOF
3523 /* confdefs.h. */
3524 _ACEOF
3525 cat confdefs.h >>conftest.$ac_ext
3526 cat >>conftest.$ac_ext <<_ACEOF
3527 /* end confdefs.h. */
3528 #include <ctype.h>
3529 #include <stdlib.h>
3530 #if ((' ' & 0x0FF) == 0x020)
3531 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3532 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3533 #else
3534 # define ISLOWER(c) \
3535 (('a' <= (c) && (c) <= 'i') \
3536 || ('j' <= (c) && (c) <= 'r') \
3537 || ('s' <= (c) && (c) <= 'z'))
3538 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3539 #endif
3540
3541 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3542 int
3543 main ()
3544 {
3545 int i;
3546 for (i = 0; i < 256; i++)
3547 if (XOR (islower (i), ISLOWER (i))
3548 || toupper (i) != TOUPPER (i))
3549 return 2;
3550 return 0;
3551 }
3552 _ACEOF
3553 rm -f conftest$ac_exeext
3554 if { (ac_try="$ac_link"
3555 case "(($ac_try" in
3556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3557 *) ac_try_echo=$ac_try;;
3558 esac
3559 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3560 $as_echo "$ac_try_echo") >&5
3561 (eval "$ac_link") 2>&5
3562 ac_status=$?
3563 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3564 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3565 { (case "(($ac_try" in
3566 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3567 *) ac_try_echo=$ac_try;;
3568 esac
3569 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3570 $as_echo "$ac_try_echo") >&5
3571 (eval "$ac_try") 2>&5
3572 ac_status=$?
3573 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3574 (exit $ac_status); }; }; then
3575 :
3576 else
3577 $as_echo "$as_me: program exited with status $ac_status" >&5
3578 $as_echo "$as_me: failed program was:" >&5
3579 sed 's/^/| /' conftest.$ac_ext >&5
3580
3581 ( exit $ac_status )
3582 ac_cv_header_stdc=no
3583 fi
3584 rm -rf conftest.dSYM
3585 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3586 fi
3587
3588
3589 fi
3590 fi
3591 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3592 $as_echo "$ac_cv_header_stdc" >&6; }
3593 if test $ac_cv_header_stdc = yes; then
3594
3595 cat >>confdefs.h <<\_ACEOF
3596 #define STDC_HEADERS 1
3597 _ACEOF
3598
3599 fi
3600
3601 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3612 inttypes.h stdint.h unistd.h
3613 do
3614 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3615 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
3616 $as_echo_n "checking for $ac_header... " >&6; }
3617 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3618 $as_echo_n "(cached) " >&6
3619 else
3620 cat >conftest.$ac_ext <<_ACEOF
3621 /* confdefs.h. */
3622 _ACEOF
3623 cat confdefs.h >>conftest.$ac_ext
3624 cat >>conftest.$ac_ext <<_ACEOF
3625 /* end confdefs.h. */
3626 $ac_includes_default
3627
3628 #include <$ac_header>
3629 _ACEOF
3630 rm -f conftest.$ac_objext
3631 if { (ac_try="$ac_compile"
3632 case "(($ac_try" in
3633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3634 *) ac_try_echo=$ac_try;;
3635 esac
3636 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3637 $as_echo "$ac_try_echo") >&5
3638 (eval "$ac_compile") 2>conftest.er1
3639 ac_status=$?
3640 grep -v '^ *+' conftest.er1 >conftest.err
3641 rm -f conftest.er1
3642 cat conftest.err >&5
3643 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3644 (exit $ac_status); } && {
3645 test -z "$ac_c_werror_flag" ||
3646 test ! -s conftest.err
3647 } && test -s conftest.$ac_objext; then
3648 eval "$as_ac_Header=yes"
3649 else
3650 $as_echo "$as_me: failed program was:" >&5
3651 sed 's/^/| /' conftest.$ac_ext >&5
3652
3653 eval "$as_ac_Header=no"
3654 fi
3655
3656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3657 fi
3658 ac_res=`eval 'as_val=${'$as_ac_Header'}
3659 $as_echo "$as_val"'`
3660 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
3661 $as_echo "$ac_res" >&6; }
3662 as_val=`eval 'as_val=${'$as_ac_Header'}
3663 $as_echo "$as_val"'`
3664 if test "x$as_val" = x""yes; then
3665 cat >>confdefs.h <<_ACEOF
3666 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3667 _ACEOF
3668
3669 fi
3670
3671 done
3672
3673
3674
3675 for ac_header in CommonCrypto/CommonDigest.h
3676 do
3677 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3678 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3679 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
3680 $as_echo_n "checking for $ac_header... " >&6; }
3681 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3682 $as_echo_n "(cached) " >&6
3683 fi
3684 ac_res=`eval 'as_val=${'$as_ac_Header'}
3685 $as_echo "$as_val"'`
3686 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
3687 $as_echo "$ac_res" >&6; }
3688 else
3689 # Is the header compilable?
3690 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
3691 $as_echo_n "checking $ac_header usability... " >&6; }
3692 cat >conftest.$ac_ext <<_ACEOF
3693 /* confdefs.h. */
3694 _ACEOF
3695 cat confdefs.h >>conftest.$ac_ext
3696 cat >>conftest.$ac_ext <<_ACEOF
3697 /* end confdefs.h. */
3698 $ac_includes_default
3699 #include <$ac_header>
3700 _ACEOF
3701 rm -f conftest.$ac_objext
3702 if { (ac_try="$ac_compile"
3703 case "(($ac_try" in
3704 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3705 *) ac_try_echo=$ac_try;;
3706 esac
3707 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3708 $as_echo "$ac_try_echo") >&5
3709 (eval "$ac_compile") 2>conftest.er1
3710 ac_status=$?
3711 grep -v '^ *+' conftest.er1 >conftest.err
3712 rm -f conftest.er1
3713 cat conftest.err >&5
3714 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3715 (exit $ac_status); } && {
3716 test -z "$ac_c_werror_flag" ||
3717 test ! -s conftest.err
3718 } && test -s conftest.$ac_objext; then
3719 ac_header_compiler=yes
3720 else
3721 $as_echo "$as_me: failed program was:" >&5
3722 sed 's/^/| /' conftest.$ac_ext >&5
3723
3724 ac_header_compiler=no
3725 fi
3726
3727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3728 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3729 $as_echo "$ac_header_compiler" >&6; }
3730
3731 # Is the header present?
3732 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
3733 $as_echo_n "checking $ac_header presence... " >&6; }
3734 cat >conftest.$ac_ext <<_ACEOF
3735 /* confdefs.h. */
3736 _ACEOF
3737 cat confdefs.h >>conftest.$ac_ext
3738 cat >>conftest.$ac_ext <<_ACEOF
3739 /* end confdefs.h. */
3740 #include <$ac_header>
3741 _ACEOF
3742 if { (ac_try="$ac_cpp conftest.$ac_ext"
3743 case "(($ac_try" in
3744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3745 *) ac_try_echo=$ac_try;;
3746 esac
3747 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3748 $as_echo "$ac_try_echo") >&5
3749 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3750 ac_status=$?
3751 grep -v '^ *+' conftest.er1 >conftest.err
3752 rm -f conftest.er1
3753 cat conftest.err >&5
3754 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3755 (exit $ac_status); } >/dev/null && {
3756 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3757 test ! -s conftest.err
3758 }; then
3759 ac_header_preproc=yes
3760 else
3761 $as_echo "$as_me: failed program was:" >&5
3762 sed 's/^/| /' conftest.$ac_ext >&5
3763
3764 ac_header_preproc=no
3765 fi
3766
3767 rm -f conftest.err conftest.$ac_ext
3768 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3769 $as_echo "$ac_header_preproc" >&6; }
3770
3771 # So? What about this header?
3772 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3773 yes:no: )
3774 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3775 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3776 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3777 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3778 ac_header_preproc=yes
3779 ;;
3780 no:yes:* )
3781 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3782 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3783 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3784 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3785 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3786 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3787 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3788 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3789 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3790 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3791 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3792 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3793 ( cat <<\_ASBOX
3794 ## -------------------------------------------------------- ##
3795 ## Report this to Alistair Crooks <agc (at] netbsd.org> c0596823 ##
3796 ## -------------------------------------------------------- ##
3797 _ASBOX
3798 ) | sed "s/^/$as_me: WARNING: /" >&2
3799 ;;
3800 esac
3801 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
3802 $as_echo_n "checking for $ac_header... " >&6; }
3803 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3804 $as_echo_n "(cached) " >&6
3805 else
3806 eval "$as_ac_Header=\$ac_header_preproc"
3807 fi
3808 ac_res=`eval 'as_val=${'$as_ac_Header'}
3809 $as_echo "$as_val"'`
3810 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
3811 $as_echo "$ac_res" >&6; }
3812
3813 fi
3814 as_val=`eval 'as_val=${'$as_ac_Header'}
3815 $as_echo "$as_val"'`
3816 if test "x$as_val" = x""yes; then
3817 cat >>confdefs.h <<_ACEOF
3818 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3819 _ACEOF
3820
3821 fi
3822
3823 done
3824
3825
3826
3827
3828
3829
3830 for ac_header in bzlib.h dmalloc.h direct.h errno.h fcntl.h
3831 do
3832 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3833 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3834 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
3835 $as_echo_n "checking for $ac_header... " >&6; }
3836 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3837 $as_echo_n "(cached) " >&6
3838 fi
3839 ac_res=`eval 'as_val=${'$as_ac_Header'}
3840 $as_echo "$as_val"'`
3841 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
3842 $as_echo "$ac_res" >&6; }
3843 else
3844 # Is the header compilable?
3845 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
3846 $as_echo_n "checking $ac_header usability... " >&6; }
3847 cat >conftest.$ac_ext <<_ACEOF
3848 /* confdefs.h. */
3849 _ACEOF
3850 cat confdefs.h >>conftest.$ac_ext
3851 cat >>conftest.$ac_ext <<_ACEOF
3852 /* end confdefs.h. */
3853 $ac_includes_default
3854 #include <$ac_header>
3855 _ACEOF
3856 rm -f conftest.$ac_objext
3857 if { (ac_try="$ac_compile"
3858 case "(($ac_try" in
3859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3860 *) ac_try_echo=$ac_try;;
3861 esac
3862 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3863 $as_echo "$ac_try_echo") >&5
3864 (eval "$ac_compile") 2>conftest.er1
3865 ac_status=$?
3866 grep -v '^ *+' conftest.er1 >conftest.err
3867 rm -f conftest.er1
3868 cat conftest.err >&5
3869 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3870 (exit $ac_status); } && {
3871 test -z "$ac_c_werror_flag" ||
3872 test ! -s conftest.err
3873 } && test -s conftest.$ac_objext; then
3874 ac_header_compiler=yes
3875 else
3876 $as_echo "$as_me: failed program was:" >&5
3877 sed 's/^/| /' conftest.$ac_ext >&5
3878
3879 ac_header_compiler=no
3880 fi
3881
3882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3883 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3884 $as_echo "$ac_header_compiler" >&6; }
3885
3886 # Is the header present?
3887 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
3888 $as_echo_n "checking $ac_header presence... " >&6; }
3889 cat >conftest.$ac_ext <<_ACEOF
3890 /* confdefs.h. */
3891 _ACEOF
3892 cat confdefs.h >>conftest.$ac_ext
3893 cat >>conftest.$ac_ext <<_ACEOF
3894 /* end confdefs.h. */
3895 #include <$ac_header>
3896 _ACEOF
3897 if { (ac_try="$ac_cpp conftest.$ac_ext"
3898 case "(($ac_try" in
3899 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3900 *) ac_try_echo=$ac_try;;
3901 esac
3902 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3903 $as_echo "$ac_try_echo") >&5
3904 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3905 ac_status=$?
3906 grep -v '^ *+' conftest.er1 >conftest.err
3907 rm -f conftest.er1
3908 cat conftest.err >&5
3909 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3910 (exit $ac_status); } >/dev/null && {
3911 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3912 test ! -s conftest.err
3913 }; then
3914 ac_header_preproc=yes
3915 else
3916 $as_echo "$as_me: failed program was:" >&5
3917 sed 's/^/| /' conftest.$ac_ext >&5
3918
3919 ac_header_preproc=no
3920 fi
3921
3922 rm -f conftest.err conftest.$ac_ext
3923 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3924 $as_echo "$ac_header_preproc" >&6; }
3925
3926 # So? What about this header?
3927 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3928 yes:no: )
3929 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3930 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3931 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3932 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3933 ac_header_preproc=yes
3934 ;;
3935 no:yes:* )
3936 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3937 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3938 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3939 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3940 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3941 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3942 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3943 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3944 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3945 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3946 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3947 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3948 ( cat <<\_ASBOX
3949 ## -------------------------------------------------------- ##
3950 ## Report this to Alistair Crooks <agc (at] netbsd.org> c0596823 ##
3951 ## -------------------------------------------------------- ##
3952 _ASBOX
3953 ) | sed "s/^/$as_me: WARNING: /" >&2
3954 ;;
3955 esac
3956 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
3957 $as_echo_n "checking for $ac_header... " >&6; }
3958 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3959 $as_echo_n "(cached) " >&6
3960 else
3961 eval "$as_ac_Header=\$ac_header_preproc"
3962 fi
3963 ac_res=`eval 'as_val=${'$as_ac_Header'}
3964 $as_echo "$as_val"'`
3965 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
3966 $as_echo "$ac_res" >&6; }
3967
3968 fi
3969 as_val=`eval 'as_val=${'$as_ac_Header'}
3970 $as_echo "$as_val"'`
3971 if test "x$as_val" = x""yes; then
3972 cat >>confdefs.h <<_ACEOF
3973 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3974 _ACEOF
3975
3976 fi
3977
3978 done
3979
3980
3981
3982
3983
3984 for ac_header in inttypes.h libgen.h limits.h malloc.h
3985 do
3986 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3987 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3988 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
3989 $as_echo_n "checking for $ac_header... " >&6; }
3990 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3991 $as_echo_n "(cached) " >&6
3992 fi
3993 ac_res=`eval 'as_val=${'$as_ac_Header'}
3994 $as_echo "$as_val"'`
3995 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
3996 $as_echo "$ac_res" >&6; }
3997 else
3998 # Is the header compilable?
3999 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
4000 $as_echo_n "checking $ac_header usability... " >&6; }
4001 cat >conftest.$ac_ext <<_ACEOF
4002 /* confdefs.h. */
4003 _ACEOF
4004 cat confdefs.h >>conftest.$ac_ext
4005 cat >>conftest.$ac_ext <<_ACEOF
4006 /* end confdefs.h. */
4007 $ac_includes_default
4008 #include <$ac_header>
4009 _ACEOF
4010 rm -f conftest.$ac_objext
4011 if { (ac_try="$ac_compile"
4012 case "(($ac_try" in
4013 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4014 *) ac_try_echo=$ac_try;;
4015 esac
4016 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4017 $as_echo "$ac_try_echo") >&5
4018 (eval "$ac_compile") 2>conftest.er1
4019 ac_status=$?
4020 grep -v '^ *+' conftest.er1 >conftest.err
4021 rm -f conftest.er1
4022 cat conftest.err >&5
4023 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4024 (exit $ac_status); } && {
4025 test -z "$ac_c_werror_flag" ||
4026 test ! -s conftest.err
4027 } && test -s conftest.$ac_objext; then
4028 ac_header_compiler=yes
4029 else
4030 $as_echo "$as_me: failed program was:" >&5
4031 sed 's/^/| /' conftest.$ac_ext >&5
4032
4033 ac_header_compiler=no
4034 fi
4035
4036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4037 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4038 $as_echo "$ac_header_compiler" >&6; }
4039
4040 # Is the header present?
4041 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
4042 $as_echo_n "checking $ac_header presence... " >&6; }
4043 cat >conftest.$ac_ext <<_ACEOF
4044 /* confdefs.h. */
4045 _ACEOF
4046 cat confdefs.h >>conftest.$ac_ext
4047 cat >>conftest.$ac_ext <<_ACEOF
4048 /* end confdefs.h. */
4049 #include <$ac_header>
4050 _ACEOF
4051 if { (ac_try="$ac_cpp conftest.$ac_ext"
4052 case "(($ac_try" in
4053 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4054 *) ac_try_echo=$ac_try;;
4055 esac
4056 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4057 $as_echo "$ac_try_echo") >&5
4058 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4059 ac_status=$?
4060 grep -v '^ *+' conftest.er1 >conftest.err
4061 rm -f conftest.er1
4062 cat conftest.err >&5
4063 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4064 (exit $ac_status); } >/dev/null && {
4065 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4066 test ! -s conftest.err
4067 }; then
4068 ac_header_preproc=yes
4069 else
4070 $as_echo "$as_me: failed program was:" >&5
4071 sed 's/^/| /' conftest.$ac_ext >&5
4072
4073 ac_header_preproc=no
4074 fi
4075
4076 rm -f conftest.err conftest.$ac_ext
4077 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4078 $as_echo "$ac_header_preproc" >&6; }
4079
4080 # So? What about this header?
4081 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4082 yes:no: )
4083 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4084 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4085 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4086 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4087 ac_header_preproc=yes
4088 ;;
4089 no:yes:* )
4090 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4091 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4092 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4093 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4094 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4095 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4096 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4097 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4098 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4099 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4100 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4101 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4102 ( cat <<\_ASBOX
4103 ## -------------------------------------------------------- ##
4104 ## Report this to Alistair Crooks <agc (at] netbsd.org> c0596823 ##
4105 ## -------------------------------------------------------- ##
4106 _ASBOX
4107 ) | sed "s/^/$as_me: WARNING: /" >&2
4108 ;;
4109 esac
4110 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4111 $as_echo_n "checking for $ac_header... " >&6; }
4112 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4113 $as_echo_n "(cached) " >&6
4114 else
4115 eval "$as_ac_Header=\$ac_header_preproc"
4116 fi
4117 ac_res=`eval 'as_val=${'$as_ac_Header'}
4118 $as_echo "$as_val"'`
4119 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4120 $as_echo "$ac_res" >&6; }
4121
4122 fi
4123 as_val=`eval 'as_val=${'$as_ac_Header'}
4124 $as_echo "$as_val"'`
4125 if test "x$as_val" = x""yes; then
4126 cat >>confdefs.h <<_ACEOF
4127 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4128 _ACEOF
4129
4130 fi
4131
4132 done
4133
4134
4135
4136 for ac_header in stdbool.h zlib.h
4137 do
4138 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4139 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4140 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4141 $as_echo_n "checking for $ac_header... " >&6; }
4142 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4143 $as_echo_n "(cached) " >&6
4144 fi
4145 ac_res=`eval 'as_val=${'$as_ac_Header'}
4146 $as_echo "$as_val"'`
4147 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4148 $as_echo "$ac_res" >&6; }
4149 else
4150 # Is the header compilable?
4151 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
4152 $as_echo_n "checking $ac_header usability... " >&6; }
4153 cat >conftest.$ac_ext <<_ACEOF
4154 /* confdefs.h. */
4155 _ACEOF
4156 cat confdefs.h >>conftest.$ac_ext
4157 cat >>conftest.$ac_ext <<_ACEOF
4158 /* end confdefs.h. */
4159 $ac_includes_default
4160 #include <$ac_header>
4161 _ACEOF
4162 rm -f conftest.$ac_objext
4163 if { (ac_try="$ac_compile"
4164 case "(($ac_try" in
4165 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4166 *) ac_try_echo=$ac_try;;
4167 esac
4168 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4169 $as_echo "$ac_try_echo") >&5
4170 (eval "$ac_compile") 2>conftest.er1
4171 ac_status=$?
4172 grep -v '^ *+' conftest.er1 >conftest.err
4173 rm -f conftest.er1
4174 cat conftest.err >&5
4175 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4176 (exit $ac_status); } && {
4177 test -z "$ac_c_werror_flag" ||
4178 test ! -s conftest.err
4179 } && test -s conftest.$ac_objext; then
4180 ac_header_compiler=yes
4181 else
4182 $as_echo "$as_me: failed program was:" >&5
4183 sed 's/^/| /' conftest.$ac_ext >&5
4184
4185 ac_header_compiler=no
4186 fi
4187
4188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4189 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4190 $as_echo "$ac_header_compiler" >&6; }
4191
4192 # Is the header present?
4193 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
4194 $as_echo_n "checking $ac_header presence... " >&6; }
4195 cat >conftest.$ac_ext <<_ACEOF
4196 /* confdefs.h. */
4197 _ACEOF
4198 cat confdefs.h >>conftest.$ac_ext
4199 cat >>conftest.$ac_ext <<_ACEOF
4200 /* end confdefs.h. */
4201 #include <$ac_header>
4202 _ACEOF
4203 if { (ac_try="$ac_cpp conftest.$ac_ext"
4204 case "(($ac_try" in
4205 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4206 *) ac_try_echo=$ac_try;;
4207 esac
4208 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4209 $as_echo "$ac_try_echo") >&5
4210 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4211 ac_status=$?
4212 grep -v '^ *+' conftest.er1 >conftest.err
4213 rm -f conftest.er1
4214 cat conftest.err >&5
4215 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4216 (exit $ac_status); } >/dev/null && {
4217 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4218 test ! -s conftest.err
4219 }; then
4220 ac_header_preproc=yes
4221 else
4222 $as_echo "$as_me: failed program was:" >&5
4223 sed 's/^/| /' conftest.$ac_ext >&5
4224
4225 ac_header_preproc=no
4226 fi
4227
4228 rm -f conftest.err conftest.$ac_ext
4229 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4230 $as_echo "$ac_header_preproc" >&6; }
4231
4232 # So? What about this header?
4233 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4234 yes:no: )
4235 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4236 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4237 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4238 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4239 ac_header_preproc=yes
4240 ;;
4241 no:yes:* )
4242 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4243 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4244 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4245 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4246 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4247 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4248 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4249 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4250 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4251 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4252 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4253 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4254 ( cat <<\_ASBOX
4255 ## -------------------------------------------------------- ##
4256 ## Report this to Alistair Crooks <agc (at] netbsd.org> c0596823 ##
4257 ## -------------------------------------------------------- ##
4258 _ASBOX
4259 ) | sed "s/^/$as_me: WARNING: /" >&2
4260 ;;
4261 esac
4262 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4263 $as_echo_n "checking for $ac_header... " >&6; }
4264 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4265 $as_echo_n "(cached) " >&6
4266 else
4267 eval "$as_ac_Header=\$ac_header_preproc"
4268 fi
4269 ac_res=`eval 'as_val=${'$as_ac_Header'}
4270 $as_echo "$as_val"'`
4271 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4272 $as_echo "$ac_res" >&6; }
4273
4274 fi
4275 as_val=`eval 'as_val=${'$as_ac_Header'}
4276 $as_echo "$as_val"'`
4277 if test "x$as_val" = x""yes; then
4278 cat >>confdefs.h <<_ACEOF
4279 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4280 _ACEOF
4281
4282 fi
4283
4284 done
4285
4286
4287
4288
4289
4290
4291 for ac_header in openssl/aes.h openssl/bn.h openssl/cast.h openssl/des.h openssl/dsa.h
4292 do
4293 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4294 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4295 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4296 $as_echo_n "checking for $ac_header... " >&6; }
4297 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4298 $as_echo_n "(cached) " >&6
4299 fi
4300 ac_res=`eval 'as_val=${'$as_ac_Header'}
4301 $as_echo "$as_val"'`
4302 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4303 $as_echo "$ac_res" >&6; }
4304 else
4305 # Is the header compilable?
4306 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
4307 $as_echo_n "checking $ac_header usability... " >&6; }
4308 cat >conftest.$ac_ext <<_ACEOF
4309 /* confdefs.h. */
4310 _ACEOF
4311 cat confdefs.h >>conftest.$ac_ext
4312 cat >>conftest.$ac_ext <<_ACEOF
4313 /* end confdefs.h. */
4314 $ac_includes_default
4315 #include <$ac_header>
4316 _ACEOF
4317 rm -f conftest.$ac_objext
4318 if { (ac_try="$ac_compile"
4319 case "(($ac_try" in
4320 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4321 *) ac_try_echo=$ac_try;;
4322 esac
4323 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4324 $as_echo "$ac_try_echo") >&5
4325 (eval "$ac_compile") 2>conftest.er1
4326 ac_status=$?
4327 grep -v '^ *+' conftest.er1 >conftest.err
4328 rm -f conftest.er1
4329 cat conftest.err >&5
4330 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4331 (exit $ac_status); } && {
4332 test -z "$ac_c_werror_flag" ||
4333 test ! -s conftest.err
4334 } && test -s conftest.$ac_objext; then
4335 ac_header_compiler=yes
4336 else
4337 $as_echo "$as_me: failed program was:" >&5
4338 sed 's/^/| /' conftest.$ac_ext >&5
4339
4340 ac_header_compiler=no
4341 fi
4342
4343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4344 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4345 $as_echo "$ac_header_compiler" >&6; }
4346
4347 # Is the header present?
4348 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
4349 $as_echo_n "checking $ac_header presence... " >&6; }
4350 cat >conftest.$ac_ext <<_ACEOF
4351 /* confdefs.h. */
4352 _ACEOF
4353 cat confdefs.h >>conftest.$ac_ext
4354 cat >>conftest.$ac_ext <<_ACEOF
4355 /* end confdefs.h. */
4356 #include <$ac_header>
4357 _ACEOF
4358 if { (ac_try="$ac_cpp conftest.$ac_ext"
4359 case "(($ac_try" in
4360 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4361 *) ac_try_echo=$ac_try;;
4362 esac
4363 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4364 $as_echo "$ac_try_echo") >&5
4365 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4366 ac_status=$?
4367 grep -v '^ *+' conftest.er1 >conftest.err
4368 rm -f conftest.er1
4369 cat conftest.err >&5
4370 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4371 (exit $ac_status); } >/dev/null && {
4372 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4373 test ! -s conftest.err
4374 }; then
4375 ac_header_preproc=yes
4376 else
4377 $as_echo "$as_me: failed program was:" >&5
4378 sed 's/^/| /' conftest.$ac_ext >&5
4379
4380 ac_header_preproc=no
4381 fi
4382
4383 rm -f conftest.err conftest.$ac_ext
4384 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4385 $as_echo "$ac_header_preproc" >&6; }
4386
4387 # So? What about this header?
4388 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4389 yes:no: )
4390 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4391 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4392 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4393 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4394 ac_header_preproc=yes
4395 ;;
4396 no:yes:* )
4397 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4398 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4399 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4400 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4401 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4402 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4403 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4404 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4405 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4406 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4407 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4408 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4409 ( cat <<\_ASBOX
4410 ## -------------------------------------------------------- ##
4411 ## Report this to Alistair Crooks <agc (at] netbsd.org> c0596823 ##
4412 ## -------------------------------------------------------- ##
4413 _ASBOX
4414 ) | sed "s/^/$as_me: WARNING: /" >&2
4415 ;;
4416 esac
4417 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4418 $as_echo_n "checking for $ac_header... " >&6; }
4419 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4420 $as_echo_n "(cached) " >&6
4421 else
4422 eval "$as_ac_Header=\$ac_header_preproc"
4423 fi
4424 ac_res=`eval 'as_val=${'$as_ac_Header'}
4425 $as_echo "$as_val"'`
4426 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4427 $as_echo "$ac_res" >&6; }
4428
4429 fi
4430 as_val=`eval 'as_val=${'$as_ac_Header'}
4431 $as_echo "$as_val"'`
4432 if test "x$as_val" = x""yes; then
4433 cat >>confdefs.h <<_ACEOF
4434 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4435 _ACEOF
4436
4437 fi
4438
4439 done
4440
4441
4442
4443
4444
4445
4446
4447 for ac_header in openssl/err.h openssl/idea.h openssl/md5.h openssl/rand.h openssl/rsa.h openssl/sha.h
4448 do
4449 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4450 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4451 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4452 $as_echo_n "checking for $ac_header... " >&6; }
4453 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4454 $as_echo_n "(cached) " >&6
4455 fi
4456 ac_res=`eval 'as_val=${'$as_ac_Header'}
4457 $as_echo "$as_val"'`
4458 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4459 $as_echo "$ac_res" >&6; }
4460 else
4461 # Is the header compilable?
4462 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
4463 $as_echo_n "checking $ac_header usability... " >&6; }
4464 cat >conftest.$ac_ext <<_ACEOF
4465 /* confdefs.h. */
4466 _ACEOF
4467 cat confdefs.h >>conftest.$ac_ext
4468 cat >>conftest.$ac_ext <<_ACEOF
4469 /* end confdefs.h. */
4470 $ac_includes_default
4471 #include <$ac_header>
4472 _ACEOF
4473 rm -f conftest.$ac_objext
4474 if { (ac_try="$ac_compile"
4475 case "(($ac_try" in
4476 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4477 *) ac_try_echo=$ac_try;;
4478 esac
4479 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4480 $as_echo "$ac_try_echo") >&5
4481 (eval "$ac_compile") 2>conftest.er1
4482 ac_status=$?
4483 grep -v '^ *+' conftest.er1 >conftest.err
4484 rm -f conftest.er1
4485 cat conftest.err >&5
4486 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4487 (exit $ac_status); } && {
4488 test -z "$ac_c_werror_flag" ||
4489 test ! -s conftest.err
4490 } && test -s conftest.$ac_objext; then
4491 ac_header_compiler=yes
4492 else
4493 $as_echo "$as_me: failed program was:" >&5
4494 sed 's/^/| /' conftest.$ac_ext >&5
4495
4496 ac_header_compiler=no
4497 fi
4498
4499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4500 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4501 $as_echo "$ac_header_compiler" >&6; }
4502
4503 # Is the header present?
4504 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
4505 $as_echo_n "checking $ac_header presence... " >&6; }
4506 cat >conftest.$ac_ext <<_ACEOF
4507 /* confdefs.h. */
4508 _ACEOF
4509 cat confdefs.h >>conftest.$ac_ext
4510 cat >>conftest.$ac_ext <<_ACEOF
4511 /* end confdefs.h. */
4512 #include <$ac_header>
4513 _ACEOF
4514 if { (ac_try="$ac_cpp conftest.$ac_ext"
4515 case "(($ac_try" in
4516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4517 *) ac_try_echo=$ac_try;;
4518 esac
4519 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4520 $as_echo "$ac_try_echo") >&5
4521 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4522 ac_status=$?
4523 grep -v '^ *+' conftest.er1 >conftest.err
4524 rm -f conftest.er1
4525 cat conftest.err >&5
4526 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4527 (exit $ac_status); } >/dev/null && {
4528 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4529 test ! -s conftest.err
4530 }; then
4531 ac_header_preproc=yes
4532 else
4533 $as_echo "$as_me: failed program was:" >&5
4534 sed 's/^/| /' conftest.$ac_ext >&5
4535
4536 ac_header_preproc=no
4537 fi
4538
4539 rm -f conftest.err conftest.$ac_ext
4540 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4541 $as_echo "$ac_header_preproc" >&6; }
4542
4543 # So? What about this header?
4544 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4545 yes:no: )
4546 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4547 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4548 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4549 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4550 ac_header_preproc=yes
4551 ;;
4552 no:yes:* )
4553 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4554 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4555 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4556 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4557 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4558 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4559 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4560 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4561 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4562 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4563 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4564 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4565 ( cat <<\_ASBOX
4566 ## -------------------------------------------------------- ##
4567 ## Report this to Alistair Crooks <agc (at] netbsd.org> c0596823 ##
4568 ## -------------------------------------------------------- ##
4569 _ASBOX
4570 ) | sed "s/^/$as_me: WARNING: /" >&2
4571 ;;
4572 esac
4573 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4574 $as_echo_n "checking for $ac_header... " >&6; }
4575 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4576 $as_echo_n "(cached) " >&6
4577 else
4578 eval "$as_ac_Header=\$ac_header_preproc"
4579 fi
4580 ac_res=`eval 'as_val=${'$as_ac_Header'}
4581 $as_echo "$as_val"'`
4582 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4583 $as_echo "$ac_res" >&6; }
4584
4585 fi
4586 as_val=`eval 'as_val=${'$as_ac_Header'}
4587 $as_echo "$as_val"'`
4588 if test "x$as_val" = x""yes; then
4589 cat >>confdefs.h <<_ACEOF
4590 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4591 _ACEOF
4592
4593 fi
4594
4595 done
4596
4597
4598
4599
4600
4601
4602 for ac_header in sys/cdefs.h sys/file.h sys/mman.h sys/param.h sys/uio.h
4603 do
4604 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4605 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4606 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4607 $as_echo_n "checking for $ac_header... " >&6; }
4608 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4609 $as_echo_n "(cached) " >&6
4610 fi
4611 ac_res=`eval 'as_val=${'$as_ac_Header'}
4612 $as_echo "$as_val"'`
4613 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4614 $as_echo "$ac_res" >&6; }
4615 else
4616 # Is the header compilable?
4617 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
4618 $as_echo_n "checking $ac_header usability... " >&6; }
4619 cat >conftest.$ac_ext <<_ACEOF
4620 /* confdefs.h. */
4621 _ACEOF
4622 cat confdefs.h >>conftest.$ac_ext
4623 cat >>conftest.$ac_ext <<_ACEOF
4624 /* end confdefs.h. */
4625 $ac_includes_default
4626 #include <$ac_header>
4627 _ACEOF
4628 rm -f conftest.$ac_objext
4629 if { (ac_try="$ac_compile"
4630 case "(($ac_try" in
4631 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4632 *) ac_try_echo=$ac_try;;
4633 esac
4634 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4635 $as_echo "$ac_try_echo") >&5
4636 (eval "$ac_compile") 2>conftest.er1
4637 ac_status=$?
4638 grep -v '^ *+' conftest.er1 >conftest.err
4639 rm -f conftest.er1
4640 cat conftest.err >&5
4641 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4642 (exit $ac_status); } && {
4643 test -z "$ac_c_werror_flag" ||
4644 test ! -s conftest.err
4645 } && test -s conftest.$ac_objext; then
4646 ac_header_compiler=yes
4647 else
4648 $as_echo "$as_me: failed program was:" >&5
4649 sed 's/^/| /' conftest.$ac_ext >&5
4650
4651 ac_header_compiler=no
4652 fi
4653
4654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4655 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4656 $as_echo "$ac_header_compiler" >&6; }
4657
4658 # Is the header present?
4659 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
4660 $as_echo_n "checking $ac_header presence... " >&6; }
4661 cat >conftest.$ac_ext <<_ACEOF
4662 /* confdefs.h. */
4663 _ACEOF
4664 cat confdefs.h >>conftest.$ac_ext
4665 cat >>conftest.$ac_ext <<_ACEOF
4666 /* end confdefs.h. */
4667 #include <$ac_header>
4668 _ACEOF
4669 if { (ac_try="$ac_cpp conftest.$ac_ext"
4670 case "(($ac_try" in
4671 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4672 *) ac_try_echo=$ac_try;;
4673 esac
4674 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4675 $as_echo "$ac_try_echo") >&5
4676 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4677 ac_status=$?
4678 grep -v '^ *+' conftest.er1 >conftest.err
4679 rm -f conftest.er1
4680 cat conftest.err >&5
4681 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4682 (exit $ac_status); } >/dev/null && {
4683 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4684 test ! -s conftest.err
4685 }; then
4686 ac_header_preproc=yes
4687 else
4688 $as_echo "$as_me: failed program was:" >&5
4689 sed 's/^/| /' conftest.$ac_ext >&5
4690
4691 ac_header_preproc=no
4692 fi
4693
4694 rm -f conftest.err conftest.$ac_ext
4695 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4696 $as_echo "$ac_header_preproc" >&6; }
4697
4698 # So? What about this header?
4699 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4700 yes:no: )
4701 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4702 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4703 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4704 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4705 ac_header_preproc=yes
4706 ;;
4707 no:yes:* )
4708 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4709 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4710 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4711 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4712 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4713 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4714 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4715 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4716 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4717 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4718 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4719 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4720 ( cat <<\_ASBOX
4721 ## -------------------------------------------------------- ##
4722 ## Report this to Alistair Crooks <agc (at] netbsd.org> c0596823 ##
4723 ## -------------------------------------------------------- ##
4724 _ASBOX
4725 ) | sed "s/^/$as_me: WARNING: /" >&2
4726 ;;
4727 esac
4728 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4729 $as_echo_n "checking for $ac_header... " >&6; }
4730 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4731 $as_echo_n "(cached) " >&6
4732 else
4733 eval "$as_ac_Header=\$ac_header_preproc"
4734 fi
4735 ac_res=`eval 'as_val=${'$as_ac_Header'}
4736 $as_echo "$as_val"'`
4737 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4738 $as_echo "$ac_res" >&6; }
4739
4740 fi
4741 as_val=`eval 'as_val=${'$as_ac_Header'}
4742 $as_echo "$as_val"'`
4743 if test "x$as_val" = x""yes; then
4744 cat >>confdefs.h <<_ACEOF
4745 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4746 _ACEOF
4747
4748 fi
4749
4750 done
4751
4752
4753
4754 { $as_echo "$as_me:$LINENO: checking for uint8_t" >&5
4755 $as_echo_n "checking for uint8_t... " >&6; }
4756 if test "${ac_cv_c_uint8_t+set}" = set; then
4757 $as_echo_n "(cached) " >&6
4758 else
4759 ac_cv_c_uint8_t=no
4760 for ac_type in 'uint8_t' 'unsigned int' 'unsigned long int' \
4761 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
4762 cat >conftest.$ac_ext <<_ACEOF
4763 /* confdefs.h. */
4764 _ACEOF
4765 cat confdefs.h >>conftest.$ac_ext
4766 cat >>conftest.$ac_ext <<_ACEOF
4767 /* end confdefs.h. */
4768 $ac_includes_default
4769 int
4770 main ()
4771 {
4772 static int test_array [1 - 2 * !(($ac_type) -1 >> (8 - 1) == 1)];
4773 test_array [0] = 0
4774
4775 ;
4776 return 0;
4777 }
4778 _ACEOF
4779 rm -f conftest.$ac_objext
4780 if { (ac_try="$ac_compile"
4781 case "(($ac_try" in
4782 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4783 *) ac_try_echo=$ac_try;;
4784 esac
4785 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4786 $as_echo "$ac_try_echo") >&5
4787 (eval "$ac_compile") 2>conftest.er1
4788 ac_status=$?
4789 grep -v '^ *+' conftest.er1 >conftest.err
4790 rm -f conftest.er1
4791 cat conftest.err >&5
4792 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4793 (exit $ac_status); } && {
4794 test -z "$ac_c_werror_flag" ||
4795 test ! -s conftest.err
4796 } && test -s conftest.$ac_objext; then
4797 case $ac_type in
4798 uint8_t) ac_cv_c_uint8_t=yes ;;
4799 *) ac_cv_c_uint8_t=$ac_type ;;
4800 esac
4801
4802 else
4803 $as_echo "$as_me: failed program was:" >&5
4804 sed 's/^/| /' conftest.$ac_ext >&5
4805
4806
4807 fi
4808
4809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4810 test "$ac_cv_c_uint8_t" != no && break
4811 done
4812 fi
4813 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_uint8_t" >&5
4814 $as_echo "$ac_cv_c_uint8_t" >&6; }
4815 case $ac_cv_c_uint8_t in #(
4816 no|yes) ;; #(
4817 *)
4818
4819 cat >>confdefs.h <<\_ACEOF
4820 #define _UINT8_T 1
4821 _ACEOF
4822
4823
4824 cat >>confdefs.h <<_ACEOF
4825 #define uint8_t $ac_cv_c_uint8_t
4826 _ACEOF
4827 ;;
4828 esac
4829
4830
4831 { $as_echo "$as_me:$LINENO: checking for uint16_t" >&5
4832 $as_echo_n "checking for uint16_t... " >&6; }
4833 if test "${ac_cv_c_uint16_t+set}" = set; then
4834 $as_echo_n "(cached) " >&6
4835 else
4836 ac_cv_c_uint16_t=no
4837 for ac_type in 'uint16_t' 'unsigned int' 'unsigned long int' \
4838 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
4839 cat >conftest.$ac_ext <<_ACEOF
4840 /* confdefs.h. */
4841 _ACEOF
4842 cat confdefs.h >>conftest.$ac_ext
4843 cat >>conftest.$ac_ext <<_ACEOF
4844 /* end confdefs.h. */
4845 $ac_includes_default
4846 int
4847 main ()
4848 {
4849 static int test_array [1 - 2 * !(($ac_type) -1 >> (16 - 1) == 1)];
4850 test_array [0] = 0
4851
4852 ;
4853 return 0;
4854 }
4855 _ACEOF
4856 rm -f conftest.$ac_objext
4857 if { (ac_try="$ac_compile"
4858 case "(($ac_try" in
4859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4860 *) ac_try_echo=$ac_try;;
4861 esac
4862 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4863 $as_echo "$ac_try_echo") >&5
4864 (eval "$ac_compile") 2>conftest.er1
4865 ac_status=$?
4866 grep -v '^ *+' conftest.er1 >conftest.err
4867 rm -f conftest.er1
4868 cat conftest.err >&5
4869 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4870 (exit $ac_status); } && {
4871 test -z "$ac_c_werror_flag" ||
4872 test ! -s conftest.err
4873 } && test -s conftest.$ac_objext; then
4874 case $ac_type in
4875 uint16_t) ac_cv_c_uint16_t=yes ;;
4876 *) ac_cv_c_uint16_t=$ac_type ;;
4877 esac
4878
4879 else
4880 $as_echo "$as_me: failed program was:" >&5
4881 sed 's/^/| /' conftest.$ac_ext >&5
4882
4883
4884 fi
4885
4886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4887 test "$ac_cv_c_uint16_t" != no && break
4888 done
4889 fi
4890 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_uint16_t" >&5
4891 $as_echo "$ac_cv_c_uint16_t" >&6; }
4892 case $ac_cv_c_uint16_t in #(
4893 no|yes) ;; #(
4894 *)
4895
4896
4897 cat >>confdefs.h <<_ACEOF
4898 #define uint16_t $ac_cv_c_uint16_t
4899 _ACEOF
4900 ;;
4901 esac
4902
4903
4904 { $as_echo "$as_me:$LINENO: checking for uint32_t" >&5
4905 $as_echo_n "checking for uint32_t... " >&6; }
4906 if test "${ac_cv_c_uint32_t+set}" = set; then
4907 $as_echo_n "(cached) " >&6
4908 else
4909 ac_cv_c_uint32_t=no
4910 for ac_type in 'uint32_t' 'unsigned int' 'unsigned long int' \
4911 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
4912 cat >conftest.$ac_ext <<_ACEOF
4913 /* confdefs.h. */
4914 _ACEOF
4915 cat confdefs.h >>conftest.$ac_ext
4916 cat >>conftest.$ac_ext <<_ACEOF
4917 /* end confdefs.h. */
4918 $ac_includes_default
4919 int
4920 main ()
4921 {
4922 static int test_array [1 - 2 * !(($ac_type) -1 >> (32 - 1) == 1)];
4923 test_array [0] = 0
4924
4925 ;
4926 return 0;
4927 }
4928 _ACEOF
4929 rm -f conftest.$ac_objext
4930 if { (ac_try="$ac_compile"
4931 case "(($ac_try" in
4932 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4933 *) ac_try_echo=$ac_try;;
4934 esac
4935 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4936 $as_echo "$ac_try_echo") >&5
4937 (eval "$ac_compile") 2>conftest.er1
4938 ac_status=$?
4939 grep -v '^ *+' conftest.er1 >conftest.err
4940 rm -f conftest.er1
4941 cat conftest.err >&5
4942 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4943 (exit $ac_status); } && {
4944 test -z "$ac_c_werror_flag" ||
4945 test ! -s conftest.err
4946 } && test -s conftest.$ac_objext; then
4947 case $ac_type in
4948 uint32_t) ac_cv_c_uint32_t=yes ;;
4949 *) ac_cv_c_uint32_t=$ac_type ;;
4950 esac
4951
4952 else
4953 $as_echo "$as_me: failed program was:" >&5
4954 sed 's/^/| /' conftest.$ac_ext >&5
4955
4956
4957 fi
4958
4959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4960 test "$ac_cv_c_uint32_t" != no && break
4961 done
4962 fi
4963 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_uint32_t" >&5
4964 $as_echo "$ac_cv_c_uint32_t" >&6; }
4965 case $ac_cv_c_uint32_t in #(
4966 no|yes) ;; #(
4967 *)
4968
4969 cat >>confdefs.h <<\_ACEOF
4970 #define _UINT32_T 1
4971 _ACEOF
4972
4973
4974 cat >>confdefs.h <<_ACEOF
4975 #define uint32_t $ac_cv_c_uint32_t
4976 _ACEOF
4977 ;;
4978 esac
4979
4980
4981 { $as_echo "$as_me:$LINENO: checking for uint64_t" >&5
4982 $as_echo_n "checking for uint64_t... " >&6; }
4983 if test "${ac_cv_c_uint64_t+set}" = set; then
4984 $as_echo_n "(cached) " >&6
4985 else
4986 ac_cv_c_uint64_t=no
4987 for ac_type in 'uint64_t' 'unsigned int' 'unsigned long int' \
4988 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
4989 cat >conftest.$ac_ext <<_ACEOF
4990 /* confdefs.h. */
4991 _ACEOF
4992 cat confdefs.h >>conftest.$ac_ext
4993 cat >>conftest.$ac_ext <<_ACEOF
4994 /* end confdefs.h. */
4995 $ac_includes_default
4996 int
4997 main ()
4998 {
4999 static int test_array [1 - 2 * !(($ac_type) -1 >> (64 - 1) == 1)];
5000 test_array [0] = 0
5001
5002 ;
5003 return 0;
5004 }
5005 _ACEOF
5006 rm -f conftest.$ac_objext
5007 if { (ac_try="$ac_compile"
5008 case "(($ac_try" in
5009 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5010 *) ac_try_echo=$ac_try;;
5011 esac
5012 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5013 $as_echo "$ac_try_echo") >&5
5014 (eval "$ac_compile") 2>conftest.er1
5015 ac_status=$?
5016 grep -v '^ *+' conftest.er1 >conftest.err
5017 rm -f conftest.er1
5018 cat conftest.err >&5
5019 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5020 (exit $ac_status); } && {
5021 test -z "$ac_c_werror_flag" ||
5022 test ! -s conftest.err
5023 } && test -s conftest.$ac_objext; then
5024 case $ac_type in
5025 uint64_t) ac_cv_c_uint64_t=yes ;;
5026 *) ac_cv_c_uint64_t=$ac_type ;;
5027 esac
5028
5029 else
5030 $as_echo "$as_me: failed program was:" >&5
5031 sed 's/^/| /' conftest.$ac_ext >&5
5032
5033
5034 fi
5035
5036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5037 test "$ac_cv_c_uint64_t" != no && break
5038 done
5039 fi
5040 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_uint64_t" >&5
5041 $as_echo "$ac_cv_c_uint64_t" >&6; }
5042 case $ac_cv_c_uint64_t in #(
5043 no|yes) ;; #(
5044 *)
5045
5046 cat >>confdefs.h <<\_ACEOF
5047 #define _UINT64_T 1
5048 _ACEOF
5049
5050
5051 cat >>confdefs.h <<_ACEOF
5052 #define uint64_t $ac_cv_c_uint64_t
5053 _ACEOF
5054 ;;
5055 esac
5056
5057
5058 # check for libraries
5059
5060 { $as_echo "$as_me:$LINENO: checking for gzopen in -lz" >&5
5061 $as_echo_n "checking for gzopen in -lz... " >&6; }
5062 if test "${ac_cv_lib_z_gzopen+set}" = set; then
5063 $as_echo_n "(cached) " >&6
5064 else
5065 ac_check_lib_save_LIBS=$LIBS
5066 LIBS="-lz $LIBS"
5067 cat >conftest.$ac_ext <<_ACEOF
5068 /* confdefs.h. */
5069 _ACEOF
5070 cat confdefs.h >>conftest.$ac_ext
5071 cat >>conftest.$ac_ext <<_ACEOF
5072 /* end confdefs.h. */
5073
5074 /* Override any GCC internal prototype to avoid an error.
5075 Use char because int might match the return type of a GCC
5076 builtin and then its argument prototype would still apply. */
5077 #ifdef __cplusplus
5078 extern "C"
5079 #endif
5080 char gzopen ();
5081 int
5082 main ()
5083 {
5084 return gzopen ();
5085 ;
5086 return 0;
5087 }
5088 _ACEOF
5089 rm -f conftest.$ac_objext conftest$ac_exeext
5090 if { (ac_try="$ac_link"
5091 case "(($ac_try" in
5092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5093 *) ac_try_echo=$ac_try;;
5094 esac
5095 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5096 $as_echo "$ac_try_echo") >&5
5097 (eval "$ac_link") 2>conftest.er1
5098 ac_status=$?
5099 grep -v '^ *+' conftest.er1 >conftest.err
5100 rm -f conftest.er1
5101 cat conftest.err >&5
5102 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5103 (exit $ac_status); } && {
5104 test -z "$ac_c_werror_flag" ||
5105 test ! -s conftest.err
5106 } && test -s conftest$ac_exeext && {
5107 test "$cross_compiling" = yes ||
5108 $as_test_x conftest$ac_exeext
5109 }; then
5110 ac_cv_lib_z_gzopen=yes
5111 else
5112 $as_echo "$as_me: failed program was:" >&5
5113 sed 's/^/| /' conftest.$ac_ext >&5
5114
5115 ac_cv_lib_z_gzopen=no
5116 fi
5117
5118 rm -rf conftest.dSYM
5119 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5120 conftest$ac_exeext conftest.$ac_ext
5121 LIBS=$ac_check_lib_save_LIBS
5122 fi
5123 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_z_gzopen" >&5
5124 $as_echo "$ac_cv_lib_z_gzopen" >&6; }
5125 if test "x$ac_cv_lib_z_gzopen" = x""yes; then
5126 cat >>confdefs.h <<_ACEOF
5127 #define HAVE_LIBZ 1
5128 _ACEOF
5129
5130 LIBS="-lz $LIBS"
5131
5132 fi
5133
5134
5135 { $as_echo "$as_me:$LINENO: checking for BZ2_bzDecompress in -lbz2" >&5
5136 $as_echo_n "checking for BZ2_bzDecompress in -lbz2... " >&6; }
5137 if test "${ac_cv_lib_bz2_BZ2_bzDecompress+set}" = set; then
5138 $as_echo_n "(cached) " >&6
5139 else
5140 ac_check_lib_save_LIBS=$LIBS
5141 LIBS="-lbz2 $LIBS"
5142 cat >conftest.$ac_ext <<_ACEOF
5143 /* confdefs.h. */
5144 _ACEOF
5145 cat confdefs.h >>conftest.$ac_ext
5146 cat >>conftest.$ac_ext <<_ACEOF
5147 /* end confdefs.h. */
5148
5149 /* Override any GCC internal prototype to avoid an error.
5150 Use char because int might match the return type of a GCC
5151 builtin and then its argument prototype would still apply. */
5152 #ifdef __cplusplus
5153 extern "C"
5154 #endif
5155 char BZ2_bzDecompress ();
5156 int
5157 main ()
5158 {
5159 return BZ2_bzDecompress ();
5160 ;
5161 return 0;
5162 }
5163 _ACEOF
5164 rm -f conftest.$ac_objext conftest$ac_exeext
5165 if { (ac_try="$ac_link"
5166 case "(($ac_try" in
5167 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5168 *) ac_try_echo=$ac_try;;
5169 esac
5170 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5171 $as_echo "$ac_try_echo") >&5
5172 (eval "$ac_link") 2>conftest.er1
5173 ac_status=$?
5174 grep -v '^ *+' conftest.er1 >conftest.err
5175 rm -f conftest.er1
5176 cat conftest.err >&5
5177 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5178 (exit $ac_status); } && {
5179 test -z "$ac_c_werror_flag" ||
5180 test ! -s conftest.err
5181 } && test -s conftest$ac_exeext && {
5182 test "$cross_compiling" = yes ||
5183 $as_test_x conftest$ac_exeext
5184 }; then
5185 ac_cv_lib_bz2_BZ2_bzDecompress=yes
5186 else
5187 $as_echo "$as_me: failed program was:" >&5
5188 sed 's/^/| /' conftest.$ac_ext >&5
5189
5190 ac_cv_lib_bz2_BZ2_bzDecompress=no
5191 fi
5192
5193 rm -rf conftest.dSYM
5194 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5195 conftest$ac_exeext conftest.$ac_ext
5196 LIBS=$ac_check_lib_save_LIBS
5197 fi
5198 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_bz2_BZ2_bzDecompress" >&5
5199 $as_echo "$ac_cv_lib_bz2_BZ2_bzDecompress" >&6; }
5200 if test "x$ac_cv_lib_bz2_BZ2_bzDecompress" = x""yes; then
5201 cat >>confdefs.h <<_ACEOF
5202 #define HAVE_LIBBZ2 1
5203 _ACEOF
5204
5205 LIBS="-lbz2 $LIBS"
5206
5207 fi
5208
5209
5210 { $as_echo "$as_me:$LINENO: checking for RSA_public_encrypt in -lcrypto" >&5
5211 $as_echo_n "checking for RSA_public_encrypt in -lcrypto... " >&6; }
5212 if test "${ac_cv_lib_crypto_RSA_public_encrypt+set}" = set; then
5213 $as_echo_n "(cached) " >&6
5214 else
5215 ac_check_lib_save_LIBS=$LIBS
5216 LIBS="-lcrypto $LIBS"
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
5224 /* Override any GCC internal prototype to avoid an error.
5225 Use char because int might match the return type of a GCC
5226 builtin and then its argument prototype would still apply. */
5227 #ifdef __cplusplus
5228 extern "C"
5229 #endif
5230 char RSA_public_encrypt ();
5231 int
5232 main ()
5233 {
5234 return RSA_public_encrypt ();
5235 ;
5236 return 0;
5237 }
5238 _ACEOF
5239 rm -f conftest.$ac_objext conftest$ac_exeext
5240 if { (ac_try="$ac_link"
5241 case "(($ac_try" in
5242 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5243 *) ac_try_echo=$ac_try;;
5244 esac
5245 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5246 $as_echo "$ac_try_echo") >&5
5247 (eval "$ac_link") 2>conftest.er1
5248 ac_status=$?
5249 grep -v '^ *+' conftest.er1 >conftest.err
5250 rm -f conftest.er1
5251 cat conftest.err >&5
5252 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5253 (exit $ac_status); } && {
5254 test -z "$ac_c_werror_flag" ||
5255 test ! -s conftest.err
5256 } && test -s conftest$ac_exeext && {
5257 test "$cross_compiling" = yes ||
5258 $as_test_x conftest$ac_exeext
5259 }; then
5260 ac_cv_lib_crypto_RSA_public_encrypt=yes
5261 else
5262 $as_echo "$as_me: failed program was:" >&5
5263 sed 's/^/| /' conftest.$ac_ext >&5
5264
5265 ac_cv_lib_crypto_RSA_public_encrypt=no
5266 fi
5267
5268 rm -rf conftest.dSYM
5269 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5270 conftest$ac_exeext conftest.$ac_ext
5271 LIBS=$ac_check_lib_save_LIBS
5272 fi
5273 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_crypto_RSA_public_encrypt" >&5
5274 $as_echo "$ac_cv_lib_crypto_RSA_public_encrypt" >&6; }
5275 if test "x$ac_cv_lib_crypto_RSA_public_encrypt" = x""yes; then
5276 cat >>confdefs.h <<_ACEOF
5277 #define HAVE_LIBCRYPTO 1
5278 _ACEOF
5279
5280 LIBS="-lcrypto $LIBS"
5281
5282 fi
5283
5284
5285 # Checks for library functions.
5286
5287 # write it out
5288 ac_config_files="$ac_config_files Makefile src/lib/Makefile src/bin/Makefile"
5289
5290 cat >confcache <<\_ACEOF
5291 # This file is a shell script that caches the results of configure
5292 # tests run on this system so they can be shared between configure
5293 # scripts and configure runs, see configure's option --config-cache.
5294 # It is not useful on other systems. If it contains results you don't
5295 # want to keep, you may remove or edit it.
5296 #
5297 # config.status only pays attention to the cache file if you give it
5298 # the --recheck option to rerun configure.
5299 #
5300 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5301 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5302 # following values.
5303
5304 _ACEOF
5305
5306 # The following way of writing the cache mishandles newlines in values,
5307 # but we know of no workaround that is simple, portable, and efficient.
5308 # So, we kill variables containing newlines.
5309 # Ultrix sh set writes to stderr and can't be redirected directly,
5310 # and sets the high bit in the cache file unless we assign to the vars.
5311 (
5312 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5313 eval ac_val=\$$ac_var
5314 case $ac_val in #(
5315 *${as_nl}*)
5316 case $ac_var in #(
5317 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
5318 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
5319 esac
5320 case $ac_var in #(
5321 _ | IFS | as_nl) ;; #(
5322 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
5323 *) $as_unset $ac_var ;;
5324 esac ;;
5325 esac
5326 done
5327
5328 (set) 2>&1 |
5329 case $as_nl`(ac_space=' '; set) 2>&1` in #(
5330 *${as_nl}ac_space=\ *)
5331 # `set' does not quote correctly, so add quotes (double-quote
5332 # substitution turns \\\\ into \\, and sed turns \\ into \).
5333 sed -n \
5334 "s/'/'\\\\''/g;
5335 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5336 ;; #(
5337 *)
5338 # `set' quotes correctly as required by POSIX, so do not add quotes.
5339 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5340 ;;
5341 esac |
5342 sort
5343 ) |
5344 sed '
5345 /^ac_cv_env_/b end
5346 t clear
5347 :clear
5348 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5349 t end
5350 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5351 :end' >>confcache
5352 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
5353 if test -w "$cache_file"; then
5354 test "x$cache_file" != "x/dev/null" &&
5355 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
5356 $as_echo "$as_me: updating cache $cache_file" >&6;}
5357 cat confcache >$cache_file
5358 else
5359 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
5360 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5361 fi
5362 fi
5363 rm -f confcache
5364
5365 test "x$prefix" = xNONE && prefix=$ac_default_prefix
5366 # Let make expand exec_prefix.
5367 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5368
5369 DEFS=-DHAVE_CONFIG_H
5370
5371 ac_libobjs=
5372 ac_ltlibobjs=
5373 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5374 # 1. Remove the extension, and $U if already installed.
5375 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
5376 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
5377 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
5378 # will be set to the directory where LIBOBJS objects are built.
5379 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5380 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
5381 done
5382 LIBOBJS=$ac_libobjs
5383
5384 LTLIBOBJS=$ac_ltlibobjs
5385
5386
5387
5388 : ${CONFIG_STATUS=./config.status}
5389 ac_write_fail=0
5390 ac_clean_files_save=$ac_clean_files
5391 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5392 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
5393 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
5394 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5395 #! $SHELL
5396 # Generated by $as_me.
5397 # Run this file to recreate the current configuration.
5398 # Compiler output produced by configure, useful for debugging
5399 # configure, is in config.log if it exists.
5400
5401 debug=false
5402 ac_cs_recheck=false
5403 ac_cs_silent=false
5404 SHELL=\${CONFIG_SHELL-$SHELL}
5405 _ACEOF
5406
5407 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5408 ## --------------------- ##
5409 ## M4sh Initialization. ##
5410 ## --------------------- ##
5411
5412 # Be more Bourne compatible
5413 DUALCASE=1; export DUALCASE # for MKS sh
5414 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
5415 emulate sh
5416 NULLCMD=:
5417 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5418 # is contrary to our usage. Disable this feature.
5419 alias -g '${1+"$@"}'='"$@"'
5420 setopt NO_GLOB_SUBST
5421 else
5422 case `(set -o) 2>/dev/null` in
5423 *posix*) set -o posix ;;
5424 esac
5425
5426 fi
5427
5428
5429
5430
5431 # PATH needs CR
5432 # Avoid depending upon Character Ranges.
5433 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5434 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5435 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5436 as_cr_digits='0123456789'
5437 as_cr_alnum=$as_cr_Letters$as_cr_digits
5438
5439 as_nl='
5440 '
5441 export as_nl
5442 # Printing a long string crashes Solaris 7 /usr/bin/printf.
5443 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5444 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5445 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5446 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5447 as_echo='printf %s\n'
5448 as_echo_n='printf %s'
5449 else
5450 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5451 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
5452 as_echo_n='/usr/ucb/echo -n'
5453 else
5454 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5455 as_echo_n_body='eval
5456 arg=$1;
5457 case $arg in
5458 *"$as_nl"*)
5459 expr "X$arg" : "X\\(.*\\)$as_nl";
5460 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5461 esac;
5462 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
5463 '
5464 export as_echo_n_body
5465 as_echo_n='sh -c $as_echo_n_body as_echo'
5466 fi
5467 export as_echo_body
5468 as_echo='sh -c $as_echo_body as_echo'
5469 fi
5470
5471 # The user is always right.
5472 if test "${PATH_SEPARATOR+set}" != set; then
5473 PATH_SEPARATOR=:
5474 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5475 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5476 PATH_SEPARATOR=';'
5477 }
5478 fi
5479
5480 # Support unset when possible.
5481 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5482 as_unset=unset
5483 else
5484 as_unset=false
5485 fi
5486
5487
5488 # IFS
5489 # We need space, tab and new line, in precisely that order. Quoting is
5490 # there to prevent editors from complaining about space-tab.
5491 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
5492 # splitting by setting IFS to empty value.)
5493 IFS=" "" $as_nl"
5494
5495 # Find who we are. Look in the path if we contain no directory separator.
5496 case $0 in
5497 *[\\/]* ) as_myself=$0 ;;
5498 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5499 for as_dir in $PATH
5500 do
5501 IFS=$as_save_IFS
5502 test -z "$as_dir" && as_dir=.
5503 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5504 done
5505 IFS=$as_save_IFS
5506
5507 ;;
5508 esac
5509 # We did not find ourselves, most probably we were run as `sh COMMAND'
5510 # in which case we are not to be found in the path.
5511 if test "x$as_myself" = x; then
5512 as_myself=$0
5513 fi
5514 if test ! -f "$as_myself"; then
5515 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5516 { (exit 1); exit 1; }
5517 fi
5518
5519 # Work around bugs in pre-3.0 UWIN ksh.
5520 for as_var in ENV MAIL MAILPATH
5521 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
5522 done
5523 PS1='$ '
5524 PS2='> '
5525 PS4='+ '
5526
5527 # NLS nuisances.
5528 LC_ALL=C
5529 export LC_ALL
5530 LANGUAGE=C
5531 export LANGUAGE
5532
5533 # Required to use basename.
5534 if expr a : '\(a\)' >/dev/null 2>&1 &&
5535 test "X`expr 00001 : '.*\(...\)'`" = X001; then
5536 as_expr=expr
5537 else
5538 as_expr=false
5539 fi
5540
5541 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5542 as_basename=basename
5543 else
5544 as_basename=false
5545 fi
5546
5547
5548 # Name of the executable.
5549 as_me=`$as_basename -- "$0" ||
5550 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5551 X"$0" : 'X\(//\)$' \| \
5552 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5553 $as_echo X/"$0" |
5554 sed '/^.*\/\([^/][^/]*\)\/*$/{
5555 s//\1/
5556 q
5557 }
5558 /^X\/\(\/\/\)$/{
5559 s//\1/
5560 q
5561 }
5562 /^X\/\(\/\).*/{
5563 s//\1/
5564 q
5565 }
5566 s/.*/./; q'`
5567
5568 # CDPATH.
5569 $as_unset CDPATH
5570
5571
5572
5573 as_lineno_1=$LINENO
5574 as_lineno_2=$LINENO
5575 test "x$as_lineno_1" != "x$as_lineno_2" &&
5576 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
5577
5578 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
5579 # uniformly replaced by the line number. The first 'sed' inserts a
5580 # line-number line after each line using $LINENO; the second 'sed'
5581 # does the real work. The second script uses 'N' to pair each
5582 # line-number line with the line containing $LINENO, and appends
5583 # trailing '-' during substitution so that $LINENO is not a special
5584 # case at line end.
5585 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
5586 # scripts with optimization help from Paolo Bonzini. Blame Lee
5587 # E. McMahon (1931-1989) for sed's syntax. :-)
5588 sed -n '
5589 p
5590 /[$]LINENO/=
5591 ' <$as_myself |
5592 sed '
5593 s/[$]LINENO.*/&-/
5594 t lineno
5595 b
5596 :lineno
5597 N
5598 :loop
5599 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
5600 t loop
5601 s/-\n.*//
5602 ' >$as_me.lineno &&
5603 chmod +x "$as_me.lineno" ||
5604 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
5605 { (exit 1); exit 1; }; }
5606
5607 # Don't try to exec as it changes $[0], causing all sort of problems
5608 # (the dirname of $[0] is not the place where we might find the
5609 # original and so on. Autoconf is especially sensitive to this).
5610 . "./$as_me.lineno"
5611 # Exit status is that of the last command.
5612 exit
5613 }
5614
5615
5616 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5617 as_dirname=dirname
5618 else
5619 as_dirname=false
5620 fi
5621
5622 ECHO_C= ECHO_N= ECHO_T=
5623 case `echo -n x` in
5624 -n*)
5625 case `echo 'x\c'` in
5626 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
5627 *) ECHO_C='\c';;
5628 esac;;
5629 *)
5630 ECHO_N='-n';;
5631 esac
5632 if expr a : '\(a\)' >/dev/null 2>&1 &&
5633 test "X`expr 00001 : '.*\(...\)'`" = X001; then
5634 as_expr=expr
5635 else
5636 as_expr=false
5637 fi
5638
5639 rm -f conf$$ conf$$.exe conf$$.file
5640 if test -d conf$$.dir; then
5641 rm -f conf$$.dir/conf$$.file
5642 else
5643 rm -f conf$$.dir
5644 mkdir conf$$.dir 2>/dev/null
5645 fi
5646 if (echo >conf$$.file) 2>/dev/null; then
5647 if ln -s conf$$.file conf$$ 2>/dev/null; then
5648 as_ln_s='ln -s'
5649 # ... but there are two gotchas:
5650 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5651 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5652 # In both cases, we have to default to `cp -p'.
5653 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5654 as_ln_s='cp -p'
5655 elif ln conf$$.file conf$$ 2>/dev/null; then
5656 as_ln_s=ln
5657 else
5658 as_ln_s='cp -p'
5659 fi
5660 else
5661 as_ln_s='cp -p'
5662 fi
5663 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5664 rmdir conf$$.dir 2>/dev/null
5665
5666 if mkdir -p . 2>/dev/null; then
5667 as_mkdir_p=:
5668 else
5669 test -d ./-p && rmdir ./-p
5670 as_mkdir_p=false
5671 fi
5672
5673 if test -x / >/dev/null 2>&1; then
5674 as_test_x='test -x'
5675 else
5676 if ls -dL / >/dev/null 2>&1; then
5677 as_ls_L_option=L
5678 else
5679 as_ls_L_option=
5680 fi
5681 as_test_x='
5682 eval sh -c '\''
5683 if test -d "$1"; then
5684 test -d "$1/.";
5685 else
5686 case $1 in
5687 -*)set "./$1";;
5688 esac;
5689 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
5690 ???[sx]*):;;*)false;;esac;fi
5691 '\'' sh
5692 '
5693 fi
5694 as_executable_p=$as_test_x
5695
5696 # Sed expression to map a string onto a valid CPP name.
5697 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5698
5699 # Sed expression to map a string onto a valid variable name.
5700 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5701
5702
5703 exec 6>&1
5704
5705 # Save the log message, to keep $[0] and so on meaningful, and to
5706 # report actual input values of CONFIG_FILES etc. instead of their
5707 # values after options handling.
5708 ac_log="
5709 This file was extended by netpgp $as_me 20090423, which was
5710 generated by GNU Autoconf 2.63. Invocation command line was
5711
5712 CONFIG_FILES = $CONFIG_FILES
5713 CONFIG_HEADERS = $CONFIG_HEADERS
5714 CONFIG_LINKS = $CONFIG_LINKS
5715 CONFIG_COMMANDS = $CONFIG_COMMANDS
5716 $ $0 $@
5717
5718 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5719 "
5720
5721 _ACEOF
5722
5723 case $ac_config_files in *"
5724 "*) set x $ac_config_files; shift; ac_config_files=$*;;
5725 esac
5726
5727 case $ac_config_headers in *"
5728 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
5729 esac
5730
5731
5732 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5733 # Files that config.status was made for.
5734 config_files="$ac_config_files"
5735 config_headers="$ac_config_headers"
5736
5737 _ACEOF
5738
5739 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5740 ac_cs_usage="\
5741 \`$as_me' instantiates files from templates according to the
5742 current configuration.
5743
5744 Usage: $0 [OPTION]... [FILE]...
5745
5746 -h, --help print this help, then exit
5747 -V, --version print version number and configuration settings, then exit
5748 -q, --quiet, --silent
5749 do not print progress messages
5750 -d, --debug don't remove temporary files
5751 --recheck update $as_me by reconfiguring in the same conditions
5752 --file=FILE[:TEMPLATE]
5753 instantiate the configuration file FILE
5754 --header=FILE[:TEMPLATE]
5755 instantiate the configuration header FILE
5756
5757 Configuration files:
5758 $config_files
5759
5760 Configuration headers:
5761 $config_headers
5762
5763 Report bugs to <bug-autoconf (at] gnu.org>."
5764
5765 _ACEOF
5766 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5767 ac_cs_version="\\
5768 netpgp config.status 20090423
5769 configured by $0, generated by GNU Autoconf 2.63,
5770 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
5771
5772 Copyright (C) 2008 Free Software Foundation, Inc.
5773 This config.status script is free software; the Free Software Foundation
5774 gives unlimited permission to copy, distribute and modify it."
5775
5776 ac_pwd='$ac_pwd'
5777 srcdir='$srcdir'
5778 INSTALL='$INSTALL'
5779 AWK='$AWK'
5780 test -n "\$AWK" || AWK=awk
5781 _ACEOF
5782
5783 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5784 # The default lists apply if the user does not specify any file.
5785 ac_need_defaults=:
5786 while test $# != 0
5787 do
5788 case $1 in
5789 --*=*)
5790 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5791 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5792 ac_shift=:
5793 ;;
5794 *)
5795 ac_option=$1
5796 ac_optarg=$2
5797 ac_shift=shift
5798 ;;
5799 esac
5800
5801 case $ac_option in
5802 # Handling of the options.
5803 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5804 ac_cs_recheck=: ;;
5805 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5806 $as_echo "$ac_cs_version"; exit ;;
5807 --debug | --debu | --deb | --de | --d | -d )
5808 debug=: ;;
5809 --file | --fil | --fi | --f )
5810 $ac_shift
5811 case $ac_optarg in
5812 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5813 esac
5814 CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
5815 ac_need_defaults=false;;
5816 --header | --heade | --head | --hea )
5817 $ac_shift
5818 case $ac_optarg in
5819 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5820 esac
5821 CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
5822 ac_need_defaults=false;;
5823 --he | --h)
5824 # Conflict between --help and --header
5825 { $as_echo "$as_me: error: ambiguous option: $1
5826 Try \`$0 --help' for more information." >&2
5827 { (exit 1); exit 1; }; };;
5828 --help | --hel | -h )
5829 $as_echo "$ac_cs_usage"; exit ;;
5830 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5831 | -silent | --silent | --silen | --sile | --sil | --si | --s)
5832 ac_cs_silent=: ;;
5833
5834 # This is an error.
5835 -*) { $as_echo "$as_me: error: unrecognized option: $1
5836 Try \`$0 --help' for more information." >&2
5837 { (exit 1); exit 1; }; } ;;
5838
5839 *) ac_config_targets="$ac_config_targets $1"
5840 ac_need_defaults=false ;;
5841
5842 esac
5843 shift
5844 done
5845
5846 ac_configure_extra_args=
5847
5848 if $ac_cs_silent; then
5849 exec 6>/dev/null
5850 ac_configure_extra_args="$ac_configure_extra_args --silent"
5851 fi
5852
5853 _ACEOF
5854 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5855 if \$ac_cs_recheck; then
5856 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5857 shift
5858 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5859 CONFIG_SHELL='$SHELL'
5860 export CONFIG_SHELL
5861 exec "\$@"
5862 fi
5863
5864 _ACEOF
5865 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5866 exec 5>>config.log
5867 {
5868 echo
5869 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5870 ## Running $as_me. ##
5871 _ASBOX
5872 $as_echo "$ac_log"
5873 } >&5
5874
5875 _ACEOF
5876 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5877 _ACEOF
5878
5879 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5880
5881 # Handling of arguments.
5882 for ac_config_target in $ac_config_targets
5883 do
5884 case $ac_config_target in
5885 "src/lib/config.h") CONFIG_HEADERS="$CONFIG_HEADERS src/lib/config.h" ;;
5886 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5887 "src/lib/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/Makefile" ;;
5888 "src/bin/Makefile") CONFIG_FILES="$CONFIG_FILES src/bin/Makefile" ;;
5889
5890 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
5891 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
5892 { (exit 1); exit 1; }; };;
5893 esac
5894 done
5895
5896
5897 # If the user did not use the arguments to specify the items to instantiate,
5898 # then the envvar interface is used. Set only those that are not.
5899 # We use the long form for the default assignment because of an extremely
5900 # bizarre bug on SunOS 4.1.3.
5901 if $ac_need_defaults; then
5902 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5903 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
5904 fi
5905
5906 # Have a temporary directory for convenience. Make it in the build tree
5907 # simply because there is no reason against having it here, and in addition,
5908 # creating and moving files from /tmp can sometimes cause problems.
5909 # Hook for its removal unless debugging.
5910 # Note that there is a small window in which the directory will not be cleaned:
5911 # after its creation but before its name has been assigned to `$tmp'.
5912 $debug ||
5913 {
5914 tmp=
5915 trap 'exit_status=$?
5916 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
5917 ' 0
5918 trap '{ (exit 1); exit 1; }' 1 2 13 15
5919 }
5920 # Create a (secure) tmp directory for tmp files.
5921
5922 {
5923 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5924 test -n "$tmp" && test -d "$tmp"
5925 } ||
5926 {
5927 tmp=./conf$$-$RANDOM
5928 (umask 077 && mkdir "$tmp")
5929 } ||
5930 {
5931 $as_echo "$as_me: cannot create a temporary directory in ." >&2
5932 { (exit 1); exit 1; }
5933 }
5934
5935 # Set up the scripts for CONFIG_FILES section.
5936 # No need to generate them if there are no CONFIG_FILES.
5937 # This happens for instance with `./config.status config.h'.
5938 if test -n "$CONFIG_FILES"; then
5939
5940
5941 ac_cr='
'
5943 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5944 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5945 ac_cs_awk_cr='\\r'
5946 else
5947 ac_cs_awk_cr=$ac_cr
5948 fi
5949
5950 echo 'BEGIN {' >"$tmp/subs1.awk" &&
5951 _ACEOF
5952
5953
5954 {
5955 echo "cat >conf$$subs.awk <<_ACEOF" &&
5956 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5957 echo "_ACEOF"
5958 } >conf$$subs.sh ||
5959 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
5960 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
5961 { (exit 1); exit 1; }; }
5962 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
5963 ac_delim='%!_!# '
5964 for ac_last_try in false false false false false :; do
5965 . ./conf$$subs.sh ||
5966 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
5967 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
5968 { (exit 1); exit 1; }; }
5969
5970 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
5971 if test $ac_delim_n = $ac_delim_num; then
5972 break
5973 elif $ac_last_try; then
5974 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
5975 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
5976 { (exit 1); exit 1; }; }
5977 else
5978 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5979 fi
5980 done
5981 rm -f conf$$subs.sh
5982
5983 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5984 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
5985 _ACEOF
5986 sed -n '
5987 h
5988 s/^/S["/; s/!.*/"]=/
5989 p
5990 g
5991 s/^[^!]*!//
5992 :repl
5993 t repl
5994 s/'"$ac_delim"'$//
5995 t delim
5996 :nl
5997 h
5998 s/\(.\{148\}\).*/\1/
5999 t more1
6000 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
6001 p
6002 n
6003 b repl
6004 :more1
6005 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6006 p
6007 g
6008 s/.\{148\}//
6009 t nl
6010 :delim
6011 h
6012 s/\(.\{148\}\).*/\1/
6013 t more2
6014 s/["\\]/\\&/g; s/^/"/; s/$/"/
6015 p
6016 b
6017 :more2
6018 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6019 p
6020 g
6021 s/.\{148\}//
6022 t delim
6023 ' <conf$$subs.awk | sed '
6024 /^[^""]/{
6025 N
6026 s/\n//
6027 }
6028 ' >>$CONFIG_STATUS || ac_write_fail=1
6029 rm -f conf$$subs.awk
6030 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6031 _ACAWK
6032 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
6033 for (key in S) S_is_set[key] = 1
6034 FS = ""
6035
6036 }
6037 {
6038 line = $ 0
6039 nfields = split(line, field, "@")
6040 substed = 0
6041 len = length(field[1])
6042 for (i = 2; i < nfields; i++) {
6043 key = field[i]
6044 keylen = length(key)
6045 if (S_is_set[key]) {
6046 value = S[key]
6047 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
6048 len += length(value) + length(field[++i])
6049 substed = 1
6050 } else
6051 len += 1 + keylen
6052 }
6053
6054 print line
6055 }
6056
6057 _ACAWK
6058 _ACEOF
6059 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6060 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
6061 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
6062 else
6063 cat
6064 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
6065 || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
6066 $as_echo "$as_me: error: could not setup config files machinery" >&2;}
6067 { (exit 1); exit 1; }; }
6068 _ACEOF
6069
6070 # VPATH may cause trouble with some makes, so we remove $(srcdir),
6071 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
6072 # trailing colons and then remove the whole line if VPATH becomes empty
6073 # (actually we leave an empty line to preserve line numbers).
6074 if test "x$srcdir" = x.; then
6075 ac_vpsub='/^[ ]*VPATH[ ]*=/{
6076 s/:*\$(srcdir):*/:/
6077 s/:*\${srcdir}:*/:/
6078 s/:*@srcdir@:*/:/
6079 s/^\([^=]*=[ ]*\):*/\1/
6080 s/:*$//
6081 s/^[^=]*=[ ]*$//
6082 }'
6083 fi
6084
6085 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6086 fi # test -n "$CONFIG_FILES"
6087
6088 # Set up the scripts for CONFIG_HEADERS section.
6089 # No need to generate them if there are no CONFIG_HEADERS.
6090 # This happens for instance with `./config.status Makefile'.
6091 if test -n "$CONFIG_HEADERS"; then
6092 cat >"$tmp/defines.awk" <<\_ACAWK ||
6093 BEGIN {
6094 _ACEOF
6095
6096 # Transform confdefs.h into an awk script `defines.awk', embedded as
6097 # here-document in config.status, that substitutes the proper values into
6098 # config.h.in to produce config.h.
6099
6100 # Create a delimiter string that does not exist in confdefs.h, to ease
6101 # handling of long lines.
6102 ac_delim='%!_!# '
6103 for ac_last_try in false false :; do
6104 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
6105 if test -z "$ac_t"; then
6106 break
6107 elif $ac_last_try; then
6108 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
6109 $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
6110 { (exit 1); exit 1; }; }
6111 else
6112 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6113 fi
6114 done
6115
6116 # For the awk script, D is an array of macro values keyed by name,
6117 # likewise P contains macro parameters if any. Preserve backslash
6118 # newline sequences.
6119
6120 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
6121 sed -n '
6122 s/.\{148\}/&'"$ac_delim"'/g
6123 t rset
6124 :rset
6125 s/^[ ]*#[ ]*define[ ][ ]*/ /
6126 t def
6127 d
6128 :def
6129 s/\\$//
6130 t bsnl
6131 s/["\\]/\\&/g
6132 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
6133 D["\1"]=" \3"/p
6134 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
6135 d
6136 :bsnl
6137 s/["\\]/\\&/g
6138 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
6139 D["\1"]=" \3\\\\\\n"\\/p
6140 t cont
6141 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
6142 t cont
6143 d
6144 :cont
6145 n
6146 s/.\{148\}/&'"$ac_delim"'/g
6147 t clear
6148 :clear
6149 s/\\$//
6150 t bsnlc
6151 s/["\\]/\\&/g; s/^/"/; s/$/"/p
6152 d
6153 :bsnlc
6154 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
6155 b cont
6156 ' <confdefs.h | sed '
6157 s/'"$ac_delim"'/"\\\
6158 "/g' >>$CONFIG_STATUS || ac_write_fail=1
6159
6160 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6161 for (key in D) D_is_set[key] = 1
6162 FS = ""
6163 }
6164 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
6165 line = \$ 0
6166 split(line, arg, " ")
6167 if (arg[1] == "#") {
6168 defundef = arg[2]
6169 mac1 = arg[3]
6170 } else {
6171 defundef = substr(arg[1], 2)
6172 mac1 = arg[2]
6173 }
6174 split(mac1, mac2, "(") #)
6175 macro = mac2[1]
6176 prefix = substr(line, 1, index(line, defundef) - 1)
6177 if (D_is_set[macro]) {
6178 # Preserve the white space surrounding the "#".
6179 print prefix "define", macro P[macro] D[macro]
6180 next
6181 } else {
6182 # Replace #undef with comments. This is necessary, for example,
6183 # in the case of _POSIX_SOURCE, which is predefined and required
6184 # on some systems where configure will not decide to define it.
6185 if (defundef == "undef") {
6186 print "/*", prefix defundef, macro, "*/"
6187 next
6188 }
6189 }
6190 }
6191 { print }
6192 _ACAWK
6193 _ACEOF
6194 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6195 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
6196 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
6197 { (exit 1); exit 1; }; }
6198 fi # test -n "$CONFIG_HEADERS"
6199
6200
6201 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS "
6202 shift
6203 for ac_tag
6204 do
6205 case $ac_tag in
6206 :[FHLC]) ac_mode=$ac_tag; continue;;
6207 esac
6208 case $ac_mode$ac_tag in
6209 :[FHL]*:*);;
6210 :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
6211 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
6212 { (exit 1); exit 1; }; };;
6213 :[FH]-) ac_tag=-:-;;
6214 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
6215 esac
6216 ac_save_IFS=$IFS
6217 IFS=:
6218 set x $ac_tag
6219 IFS=$ac_save_IFS
6220 shift
6221 ac_file=$1
6222 shift
6223
6224 case $ac_mode in
6225 :L) ac_source=$1;;
6226 :[FH])
6227 ac_file_inputs=
6228 for ac_f
6229 do
6230 case $ac_f in
6231 -) ac_f="$tmp/stdin";;
6232 *) # Look for the file first in the build tree, then in the source tree
6233 # (if the path is not absolute). The absolute path cannot be DOS-style,
6234 # because $ac_f cannot contain `:'.
6235 test -f "$ac_f" ||
6236 case $ac_f in
6237 [\\/$]*) false;;
6238 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
6239 esac ||
6240 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
6241 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
6242 { (exit 1); exit 1; }; };;
6243 esac
6244 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
6245 ac_file_inputs="$ac_file_inputs '$ac_f'"
6246 done
6247
6248 # Let's still pretend it is `configure' which instantiates (i.e., don't
6249 # use $as_me), people would be surprised to read:
6250 # /* config.h. Generated by config.status. */
6251 configure_input='Generated from '`
6252 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
6253 `' by configure.'
6254 if test x"$ac_file" != x-; then
6255 configure_input="$ac_file. $configure_input"
6256 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
6257 $as_echo "$as_me: creating $ac_file" >&6;}
6258 fi
6259 # Neutralize special characters interpreted by sed in replacement strings.
6260 case $configure_input in #(
6261 *\&* | *\|* | *\\* )
6262 ac_sed_conf_input=`$as_echo "$configure_input" |
6263 sed 's/[\\\\&|]/\\\\&/g'`;; #(
6264 *) ac_sed_conf_input=$configure_input;;
6265 esac
6266
6267 case $ac_tag in
6268 *:-:* | *:-) cat >"$tmp/stdin" \
6269 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
6270 $as_echo "$as_me: error: could not create $ac_file" >&2;}
6271 { (exit 1); exit 1; }; } ;;
6272 esac
6273 ;;
6274 esac
6275
6276 ac_dir=`$as_dirname -- "$ac_file" ||
6277 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6278 X"$ac_file" : 'X\(//\)[^/]' \| \
6279 X"$ac_file" : 'X\(//\)$' \| \
6280 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6281 $as_echo X"$ac_file" |
6282 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6283 s//\1/
6284 q
6285 }
6286 /^X\(\/\/\)[^/].*/{
6287 s//\1/
6288 q
6289 }
6290 /^X\(\/\/\)$/{
6291 s//\1/
6292 q
6293 }
6294 /^X\(\/\).*/{
6295 s//\1/
6296 q
6297 }
6298 s/.*/./; q'`
6299 { as_dir="$ac_dir"
6300 case $as_dir in #(
6301 -*) as_dir=./$as_dir;;
6302 esac
6303 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
6304 as_dirs=
6305 while :; do
6306 case $as_dir in #(
6307 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
6308 *) as_qdir=$as_dir;;
6309 esac
6310 as_dirs="'$as_qdir' $as_dirs"
6311 as_dir=`$as_dirname -- "$as_dir" ||
6312 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6313 X"$as_dir" : 'X\(//\)[^/]' \| \
6314 X"$as_dir" : 'X\(//\)$' \| \
6315 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6316 $as_echo X"$as_dir" |
6317 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6318 s//\1/
6319 q
6320 }
6321 /^X\(\/\/\)[^/].*/{
6322 s//\1/
6323 q
6324 }
6325 /^X\(\/\/\)$/{
6326 s//\1/
6327 q
6328 }
6329 /^X\(\/\).*/{
6330 s//\1/
6331 q
6332 }
6333 s/.*/./; q'`
6334 test -d "$as_dir" && break
6335 done
6336 test -z "$as_dirs" || eval "mkdir $as_dirs"
6337 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
6338 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
6339 { (exit 1); exit 1; }; }; }
6340 ac_builddir=.
6341
6342 case "$ac_dir" in
6343 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6344 *)
6345 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
6346 # A ".." for each directory in $ac_dir_suffix.
6347 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6348 case $ac_top_builddir_sub in
6349 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6350 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
6351 esac ;;
6352 esac
6353 ac_abs_top_builddir=$ac_pwd
6354 ac_abs_builddir=$ac_pwd$ac_dir_suffix
6355 # for backward compatibility:
6356 ac_top_builddir=$ac_top_build_prefix
6357
6358 case $srcdir in
6359 .) # We are building in place.
6360 ac_srcdir=.
6361 ac_top_srcdir=$ac_top_builddir_sub
6362 ac_abs_top_srcdir=$ac_pwd ;;
6363 [\\/]* | ?:[\\/]* ) # Absolute name.
6364 ac_srcdir=$srcdir$ac_dir_suffix;
6365 ac_top_srcdir=$srcdir
6366 ac_abs_top_srcdir=$srcdir ;;
6367 *) # Relative name.
6368 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
6369 ac_top_srcdir=$ac_top_build_prefix$srcdir
6370 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
6371 esac
6372 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
6373
6374
6375 case $ac_mode in
6376 :F)
6377 #
6378 # CONFIG_FILE
6379 #
6380
6381 case $INSTALL in
6382 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6383 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
6384 esac
6385 _ACEOF
6386
6387 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6388 # If the template does not know about datarootdir, expand it.
6389 # FIXME: This hack should be removed a few years after 2.60.
6390 ac_datarootdir_hack=; ac_datarootdir_seen=
6391
6392 ac_sed_dataroot='
6393 /datarootdir/ {
6394 p
6395 q
6396 }
6397 /@datadir@/p
6398 /@docdir@/p
6399 /@infodir@/p
6400 /@localedir@/p
6401 /@mandir@/p
6402 '
6403 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
6404 *datarootdir*) ac_datarootdir_seen=yes;;
6405 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
6406 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6407 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6408 _ACEOF
6409 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6410 ac_datarootdir_hack='
6411 s&@datadir@&$datadir&g
6412 s&@docdir@&$docdir&g
6413 s&@infodir@&$infodir&g
6414 s&@localedir@&$localedir&g
6415 s&@mandir@&$mandir&g
6416 s&\\\${datarootdir}&$datarootdir&g' ;;
6417 esac
6418 _ACEOF
6419
6420 # Neutralize VPATH when `$srcdir' = `.'.
6421 # Shell code in configure.ac might set extrasub.
6422 # FIXME: do we really want to maintain this feature?
6423 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6424 ac_sed_extra="$ac_vpsub
6425 $extrasub
6426 _ACEOF
6427 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6428 :t
6429 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6430 s|@configure_input@|$ac_sed_conf_input|;t t
6431 s&@top_builddir@&$ac_top_builddir_sub&;t t
6432 s&@top_build_prefix@&$ac_top_build_prefix&;t t
6433 s&@srcdir@&$ac_srcdir&;t t
6434 s&@abs_srcdir@&$ac_abs_srcdir&;t t
6435 s&@top_srcdir@&$ac_top_srcdir&;t t
6436 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
6437 s&@builddir@&$ac_builddir&;t t
6438 s&@abs_builddir@&$ac_abs_builddir&;t t
6439 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
6440 s&@INSTALL@&$ac_INSTALL&;t t
6441 $ac_datarootdir_hack
6442 "
6443 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
6444 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
6445 $as_echo "$as_me: error: could not create $ac_file" >&2;}
6446 { (exit 1); exit 1; }; }
6447
6448 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6449 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
6450 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
6451 { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6452 which seems to be undefined. Please make sure it is defined." >&5
6453 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6454 which seems to be undefined. Please make sure it is defined." >&2;}
6455
6456 rm -f "$tmp/stdin"
6457 case $ac_file in
6458 -) cat "$tmp/out" && rm -f "$tmp/out";;
6459 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
6460 esac \
6461 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
6462 $as_echo "$as_me: error: could not create $ac_file" >&2;}
6463 { (exit 1); exit 1; }; }
6464 ;;
6465 :H)
6466 #
6467 # CONFIG_HEADER
6468 #
6469 if test x"$ac_file" != x-; then
6470 {
6471 $as_echo "/* $configure_input */" \
6472 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
6473 } >"$tmp/config.h" \
6474 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
6475 $as_echo "$as_me: error: could not create $ac_file" >&2;}
6476 { (exit 1); exit 1; }; }
6477 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
6478 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
6479 $as_echo "$as_me: $ac_file is unchanged" >&6;}
6480 else
6481 rm -f "$ac_file"
6482 mv "$tmp/config.h" "$ac_file" \
6483 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
6484 $as_echo "$as_me: error: could not create $ac_file" >&2;}
6485 { (exit 1); exit 1; }; }
6486 fi
6487 else
6488 $as_echo "/* $configure_input */" \
6489 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
6490 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
6491 $as_echo "$as_me: error: could not create -" >&2;}
6492 { (exit 1); exit 1; }; }
6493 fi
6494 ;;
6495
6496
6497 esac
6498
6499 done # for ac_tag
6500
6501
6502 { (exit 0); exit 0; }
6503 _ACEOF
6504 chmod +x $CONFIG_STATUS
6505 ac_clean_files=$ac_clean_files_save
6506
6507 test $ac_write_fail = 0 ||
6508 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
6509 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
6510 { (exit 1); exit 1; }; }
6511
6512
6513 # configure is writing to config.log, and then calls config.status.
6514 # config.status does its own redirection, appending to config.log.
6515 # Unfortunately, on DOS this fails, as config.log is still kept open
6516 # by configure, so config.status won't be able to write to it; its
6517 # output is simply discarded. So we exec the FD to /dev/null,
6518 # effectively closing config.log, so it can be properly (re)opened and
6519 # appended to by config.status. When coming back to configure, we
6520 # need to make the FD available again.
6521 if test "$no_create" != yes; then
6522 ac_cs_success=:
6523 ac_config_status_args=
6524 test "$silent" = yes &&
6525 ac_config_status_args="$ac_config_status_args --quiet"
6526 exec 5>/dev/null
6527 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6528 exec 5>>config.log
6529 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6530 # would make configure fail if this is the last instruction.
6531 $ac_cs_success || { (exit 1); exit 1; }
6532 fi
6533 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
6534 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6535 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
6536 fi
6537
6538