libsodium: Needed for Dnscrypto-proxy Release 1.3.0
[tomato.git] / release / src / router / dropbear / configure
blob0f8fff3a4ed890b9b9352e4ab322fa9047cfb9b1
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
9 ## --------------------- ##
10 ## M4sh Initialization. ##
11 ## --------------------- ##
13 # Be more Bourne compatible
14 DUALCASE=1; export DUALCASE # for MKS sh
15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
16 emulate sh
17 NULLCMD=:
18 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19 # is contrary to our usage. Disable this feature.
20 alias -g '${1+"$@"}'='"$@"'
21 setopt NO_GLOB_SUBST
22 else
23 case `(set -o) 2>/dev/null` in
24 *posix*) set -o posix ;;
25 esac
32 # PATH needs CR
33 # Avoid depending upon Character Ranges.
34 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
35 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
36 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
37 as_cr_digits='0123456789'
38 as_cr_alnum=$as_cr_Letters$as_cr_digits
40 # The user is always right.
41 if test "${PATH_SEPARATOR+set}" != set; then
42 echo "#! /bin/sh" >conf$$.sh
43 echo "exit 0" >>conf$$.sh
44 chmod +x conf$$.sh
45 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
46 PATH_SEPARATOR=';'
47 else
48 PATH_SEPARATOR=:
50 rm -f conf$$.sh
53 # Support unset when possible.
54 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
55 as_unset=unset
56 else
57 as_unset=false
61 # IFS
62 # We need space, tab and new line, in precisely that order. Quoting is
63 # there to prevent editors from complaining about space-tab.
64 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
65 # splitting by setting IFS to empty value.)
66 as_nl='
68 IFS=" "" $as_nl"
70 # Find who we are. Look in the path if we contain no directory separator.
71 case $0 in
72 *[\\/]* ) as_myself=$0 ;;
73 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
74 for as_dir in $PATH
76 IFS=$as_save_IFS
77 test -z "$as_dir" && as_dir=.
78 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
79 done
80 IFS=$as_save_IFS
83 esac
84 # We did not find ourselves, most probably we were run as `sh COMMAND'
85 # in which case we are not to be found in the path.
86 if test "x$as_myself" = x; then
87 as_myself=$0
89 if test ! -f "$as_myself"; then
90 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
91 { (exit 1); exit 1; }
94 # Work around bugs in pre-3.0 UWIN ksh.
95 for as_var in ENV MAIL MAILPATH
96 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
97 done
98 PS1='$ '
99 PS2='> '
100 PS4='+ '
102 # NLS nuisances.
103 for as_var in \
104 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
105 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
106 LC_TELEPHONE LC_TIME
108 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
109 eval $as_var=C; export $as_var
110 else
111 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
113 done
115 # Required to use basename.
116 if expr a : '\(a\)' >/dev/null 2>&1 &&
117 test "X`expr 00001 : '.*\(...\)'`" = X001; then
118 as_expr=expr
119 else
120 as_expr=false
123 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
124 as_basename=basename
125 else
126 as_basename=false
130 # Name of the executable.
131 as_me=`$as_basename -- "$0" ||
132 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
133 X"$0" : 'X\(//\)$' \| \
134 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
135 echo X/"$0" |
136 sed '/^.*\/\([^/][^/]*\)\/*$/{
137 s//\1/
140 /^X\/\(\/\/\)$/{
141 s//\1/
144 /^X\/\(\/\).*/{
145 s//\1/
148 s/.*/./; q'`
150 # CDPATH.
151 $as_unset CDPATH
154 if test "x$CONFIG_SHELL" = x; then
155 if (eval ":") 2>/dev/null; then
156 as_have_required=yes
157 else
158 as_have_required=no
161 if test $as_have_required = yes && (eval ":
162 (as_func_return () {
163 (exit \$1)
165 as_func_success () {
166 as_func_return 0
168 as_func_failure () {
169 as_func_return 1
171 as_func_ret_success () {
172 return 0
174 as_func_ret_failure () {
175 return 1
178 exitcode=0
179 if as_func_success; then
181 else
182 exitcode=1
183 echo as_func_success failed.
186 if as_func_failure; then
187 exitcode=1
188 echo as_func_failure succeeded.
191 if as_func_ret_success; then
193 else
194 exitcode=1
195 echo as_func_ret_success failed.
198 if as_func_ret_failure; then
199 exitcode=1
200 echo as_func_ret_failure succeeded.
203 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
205 else
206 exitcode=1
207 echo positional parameters were not saved.
210 test \$exitcode = 0) || { (exit 1); exit 1; }
213 as_lineno_1=\$LINENO
214 as_lineno_2=\$LINENO
215 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
216 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
217 ") 2> /dev/null; then
219 else
220 as_candidate_shells=
221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
222 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
224 IFS=$as_save_IFS
225 test -z "$as_dir" && as_dir=.
226 case $as_dir in
228 for as_base in sh bash ksh sh5; do
229 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
230 done;;
231 esac
232 done
233 IFS=$as_save_IFS
236 for as_shell in $as_candidate_shells $SHELL; do
237 # Try only shells that exist, to save several forks.
238 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
239 { ("$as_shell") 2> /dev/null <<\_ASEOF
240 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
241 emulate sh
242 NULLCMD=:
243 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
244 # is contrary to our usage. Disable this feature.
245 alias -g '${1+"$@"}'='"$@"'
246 setopt NO_GLOB_SUBST
247 else
248 case `(set -o) 2>/dev/null` in
249 *posix*) set -o posix ;;
250 esac
256 _ASEOF
257 }; then
258 CONFIG_SHELL=$as_shell
259 as_have_required=yes
260 if { "$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 # Zsh 3.x and 4.x performs 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
277 (as_func_return () {
278 (exit $1)
280 as_func_success () {
281 as_func_return 0
283 as_func_failure () {
284 as_func_return 1
286 as_func_ret_success () {
287 return 0
289 as_func_ret_failure () {
290 return 1
293 exitcode=0
294 if as_func_success; then
296 else
297 exitcode=1
298 echo as_func_success failed.
301 if as_func_failure; then
302 exitcode=1
303 echo as_func_failure succeeded.
306 if as_func_ret_success; then
308 else
309 exitcode=1
310 echo as_func_ret_success failed.
313 if as_func_ret_failure; then
314 exitcode=1
315 echo as_func_ret_failure succeeded.
318 if ( set x; as_func_ret_success y && test x = "$1" ); then
320 else
321 exitcode=1
322 echo positional parameters were not saved.
325 test $exitcode = 0) || { (exit 1); exit 1; }
328 as_lineno_1=$LINENO
329 as_lineno_2=$LINENO
330 test "x$as_lineno_1" != "x$as_lineno_2" &&
331 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
333 _ASEOF
334 }; then
335 break
340 done
342 if test "x$CONFIG_SHELL" != x; then
343 for as_var in BASH_ENV ENV
344 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
345 done
346 export CONFIG_SHELL
347 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
351 if test $as_have_required = no; then
352 echo This script requires a shell more modern than all the
353 echo shells that I found on your system. Please install a
354 echo modern shell, or manually run the script under such a
355 echo shell if you do have one.
356 { (exit 1); exit 1; }
366 (eval "as_func_return () {
367 (exit \$1)
369 as_func_success () {
370 as_func_return 0
372 as_func_failure () {
373 as_func_return 1
375 as_func_ret_success () {
376 return 0
378 as_func_ret_failure () {
379 return 1
382 exitcode=0
383 if as_func_success; then
385 else
386 exitcode=1
387 echo as_func_success failed.
390 if as_func_failure; then
391 exitcode=1
392 echo as_func_failure succeeded.
395 if as_func_ret_success; then
397 else
398 exitcode=1
399 echo as_func_ret_success failed.
402 if as_func_ret_failure; then
403 exitcode=1
404 echo as_func_ret_failure succeeded.
407 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
409 else
410 exitcode=1
411 echo positional parameters were not saved.
414 test \$exitcode = 0") || {
415 echo No shell found that supports shell functions.
416 echo Please tell autoconf@gnu.org about your system,
417 echo including any error possibly output before this
418 echo message
423 as_lineno_1=$LINENO
424 as_lineno_2=$LINENO
425 test "x$as_lineno_1" != "x$as_lineno_2" &&
426 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
428 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
429 # uniformly replaced by the line number. The first 'sed' inserts a
430 # line-number line after each line using $LINENO; the second 'sed'
431 # does the real work. The second script uses 'N' to pair each
432 # line-number line with the line containing $LINENO, and appends
433 # trailing '-' during substitution so that $LINENO is not a special
434 # case at line end.
435 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
436 # scripts with optimization help from Paolo Bonzini. Blame Lee
437 # E. McMahon (1931-1989) for sed's syntax. :-)
438 sed -n '
440 /[$]LINENO/=
441 ' <$as_myself |
442 sed '
443 s/[$]LINENO.*/&-/
444 t lineno
446 :lineno
448 :loop
449 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
450 t loop
451 s/-\n.*//
452 ' >$as_me.lineno &&
453 chmod +x "$as_me.lineno" ||
454 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
455 { (exit 1); exit 1; }; }
457 # Don't try to exec as it changes $[0], causing all sort of problems
458 # (the dirname of $[0] is not the place where we might find the
459 # original and so on. Autoconf is especially sensitive to this).
460 . "./$as_me.lineno"
461 # Exit status is that of the last command.
462 exit
466 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
467 as_dirname=dirname
468 else
469 as_dirname=false
472 ECHO_C= ECHO_N= ECHO_T=
473 case `echo -n x` in
474 -n*)
475 case `echo 'x\c'` in
476 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
477 *) ECHO_C='\c';;
478 esac;;
480 ECHO_N='-n';;
481 esac
483 if expr a : '\(a\)' >/dev/null 2>&1 &&
484 test "X`expr 00001 : '.*\(...\)'`" = X001; then
485 as_expr=expr
486 else
487 as_expr=false
490 rm -f conf$$ conf$$.exe conf$$.file
491 if test -d conf$$.dir; then
492 rm -f conf$$.dir/conf$$.file
493 else
494 rm -f conf$$.dir
495 mkdir conf$$.dir
497 echo >conf$$.file
498 if ln -s conf$$.file conf$$ 2>/dev/null; then
499 as_ln_s='ln -s'
500 # ... but there are two gotchas:
501 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
502 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
503 # In both cases, we have to default to `cp -p'.
504 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
505 as_ln_s='cp -p'
506 elif ln conf$$.file conf$$ 2>/dev/null; then
507 as_ln_s=ln
508 else
509 as_ln_s='cp -p'
511 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
512 rmdir conf$$.dir 2>/dev/null
514 if mkdir -p . 2>/dev/null; then
515 as_mkdir_p=:
516 else
517 test -d ./-p && rmdir ./-p
518 as_mkdir_p=false
521 if test -x / >/dev/null 2>&1; then
522 as_test_x='test -x'
523 else
524 if ls -dL / >/dev/null 2>&1; then
525 as_ls_L_option=L
526 else
527 as_ls_L_option=
529 as_test_x='
530 eval sh -c '\''
531 if test -d "$1"; then
532 test -d "$1/.";
533 else
534 case $1 in
535 -*)set "./$1";;
536 esac;
537 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
538 ???[sx]*):;;*)false;;esac;fi
539 '\'' sh
542 as_executable_p=$as_test_x
544 # Sed expression to map a string onto a valid CPP name.
545 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
547 # Sed expression to map a string onto a valid variable name.
548 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
552 exec 7<&0 </dev/null 6>&1
554 # Name of the host.
555 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
556 # so uname gets run too.
557 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
560 # Initializations.
562 ac_default_prefix=/usr/local
563 ac_clean_files=
564 ac_config_libobj_dir=.
565 LIBOBJS=
566 cross_compiling=no
567 subdirs=
568 MFLAGS=
569 MAKEFLAGS=
570 SHELL=${CONFIG_SHELL-/bin/sh}
572 # Identity of this package.
573 PACKAGE_NAME=
574 PACKAGE_TARNAME=
575 PACKAGE_VERSION=
576 PACKAGE_STRING=
577 PACKAGE_BUGREPORT=
579 ac_unique_file="buffer.c"
580 # Factoring default headers for most tests.
581 ac_includes_default="\
582 #include <stdio.h>
583 #ifdef HAVE_SYS_TYPES_H
584 # include <sys/types.h>
585 #endif
586 #ifdef HAVE_SYS_STAT_H
587 # include <sys/stat.h>
588 #endif
589 #ifdef STDC_HEADERS
590 # include <stdlib.h>
591 # include <stddef.h>
592 #else
593 # ifdef HAVE_STDLIB_H
594 # include <stdlib.h>
595 # endif
596 #endif
597 #ifdef HAVE_STRING_H
598 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
599 # include <memory.h>
600 # endif
601 # include <string.h>
602 #endif
603 #ifdef HAVE_STRINGS_H
604 # include <strings.h>
605 #endif
606 #ifdef HAVE_INTTYPES_H
607 # include <inttypes.h>
608 #endif
609 #ifdef HAVE_STDINT_H
610 # include <stdint.h>
611 #endif
612 #ifdef HAVE_UNISTD_H
613 # include <unistd.h>
614 #endif"
616 ac_subst_vars='SHELL
617 PATH_SEPARATOR
618 PACKAGE_NAME
619 PACKAGE_TARNAME
620 PACKAGE_VERSION
621 PACKAGE_STRING
622 PACKAGE_BUGREPORT
623 exec_prefix
624 prefix
625 program_transform_name
626 bindir
627 sbindir
628 libexecdir
629 datarootdir
630 datadir
631 sysconfdir
632 sharedstatedir
633 localstatedir
634 includedir
635 oldincludedir
636 docdir
637 infodir
638 htmldir
639 dvidir
640 pdfdir
641 psdir
642 libdir
643 localedir
644 mandir
645 DEFS
646 ECHO_C
647 ECHO_N
648 ECHO_T
649 LIBS
650 build_alias
651 host_alias
652 target_alias
654 CFLAGS
655 LDFLAGS
656 CPPFLAGS
657 ac_ct_CC
658 EXEEXT
659 OBJEXT
660 SET_MAKE
662 build
663 build_cpu
664 build_vendor
665 build_os
666 host
667 host_cpu
668 host_vendor
669 host_os
671 RANLIB
672 STRIP
673 INSTALL
675 GREP
676 EGREP
677 CRYPTLIB
678 BUNDLED_LIBTOM
679 LIBOBJS
680 LTLIBOBJS'
681 ac_subst_files=''
682 ac_precious_vars='build_alias
683 host_alias
684 target_alias
686 CFLAGS
687 LDFLAGS
688 LIBS
689 CPPFLAGS
690 CPP'
693 # Initialize some variables set by options.
694 ac_init_help=
695 ac_init_version=false
696 # The variables have the same names as the options, with
697 # dashes changed to underlines.
698 cache_file=/dev/null
699 exec_prefix=NONE
700 no_create=
701 no_recursion=
702 prefix=NONE
703 program_prefix=NONE
704 program_suffix=NONE
705 program_transform_name=s,x,x,
706 silent=
707 site=
708 srcdir=
709 verbose=
710 x_includes=NONE
711 x_libraries=NONE
713 # Installation directory options.
714 # These are left unexpanded so users can "make install exec_prefix=/foo"
715 # and all the variables that are supposed to be based on exec_prefix
716 # by default will actually change.
717 # Use braces instead of parens because sh, perl, etc. also accept them.
718 # (The list follows the same order as the GNU Coding Standards.)
719 bindir='${exec_prefix}/bin'
720 sbindir='${exec_prefix}/sbin'
721 libexecdir='${exec_prefix}/libexec'
722 datarootdir='${prefix}/share'
723 datadir='${datarootdir}'
724 sysconfdir='${prefix}/etc'
725 sharedstatedir='${prefix}/com'
726 localstatedir='${prefix}/var'
727 includedir='${prefix}/include'
728 oldincludedir='/usr/include'
729 docdir='${datarootdir}/doc/${PACKAGE}'
730 infodir='${datarootdir}/info'
731 htmldir='${docdir}'
732 dvidir='${docdir}'
733 pdfdir='${docdir}'
734 psdir='${docdir}'
735 libdir='${exec_prefix}/lib'
736 localedir='${datarootdir}/locale'
737 mandir='${datarootdir}/man'
739 ac_prev=
740 ac_dashdash=
741 for ac_option
743 # If the previous option needs an argument, assign it.
744 if test -n "$ac_prev"; then
745 eval $ac_prev=\$ac_option
746 ac_prev=
747 continue
750 case $ac_option in
751 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
752 *) ac_optarg=yes ;;
753 esac
755 # Accept the important Cygnus configure options, so we can diagnose typos.
757 case $ac_dashdash$ac_option in
759 ac_dashdash=yes ;;
761 -bindir | --bindir | --bindi | --bind | --bin | --bi)
762 ac_prev=bindir ;;
763 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
764 bindir=$ac_optarg ;;
766 -build | --build | --buil | --bui | --bu)
767 ac_prev=build_alias ;;
768 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
769 build_alias=$ac_optarg ;;
771 -cache-file | --cache-file | --cache-fil | --cache-fi \
772 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
773 ac_prev=cache_file ;;
774 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
775 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
776 cache_file=$ac_optarg ;;
778 --config-cache | -C)
779 cache_file=config.cache ;;
781 -datadir | --datadir | --datadi | --datad)
782 ac_prev=datadir ;;
783 -datadir=* | --datadir=* | --datadi=* | --datad=*)
784 datadir=$ac_optarg ;;
786 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
787 | --dataroo | --dataro | --datar)
788 ac_prev=datarootdir ;;
789 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
790 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
791 datarootdir=$ac_optarg ;;
793 -disable-* | --disable-*)
794 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
795 # Reject names that are not valid shell variable names.
796 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
797 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
798 { (exit 1); exit 1; }; }
799 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
800 eval enable_$ac_feature=no ;;
802 -docdir | --docdir | --docdi | --doc | --do)
803 ac_prev=docdir ;;
804 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
805 docdir=$ac_optarg ;;
807 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
808 ac_prev=dvidir ;;
809 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
810 dvidir=$ac_optarg ;;
812 -enable-* | --enable-*)
813 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
814 # Reject names that are not valid shell variable names.
815 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
816 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
817 { (exit 1); exit 1; }; }
818 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
819 eval enable_$ac_feature=\$ac_optarg ;;
821 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
822 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
823 | --exec | --exe | --ex)
824 ac_prev=exec_prefix ;;
825 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
826 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
827 | --exec=* | --exe=* | --ex=*)
828 exec_prefix=$ac_optarg ;;
830 -gas | --gas | --ga | --g)
831 # Obsolete; use --with-gas.
832 with_gas=yes ;;
834 -help | --help | --hel | --he | -h)
835 ac_init_help=long ;;
836 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
837 ac_init_help=recursive ;;
838 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
839 ac_init_help=short ;;
841 -host | --host | --hos | --ho)
842 ac_prev=host_alias ;;
843 -host=* | --host=* | --hos=* | --ho=*)
844 host_alias=$ac_optarg ;;
846 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
847 ac_prev=htmldir ;;
848 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
849 | --ht=*)
850 htmldir=$ac_optarg ;;
852 -includedir | --includedir | --includedi | --included | --include \
853 | --includ | --inclu | --incl | --inc)
854 ac_prev=includedir ;;
855 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
856 | --includ=* | --inclu=* | --incl=* | --inc=*)
857 includedir=$ac_optarg ;;
859 -infodir | --infodir | --infodi | --infod | --info | --inf)
860 ac_prev=infodir ;;
861 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
862 infodir=$ac_optarg ;;
864 -libdir | --libdir | --libdi | --libd)
865 ac_prev=libdir ;;
866 -libdir=* | --libdir=* | --libdi=* | --libd=*)
867 libdir=$ac_optarg ;;
869 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
870 | --libexe | --libex | --libe)
871 ac_prev=libexecdir ;;
872 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
873 | --libexe=* | --libex=* | --libe=*)
874 libexecdir=$ac_optarg ;;
876 -localedir | --localedir | --localedi | --localed | --locale)
877 ac_prev=localedir ;;
878 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
879 localedir=$ac_optarg ;;
881 -localstatedir | --localstatedir | --localstatedi | --localstated \
882 | --localstate | --localstat | --localsta | --localst | --locals)
883 ac_prev=localstatedir ;;
884 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
885 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
886 localstatedir=$ac_optarg ;;
888 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
889 ac_prev=mandir ;;
890 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
891 mandir=$ac_optarg ;;
893 -nfp | --nfp | --nf)
894 # Obsolete; use --without-fp.
895 with_fp=no ;;
897 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
898 | --no-cr | --no-c | -n)
899 no_create=yes ;;
901 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
902 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
903 no_recursion=yes ;;
905 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
906 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
907 | --oldin | --oldi | --old | --ol | --o)
908 ac_prev=oldincludedir ;;
909 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
910 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
911 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
912 oldincludedir=$ac_optarg ;;
914 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
915 ac_prev=prefix ;;
916 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
917 prefix=$ac_optarg ;;
919 -program-prefix | --program-prefix | --program-prefi | --program-pref \
920 | --program-pre | --program-pr | --program-p)
921 ac_prev=program_prefix ;;
922 -program-prefix=* | --program-prefix=* | --program-prefi=* \
923 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
924 program_prefix=$ac_optarg ;;
926 -program-suffix | --program-suffix | --program-suffi | --program-suff \
927 | --program-suf | --program-su | --program-s)
928 ac_prev=program_suffix ;;
929 -program-suffix=* | --program-suffix=* | --program-suffi=* \
930 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
931 program_suffix=$ac_optarg ;;
933 -program-transform-name | --program-transform-name \
934 | --program-transform-nam | --program-transform-na \
935 | --program-transform-n | --program-transform- \
936 | --program-transform | --program-transfor \
937 | --program-transfo | --program-transf \
938 | --program-trans | --program-tran \
939 | --progr-tra | --program-tr | --program-t)
940 ac_prev=program_transform_name ;;
941 -program-transform-name=* | --program-transform-name=* \
942 | --program-transform-nam=* | --program-transform-na=* \
943 | --program-transform-n=* | --program-transform-=* \
944 | --program-transform=* | --program-transfor=* \
945 | --program-transfo=* | --program-transf=* \
946 | --program-trans=* | --program-tran=* \
947 | --progr-tra=* | --program-tr=* | --program-t=*)
948 program_transform_name=$ac_optarg ;;
950 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
951 ac_prev=pdfdir ;;
952 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
953 pdfdir=$ac_optarg ;;
955 -psdir | --psdir | --psdi | --psd | --ps)
956 ac_prev=psdir ;;
957 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
958 psdir=$ac_optarg ;;
960 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
961 | -silent | --silent | --silen | --sile | --sil)
962 silent=yes ;;
964 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
965 ac_prev=sbindir ;;
966 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
967 | --sbi=* | --sb=*)
968 sbindir=$ac_optarg ;;
970 -sharedstatedir | --sharedstatedir | --sharedstatedi \
971 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
972 | --sharedst | --shareds | --shared | --share | --shar \
973 | --sha | --sh)
974 ac_prev=sharedstatedir ;;
975 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
976 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
977 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
978 | --sha=* | --sh=*)
979 sharedstatedir=$ac_optarg ;;
981 -site | --site | --sit)
982 ac_prev=site ;;
983 -site=* | --site=* | --sit=*)
984 site=$ac_optarg ;;
986 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
987 ac_prev=srcdir ;;
988 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
989 srcdir=$ac_optarg ;;
991 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
992 | --syscon | --sysco | --sysc | --sys | --sy)
993 ac_prev=sysconfdir ;;
994 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
995 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
996 sysconfdir=$ac_optarg ;;
998 -target | --target | --targe | --targ | --tar | --ta | --t)
999 ac_prev=target_alias ;;
1000 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1001 target_alias=$ac_optarg ;;
1003 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1004 verbose=yes ;;
1006 -version | --version | --versio | --versi | --vers | -V)
1007 ac_init_version=: ;;
1009 -with-* | --with-*)
1010 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1011 # Reject names that are not valid shell variable names.
1012 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1013 { echo "$as_me: error: invalid package name: $ac_package" >&2
1014 { (exit 1); exit 1; }; }
1015 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1016 eval with_$ac_package=\$ac_optarg ;;
1018 -without-* | --without-*)
1019 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1020 # Reject names that are not valid shell variable names.
1021 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1022 { echo "$as_me: error: invalid package name: $ac_package" >&2
1023 { (exit 1); exit 1; }; }
1024 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1025 eval with_$ac_package=no ;;
1027 --x)
1028 # Obsolete; use --with-x.
1029 with_x=yes ;;
1031 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1032 | --x-incl | --x-inc | --x-in | --x-i)
1033 ac_prev=x_includes ;;
1034 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1035 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1036 x_includes=$ac_optarg ;;
1038 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1039 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1040 ac_prev=x_libraries ;;
1041 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1042 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1043 x_libraries=$ac_optarg ;;
1045 -*) { echo "$as_me: error: unrecognized option: $ac_option
1046 Try \`$0 --help' for more information." >&2
1047 { (exit 1); exit 1; }; }
1050 *=*)
1051 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1052 # Reject names that are not valid shell variable names.
1053 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1054 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1055 { (exit 1); exit 1; }; }
1056 eval $ac_envvar=\$ac_optarg
1057 export $ac_envvar ;;
1060 # FIXME: should be removed in autoconf 3.0.
1061 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1062 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1063 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1064 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1067 esac
1068 done
1070 if test -n "$ac_prev"; then
1071 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1072 { echo "$as_me: error: missing argument to $ac_option" >&2
1073 { (exit 1); exit 1; }; }
1076 # Be sure to have absolute directory names.
1077 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1078 datadir sysconfdir sharedstatedir localstatedir includedir \
1079 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1080 libdir localedir mandir
1082 eval ac_val=\$$ac_var
1083 case $ac_val in
1084 [\\/$]* | ?:[\\/]* ) continue;;
1085 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1086 esac
1087 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1088 { (exit 1); exit 1; }; }
1089 done
1091 # There might be people who depend on the old broken behavior: `$host'
1092 # used to hold the argument of --host etc.
1093 # FIXME: To remove some day.
1094 build=$build_alias
1095 host=$host_alias
1096 target=$target_alias
1098 # FIXME: To remove some day.
1099 if test "x$host_alias" != x; then
1100 if test "x$build_alias" = x; then
1101 cross_compiling=maybe
1102 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1103 If a cross compiler is detected then cross compile mode will be used." >&2
1104 elif test "x$build_alias" != "x$host_alias"; then
1105 cross_compiling=yes
1109 ac_tool_prefix=
1110 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1112 test "$silent" = yes && exec 6>/dev/null
1115 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1116 ac_ls_di=`ls -di .` &&
1117 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1118 { echo "$as_me: error: Working directory cannot be determined" >&2
1119 { (exit 1); exit 1; }; }
1120 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1121 { echo "$as_me: error: pwd does not report name of working directory" >&2
1122 { (exit 1); exit 1; }; }
1125 # Find the source files, if location was not specified.
1126 if test -z "$srcdir"; then
1127 ac_srcdir_defaulted=yes
1128 # Try the directory containing this script, then the parent directory.
1129 ac_confdir=`$as_dirname -- "$0" ||
1130 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1131 X"$0" : 'X\(//\)[^/]' \| \
1132 X"$0" : 'X\(//\)$' \| \
1133 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1134 echo X"$0" |
1135 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1136 s//\1/
1139 /^X\(\/\/\)[^/].*/{
1140 s//\1/
1143 /^X\(\/\/\)$/{
1144 s//\1/
1147 /^X\(\/\).*/{
1148 s//\1/
1151 s/.*/./; q'`
1152 srcdir=$ac_confdir
1153 if test ! -r "$srcdir/$ac_unique_file"; then
1154 srcdir=..
1156 else
1157 ac_srcdir_defaulted=no
1159 if test ! -r "$srcdir/$ac_unique_file"; then
1160 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1161 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1162 { (exit 1); exit 1; }; }
1164 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1165 ac_abs_confdir=`(
1166 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1167 { (exit 1); exit 1; }; }
1168 pwd)`
1169 # When building in place, set srcdir=.
1170 if test "$ac_abs_confdir" = "$ac_pwd"; then
1171 srcdir=.
1173 # Remove unnecessary trailing slashes from srcdir.
1174 # Double slashes in file names in object file debugging info
1175 # mess up M-x gdb in Emacs.
1176 case $srcdir in
1177 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1178 esac
1179 for ac_var in $ac_precious_vars; do
1180 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1181 eval ac_env_${ac_var}_value=\$${ac_var}
1182 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1183 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1184 done
1187 # Report the --help message.
1189 if test "$ac_init_help" = "long"; then
1190 # Omit some internal or obsolete options to make the list less imposing.
1191 # This message is too long to be a string in the A/UX 3.1 sh.
1192 cat <<_ACEOF
1193 \`configure' configures this package to adapt to many kinds of systems.
1195 Usage: $0 [OPTION]... [VAR=VALUE]...
1197 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1198 VAR=VALUE. See below for descriptions of some of the useful variables.
1200 Defaults for the options are specified in brackets.
1202 Configuration:
1203 -h, --help display this help and exit
1204 --help=short display options specific to this package
1205 --help=recursive display the short help of all the included packages
1206 -V, --version display version information and exit
1207 -q, --quiet, --silent do not print \`checking...' messages
1208 --cache-file=FILE cache test results in FILE [disabled]
1209 -C, --config-cache alias for \`--cache-file=config.cache'
1210 -n, --no-create do not create output files
1211 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1213 Installation directories:
1214 --prefix=PREFIX install architecture-independent files in PREFIX
1215 [$ac_default_prefix]
1216 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1217 [PREFIX]
1219 By default, \`make install' will install all the files in
1220 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1221 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1222 for instance \`--prefix=\$HOME'.
1224 For better control, use the options below.
1226 Fine tuning of the installation directories:
1227 --bindir=DIR user executables [EPREFIX/bin]
1228 --sbindir=DIR system admin executables [EPREFIX/sbin]
1229 --libexecdir=DIR program executables [EPREFIX/libexec]
1230 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1231 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1232 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1233 --libdir=DIR object code libraries [EPREFIX/lib]
1234 --includedir=DIR C header files [PREFIX/include]
1235 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1236 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1237 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1238 --infodir=DIR info documentation [DATAROOTDIR/info]
1239 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1240 --mandir=DIR man documentation [DATAROOTDIR/man]
1241 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1242 --htmldir=DIR html documentation [DOCDIR]
1243 --dvidir=DIR dvi documentation [DOCDIR]
1244 --pdfdir=DIR pdf documentation [DOCDIR]
1245 --psdir=DIR ps documentation [DOCDIR]
1246 _ACEOF
1248 cat <<\_ACEOF
1250 System types:
1251 --build=BUILD configure for building on BUILD [guessed]
1252 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1253 _ACEOF
1256 if test -n "$ac_init_help"; then
1258 cat <<\_ACEOF
1260 Optional Features:
1261 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1262 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1263 --disable-largefile omit support for large files
1264 --disable-zlib Don't include zlib support
1265 --enable-pam Try to include PAM support
1266 --disable-openpty Don't use openpty, use alternative method
1267 --disable-syslog Don't include syslog support
1268 --disable-shadow Don't use shadow passwords (if available)
1269 --enable-bundled-libtom Use bundled libtomcrypt/libtommath even if a system version exists
1270 --disable-lastlog Disable use of lastlog even if detected no
1271 --disable-utmp Disable use of utmp even if detected no
1272 --disable-utmpx Disable use of utmpx even if detected no
1273 --disable-wtmp Disable use of wtmp even if detected no
1274 --disable-wtmpx Disable use of wtmpx even if detected no
1275 --disable-loginfunc Disable use of login() etc. no
1276 --disable-pututline Disable use of pututline() etc. (uwtmp) no
1277 --disable-pututxline Disable use of pututxline() etc. (uwtmpx) no
1279 Optional Packages:
1280 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1281 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1282 --with-zlib=PATH Use zlib in PATH
1283 --with-pam=PATH Use pam in PATH
1284 --with-lastlog=FILE|DIR specify lastlog location common locations
1286 Some influential environment variables:
1287 CC C compiler command
1288 CFLAGS C compiler flags
1289 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1290 nonstandard directory <lib dir>
1291 LIBS libraries to pass to the linker, e.g. -l<library>
1292 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1293 you have headers in a nonstandard directory <include dir>
1294 CPP C preprocessor
1296 Use these variables to override the choices made by `configure' or to help
1297 it to find libraries and programs with nonstandard names/locations.
1299 _ACEOF
1300 ac_status=$?
1303 if test "$ac_init_help" = "recursive"; then
1304 # If there are subdirs, report their specific --help.
1305 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1306 test -d "$ac_dir" || continue
1307 ac_builddir=.
1309 case "$ac_dir" in
1310 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1312 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1313 # A ".." for each directory in $ac_dir_suffix.
1314 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1315 case $ac_top_builddir_sub in
1316 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1317 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1318 esac ;;
1319 esac
1320 ac_abs_top_builddir=$ac_pwd
1321 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1322 # for backward compatibility:
1323 ac_top_builddir=$ac_top_build_prefix
1325 case $srcdir in
1326 .) # We are building in place.
1327 ac_srcdir=.
1328 ac_top_srcdir=$ac_top_builddir_sub
1329 ac_abs_top_srcdir=$ac_pwd ;;
1330 [\\/]* | ?:[\\/]* ) # Absolute name.
1331 ac_srcdir=$srcdir$ac_dir_suffix;
1332 ac_top_srcdir=$srcdir
1333 ac_abs_top_srcdir=$srcdir ;;
1334 *) # Relative name.
1335 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1336 ac_top_srcdir=$ac_top_build_prefix$srcdir
1337 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1338 esac
1339 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1341 cd "$ac_dir" || { ac_status=$?; continue; }
1342 # Check for guested configure.
1343 if test -f "$ac_srcdir/configure.gnu"; then
1344 echo &&
1345 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1346 elif test -f "$ac_srcdir/configure"; then
1347 echo &&
1348 $SHELL "$ac_srcdir/configure" --help=recursive
1349 else
1350 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1351 fi || ac_status=$?
1352 cd "$ac_pwd" || { ac_status=$?; break; }
1353 done
1356 test -n "$ac_init_help" && exit $ac_status
1357 if $ac_init_version; then
1358 cat <<\_ACEOF
1359 configure
1360 generated by GNU Autoconf 2.61
1362 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1363 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1364 This configure script is free software; the Free Software Foundation
1365 gives unlimited permission to copy, distribute and modify it.
1366 _ACEOF
1367 exit
1369 cat >config.log <<_ACEOF
1370 This file contains any messages produced by compilers while
1371 running configure, to aid debugging if configure makes a mistake.
1373 It was created by $as_me, which was
1374 generated by GNU Autoconf 2.61. Invocation command line was
1376 $ $0 $@
1378 _ACEOF
1379 exec 5>>config.log
1381 cat <<_ASUNAME
1382 ## --------- ##
1383 ## Platform. ##
1384 ## --------- ##
1386 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1387 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1388 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1389 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1390 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1392 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1393 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1395 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1396 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1397 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1398 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1399 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1400 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1401 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1403 _ASUNAME
1405 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1406 for as_dir in $PATH
1408 IFS=$as_save_IFS
1409 test -z "$as_dir" && as_dir=.
1410 echo "PATH: $as_dir"
1411 done
1412 IFS=$as_save_IFS
1414 } >&5
1416 cat >&5 <<_ACEOF
1419 ## ----------- ##
1420 ## Core tests. ##
1421 ## ----------- ##
1423 _ACEOF
1426 # Keep a trace of the command line.
1427 # Strip out --no-create and --no-recursion so they do not pile up.
1428 # Strip out --silent because we don't want to record it for future runs.
1429 # Also quote any args containing shell meta-characters.
1430 # Make two passes to allow for proper duplicate-argument suppression.
1431 ac_configure_args=
1432 ac_configure_args0=
1433 ac_configure_args1=
1434 ac_must_keep_next=false
1435 for ac_pass in 1 2
1437 for ac_arg
1439 case $ac_arg in
1440 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1441 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1442 | -silent | --silent | --silen | --sile | --sil)
1443 continue ;;
1444 *\'*)
1445 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1446 esac
1447 case $ac_pass in
1448 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1450 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1451 if test $ac_must_keep_next = true; then
1452 ac_must_keep_next=false # Got value, back to normal.
1453 else
1454 case $ac_arg in
1455 *=* | --config-cache | -C | -disable-* | --disable-* \
1456 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1457 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1458 | -with-* | --with-* | -without-* | --without-* | --x)
1459 case "$ac_configure_args0 " in
1460 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1461 esac
1463 -* ) ac_must_keep_next=true ;;
1464 esac
1466 ac_configure_args="$ac_configure_args '$ac_arg'"
1468 esac
1469 done
1470 done
1471 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1472 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1474 # When interrupted or exit'd, cleanup temporary files, and complete
1475 # config.log. We remove comments because anyway the quotes in there
1476 # would cause problems or look ugly.
1477 # WARNING: Use '\'' to represent an apostrophe within the trap.
1478 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1479 trap 'exit_status=$?
1480 # Save into config.log some information that might help in debugging.
1482 echo
1484 cat <<\_ASBOX
1485 ## ---------------- ##
1486 ## Cache variables. ##
1487 ## ---------------- ##
1488 _ASBOX
1489 echo
1490 # The following way of writing the cache mishandles newlines in values,
1492 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1493 eval ac_val=\$$ac_var
1494 case $ac_val in #(
1495 *${as_nl}*)
1496 case $ac_var in #(
1497 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1498 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1499 esac
1500 case $ac_var in #(
1501 _ | IFS | as_nl) ;; #(
1502 *) $as_unset $ac_var ;;
1503 esac ;;
1504 esac
1505 done
1506 (set) 2>&1 |
1507 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1508 *${as_nl}ac_space=\ *)
1509 sed -n \
1510 "s/'\''/'\''\\\\'\'''\''/g;
1511 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1512 ;; #(
1514 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1516 esac |
1517 sort
1519 echo
1521 cat <<\_ASBOX
1522 ## ----------------- ##
1523 ## Output variables. ##
1524 ## ----------------- ##
1525 _ASBOX
1526 echo
1527 for ac_var in $ac_subst_vars
1529 eval ac_val=\$$ac_var
1530 case $ac_val in
1531 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1532 esac
1533 echo "$ac_var='\''$ac_val'\''"
1534 done | sort
1535 echo
1537 if test -n "$ac_subst_files"; then
1538 cat <<\_ASBOX
1539 ## ------------------- ##
1540 ## File substitutions. ##
1541 ## ------------------- ##
1542 _ASBOX
1543 echo
1544 for ac_var in $ac_subst_files
1546 eval ac_val=\$$ac_var
1547 case $ac_val in
1548 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1549 esac
1550 echo "$ac_var='\''$ac_val'\''"
1551 done | sort
1552 echo
1555 if test -s confdefs.h; then
1556 cat <<\_ASBOX
1557 ## ----------- ##
1558 ## confdefs.h. ##
1559 ## ----------- ##
1560 _ASBOX
1561 echo
1562 cat confdefs.h
1563 echo
1565 test "$ac_signal" != 0 &&
1566 echo "$as_me: caught signal $ac_signal"
1567 echo "$as_me: exit $exit_status"
1568 } >&5
1569 rm -f core *.core core.conftest.* &&
1570 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1571 exit $exit_status
1573 for ac_signal in 1 2 13 15; do
1574 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1575 done
1576 ac_signal=0
1578 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1579 rm -f -r conftest* confdefs.h
1581 # Predefined preprocessor variables.
1583 cat >>confdefs.h <<_ACEOF
1584 #define PACKAGE_NAME "$PACKAGE_NAME"
1585 _ACEOF
1588 cat >>confdefs.h <<_ACEOF
1589 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1590 _ACEOF
1593 cat >>confdefs.h <<_ACEOF
1594 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1595 _ACEOF
1598 cat >>confdefs.h <<_ACEOF
1599 #define PACKAGE_STRING "$PACKAGE_STRING"
1600 _ACEOF
1603 cat >>confdefs.h <<_ACEOF
1604 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1605 _ACEOF
1608 # Let the site file select an alternate cache file if it wants to.
1609 # Prefer explicitly selected file to automatically selected ones.
1610 if test -n "$CONFIG_SITE"; then
1611 set x "$CONFIG_SITE"
1612 elif test "x$prefix" != xNONE; then
1613 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1614 else
1615 set x "$ac_default_prefix/share/config.site" \
1616 "$ac_default_prefix/etc/config.site"
1618 shift
1619 for ac_site_file
1621 if test -r "$ac_site_file"; then
1622 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1623 echo "$as_me: loading site script $ac_site_file" >&6;}
1624 sed 's/^/| /' "$ac_site_file" >&5
1625 . "$ac_site_file"
1627 done
1629 if test -r "$cache_file"; then
1630 # Some versions of bash will fail to source /dev/null (special
1631 # files actually), so we avoid doing that.
1632 if test -f "$cache_file"; then
1633 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1634 echo "$as_me: loading cache $cache_file" >&6;}
1635 case $cache_file in
1636 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1637 *) . "./$cache_file";;
1638 esac
1640 else
1641 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1642 echo "$as_me: creating cache $cache_file" >&6;}
1643 >$cache_file
1646 # Check that the precious variables saved in the cache have kept the same
1647 # value.
1648 ac_cache_corrupted=false
1649 for ac_var in $ac_precious_vars; do
1650 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1651 eval ac_new_set=\$ac_env_${ac_var}_set
1652 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1653 eval ac_new_val=\$ac_env_${ac_var}_value
1654 case $ac_old_set,$ac_new_set in
1655 set,)
1656 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1657 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1658 ac_cache_corrupted=: ;;
1659 ,set)
1660 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1661 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1662 ac_cache_corrupted=: ;;
1663 ,);;
1665 if test "x$ac_old_val" != "x$ac_new_val"; then
1666 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1667 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1668 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1669 echo "$as_me: former value: $ac_old_val" >&2;}
1670 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1671 echo "$as_me: current value: $ac_new_val" >&2;}
1672 ac_cache_corrupted=:
1673 fi;;
1674 esac
1675 # Pass precious variables to config.status.
1676 if test "$ac_new_set" = set; then
1677 case $ac_new_val in
1678 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1679 *) ac_arg=$ac_var=$ac_new_val ;;
1680 esac
1681 case " $ac_configure_args " in
1682 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1683 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1684 esac
1686 done
1687 if $ac_cache_corrupted; then
1688 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1689 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1690 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1691 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1692 { (exit 1); exit 1; }; }
1711 ac_ext=c
1712 ac_cpp='$CPP $CPPFLAGS'
1713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1714 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1719 OLDCFLAGS=$CFLAGS
1720 # Checks for programs.
1721 ac_ext=c
1722 ac_cpp='$CPP $CPPFLAGS'
1723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1726 if test -n "$ac_tool_prefix"; then
1727 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1728 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1729 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1730 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1731 if test "${ac_cv_prog_CC+set}" = set; then
1732 echo $ECHO_N "(cached) $ECHO_C" >&6
1733 else
1734 if test -n "$CC"; then
1735 ac_cv_prog_CC="$CC" # Let the user override the test.
1736 else
1737 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1738 for as_dir in $PATH
1740 IFS=$as_save_IFS
1741 test -z "$as_dir" && as_dir=.
1742 for ac_exec_ext in '' $ac_executable_extensions; do
1743 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1744 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1745 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1746 break 2
1748 done
1749 done
1750 IFS=$as_save_IFS
1754 CC=$ac_cv_prog_CC
1755 if test -n "$CC"; then
1756 { echo "$as_me:$LINENO: result: $CC" >&5
1757 echo "${ECHO_T}$CC" >&6; }
1758 else
1759 { echo "$as_me:$LINENO: result: no" >&5
1760 echo "${ECHO_T}no" >&6; }
1765 if test -z "$ac_cv_prog_CC"; then
1766 ac_ct_CC=$CC
1767 # Extract the first word of "gcc", so it can be a program name with args.
1768 set dummy gcc; ac_word=$2
1769 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1770 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1771 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1772 echo $ECHO_N "(cached) $ECHO_C" >&6
1773 else
1774 if test -n "$ac_ct_CC"; then
1775 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1776 else
1777 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1778 for as_dir in $PATH
1780 IFS=$as_save_IFS
1781 test -z "$as_dir" && as_dir=.
1782 for ac_exec_ext in '' $ac_executable_extensions; do
1783 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1784 ac_cv_prog_ac_ct_CC="gcc"
1785 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1786 break 2
1788 done
1789 done
1790 IFS=$as_save_IFS
1794 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1795 if test -n "$ac_ct_CC"; then
1796 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1797 echo "${ECHO_T}$ac_ct_CC" >&6; }
1798 else
1799 { echo "$as_me:$LINENO: result: no" >&5
1800 echo "${ECHO_T}no" >&6; }
1803 if test "x$ac_ct_CC" = x; then
1804 CC=""
1805 else
1806 case $cross_compiling:$ac_tool_warned in
1807 yes:)
1808 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
1809 whose name does not start with the host triplet. If you think this
1810 configuration is useful to you, please write to autoconf@gnu.org." >&5
1811 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
1812 whose name does not start with the host triplet. If you think this
1813 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
1814 ac_tool_warned=yes ;;
1815 esac
1816 CC=$ac_ct_CC
1818 else
1819 CC="$ac_cv_prog_CC"
1822 if test -z "$CC"; then
1823 if test -n "$ac_tool_prefix"; then
1824 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1825 set dummy ${ac_tool_prefix}cc; ac_word=$2
1826 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1827 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1828 if test "${ac_cv_prog_CC+set}" = set; then
1829 echo $ECHO_N "(cached) $ECHO_C" >&6
1830 else
1831 if test -n "$CC"; then
1832 ac_cv_prog_CC="$CC" # Let the user override the test.
1833 else
1834 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1835 for as_dir in $PATH
1837 IFS=$as_save_IFS
1838 test -z "$as_dir" && as_dir=.
1839 for ac_exec_ext in '' $ac_executable_extensions; do
1840 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1841 ac_cv_prog_CC="${ac_tool_prefix}cc"
1842 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1843 break 2
1845 done
1846 done
1847 IFS=$as_save_IFS
1851 CC=$ac_cv_prog_CC
1852 if test -n "$CC"; then
1853 { echo "$as_me:$LINENO: result: $CC" >&5
1854 echo "${ECHO_T}$CC" >&6; }
1855 else
1856 { echo "$as_me:$LINENO: result: no" >&5
1857 echo "${ECHO_T}no" >&6; }
1863 if test -z "$CC"; then
1864 # Extract the first word of "cc", so it can be a program name with args.
1865 set dummy cc; ac_word=$2
1866 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1867 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1868 if test "${ac_cv_prog_CC+set}" = set; then
1869 echo $ECHO_N "(cached) $ECHO_C" >&6
1870 else
1871 if test -n "$CC"; then
1872 ac_cv_prog_CC="$CC" # Let the user override the test.
1873 else
1874 ac_prog_rejected=no
1875 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1876 for as_dir in $PATH
1878 IFS=$as_save_IFS
1879 test -z "$as_dir" && as_dir=.
1880 for ac_exec_ext in '' $ac_executable_extensions; do
1881 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1882 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1883 ac_prog_rejected=yes
1884 continue
1886 ac_cv_prog_CC="cc"
1887 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1888 break 2
1890 done
1891 done
1892 IFS=$as_save_IFS
1894 if test $ac_prog_rejected = yes; then
1895 # We found a bogon in the path, so make sure we never use it.
1896 set dummy $ac_cv_prog_CC
1897 shift
1898 if test $# != 0; then
1899 # We chose a different compiler from the bogus one.
1900 # However, it has the same basename, so the bogon will be chosen
1901 # first if we set CC to just the basename; use the full file name.
1902 shift
1903 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1908 CC=$ac_cv_prog_CC
1909 if test -n "$CC"; then
1910 { echo "$as_me:$LINENO: result: $CC" >&5
1911 echo "${ECHO_T}$CC" >&6; }
1912 else
1913 { echo "$as_me:$LINENO: result: no" >&5
1914 echo "${ECHO_T}no" >&6; }
1919 if test -z "$CC"; then
1920 if test -n "$ac_tool_prefix"; then
1921 for ac_prog in cl.exe
1923 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1924 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1925 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1926 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1927 if test "${ac_cv_prog_CC+set}" = set; then
1928 echo $ECHO_N "(cached) $ECHO_C" >&6
1929 else
1930 if test -n "$CC"; then
1931 ac_cv_prog_CC="$CC" # Let the user override the test.
1932 else
1933 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1934 for as_dir in $PATH
1936 IFS=$as_save_IFS
1937 test -z "$as_dir" && as_dir=.
1938 for ac_exec_ext in '' $ac_executable_extensions; do
1939 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1940 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1941 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1942 break 2
1944 done
1945 done
1946 IFS=$as_save_IFS
1950 CC=$ac_cv_prog_CC
1951 if test -n "$CC"; then
1952 { echo "$as_me:$LINENO: result: $CC" >&5
1953 echo "${ECHO_T}$CC" >&6; }
1954 else
1955 { echo "$as_me:$LINENO: result: no" >&5
1956 echo "${ECHO_T}no" >&6; }
1960 test -n "$CC" && break
1961 done
1963 if test -z "$CC"; then
1964 ac_ct_CC=$CC
1965 for ac_prog in cl.exe
1967 # Extract the first word of "$ac_prog", so it can be a program name with args.
1968 set dummy $ac_prog; ac_word=$2
1969 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1970 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1971 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1972 echo $ECHO_N "(cached) $ECHO_C" >&6
1973 else
1974 if test -n "$ac_ct_CC"; then
1975 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1976 else
1977 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1978 for as_dir in $PATH
1980 IFS=$as_save_IFS
1981 test -z "$as_dir" && as_dir=.
1982 for ac_exec_ext in '' $ac_executable_extensions; do
1983 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1984 ac_cv_prog_ac_ct_CC="$ac_prog"
1985 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1986 break 2
1988 done
1989 done
1990 IFS=$as_save_IFS
1994 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1995 if test -n "$ac_ct_CC"; then
1996 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1997 echo "${ECHO_T}$ac_ct_CC" >&6; }
1998 else
1999 { echo "$as_me:$LINENO: result: no" >&5
2000 echo "${ECHO_T}no" >&6; }
2004 test -n "$ac_ct_CC" && break
2005 done
2007 if test "x$ac_ct_CC" = x; then
2008 CC=""
2009 else
2010 case $cross_compiling:$ac_tool_warned in
2011 yes:)
2012 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2013 whose name does not start with the host triplet. If you think this
2014 configuration is useful to you, please write to autoconf@gnu.org." >&5
2015 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2016 whose name does not start with the host triplet. If you think this
2017 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2018 ac_tool_warned=yes ;;
2019 esac
2020 CC=$ac_ct_CC
2027 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2028 See \`config.log' for more details." >&5
2029 echo "$as_me: error: no acceptable C compiler found in \$PATH
2030 See \`config.log' for more details." >&2;}
2031 { (exit 1); exit 1; }; }
2033 # Provide some information about the compiler.
2034 echo "$as_me:$LINENO: checking for C compiler version" >&5
2035 ac_compiler=`set X $ac_compile; echo $2`
2036 { (ac_try="$ac_compiler --version >&5"
2037 case "(($ac_try" in
2038 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2039 *) ac_try_echo=$ac_try;;
2040 esac
2041 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2042 (eval "$ac_compiler --version >&5") 2>&5
2043 ac_status=$?
2044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2045 (exit $ac_status); }
2046 { (ac_try="$ac_compiler -v >&5"
2047 case "(($ac_try" in
2048 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2049 *) ac_try_echo=$ac_try;;
2050 esac
2051 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2052 (eval "$ac_compiler -v >&5") 2>&5
2053 ac_status=$?
2054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2055 (exit $ac_status); }
2056 { (ac_try="$ac_compiler -V >&5"
2057 case "(($ac_try" in
2058 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2059 *) ac_try_echo=$ac_try;;
2060 esac
2061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2062 (eval "$ac_compiler -V >&5") 2>&5
2063 ac_status=$?
2064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2065 (exit $ac_status); }
2067 cat >conftest.$ac_ext <<_ACEOF
2068 /* confdefs.h. */
2069 _ACEOF
2070 cat confdefs.h >>conftest.$ac_ext
2071 cat >>conftest.$ac_ext <<_ACEOF
2072 /* end confdefs.h. */
2075 main ()
2079 return 0;
2081 _ACEOF
2082 ac_clean_files_save=$ac_clean_files
2083 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2084 # Try to create an executable without -o first, disregard a.out.
2085 # It will help us diagnose broken compilers, and finding out an intuition
2086 # of exeext.
2087 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2088 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2089 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2091 # List of possible output files, starting from the most likely.
2092 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2093 # only as a last resort. b.out is created by i960 compilers.
2094 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2096 # The IRIX 6 linker writes into existing files which may not be
2097 # executable, retaining their permissions. Remove them first so a
2098 # subsequent execution test works.
2099 ac_rmfiles=
2100 for ac_file in $ac_files
2102 case $ac_file in
2103 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2104 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2105 esac
2106 done
2107 rm -f $ac_rmfiles
2109 if { (ac_try="$ac_link_default"
2110 case "(($ac_try" in
2111 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2112 *) ac_try_echo=$ac_try;;
2113 esac
2114 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2115 (eval "$ac_link_default") 2>&5
2116 ac_status=$?
2117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2118 (exit $ac_status); }; then
2119 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2120 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2121 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2122 # so that the user can short-circuit this test for compilers unknown to
2123 # Autoconf.
2124 for ac_file in $ac_files ''
2126 test -f "$ac_file" || continue
2127 case $ac_file in
2128 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2130 [ab].out )
2131 # We found the default executable, but exeext='' is most
2132 # certainly right.
2133 break;;
2134 *.* )
2135 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2136 then :; else
2137 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2139 # We set ac_cv_exeext here because the later test for it is not
2140 # safe: cross compilers may not add the suffix if given an `-o'
2141 # argument, so we may need to know it at that point already.
2142 # Even if this section looks crufty: it has the advantage of
2143 # actually working.
2144 break;;
2146 break;;
2147 esac
2148 done
2149 test "$ac_cv_exeext" = no && ac_cv_exeext=
2151 else
2152 ac_file=''
2155 { echo "$as_me:$LINENO: result: $ac_file" >&5
2156 echo "${ECHO_T}$ac_file" >&6; }
2157 if test -z "$ac_file"; then
2158 echo "$as_me: failed program was:" >&5
2159 sed 's/^/| /' conftest.$ac_ext >&5
2161 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2162 See \`config.log' for more details." >&5
2163 echo "$as_me: error: C compiler cannot create executables
2164 See \`config.log' for more details." >&2;}
2165 { (exit 77); exit 77; }; }
2168 ac_exeext=$ac_cv_exeext
2170 # Check that the compiler produces executables we can run. If not, either
2171 # the compiler is broken, or we cross compile.
2172 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2173 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2174 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2175 # If not cross compiling, check that we can run a simple program.
2176 if test "$cross_compiling" != yes; then
2177 if { ac_try='./$ac_file'
2178 { (case "(($ac_try" in
2179 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2180 *) ac_try_echo=$ac_try;;
2181 esac
2182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2183 (eval "$ac_try") 2>&5
2184 ac_status=$?
2185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2186 (exit $ac_status); }; }; then
2187 cross_compiling=no
2188 else
2189 if test "$cross_compiling" = maybe; then
2190 cross_compiling=yes
2191 else
2192 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2193 If you meant to cross compile, use \`--host'.
2194 See \`config.log' for more details." >&5
2195 echo "$as_me: error: cannot run C compiled programs.
2196 If you meant to cross compile, use \`--host'.
2197 See \`config.log' for more details." >&2;}
2198 { (exit 1); exit 1; }; }
2202 { echo "$as_me:$LINENO: result: yes" >&5
2203 echo "${ECHO_T}yes" >&6; }
2205 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2206 ac_clean_files=$ac_clean_files_save
2207 # Check that the compiler produces executables we can run. If not, either
2208 # the compiler is broken, or we cross compile.
2209 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2210 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2211 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2212 echo "${ECHO_T}$cross_compiling" >&6; }
2214 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2215 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2216 if { (ac_try="$ac_link"
2217 case "(($ac_try" in
2218 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2219 *) ac_try_echo=$ac_try;;
2220 esac
2221 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2222 (eval "$ac_link") 2>&5
2223 ac_status=$?
2224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2225 (exit $ac_status); }; then
2226 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2227 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2228 # work properly (i.e., refer to `conftest.exe'), while it won't with
2229 # `rm'.
2230 for ac_file in conftest.exe conftest conftest.*; do
2231 test -f "$ac_file" || continue
2232 case $ac_file in
2233 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2234 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2235 break;;
2236 * ) break;;
2237 esac
2238 done
2239 else
2240 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2241 See \`config.log' for more details." >&5
2242 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2243 See \`config.log' for more details." >&2;}
2244 { (exit 1); exit 1; }; }
2247 rm -f conftest$ac_cv_exeext
2248 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2249 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2251 rm -f conftest.$ac_ext
2252 EXEEXT=$ac_cv_exeext
2253 ac_exeext=$EXEEXT
2254 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2255 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2256 if test "${ac_cv_objext+set}" = set; then
2257 echo $ECHO_N "(cached) $ECHO_C" >&6
2258 else
2259 cat >conftest.$ac_ext <<_ACEOF
2260 /* confdefs.h. */
2261 _ACEOF
2262 cat confdefs.h >>conftest.$ac_ext
2263 cat >>conftest.$ac_ext <<_ACEOF
2264 /* end confdefs.h. */
2267 main ()
2271 return 0;
2273 _ACEOF
2274 rm -f conftest.o conftest.obj
2275 if { (ac_try="$ac_compile"
2276 case "(($ac_try" in
2277 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2278 *) ac_try_echo=$ac_try;;
2279 esac
2280 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2281 (eval "$ac_compile") 2>&5
2282 ac_status=$?
2283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2284 (exit $ac_status); }; then
2285 for ac_file in conftest.o conftest.obj conftest.*; do
2286 test -f "$ac_file" || continue;
2287 case $ac_file in
2288 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2289 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2290 break;;
2291 esac
2292 done
2293 else
2294 echo "$as_me: failed program was:" >&5
2295 sed 's/^/| /' conftest.$ac_ext >&5
2297 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2298 See \`config.log' for more details." >&5
2299 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2300 See \`config.log' for more details." >&2;}
2301 { (exit 1); exit 1; }; }
2304 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2306 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2307 echo "${ECHO_T}$ac_cv_objext" >&6; }
2308 OBJEXT=$ac_cv_objext
2309 ac_objext=$OBJEXT
2310 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2311 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2312 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2313 echo $ECHO_N "(cached) $ECHO_C" >&6
2314 else
2315 cat >conftest.$ac_ext <<_ACEOF
2316 /* confdefs.h. */
2317 _ACEOF
2318 cat confdefs.h >>conftest.$ac_ext
2319 cat >>conftest.$ac_ext <<_ACEOF
2320 /* end confdefs.h. */
2323 main ()
2325 #ifndef __GNUC__
2326 choke me
2327 #endif
2330 return 0;
2332 _ACEOF
2333 rm -f conftest.$ac_objext
2334 if { (ac_try="$ac_compile"
2335 case "(($ac_try" in
2336 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2337 *) ac_try_echo=$ac_try;;
2338 esac
2339 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2340 (eval "$ac_compile") 2>conftest.er1
2341 ac_status=$?
2342 grep -v '^ *+' conftest.er1 >conftest.err
2343 rm -f conftest.er1
2344 cat conftest.err >&5
2345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2346 (exit $ac_status); } && {
2347 test -z "$ac_c_werror_flag" ||
2348 test ! -s conftest.err
2349 } && test -s conftest.$ac_objext; then
2350 ac_compiler_gnu=yes
2351 else
2352 echo "$as_me: failed program was:" >&5
2353 sed 's/^/| /' conftest.$ac_ext >&5
2355 ac_compiler_gnu=no
2358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2359 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2362 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2363 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2364 GCC=`test $ac_compiler_gnu = yes && echo yes`
2365 ac_test_CFLAGS=${CFLAGS+set}
2366 ac_save_CFLAGS=$CFLAGS
2367 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2368 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2369 if test "${ac_cv_prog_cc_g+set}" = set; then
2370 echo $ECHO_N "(cached) $ECHO_C" >&6
2371 else
2372 ac_save_c_werror_flag=$ac_c_werror_flag
2373 ac_c_werror_flag=yes
2374 ac_cv_prog_cc_g=no
2375 CFLAGS="-g"
2376 cat >conftest.$ac_ext <<_ACEOF
2377 /* confdefs.h. */
2378 _ACEOF
2379 cat confdefs.h >>conftest.$ac_ext
2380 cat >>conftest.$ac_ext <<_ACEOF
2381 /* end confdefs.h. */
2384 main ()
2388 return 0;
2390 _ACEOF
2391 rm -f conftest.$ac_objext
2392 if { (ac_try="$ac_compile"
2393 case "(($ac_try" in
2394 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2395 *) ac_try_echo=$ac_try;;
2396 esac
2397 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2398 (eval "$ac_compile") 2>conftest.er1
2399 ac_status=$?
2400 grep -v '^ *+' conftest.er1 >conftest.err
2401 rm -f conftest.er1
2402 cat conftest.err >&5
2403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2404 (exit $ac_status); } && {
2405 test -z "$ac_c_werror_flag" ||
2406 test ! -s conftest.err
2407 } && test -s conftest.$ac_objext; then
2408 ac_cv_prog_cc_g=yes
2409 else
2410 echo "$as_me: failed program was:" >&5
2411 sed 's/^/| /' conftest.$ac_ext >&5
2413 CFLAGS=""
2414 cat >conftest.$ac_ext <<_ACEOF
2415 /* confdefs.h. */
2416 _ACEOF
2417 cat confdefs.h >>conftest.$ac_ext
2418 cat >>conftest.$ac_ext <<_ACEOF
2419 /* end confdefs.h. */
2422 main ()
2426 return 0;
2428 _ACEOF
2429 rm -f conftest.$ac_objext
2430 if { (ac_try="$ac_compile"
2431 case "(($ac_try" in
2432 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2433 *) ac_try_echo=$ac_try;;
2434 esac
2435 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2436 (eval "$ac_compile") 2>conftest.er1
2437 ac_status=$?
2438 grep -v '^ *+' conftest.er1 >conftest.err
2439 rm -f conftest.er1
2440 cat conftest.err >&5
2441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2442 (exit $ac_status); } && {
2443 test -z "$ac_c_werror_flag" ||
2444 test ! -s conftest.err
2445 } && test -s conftest.$ac_objext; then
2447 else
2448 echo "$as_me: failed program was:" >&5
2449 sed 's/^/| /' conftest.$ac_ext >&5
2451 ac_c_werror_flag=$ac_save_c_werror_flag
2452 CFLAGS="-g"
2453 cat >conftest.$ac_ext <<_ACEOF
2454 /* confdefs.h. */
2455 _ACEOF
2456 cat confdefs.h >>conftest.$ac_ext
2457 cat >>conftest.$ac_ext <<_ACEOF
2458 /* end confdefs.h. */
2461 main ()
2465 return 0;
2467 _ACEOF
2468 rm -f conftest.$ac_objext
2469 if { (ac_try="$ac_compile"
2470 case "(($ac_try" in
2471 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2472 *) ac_try_echo=$ac_try;;
2473 esac
2474 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2475 (eval "$ac_compile") 2>conftest.er1
2476 ac_status=$?
2477 grep -v '^ *+' conftest.er1 >conftest.err
2478 rm -f conftest.er1
2479 cat conftest.err >&5
2480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2481 (exit $ac_status); } && {
2482 test -z "$ac_c_werror_flag" ||
2483 test ! -s conftest.err
2484 } && test -s conftest.$ac_objext; then
2485 ac_cv_prog_cc_g=yes
2486 else
2487 echo "$as_me: failed program was:" >&5
2488 sed 's/^/| /' conftest.$ac_ext >&5
2493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2500 ac_c_werror_flag=$ac_save_c_werror_flag
2502 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2503 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2504 if test "$ac_test_CFLAGS" = set; then
2505 CFLAGS=$ac_save_CFLAGS
2506 elif test $ac_cv_prog_cc_g = yes; then
2507 if test "$GCC" = yes; then
2508 CFLAGS="-g -O2"
2509 else
2510 CFLAGS="-g"
2512 else
2513 if test "$GCC" = yes; then
2514 CFLAGS="-O2"
2515 else
2516 CFLAGS=
2519 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2520 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2521 if test "${ac_cv_prog_cc_c89+set}" = set; then
2522 echo $ECHO_N "(cached) $ECHO_C" >&6
2523 else
2524 ac_cv_prog_cc_c89=no
2525 ac_save_CC=$CC
2526 cat >conftest.$ac_ext <<_ACEOF
2527 /* confdefs.h. */
2528 _ACEOF
2529 cat confdefs.h >>conftest.$ac_ext
2530 cat >>conftest.$ac_ext <<_ACEOF
2531 /* end confdefs.h. */
2532 #include <stdarg.h>
2533 #include <stdio.h>
2534 #include <sys/types.h>
2535 #include <sys/stat.h>
2536 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2537 struct buf { int x; };
2538 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2539 static char *e (p, i)
2540 char **p;
2541 int i;
2543 return p[i];
2545 static char *f (char * (*g) (char **, int), char **p, ...)
2547 char *s;
2548 va_list v;
2549 va_start (v,p);
2550 s = g (p, va_arg (v,int));
2551 va_end (v);
2552 return s;
2555 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2556 function prototypes and stuff, but not '\xHH' hex character constants.
2557 These don't provoke an error unfortunately, instead are silently treated
2558 as 'x'. The following induces an error, until -std is added to get
2559 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2560 array size at least. It's necessary to write '\x00'==0 to get something
2561 that's true only with -std. */
2562 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2564 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2565 inside strings and character constants. */
2566 #define FOO(x) 'x'
2567 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2569 int test (int i, double x);
2570 struct s1 {int (*f) (int a);};
2571 struct s2 {int (*f) (double a);};
2572 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2573 int argc;
2574 char **argv;
2576 main ()
2578 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2580 return 0;
2582 _ACEOF
2583 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2584 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2586 CC="$ac_save_CC $ac_arg"
2587 rm -f conftest.$ac_objext
2588 if { (ac_try="$ac_compile"
2589 case "(($ac_try" in
2590 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2591 *) ac_try_echo=$ac_try;;
2592 esac
2593 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2594 (eval "$ac_compile") 2>conftest.er1
2595 ac_status=$?
2596 grep -v '^ *+' conftest.er1 >conftest.err
2597 rm -f conftest.er1
2598 cat conftest.err >&5
2599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2600 (exit $ac_status); } && {
2601 test -z "$ac_c_werror_flag" ||
2602 test ! -s conftest.err
2603 } && test -s conftest.$ac_objext; then
2604 ac_cv_prog_cc_c89=$ac_arg
2605 else
2606 echo "$as_me: failed program was:" >&5
2607 sed 's/^/| /' conftest.$ac_ext >&5
2612 rm -f core conftest.err conftest.$ac_objext
2613 test "x$ac_cv_prog_cc_c89" != "xno" && break
2614 done
2615 rm -f conftest.$ac_ext
2616 CC=$ac_save_CC
2619 # AC_CACHE_VAL
2620 case "x$ac_cv_prog_cc_c89" in
2622 { echo "$as_me:$LINENO: result: none needed" >&5
2623 echo "${ECHO_T}none needed" >&6; } ;;
2624 xno)
2625 { echo "$as_me:$LINENO: result: unsupported" >&5
2626 echo "${ECHO_T}unsupported" >&6; } ;;
2628 CC="$CC $ac_cv_prog_cc_c89"
2629 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2630 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2631 esac
2634 ac_ext=c
2635 ac_cpp='$CPP $CPPFLAGS'
2636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2640 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2641 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2642 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2643 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2644 echo $ECHO_N "(cached) $ECHO_C" >&6
2645 else
2646 cat >conftest.make <<\_ACEOF
2647 SHELL = /bin/sh
2648 all:
2649 @echo '@@@%%%=$(MAKE)=@@@%%%'
2650 _ACEOF
2651 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2652 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2653 *@@@%%%=?*=@@@%%%*)
2654 eval ac_cv_prog_make_${ac_make}_set=yes;;
2656 eval ac_cv_prog_make_${ac_make}_set=no;;
2657 esac
2658 rm -f conftest.make
2660 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2661 { echo "$as_me:$LINENO: result: yes" >&5
2662 echo "${ECHO_T}yes" >&6; }
2663 SET_MAKE=
2664 else
2665 { echo "$as_me:$LINENO: result: no" >&5
2666 echo "${ECHO_T}no" >&6; }
2667 SET_MAKE="MAKE=${MAKE-make}"
2671 if test -z "$LD" ; then
2672 LD=$CC
2676 if test -z "$OLDCFLAGS" && test "$GCC" = "yes"; then
2677 { echo "$as_me:$LINENO: No \$CFLAGS set... using \"-Os -W -Wall\" for GCC" >&5
2678 echo "$as_me: No \$CFLAGS set... using \"-Os -W -Wall\" for GCC" >&6;}
2679 CFLAGS="-Os -W -Wall"
2682 # large file support is useful for scp
2684 # Check whether --enable-largefile was given.
2685 if test "${enable_largefile+set}" = set; then
2686 enableval=$enable_largefile;
2689 if test "$enable_largefile" != no; then
2691 { echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5
2692 echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6; }
2693 if test "${ac_cv_sys_largefile_CC+set}" = set; then
2694 echo $ECHO_N "(cached) $ECHO_C" >&6
2695 else
2696 ac_cv_sys_largefile_CC=no
2697 if test "$GCC" != yes; then
2698 ac_save_CC=$CC
2699 while :; do
2700 # IRIX 6.2 and later do not support large files by default,
2701 # so use the C compiler's -n32 option if that helps.
2702 cat >conftest.$ac_ext <<_ACEOF
2703 /* confdefs.h. */
2704 _ACEOF
2705 cat confdefs.h >>conftest.$ac_ext
2706 cat >>conftest.$ac_ext <<_ACEOF
2707 /* end confdefs.h. */
2708 #include <sys/types.h>
2709 /* Check that off_t can represent 2**63 - 1 correctly.
2710 We can't simply define LARGE_OFF_T to be 9223372036854775807,
2711 since some C++ compilers masquerading as C compilers
2712 incorrectly reject 9223372036854775807. */
2713 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
2714 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
2715 && LARGE_OFF_T % 2147483647 == 1)
2716 ? 1 : -1];
2718 main ()
2722 return 0;
2724 _ACEOF
2725 rm -f conftest.$ac_objext
2726 if { (ac_try="$ac_compile"
2727 case "(($ac_try" in
2728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2729 *) ac_try_echo=$ac_try;;
2730 esac
2731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2732 (eval "$ac_compile") 2>conftest.er1
2733 ac_status=$?
2734 grep -v '^ *+' conftest.er1 >conftest.err
2735 rm -f conftest.er1
2736 cat conftest.err >&5
2737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2738 (exit $ac_status); } && {
2739 test -z "$ac_c_werror_flag" ||
2740 test ! -s conftest.err
2741 } && test -s conftest.$ac_objext; then
2742 break
2743 else
2744 echo "$as_me: failed program was:" >&5
2745 sed 's/^/| /' conftest.$ac_ext >&5
2750 rm -f core conftest.err conftest.$ac_objext
2751 CC="$CC -n32"
2752 rm -f conftest.$ac_objext
2753 if { (ac_try="$ac_compile"
2754 case "(($ac_try" in
2755 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2756 *) ac_try_echo=$ac_try;;
2757 esac
2758 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2759 (eval "$ac_compile") 2>conftest.er1
2760 ac_status=$?
2761 grep -v '^ *+' conftest.er1 >conftest.err
2762 rm -f conftest.er1
2763 cat conftest.err >&5
2764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2765 (exit $ac_status); } && {
2766 test -z "$ac_c_werror_flag" ||
2767 test ! -s conftest.err
2768 } && test -s conftest.$ac_objext; then
2769 ac_cv_sys_largefile_CC=' -n32'; break
2770 else
2771 echo "$as_me: failed program was:" >&5
2772 sed 's/^/| /' conftest.$ac_ext >&5
2777 rm -f core conftest.err conftest.$ac_objext
2778 break
2779 done
2780 CC=$ac_save_CC
2781 rm -f conftest.$ac_ext
2784 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5
2785 echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6; }
2786 if test "$ac_cv_sys_largefile_CC" != no; then
2787 CC=$CC$ac_cv_sys_largefile_CC
2790 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
2791 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
2792 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
2793 echo $ECHO_N "(cached) $ECHO_C" >&6
2794 else
2795 while :; do
2796 cat >conftest.$ac_ext <<_ACEOF
2797 /* confdefs.h. */
2798 _ACEOF
2799 cat confdefs.h >>conftest.$ac_ext
2800 cat >>conftest.$ac_ext <<_ACEOF
2801 /* end confdefs.h. */
2802 #include <sys/types.h>
2803 /* Check that off_t can represent 2**63 - 1 correctly.
2804 We can't simply define LARGE_OFF_T to be 9223372036854775807,
2805 since some C++ compilers masquerading as C compilers
2806 incorrectly reject 9223372036854775807. */
2807 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
2808 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
2809 && LARGE_OFF_T % 2147483647 == 1)
2810 ? 1 : -1];
2812 main ()
2816 return 0;
2818 _ACEOF
2819 rm -f conftest.$ac_objext
2820 if { (ac_try="$ac_compile"
2821 case "(($ac_try" in
2822 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2823 *) ac_try_echo=$ac_try;;
2824 esac
2825 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2826 (eval "$ac_compile") 2>conftest.er1
2827 ac_status=$?
2828 grep -v '^ *+' conftest.er1 >conftest.err
2829 rm -f conftest.er1
2830 cat conftest.err >&5
2831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2832 (exit $ac_status); } && {
2833 test -z "$ac_c_werror_flag" ||
2834 test ! -s conftest.err
2835 } && test -s conftest.$ac_objext; then
2836 ac_cv_sys_file_offset_bits=no; break
2837 else
2838 echo "$as_me: failed program was:" >&5
2839 sed 's/^/| /' conftest.$ac_ext >&5
2844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2845 cat >conftest.$ac_ext <<_ACEOF
2846 /* confdefs.h. */
2847 _ACEOF
2848 cat confdefs.h >>conftest.$ac_ext
2849 cat >>conftest.$ac_ext <<_ACEOF
2850 /* end confdefs.h. */
2851 #define _FILE_OFFSET_BITS 64
2852 #include <sys/types.h>
2853 /* Check that off_t can represent 2**63 - 1 correctly.
2854 We can't simply define LARGE_OFF_T to be 9223372036854775807,
2855 since some C++ compilers masquerading as C compilers
2856 incorrectly reject 9223372036854775807. */
2857 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
2858 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
2859 && LARGE_OFF_T % 2147483647 == 1)
2860 ? 1 : -1];
2862 main ()
2866 return 0;
2868 _ACEOF
2869 rm -f conftest.$ac_objext
2870 if { (ac_try="$ac_compile"
2871 case "(($ac_try" in
2872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2873 *) ac_try_echo=$ac_try;;
2874 esac
2875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2876 (eval "$ac_compile") 2>conftest.er1
2877 ac_status=$?
2878 grep -v '^ *+' conftest.er1 >conftest.err
2879 rm -f conftest.er1
2880 cat conftest.err >&5
2881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2882 (exit $ac_status); } && {
2883 test -z "$ac_c_werror_flag" ||
2884 test ! -s conftest.err
2885 } && test -s conftest.$ac_objext; then
2886 ac_cv_sys_file_offset_bits=64; break
2887 else
2888 echo "$as_me: failed program was:" >&5
2889 sed 's/^/| /' conftest.$ac_ext >&5
2894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2895 ac_cv_sys_file_offset_bits=unknown
2896 break
2897 done
2899 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
2900 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
2901 case $ac_cv_sys_file_offset_bits in #(
2902 no | unknown) ;;
2904 cat >>confdefs.h <<_ACEOF
2905 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
2906 _ACEOF
2908 esac
2909 rm -f -r conftest*
2910 if test $ac_cv_sys_file_offset_bits = unknown; then
2911 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
2912 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
2913 if test "${ac_cv_sys_large_files+set}" = set; then
2914 echo $ECHO_N "(cached) $ECHO_C" >&6
2915 else
2916 while :; do
2917 cat >conftest.$ac_ext <<_ACEOF
2918 /* confdefs.h. */
2919 _ACEOF
2920 cat confdefs.h >>conftest.$ac_ext
2921 cat >>conftest.$ac_ext <<_ACEOF
2922 /* end confdefs.h. */
2923 #include <sys/types.h>
2924 /* Check that off_t can represent 2**63 - 1 correctly.
2925 We can't simply define LARGE_OFF_T to be 9223372036854775807,
2926 since some C++ compilers masquerading as C compilers
2927 incorrectly reject 9223372036854775807. */
2928 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
2929 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
2930 && LARGE_OFF_T % 2147483647 == 1)
2931 ? 1 : -1];
2933 main ()
2937 return 0;
2939 _ACEOF
2940 rm -f conftest.$ac_objext
2941 if { (ac_try="$ac_compile"
2942 case "(($ac_try" in
2943 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2944 *) ac_try_echo=$ac_try;;
2945 esac
2946 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2947 (eval "$ac_compile") 2>conftest.er1
2948 ac_status=$?
2949 grep -v '^ *+' conftest.er1 >conftest.err
2950 rm -f conftest.er1
2951 cat conftest.err >&5
2952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2953 (exit $ac_status); } && {
2954 test -z "$ac_c_werror_flag" ||
2955 test ! -s conftest.err
2956 } && test -s conftest.$ac_objext; then
2957 ac_cv_sys_large_files=no; break
2958 else
2959 echo "$as_me: failed program was:" >&5
2960 sed 's/^/| /' conftest.$ac_ext >&5
2965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2966 cat >conftest.$ac_ext <<_ACEOF
2967 /* confdefs.h. */
2968 _ACEOF
2969 cat confdefs.h >>conftest.$ac_ext
2970 cat >>conftest.$ac_ext <<_ACEOF
2971 /* end confdefs.h. */
2972 #define _LARGE_FILES 1
2973 #include <sys/types.h>
2974 /* Check that off_t can represent 2**63 - 1 correctly.
2975 We can't simply define LARGE_OFF_T to be 9223372036854775807,
2976 since some C++ compilers masquerading as C compilers
2977 incorrectly reject 9223372036854775807. */
2978 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
2979 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
2980 && LARGE_OFF_T % 2147483647 == 1)
2981 ? 1 : -1];
2983 main ()
2987 return 0;
2989 _ACEOF
2990 rm -f conftest.$ac_objext
2991 if { (ac_try="$ac_compile"
2992 case "(($ac_try" in
2993 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2994 *) ac_try_echo=$ac_try;;
2995 esac
2996 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2997 (eval "$ac_compile") 2>conftest.er1
2998 ac_status=$?
2999 grep -v '^ *+' conftest.er1 >conftest.err
3000 rm -f conftest.er1
3001 cat conftest.err >&5
3002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3003 (exit $ac_status); } && {
3004 test -z "$ac_c_werror_flag" ||
3005 test ! -s conftest.err
3006 } && test -s conftest.$ac_objext; then
3007 ac_cv_sys_large_files=1; break
3008 else
3009 echo "$as_me: failed program was:" >&5
3010 sed 's/^/| /' conftest.$ac_ext >&5
3015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3016 ac_cv_sys_large_files=unknown
3017 break
3018 done
3020 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
3021 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
3022 case $ac_cv_sys_large_files in #(
3023 no | unknown) ;;
3025 cat >>confdefs.h <<_ACEOF
3026 #define _LARGE_FILES $ac_cv_sys_large_files
3027 _ACEOF
3029 esac
3030 rm -f -r conftest*
3035 # Host specific options
3036 # this isn't a definitive list of hosts, they are just added as required
3037 ac_aux_dir=
3038 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3039 if test -f "$ac_dir/install-sh"; then
3040 ac_aux_dir=$ac_dir
3041 ac_install_sh="$ac_aux_dir/install-sh -c"
3042 break
3043 elif test -f "$ac_dir/install.sh"; then
3044 ac_aux_dir=$ac_dir
3045 ac_install_sh="$ac_aux_dir/install.sh -c"
3046 break
3047 elif test -f "$ac_dir/shtool"; then
3048 ac_aux_dir=$ac_dir
3049 ac_install_sh="$ac_aux_dir/shtool install -c"
3050 break
3052 done
3053 if test -z "$ac_aux_dir"; then
3054 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
3055 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
3056 { (exit 1); exit 1; }; }
3059 # These three variables are undocumented and unsupported,
3060 # and are intended to be withdrawn in a future Autoconf release.
3061 # They can cause serious problems if a builder's source tree is in a directory
3062 # whose full name contains unusual characters.
3063 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3064 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3065 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3068 # Make sure we can run config.sub.
3069 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3070 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
3071 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
3072 { (exit 1); exit 1; }; }
3074 { echo "$as_me:$LINENO: checking build system type" >&5
3075 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
3076 if test "${ac_cv_build+set}" = set; then
3077 echo $ECHO_N "(cached) $ECHO_C" >&6
3078 else
3079 ac_build_alias=$build_alias
3080 test "x$ac_build_alias" = x &&
3081 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3082 test "x$ac_build_alias" = x &&
3083 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
3084 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
3085 { (exit 1); exit 1; }; }
3086 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3087 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
3088 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
3089 { (exit 1); exit 1; }; }
3092 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
3093 echo "${ECHO_T}$ac_cv_build" >&6; }
3094 case $ac_cv_build in
3095 *-*-*) ;;
3096 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
3097 echo "$as_me: error: invalid value of canonical build" >&2;}
3098 { (exit 1); exit 1; }; };;
3099 esac
3100 build=$ac_cv_build
3101 ac_save_IFS=$IFS; IFS='-'
3102 set x $ac_cv_build
3103 shift
3104 build_cpu=$1
3105 build_vendor=$2
3106 shift; shift
3107 # Remember, the first character of IFS is used to create $*,
3108 # except with old shells:
3109 build_os=$*
3110 IFS=$ac_save_IFS
3111 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3114 { echo "$as_me:$LINENO: checking host system type" >&5
3115 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
3116 if test "${ac_cv_host+set}" = set; then
3117 echo $ECHO_N "(cached) $ECHO_C" >&6
3118 else
3119 if test "x$host_alias" = x; then
3120 ac_cv_host=$ac_cv_build
3121 else
3122 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3123 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
3124 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
3125 { (exit 1); exit 1; }; }
3129 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
3130 echo "${ECHO_T}$ac_cv_host" >&6; }
3131 case $ac_cv_host in
3132 *-*-*) ;;
3133 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
3134 echo "$as_me: error: invalid value of canonical host" >&2;}
3135 { (exit 1); exit 1; }; };;
3136 esac
3137 host=$ac_cv_host
3138 ac_save_IFS=$IFS; IFS='-'
3139 set x $ac_cv_host
3140 shift
3141 host_cpu=$1
3142 host_vendor=$2
3143 shift; shift
3144 # Remember, the first character of IFS is used to create $*,
3145 # except with old shells:
3146 host_os=$*
3147 IFS=$ac_save_IFS
3148 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3152 case "$host" in
3154 *-*-linux*)
3155 no_ptmx_check=1
3158 *-*-solaris*)
3159 CFLAGS="$CFLAGS -I/usr/local/include"
3160 LDFLAGS="$LDFLAGS -L/usr/local/lib -R/usr/local/lib"
3161 conf_lastlog_location="/var/adm/lastlog"
3162 { echo "$as_me:$LINENO: checking for obsolete utmp and wtmp in solaris2.x" >&5
3163 echo $ECHO_N "checking for obsolete utmp and wtmp in solaris2.x... $ECHO_C" >&6; }
3164 sol2ver=`echo "$host"| sed -e 's/.*[0-9]\.//'`
3165 if test "$sol2ver" -ge 8; then
3166 { echo "$as_me:$LINENO: result: yes" >&5
3167 echo "${ECHO_T}yes" >&6; }
3169 cat >>confdefs.h <<\_ACEOF
3170 #define DISABLE_UTMP
3171 _ACEOF
3174 cat >>confdefs.h <<\_ACEOF
3175 #define DISABLE_WTMP
3176 _ACEOF
3178 else
3179 { echo "$as_me:$LINENO: result: no" >&5
3180 echo "${ECHO_T}no" >&6; }
3182 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
3183 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
3184 if test "${ac_cv_lib_socket_socket+set}" = set; then
3185 echo $ECHO_N "(cached) $ECHO_C" >&6
3186 else
3187 ac_check_lib_save_LIBS=$LIBS
3188 LIBS="-lsocket $LIBS"
3189 cat >conftest.$ac_ext <<_ACEOF
3190 /* confdefs.h. */
3191 _ACEOF
3192 cat confdefs.h >>conftest.$ac_ext
3193 cat >>conftest.$ac_ext <<_ACEOF
3194 /* end confdefs.h. */
3196 /* Override any GCC internal prototype to avoid an error.
3197 Use char because int might match the return type of a GCC
3198 builtin and then its argument prototype would still apply. */
3199 #ifdef __cplusplus
3200 extern "C"
3201 #endif
3202 char socket ();
3204 main ()
3206 return socket ();
3208 return 0;
3210 _ACEOF
3211 rm -f conftest.$ac_objext conftest$ac_exeext
3212 if { (ac_try="$ac_link"
3213 case "(($ac_try" in
3214 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3215 *) ac_try_echo=$ac_try;;
3216 esac
3217 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3218 (eval "$ac_link") 2>conftest.er1
3219 ac_status=$?
3220 grep -v '^ *+' conftest.er1 >conftest.err
3221 rm -f conftest.er1
3222 cat conftest.err >&5
3223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3224 (exit $ac_status); } && {
3225 test -z "$ac_c_werror_flag" ||
3226 test ! -s conftest.err
3227 } && test -s conftest$ac_exeext &&
3228 $as_test_x conftest$ac_exeext; then
3229 ac_cv_lib_socket_socket=yes
3230 else
3231 echo "$as_me: failed program was:" >&5
3232 sed 's/^/| /' conftest.$ac_ext >&5
3234 ac_cv_lib_socket_socket=no
3237 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3238 conftest$ac_exeext conftest.$ac_ext
3239 LIBS=$ac_check_lib_save_LIBS
3241 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
3242 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
3243 if test $ac_cv_lib_socket_socket = yes; then
3244 LIBS="$LIBS -lsocket"
3247 { echo "$as_me:$LINENO: checking for yp_match in -lnsl" >&5
3248 echo $ECHO_N "checking for yp_match in -lnsl... $ECHO_C" >&6; }
3249 if test "${ac_cv_lib_nsl_yp_match+set}" = set; then
3250 echo $ECHO_N "(cached) $ECHO_C" >&6
3251 else
3252 ac_check_lib_save_LIBS=$LIBS
3253 LIBS="-lnsl $LIBS"
3254 cat >conftest.$ac_ext <<_ACEOF
3255 /* confdefs.h. */
3256 _ACEOF
3257 cat confdefs.h >>conftest.$ac_ext
3258 cat >>conftest.$ac_ext <<_ACEOF
3259 /* end confdefs.h. */
3261 /* Override any GCC internal prototype to avoid an error.
3262 Use char because int might match the return type of a GCC
3263 builtin and then its argument prototype would still apply. */
3264 #ifdef __cplusplus
3265 extern "C"
3266 #endif
3267 char yp_match ();
3269 main ()
3271 return yp_match ();
3273 return 0;
3275 _ACEOF
3276 rm -f conftest.$ac_objext conftest$ac_exeext
3277 if { (ac_try="$ac_link"
3278 case "(($ac_try" in
3279 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3280 *) ac_try_echo=$ac_try;;
3281 esac
3282 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3283 (eval "$ac_link") 2>conftest.er1
3284 ac_status=$?
3285 grep -v '^ *+' conftest.er1 >conftest.err
3286 rm -f conftest.er1
3287 cat conftest.err >&5
3288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3289 (exit $ac_status); } && {
3290 test -z "$ac_c_werror_flag" ||
3291 test ! -s conftest.err
3292 } && test -s conftest$ac_exeext &&
3293 $as_test_x conftest$ac_exeext; then
3294 ac_cv_lib_nsl_yp_match=yes
3295 else
3296 echo "$as_me: failed program was:" >&5
3297 sed 's/^/| /' conftest.$ac_ext >&5
3299 ac_cv_lib_nsl_yp_match=no
3302 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3303 conftest$ac_exeext conftest.$ac_ext
3304 LIBS=$ac_check_lib_save_LIBS
3306 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_yp_match" >&5
3307 echo "${ECHO_T}$ac_cv_lib_nsl_yp_match" >&6; }
3308 if test $ac_cv_lib_nsl_yp_match = yes; then
3309 LIBS="$LIBS -lnsl"
3314 *-*-aix*)
3316 cat >>confdefs.h <<\_ACEOF
3317 #define AIX
3318 _ACEOF
3320 # OpenSSH thinks it's broken. If it isn't, let me know.
3322 cat >>confdefs.h <<\_ACEOF
3323 #define BROKEN_GETADDRINFO
3324 _ACEOF
3328 *-*-hpux*)
3329 LIBS="$LIBS -lsec"
3330 # It's probably broken.
3332 cat >>confdefs.h <<\_ACEOF
3333 #define BROKEN_GETADDRINFO
3334 _ACEOF
3337 *-dec-osf*)
3339 cat >>confdefs.h <<\_ACEOF
3340 #define BROKEN_GETADDRINFO
3341 _ACEOF
3344 esac
3346 if test -n "$ac_tool_prefix"; then
3347 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3348 set dummy ${ac_tool_prefix}ar; ac_word=$2
3349 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3350 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3351 if test "${ac_cv_prog_AR+set}" = set; then
3352 echo $ECHO_N "(cached) $ECHO_C" >&6
3353 else
3354 if test -n "$AR"; then
3355 ac_cv_prog_AR="$AR" # Let the user override the test.
3356 else
3357 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3358 for as_dir in $PATH
3360 IFS=$as_save_IFS
3361 test -z "$as_dir" && as_dir=.
3362 for ac_exec_ext in '' $ac_executable_extensions; do
3363 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3364 ac_cv_prog_AR="${ac_tool_prefix}ar"
3365 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3366 break 2
3368 done
3369 done
3370 IFS=$as_save_IFS
3374 AR=$ac_cv_prog_AR
3375 if test -n "$AR"; then
3376 { echo "$as_me:$LINENO: result: $AR" >&5
3377 echo "${ECHO_T}$AR" >&6; }
3378 else
3379 { echo "$as_me:$LINENO: result: no" >&5
3380 echo "${ECHO_T}no" >&6; }
3385 if test -z "$ac_cv_prog_AR"; then
3386 ac_ct_AR=$AR
3387 # Extract the first word of "ar", so it can be a program name with args.
3388 set dummy ar; ac_word=$2
3389 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3390 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3391 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3392 echo $ECHO_N "(cached) $ECHO_C" >&6
3393 else
3394 if test -n "$ac_ct_AR"; then
3395 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3396 else
3397 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3398 for as_dir in $PATH
3400 IFS=$as_save_IFS
3401 test -z "$as_dir" && as_dir=.
3402 for ac_exec_ext in '' $ac_executable_extensions; do
3403 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3404 ac_cv_prog_ac_ct_AR="ar"
3405 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3406 break 2
3408 done
3409 done
3410 IFS=$as_save_IFS
3414 ac_ct_AR=$ac_cv_prog_ac_ct_AR
3415 if test -n "$ac_ct_AR"; then
3416 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3417 echo "${ECHO_T}$ac_ct_AR" >&6; }
3418 else
3419 { echo "$as_me:$LINENO: result: no" >&5
3420 echo "${ECHO_T}no" >&6; }
3423 if test "x$ac_ct_AR" = x; then
3424 AR=":"
3425 else
3426 case $cross_compiling:$ac_tool_warned in
3427 yes:)
3428 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3429 whose name does not start with the host triplet. If you think this
3430 configuration is useful to you, please write to autoconf@gnu.org." >&5
3431 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3432 whose name does not start with the host triplet. If you think this
3433 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3434 ac_tool_warned=yes ;;
3435 esac
3436 AR=$ac_ct_AR
3438 else
3439 AR="$ac_cv_prog_AR"
3442 if test -n "$ac_tool_prefix"; then
3443 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3444 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3445 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3446 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3447 if test "${ac_cv_prog_RANLIB+set}" = set; then
3448 echo $ECHO_N "(cached) $ECHO_C" >&6
3449 else
3450 if test -n "$RANLIB"; then
3451 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3452 else
3453 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3454 for as_dir in $PATH
3456 IFS=$as_save_IFS
3457 test -z "$as_dir" && as_dir=.
3458 for ac_exec_ext in '' $ac_executable_extensions; do
3459 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3460 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3461 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3462 break 2
3464 done
3465 done
3466 IFS=$as_save_IFS
3470 RANLIB=$ac_cv_prog_RANLIB
3471 if test -n "$RANLIB"; then
3472 { echo "$as_me:$LINENO: result: $RANLIB" >&5
3473 echo "${ECHO_T}$RANLIB" >&6; }
3474 else
3475 { echo "$as_me:$LINENO: result: no" >&5
3476 echo "${ECHO_T}no" >&6; }
3481 if test -z "$ac_cv_prog_RANLIB"; then
3482 ac_ct_RANLIB=$RANLIB
3483 # Extract the first word of "ranlib", so it can be a program name with args.
3484 set dummy ranlib; ac_word=$2
3485 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3486 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3487 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3488 echo $ECHO_N "(cached) $ECHO_C" >&6
3489 else
3490 if test -n "$ac_ct_RANLIB"; then
3491 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3492 else
3493 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3494 for as_dir in $PATH
3496 IFS=$as_save_IFS
3497 test -z "$as_dir" && as_dir=.
3498 for ac_exec_ext in '' $ac_executable_extensions; do
3499 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3500 ac_cv_prog_ac_ct_RANLIB="ranlib"
3501 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3502 break 2
3504 done
3505 done
3506 IFS=$as_save_IFS
3510 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3511 if test -n "$ac_ct_RANLIB"; then
3512 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3513 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
3514 else
3515 { echo "$as_me:$LINENO: result: no" >&5
3516 echo "${ECHO_T}no" >&6; }
3519 if test "x$ac_ct_RANLIB" = x; then
3520 RANLIB=":"
3521 else
3522 case $cross_compiling:$ac_tool_warned in
3523 yes:)
3524 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3525 whose name does not start with the host triplet. If you think this
3526 configuration is useful to you, please write to autoconf@gnu.org." >&5
3527 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3528 whose name does not start with the host triplet. If you think this
3529 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3530 ac_tool_warned=yes ;;
3531 esac
3532 RANLIB=$ac_ct_RANLIB
3534 else
3535 RANLIB="$ac_cv_prog_RANLIB"
3538 if test -n "$ac_tool_prefix"; then
3539 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3540 set dummy ${ac_tool_prefix}strip; ac_word=$2
3541 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3542 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3543 if test "${ac_cv_prog_STRIP+set}" = set; then
3544 echo $ECHO_N "(cached) $ECHO_C" >&6
3545 else
3546 if test -n "$STRIP"; then
3547 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3548 else
3549 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3550 for as_dir in $PATH
3552 IFS=$as_save_IFS
3553 test -z "$as_dir" && as_dir=.
3554 for ac_exec_ext in '' $ac_executable_extensions; do
3555 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3556 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3557 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3558 break 2
3560 done
3561 done
3562 IFS=$as_save_IFS
3566 STRIP=$ac_cv_prog_STRIP
3567 if test -n "$STRIP"; then
3568 { echo "$as_me:$LINENO: result: $STRIP" >&5
3569 echo "${ECHO_T}$STRIP" >&6; }
3570 else
3571 { echo "$as_me:$LINENO: result: no" >&5
3572 echo "${ECHO_T}no" >&6; }
3577 if test -z "$ac_cv_prog_STRIP"; then
3578 ac_ct_STRIP=$STRIP
3579 # Extract the first word of "strip", so it can be a program name with args.
3580 set dummy strip; ac_word=$2
3581 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3582 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3583 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
3584 echo $ECHO_N "(cached) $ECHO_C" >&6
3585 else
3586 if test -n "$ac_ct_STRIP"; then
3587 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3588 else
3589 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3590 for as_dir in $PATH
3592 IFS=$as_save_IFS
3593 test -z "$as_dir" && as_dir=.
3594 for ac_exec_ext in '' $ac_executable_extensions; do
3595 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3596 ac_cv_prog_ac_ct_STRIP="strip"
3597 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3598 break 2
3600 done
3601 done
3602 IFS=$as_save_IFS
3606 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3607 if test -n "$ac_ct_STRIP"; then
3608 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
3609 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
3610 else
3611 { echo "$as_me:$LINENO: result: no" >&5
3612 echo "${ECHO_T}no" >&6; }
3615 if test "x$ac_ct_STRIP" = x; then
3616 STRIP=":"
3617 else
3618 case $cross_compiling:$ac_tool_warned in
3619 yes:)
3620 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3621 whose name does not start with the host triplet. If you think this
3622 configuration is useful to you, please write to autoconf@gnu.org." >&5
3623 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3624 whose name does not start with the host triplet. If you think this
3625 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3626 ac_tool_warned=yes ;;
3627 esac
3628 STRIP=$ac_ct_STRIP
3630 else
3631 STRIP="$ac_cv_prog_STRIP"
3634 if test -n "$ac_tool_prefix"; then
3635 # Extract the first word of "${ac_tool_prefix}install", so it can be a program name with args.
3636 set dummy ${ac_tool_prefix}install; ac_word=$2
3637 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3638 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3639 if test "${ac_cv_prog_INSTALL+set}" = set; then
3640 echo $ECHO_N "(cached) $ECHO_C" >&6
3641 else
3642 if test -n "$INSTALL"; then
3643 ac_cv_prog_INSTALL="$INSTALL" # Let the user override the test.
3644 else
3645 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3646 for as_dir in $PATH
3648 IFS=$as_save_IFS
3649 test -z "$as_dir" && as_dir=.
3650 for ac_exec_ext in '' $ac_executable_extensions; do
3651 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3652 ac_cv_prog_INSTALL="${ac_tool_prefix}install"
3653 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3654 break 2
3656 done
3657 done
3658 IFS=$as_save_IFS
3662 INSTALL=$ac_cv_prog_INSTALL
3663 if test -n "$INSTALL"; then
3664 { echo "$as_me:$LINENO: result: $INSTALL" >&5
3665 echo "${ECHO_T}$INSTALL" >&6; }
3666 else
3667 { echo "$as_me:$LINENO: result: no" >&5
3668 echo "${ECHO_T}no" >&6; }
3673 if test -z "$ac_cv_prog_INSTALL"; then
3674 ac_ct_INSTALL=$INSTALL
3675 # Extract the first word of "install", so it can be a program name with args.
3676 set dummy install; ac_word=$2
3677 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3678 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3679 if test "${ac_cv_prog_ac_ct_INSTALL+set}" = set; then
3680 echo $ECHO_N "(cached) $ECHO_C" >&6
3681 else
3682 if test -n "$ac_ct_INSTALL"; then
3683 ac_cv_prog_ac_ct_INSTALL="$ac_ct_INSTALL" # Let the user override the test.
3684 else
3685 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3686 for as_dir in $PATH
3688 IFS=$as_save_IFS
3689 test -z "$as_dir" && as_dir=.
3690 for ac_exec_ext in '' $ac_executable_extensions; do
3691 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3692 ac_cv_prog_ac_ct_INSTALL="install"
3693 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3694 break 2
3696 done
3697 done
3698 IFS=$as_save_IFS
3702 ac_ct_INSTALL=$ac_cv_prog_ac_ct_INSTALL
3703 if test -n "$ac_ct_INSTALL"; then
3704 { echo "$as_me:$LINENO: result: $ac_ct_INSTALL" >&5
3705 echo "${ECHO_T}$ac_ct_INSTALL" >&6; }
3706 else
3707 { echo "$as_me:$LINENO: result: no" >&5
3708 echo "${ECHO_T}no" >&6; }
3711 if test "x$ac_ct_INSTALL" = x; then
3712 INSTALL=":"
3713 else
3714 case $cross_compiling:$ac_tool_warned in
3715 yes:)
3716 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3717 whose name does not start with the host triplet. If you think this
3718 configuration is useful to you, please write to autoconf@gnu.org." >&5
3719 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3720 whose name does not start with the host triplet. If you think this
3721 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3722 ac_tool_warned=yes ;;
3723 esac
3724 INSTALL=$ac_ct_INSTALL
3726 else
3727 INSTALL="$ac_cv_prog_INSTALL"
3731 ac_ext=c
3732 ac_cpp='$CPP $CPPFLAGS'
3733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3736 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3737 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3738 # On Suns, sometimes $CPP names a directory.
3739 if test -n "$CPP" && test -d "$CPP"; then
3740 CPP=
3742 if test -z "$CPP"; then
3743 if test "${ac_cv_prog_CPP+set}" = set; then
3744 echo $ECHO_N "(cached) $ECHO_C" >&6
3745 else
3746 # Double quotes because CPP needs to be expanded
3747 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3749 ac_preproc_ok=false
3750 for ac_c_preproc_warn_flag in '' yes
3752 # Use a header file that comes with gcc, so configuring glibc
3753 # with a fresh cross-compiler works.
3754 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3755 # <limits.h> exists even on freestanding compilers.
3756 # On the NeXT, cc -E runs the code through the compiler's parser,
3757 # not just through cpp. "Syntax error" is here to catch this case.
3758 cat >conftest.$ac_ext <<_ACEOF
3759 /* confdefs.h. */
3760 _ACEOF
3761 cat confdefs.h >>conftest.$ac_ext
3762 cat >>conftest.$ac_ext <<_ACEOF
3763 /* end confdefs.h. */
3764 #ifdef __STDC__
3765 # include <limits.h>
3766 #else
3767 # include <assert.h>
3768 #endif
3769 Syntax error
3770 _ACEOF
3771 if { (ac_try="$ac_cpp conftest.$ac_ext"
3772 case "(($ac_try" in
3773 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3774 *) ac_try_echo=$ac_try;;
3775 esac
3776 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3777 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3778 ac_status=$?
3779 grep -v '^ *+' conftest.er1 >conftest.err
3780 rm -f conftest.er1
3781 cat conftest.err >&5
3782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3783 (exit $ac_status); } >/dev/null && {
3784 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3785 test ! -s conftest.err
3786 }; then
3788 else
3789 echo "$as_me: failed program was:" >&5
3790 sed 's/^/| /' conftest.$ac_ext >&5
3792 # Broken: fails on valid input.
3793 continue
3796 rm -f conftest.err conftest.$ac_ext
3798 # OK, works on sane cases. Now check whether nonexistent headers
3799 # can be detected and how.
3800 cat >conftest.$ac_ext <<_ACEOF
3801 /* confdefs.h. */
3802 _ACEOF
3803 cat confdefs.h >>conftest.$ac_ext
3804 cat >>conftest.$ac_ext <<_ACEOF
3805 /* end confdefs.h. */
3806 #include <ac_nonexistent.h>
3807 _ACEOF
3808 if { (ac_try="$ac_cpp conftest.$ac_ext"
3809 case "(($ac_try" in
3810 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3811 *) ac_try_echo=$ac_try;;
3812 esac
3813 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3814 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3815 ac_status=$?
3816 grep -v '^ *+' conftest.er1 >conftest.err
3817 rm -f conftest.er1
3818 cat conftest.err >&5
3819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3820 (exit $ac_status); } >/dev/null && {
3821 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3822 test ! -s conftest.err
3823 }; then
3824 # Broken: success on invalid input.
3825 continue
3826 else
3827 echo "$as_me: failed program was:" >&5
3828 sed 's/^/| /' conftest.$ac_ext >&5
3830 # Passes both tests.
3831 ac_preproc_ok=:
3832 break
3835 rm -f conftest.err conftest.$ac_ext
3837 done
3838 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3839 rm -f conftest.err conftest.$ac_ext
3840 if $ac_preproc_ok; then
3841 break
3844 done
3845 ac_cv_prog_CPP=$CPP
3848 CPP=$ac_cv_prog_CPP
3849 else
3850 ac_cv_prog_CPP=$CPP
3852 { echo "$as_me:$LINENO: result: $CPP" >&5
3853 echo "${ECHO_T}$CPP" >&6; }
3854 ac_preproc_ok=false
3855 for ac_c_preproc_warn_flag in '' yes
3857 # Use a header file that comes with gcc, so configuring glibc
3858 # with a fresh cross-compiler works.
3859 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3860 # <limits.h> exists even on freestanding compilers.
3861 # On the NeXT, cc -E runs the code through the compiler's parser,
3862 # not just through cpp. "Syntax error" is here to catch this case.
3863 cat >conftest.$ac_ext <<_ACEOF
3864 /* confdefs.h. */
3865 _ACEOF
3866 cat confdefs.h >>conftest.$ac_ext
3867 cat >>conftest.$ac_ext <<_ACEOF
3868 /* end confdefs.h. */
3869 #ifdef __STDC__
3870 # include <limits.h>
3871 #else
3872 # include <assert.h>
3873 #endif
3874 Syntax error
3875 _ACEOF
3876 if { (ac_try="$ac_cpp conftest.$ac_ext"
3877 case "(($ac_try" in
3878 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3879 *) ac_try_echo=$ac_try;;
3880 esac
3881 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3882 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3883 ac_status=$?
3884 grep -v '^ *+' conftest.er1 >conftest.err
3885 rm -f conftest.er1
3886 cat conftest.err >&5
3887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3888 (exit $ac_status); } >/dev/null && {
3889 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3890 test ! -s conftest.err
3891 }; then
3893 else
3894 echo "$as_me: failed program was:" >&5
3895 sed 's/^/| /' conftest.$ac_ext >&5
3897 # Broken: fails on valid input.
3898 continue
3901 rm -f conftest.err conftest.$ac_ext
3903 # OK, works on sane cases. Now check whether nonexistent headers
3904 # can be detected and how.
3905 cat >conftest.$ac_ext <<_ACEOF
3906 /* confdefs.h. */
3907 _ACEOF
3908 cat confdefs.h >>conftest.$ac_ext
3909 cat >>conftest.$ac_ext <<_ACEOF
3910 /* end confdefs.h. */
3911 #include <ac_nonexistent.h>
3912 _ACEOF
3913 if { (ac_try="$ac_cpp conftest.$ac_ext"
3914 case "(($ac_try" in
3915 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3916 *) ac_try_echo=$ac_try;;
3917 esac
3918 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3919 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3920 ac_status=$?
3921 grep -v '^ *+' conftest.er1 >conftest.err
3922 rm -f conftest.er1
3923 cat conftest.err >&5
3924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3925 (exit $ac_status); } >/dev/null && {
3926 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3927 test ! -s conftest.err
3928 }; then
3929 # Broken: success on invalid input.
3930 continue
3931 else
3932 echo "$as_me: failed program was:" >&5
3933 sed 's/^/| /' conftest.$ac_ext >&5
3935 # Passes both tests.
3936 ac_preproc_ok=:
3937 break
3940 rm -f conftest.err conftest.$ac_ext
3942 done
3943 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3944 rm -f conftest.err conftest.$ac_ext
3945 if $ac_preproc_ok; then
3947 else
3948 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3949 See \`config.log' for more details." >&5
3950 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3951 See \`config.log' for more details." >&2;}
3952 { (exit 1); exit 1; }; }
3955 ac_ext=c
3956 ac_cpp='$CPP $CPPFLAGS'
3957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3962 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3963 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3964 if test "${ac_cv_path_GREP+set}" = set; then
3965 echo $ECHO_N "(cached) $ECHO_C" >&6
3966 else
3967 # Extract the first word of "grep ggrep" to use in msg output
3968 if test -z "$GREP"; then
3969 set dummy grep ggrep; ac_prog_name=$2
3970 if test "${ac_cv_path_GREP+set}" = set; then
3971 echo $ECHO_N "(cached) $ECHO_C" >&6
3972 else
3973 ac_path_GREP_found=false
3974 # Loop through the user's path and test for each of PROGNAME-LIST
3975 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3976 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3978 IFS=$as_save_IFS
3979 test -z "$as_dir" && as_dir=.
3980 for ac_prog in grep ggrep; do
3981 for ac_exec_ext in '' $ac_executable_extensions; do
3982 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3983 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3984 # Check for GNU ac_path_GREP and select it if it is found.
3985 # Check for GNU $ac_path_GREP
3986 case `"$ac_path_GREP" --version 2>&1` in
3987 *GNU*)
3988 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3990 ac_count=0
3991 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3992 while :
3994 cat "conftest.in" "conftest.in" >"conftest.tmp"
3995 mv "conftest.tmp" "conftest.in"
3996 cp "conftest.in" "conftest.nl"
3997 echo 'GREP' >> "conftest.nl"
3998 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3999 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4000 ac_count=`expr $ac_count + 1`
4001 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4002 # Best one so far, save it but keep looking for a better one
4003 ac_cv_path_GREP="$ac_path_GREP"
4004 ac_path_GREP_max=$ac_count
4006 # 10*(2^10) chars as input seems more than enough
4007 test $ac_count -gt 10 && break
4008 done
4009 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4010 esac
4013 $ac_path_GREP_found && break 3
4014 done
4015 done
4017 done
4018 IFS=$as_save_IFS
4023 GREP="$ac_cv_path_GREP"
4024 if test -z "$GREP"; then
4025 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4026 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4027 { (exit 1); exit 1; }; }
4030 else
4031 ac_cv_path_GREP=$GREP
4036 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4037 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
4038 GREP="$ac_cv_path_GREP"
4041 { echo "$as_me:$LINENO: checking for egrep" >&5
4042 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
4043 if test "${ac_cv_path_EGREP+set}" = set; then
4044 echo $ECHO_N "(cached) $ECHO_C" >&6
4045 else
4046 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4047 then ac_cv_path_EGREP="$GREP -E"
4048 else
4049 # Extract the first word of "egrep" to use in msg output
4050 if test -z "$EGREP"; then
4051 set dummy egrep; ac_prog_name=$2
4052 if test "${ac_cv_path_EGREP+set}" = set; then
4053 echo $ECHO_N "(cached) $ECHO_C" >&6
4054 else
4055 ac_path_EGREP_found=false
4056 # Loop through the user's path and test for each of PROGNAME-LIST
4057 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4058 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4060 IFS=$as_save_IFS
4061 test -z "$as_dir" && as_dir=.
4062 for ac_prog in egrep; do
4063 for ac_exec_ext in '' $ac_executable_extensions; do
4064 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4065 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4066 # Check for GNU ac_path_EGREP and select it if it is found.
4067 # Check for GNU $ac_path_EGREP
4068 case `"$ac_path_EGREP" --version 2>&1` in
4069 *GNU*)
4070 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4072 ac_count=0
4073 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4074 while :
4076 cat "conftest.in" "conftest.in" >"conftest.tmp"
4077 mv "conftest.tmp" "conftest.in"
4078 cp "conftest.in" "conftest.nl"
4079 echo 'EGREP' >> "conftest.nl"
4080 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4081 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4082 ac_count=`expr $ac_count + 1`
4083 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4084 # Best one so far, save it but keep looking for a better one
4085 ac_cv_path_EGREP="$ac_path_EGREP"
4086 ac_path_EGREP_max=$ac_count
4088 # 10*(2^10) chars as input seems more than enough
4089 test $ac_count -gt 10 && break
4090 done
4091 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4092 esac
4095 $ac_path_EGREP_found && break 3
4096 done
4097 done
4099 done
4100 IFS=$as_save_IFS
4105 EGREP="$ac_cv_path_EGREP"
4106 if test -z "$EGREP"; then
4107 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4108 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4109 { (exit 1); exit 1; }; }
4112 else
4113 ac_cv_path_EGREP=$EGREP
4119 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4120 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
4121 EGREP="$ac_cv_path_EGREP"
4124 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4125 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
4126 if test "${ac_cv_header_stdc+set}" = set; then
4127 echo $ECHO_N "(cached) $ECHO_C" >&6
4128 else
4129 cat >conftest.$ac_ext <<_ACEOF
4130 /* confdefs.h. */
4131 _ACEOF
4132 cat confdefs.h >>conftest.$ac_ext
4133 cat >>conftest.$ac_ext <<_ACEOF
4134 /* end confdefs.h. */
4135 #include <stdlib.h>
4136 #include <stdarg.h>
4137 #include <string.h>
4138 #include <float.h>
4141 main ()
4145 return 0;
4147 _ACEOF
4148 rm -f conftest.$ac_objext
4149 if { (ac_try="$ac_compile"
4150 case "(($ac_try" in
4151 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4152 *) ac_try_echo=$ac_try;;
4153 esac
4154 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4155 (eval "$ac_compile") 2>conftest.er1
4156 ac_status=$?
4157 grep -v '^ *+' conftest.er1 >conftest.err
4158 rm -f conftest.er1
4159 cat conftest.err >&5
4160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4161 (exit $ac_status); } && {
4162 test -z "$ac_c_werror_flag" ||
4163 test ! -s conftest.err
4164 } && test -s conftest.$ac_objext; then
4165 ac_cv_header_stdc=yes
4166 else
4167 echo "$as_me: failed program was:" >&5
4168 sed 's/^/| /' conftest.$ac_ext >&5
4170 ac_cv_header_stdc=no
4173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4175 if test $ac_cv_header_stdc = yes; then
4176 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4177 cat >conftest.$ac_ext <<_ACEOF
4178 /* confdefs.h. */
4179 _ACEOF
4180 cat confdefs.h >>conftest.$ac_ext
4181 cat >>conftest.$ac_ext <<_ACEOF
4182 /* end confdefs.h. */
4183 #include <string.h>
4185 _ACEOF
4186 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4187 $EGREP "memchr" >/dev/null 2>&1; then
4189 else
4190 ac_cv_header_stdc=no
4192 rm -f -r conftest*
4196 if test $ac_cv_header_stdc = yes; then
4197 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4198 cat >conftest.$ac_ext <<_ACEOF
4199 /* confdefs.h. */
4200 _ACEOF
4201 cat confdefs.h >>conftest.$ac_ext
4202 cat >>conftest.$ac_ext <<_ACEOF
4203 /* end confdefs.h. */
4204 #include <stdlib.h>
4206 _ACEOF
4207 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4208 $EGREP "free" >/dev/null 2>&1; then
4210 else
4211 ac_cv_header_stdc=no
4213 rm -f -r conftest*
4217 if test $ac_cv_header_stdc = yes; then
4218 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4219 if test "$cross_compiling" = yes; then
4221 else
4222 cat >conftest.$ac_ext <<_ACEOF
4223 /* confdefs.h. */
4224 _ACEOF
4225 cat confdefs.h >>conftest.$ac_ext
4226 cat >>conftest.$ac_ext <<_ACEOF
4227 /* end confdefs.h. */
4228 #include <ctype.h>
4229 #include <stdlib.h>
4230 #if ((' ' & 0x0FF) == 0x020)
4231 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4232 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4233 #else
4234 # define ISLOWER(c) \
4235 (('a' <= (c) && (c) <= 'i') \
4236 || ('j' <= (c) && (c) <= 'r') \
4237 || ('s' <= (c) && (c) <= 'z'))
4238 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4239 #endif
4241 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4243 main ()
4245 int i;
4246 for (i = 0; i < 256; i++)
4247 if (XOR (islower (i), ISLOWER (i))
4248 || toupper (i) != TOUPPER (i))
4249 return 2;
4250 return 0;
4252 _ACEOF
4253 rm -f conftest$ac_exeext
4254 if { (ac_try="$ac_link"
4255 case "(($ac_try" in
4256 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4257 *) ac_try_echo=$ac_try;;
4258 esac
4259 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4260 (eval "$ac_link") 2>&5
4261 ac_status=$?
4262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4263 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4264 { (case "(($ac_try" in
4265 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4266 *) ac_try_echo=$ac_try;;
4267 esac
4268 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4269 (eval "$ac_try") 2>&5
4270 ac_status=$?
4271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4272 (exit $ac_status); }; }; then
4274 else
4275 echo "$as_me: program exited with status $ac_status" >&5
4276 echo "$as_me: failed program was:" >&5
4277 sed 's/^/| /' conftest.$ac_ext >&5
4279 ( exit $ac_status )
4280 ac_cv_header_stdc=no
4282 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4288 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4289 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
4290 if test $ac_cv_header_stdc = yes; then
4292 cat >>confdefs.h <<\_ACEOF
4293 #define STDC_HEADERS 1
4294 _ACEOF
4298 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4308 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4309 inttypes.h stdint.h unistd.h
4311 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4312 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4313 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4314 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4315 echo $ECHO_N "(cached) $ECHO_C" >&6
4316 else
4317 cat >conftest.$ac_ext <<_ACEOF
4318 /* confdefs.h. */
4319 _ACEOF
4320 cat confdefs.h >>conftest.$ac_ext
4321 cat >>conftest.$ac_ext <<_ACEOF
4322 /* end confdefs.h. */
4323 $ac_includes_default
4325 #include <$ac_header>
4326 _ACEOF
4327 rm -f conftest.$ac_objext
4328 if { (ac_try="$ac_compile"
4329 case "(($ac_try" in
4330 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4331 *) ac_try_echo=$ac_try;;
4332 esac
4333 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4334 (eval "$ac_compile") 2>conftest.er1
4335 ac_status=$?
4336 grep -v '^ *+' conftest.er1 >conftest.err
4337 rm -f conftest.er1
4338 cat conftest.err >&5
4339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4340 (exit $ac_status); } && {
4341 test -z "$ac_c_werror_flag" ||
4342 test ! -s conftest.err
4343 } && test -s conftest.$ac_objext; then
4344 eval "$as_ac_Header=yes"
4345 else
4346 echo "$as_me: failed program was:" >&5
4347 sed 's/^/| /' conftest.$ac_ext >&5
4349 eval "$as_ac_Header=no"
4352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4354 ac_res=`eval echo '${'$as_ac_Header'}'`
4355 { echo "$as_me:$LINENO: result: $ac_res" >&5
4356 echo "${ECHO_T}$ac_res" >&6; }
4357 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4358 cat >>confdefs.h <<_ACEOF
4359 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4360 _ACEOF
4364 done
4367 { echo "$as_me:$LINENO: checking whether __UCLIBC__ is declared" >&5
4368 echo $ECHO_N "checking whether __UCLIBC__ is declared... $ECHO_C" >&6; }
4369 if test "${ac_cv_have_decl___UCLIBC__+set}" = set; then
4370 echo $ECHO_N "(cached) $ECHO_C" >&6
4371 else
4372 cat >conftest.$ac_ext <<_ACEOF
4373 /* confdefs.h. */
4374 _ACEOF
4375 cat confdefs.h >>conftest.$ac_ext
4376 cat >>conftest.$ac_ext <<_ACEOF
4377 /* end confdefs.h. */
4378 $ac_includes_default
4380 main ()
4382 #ifndef __UCLIBC__
4383 (void) __UCLIBC__;
4384 #endif
4387 return 0;
4389 _ACEOF
4390 rm -f conftest.$ac_objext
4391 if { (ac_try="$ac_compile"
4392 case "(($ac_try" in
4393 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4394 *) ac_try_echo=$ac_try;;
4395 esac
4396 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4397 (eval "$ac_compile") 2>conftest.er1
4398 ac_status=$?
4399 grep -v '^ *+' conftest.er1 >conftest.err
4400 rm -f conftest.er1
4401 cat conftest.err >&5
4402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4403 (exit $ac_status); } && {
4404 test -z "$ac_c_werror_flag" ||
4405 test ! -s conftest.err
4406 } && test -s conftest.$ac_objext; then
4407 ac_cv_have_decl___UCLIBC__=yes
4408 else
4409 echo "$as_me: failed program was:" >&5
4410 sed 's/^/| /' conftest.$ac_ext >&5
4412 ac_cv_have_decl___UCLIBC__=no
4415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4417 { echo "$as_me:$LINENO: result: $ac_cv_have_decl___UCLIBC__" >&5
4418 echo "${ECHO_T}$ac_cv_have_decl___UCLIBC__" >&6; }
4419 if test $ac_cv_have_decl___UCLIBC__ = yes; then
4421 no_loginfunc_check=1
4422 { echo "$as_me:$LINENO: Using uClibc - login() and logout() probably don't work, so we won't use them." >&5
4423 echo "$as_me: Using uClibc - login() and logout() probably don't work, so we won't use them." >&6;}
4428 # Checks for libraries.
4429 { echo "$as_me:$LINENO: checking for crypt in -lcrypt" >&5
4430 echo $ECHO_N "checking for crypt in -lcrypt... $ECHO_C" >&6; }
4431 if test "${ac_cv_lib_crypt_crypt+set}" = set; then
4432 echo $ECHO_N "(cached) $ECHO_C" >&6
4433 else
4434 ac_check_lib_save_LIBS=$LIBS
4435 LIBS="-lcrypt $LIBS"
4436 cat >conftest.$ac_ext <<_ACEOF
4437 /* confdefs.h. */
4438 _ACEOF
4439 cat confdefs.h >>conftest.$ac_ext
4440 cat >>conftest.$ac_ext <<_ACEOF
4441 /* end confdefs.h. */
4443 /* Override any GCC internal prototype to avoid an error.
4444 Use char because int might match the return type of a GCC
4445 builtin and then its argument prototype would still apply. */
4446 #ifdef __cplusplus
4447 extern "C"
4448 #endif
4449 char crypt ();
4451 main ()
4453 return crypt ();
4455 return 0;
4457 _ACEOF
4458 rm -f conftest.$ac_objext conftest$ac_exeext
4459 if { (ac_try="$ac_link"
4460 case "(($ac_try" in
4461 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4462 *) ac_try_echo=$ac_try;;
4463 esac
4464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4465 (eval "$ac_link") 2>conftest.er1
4466 ac_status=$?
4467 grep -v '^ *+' conftest.er1 >conftest.err
4468 rm -f conftest.er1
4469 cat conftest.err >&5
4470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4471 (exit $ac_status); } && {
4472 test -z "$ac_c_werror_flag" ||
4473 test ! -s conftest.err
4474 } && test -s conftest$ac_exeext &&
4475 $as_test_x conftest$ac_exeext; then
4476 ac_cv_lib_crypt_crypt=yes
4477 else
4478 echo "$as_me: failed program was:" >&5
4479 sed 's/^/| /' conftest.$ac_ext >&5
4481 ac_cv_lib_crypt_crypt=no
4484 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4485 conftest$ac_exeext conftest.$ac_ext
4486 LIBS=$ac_check_lib_save_LIBS
4488 { echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_crypt" >&5
4489 echo "${ECHO_T}$ac_cv_lib_crypt_crypt" >&6; }
4490 if test $ac_cv_lib_crypt_crypt = yes; then
4491 CRYPTLIB="-lcrypt"
4496 # Check if zlib is needed
4498 # Check whether --with-zlib was given.
4499 if test "${with_zlib+set}" = set; then
4500 withval=$with_zlib;
4501 # option is given
4502 if test -d "$withval/lib"; then
4503 LDFLAGS="-L${withval}/lib ${LDFLAGS}"
4504 else
4505 LDFLAGS="-L${withval} ${LDFLAGS}"
4507 if test -d "$withval/include"; then
4508 CPPFLAGS="-I${withval}/include ${CPPFLAGS}"
4509 else
4510 CPPFLAGS="-I${withval} ${CPPFLAGS}"
4517 # Check whether --enable-zlib was given.
4518 if test "${enable_zlib+set}" = set; then
4519 enableval=$enable_zlib;
4520 if test "x$enableval" = "xno"; then
4522 cat >>confdefs.h <<\_ACEOF
4523 #define DISABLE_ZLIB
4524 _ACEOF
4526 { echo "$as_me:$LINENO: Disabling zlib" >&5
4527 echo "$as_me: Disabling zlib" >&6;}
4528 else
4530 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
4531 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
4532 if test "${ac_cv_lib_z_deflate+set}" = set; then
4533 echo $ECHO_N "(cached) $ECHO_C" >&6
4534 else
4535 ac_check_lib_save_LIBS=$LIBS
4536 LIBS="-lz $LIBS"
4537 cat >conftest.$ac_ext <<_ACEOF
4538 /* confdefs.h. */
4539 _ACEOF
4540 cat confdefs.h >>conftest.$ac_ext
4541 cat >>conftest.$ac_ext <<_ACEOF
4542 /* end confdefs.h. */
4544 /* Override any GCC internal prototype to avoid an error.
4545 Use char because int might match the return type of a GCC
4546 builtin and then its argument prototype would still apply. */
4547 #ifdef __cplusplus
4548 extern "C"
4549 #endif
4550 char deflate ();
4552 main ()
4554 return deflate ();
4556 return 0;
4558 _ACEOF
4559 rm -f conftest.$ac_objext conftest$ac_exeext
4560 if { (ac_try="$ac_link"
4561 case "(($ac_try" in
4562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4563 *) ac_try_echo=$ac_try;;
4564 esac
4565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4566 (eval "$ac_link") 2>conftest.er1
4567 ac_status=$?
4568 grep -v '^ *+' conftest.er1 >conftest.err
4569 rm -f conftest.er1
4570 cat conftest.err >&5
4571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4572 (exit $ac_status); } && {
4573 test -z "$ac_c_werror_flag" ||
4574 test ! -s conftest.err
4575 } && test -s conftest$ac_exeext &&
4576 $as_test_x conftest$ac_exeext; then
4577 ac_cv_lib_z_deflate=yes
4578 else
4579 echo "$as_me: failed program was:" >&5
4580 sed 's/^/| /' conftest.$ac_ext >&5
4582 ac_cv_lib_z_deflate=no
4585 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4586 conftest$ac_exeext conftest.$ac_ext
4587 LIBS=$ac_check_lib_save_LIBS
4589 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
4590 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
4591 if test $ac_cv_lib_z_deflate = yes; then
4592 cat >>confdefs.h <<_ACEOF
4593 #define HAVE_LIBZ 1
4594 _ACEOF
4596 LIBS="-lz $LIBS"
4598 else
4599 { { echo "$as_me:$LINENO: error: *** zlib missing - install first or check config.log ***" >&5
4600 echo "$as_me: error: *** zlib missing - install first or check config.log ***" >&2;}
4601 { (exit 1); exit 1; }; }
4604 { echo "$as_me:$LINENO: Enabling zlib" >&5
4605 echo "$as_me: Enabling zlib" >&6;}
4608 else
4610 # if not disabled, check for zlib
4612 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
4613 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
4614 if test "${ac_cv_lib_z_deflate+set}" = set; then
4615 echo $ECHO_N "(cached) $ECHO_C" >&6
4616 else
4617 ac_check_lib_save_LIBS=$LIBS
4618 LIBS="-lz $LIBS"
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. */
4626 /* Override any GCC internal prototype to avoid an error.
4627 Use char because int might match the return type of a GCC
4628 builtin and then its argument prototype would still apply. */
4629 #ifdef __cplusplus
4630 extern "C"
4631 #endif
4632 char deflate ();
4634 main ()
4636 return deflate ();
4638 return 0;
4640 _ACEOF
4641 rm -f conftest.$ac_objext conftest$ac_exeext
4642 if { (ac_try="$ac_link"
4643 case "(($ac_try" in
4644 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4645 *) ac_try_echo=$ac_try;;
4646 esac
4647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4648 (eval "$ac_link") 2>conftest.er1
4649 ac_status=$?
4650 grep -v '^ *+' conftest.er1 >conftest.err
4651 rm -f conftest.er1
4652 cat conftest.err >&5
4653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4654 (exit $ac_status); } && {
4655 test -z "$ac_c_werror_flag" ||
4656 test ! -s conftest.err
4657 } && test -s conftest$ac_exeext &&
4658 $as_test_x conftest$ac_exeext; then
4659 ac_cv_lib_z_deflate=yes
4660 else
4661 echo "$as_me: failed program was:" >&5
4662 sed 's/^/| /' conftest.$ac_ext >&5
4664 ac_cv_lib_z_deflate=no
4667 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4668 conftest$ac_exeext conftest.$ac_ext
4669 LIBS=$ac_check_lib_save_LIBS
4671 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
4672 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
4673 if test $ac_cv_lib_z_deflate = yes; then
4674 cat >>confdefs.h <<_ACEOF
4675 #define HAVE_LIBZ 1
4676 _ACEOF
4678 LIBS="-lz $LIBS"
4680 else
4681 { { echo "$as_me:$LINENO: error: *** zlib missing - install first or check config.log ***" >&5
4682 echo "$as_me: error: *** zlib missing - install first or check config.log ***" >&2;}
4683 { (exit 1); exit 1; }; }
4686 { echo "$as_me:$LINENO: Enabling zlib" >&5
4687 echo "$as_me: Enabling zlib" >&6;}
4693 # Check if pam is needed
4695 # Check whether --with-pam was given.
4696 if test "${with_pam+set}" = set; then
4697 withval=$with_pam;
4698 # option is given
4699 if test -d "$withval/lib"; then
4700 LDFLAGS="-L${withval}/lib ${LDFLAGS}"
4701 else
4702 LDFLAGS="-L${withval} ${LDFLAGS}"
4704 if test -d "$withval/include"; then
4705 CPPFLAGS="-I${withval}/include ${CPPFLAGS}"
4706 else
4707 CPPFLAGS="-I${withval} ${CPPFLAGS}"
4715 # Check whether --enable-pam was given.
4716 if test "${enable_pam+set}" = set; then
4717 enableval=$enable_pam;
4718 if test "x$enableval" = "xyes"; then
4720 { echo "$as_me:$LINENO: checking for pam_authenticate in -lpam" >&5
4721 echo $ECHO_N "checking for pam_authenticate in -lpam... $ECHO_C" >&6; }
4722 if test "${ac_cv_lib_pam_pam_authenticate+set}" = set; then
4723 echo $ECHO_N "(cached) $ECHO_C" >&6
4724 else
4725 ac_check_lib_save_LIBS=$LIBS
4726 LIBS="-lpam $LIBS"
4727 cat >conftest.$ac_ext <<_ACEOF
4728 /* confdefs.h. */
4729 _ACEOF
4730 cat confdefs.h >>conftest.$ac_ext
4731 cat >>conftest.$ac_ext <<_ACEOF
4732 /* end confdefs.h. */
4734 /* Override any GCC internal prototype to avoid an error.
4735 Use char because int might match the return type of a GCC
4736 builtin and then its argument prototype would still apply. */
4737 #ifdef __cplusplus
4738 extern "C"
4739 #endif
4740 char pam_authenticate ();
4742 main ()
4744 return pam_authenticate ();
4746 return 0;
4748 _ACEOF
4749 rm -f conftest.$ac_objext conftest$ac_exeext
4750 if { (ac_try="$ac_link"
4751 case "(($ac_try" in
4752 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4753 *) ac_try_echo=$ac_try;;
4754 esac
4755 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4756 (eval "$ac_link") 2>conftest.er1
4757 ac_status=$?
4758 grep -v '^ *+' conftest.er1 >conftest.err
4759 rm -f conftest.er1
4760 cat conftest.err >&5
4761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4762 (exit $ac_status); } && {
4763 test -z "$ac_c_werror_flag" ||
4764 test ! -s conftest.err
4765 } && test -s conftest$ac_exeext &&
4766 $as_test_x conftest$ac_exeext; then
4767 ac_cv_lib_pam_pam_authenticate=yes
4768 else
4769 echo "$as_me: failed program was:" >&5
4770 sed 's/^/| /' conftest.$ac_ext >&5
4772 ac_cv_lib_pam_pam_authenticate=no
4775 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4776 conftest$ac_exeext conftest.$ac_ext
4777 LIBS=$ac_check_lib_save_LIBS
4779 { echo "$as_me:$LINENO: result: $ac_cv_lib_pam_pam_authenticate" >&5
4780 echo "${ECHO_T}$ac_cv_lib_pam_pam_authenticate" >&6; }
4781 if test $ac_cv_lib_pam_pam_authenticate = yes; then
4782 cat >>confdefs.h <<_ACEOF
4783 #define HAVE_LIBPAM 1
4784 _ACEOF
4786 LIBS="-lpam $LIBS"
4788 else
4789 { { echo "$as_me:$LINENO: error: *** PAM missing - install first or check config.log ***" >&5
4790 echo "$as_me: error: *** PAM missing - install first or check config.log ***" >&2;}
4791 { (exit 1); exit 1; }; }
4794 { echo "$as_me:$LINENO: Enabling PAM" >&5
4795 echo "$as_me: Enabling PAM" >&6;}
4797 for ac_func in pam_fail_delay
4799 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4800 { echo "$as_me:$LINENO: checking for $ac_func" >&5
4801 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
4802 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
4803 echo $ECHO_N "(cached) $ECHO_C" >&6
4804 else
4805 cat >conftest.$ac_ext <<_ACEOF
4806 /* confdefs.h. */
4807 _ACEOF
4808 cat confdefs.h >>conftest.$ac_ext
4809 cat >>conftest.$ac_ext <<_ACEOF
4810 /* end confdefs.h. */
4811 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4812 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4813 #define $ac_func innocuous_$ac_func
4815 /* System header to define __stub macros and hopefully few prototypes,
4816 which can conflict with char $ac_func (); below.
4817 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4818 <limits.h> exists even on freestanding compilers. */
4820 #ifdef __STDC__
4821 # include <limits.h>
4822 #else
4823 # include <assert.h>
4824 #endif
4826 #undef $ac_func
4828 /* Override any GCC internal prototype to avoid an error.
4829 Use char because int might match the return type of a GCC
4830 builtin and then its argument prototype would still apply. */
4831 #ifdef __cplusplus
4832 extern "C"
4833 #endif
4834 char $ac_func ();
4835 /* The GNU C library defines this for functions which it implements
4836 to always fail with ENOSYS. Some functions are actually named
4837 something starting with __ and the normal name is an alias. */
4838 #if defined __stub_$ac_func || defined __stub___$ac_func
4839 choke me
4840 #endif
4843 main ()
4845 return $ac_func ();
4847 return 0;
4849 _ACEOF
4850 rm -f conftest.$ac_objext conftest$ac_exeext
4851 if { (ac_try="$ac_link"
4852 case "(($ac_try" in
4853 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4854 *) ac_try_echo=$ac_try;;
4855 esac
4856 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4857 (eval "$ac_link") 2>conftest.er1
4858 ac_status=$?
4859 grep -v '^ *+' conftest.er1 >conftest.err
4860 rm -f conftest.er1
4861 cat conftest.err >&5
4862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4863 (exit $ac_status); } && {
4864 test -z "$ac_c_werror_flag" ||
4865 test ! -s conftest.err
4866 } && test -s conftest$ac_exeext &&
4867 $as_test_x conftest$ac_exeext; then
4868 eval "$as_ac_var=yes"
4869 else
4870 echo "$as_me: failed program was:" >&5
4871 sed 's/^/| /' conftest.$ac_ext >&5
4873 eval "$as_ac_var=no"
4876 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4877 conftest$ac_exeext conftest.$ac_ext
4879 ac_res=`eval echo '${'$as_ac_var'}'`
4880 { echo "$as_me:$LINENO: result: $ac_res" >&5
4881 echo "${ECHO_T}$ac_res" >&6; }
4882 if test `eval echo '${'$as_ac_var'}'` = yes; then
4883 cat >>confdefs.h <<_ACEOF
4884 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4885 _ACEOF
4888 done
4890 else
4892 cat >>confdefs.h <<\_ACEOF
4893 #define DISABLE_PAM
4894 _ACEOF
4896 { echo "$as_me:$LINENO: Disabling PAM" >&5
4897 echo "$as_me: Disabling PAM" >&6;}
4900 else
4902 # disable it by default
4904 cat >>confdefs.h <<\_ACEOF
4905 #define DISABLE_PAM
4906 _ACEOF
4908 { echo "$as_me:$LINENO: Disabling PAM" >&5
4909 echo "$as_me: Disabling PAM" >&6;}
4915 # Check whether --enable-openpty was given.
4916 if test "${enable_openpty+set}" = set; then
4917 enableval=$enable_openpty;
4918 if test "x$enableval" = "xno"; then
4919 { echo "$as_me:$LINENO: Not using openpty" >&5
4920 echo "$as_me: Not using openpty" >&6;}
4921 else
4922 { echo "$as_me:$LINENO: Using openpty if available" >&5
4923 echo "$as_me: Using openpty if available" >&6;}
4924 { echo "$as_me:$LINENO: checking for library containing openpty" >&5
4925 echo $ECHO_N "checking for library containing openpty... $ECHO_C" >&6; }
4926 if test "${ac_cv_search_openpty+set}" = set; then
4927 echo $ECHO_N "(cached) $ECHO_C" >&6
4928 else
4929 ac_func_search_save_LIBS=$LIBS
4930 cat >conftest.$ac_ext <<_ACEOF
4931 /* confdefs.h. */
4932 _ACEOF
4933 cat confdefs.h >>conftest.$ac_ext
4934 cat >>conftest.$ac_ext <<_ACEOF
4935 /* end confdefs.h. */
4937 /* Override any GCC internal prototype to avoid an error.
4938 Use char because int might match the return type of a GCC
4939 builtin and then its argument prototype would still apply. */
4940 #ifdef __cplusplus
4941 extern "C"
4942 #endif
4943 char openpty ();
4945 main ()
4947 return openpty ();
4949 return 0;
4951 _ACEOF
4952 for ac_lib in '' util; do
4953 if test -z "$ac_lib"; then
4954 ac_res="none required"
4955 else
4956 ac_res=-l$ac_lib
4957 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
4959 rm -f conftest.$ac_objext conftest$ac_exeext
4960 if { (ac_try="$ac_link"
4961 case "(($ac_try" in
4962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4963 *) ac_try_echo=$ac_try;;
4964 esac
4965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4966 (eval "$ac_link") 2>conftest.er1
4967 ac_status=$?
4968 grep -v '^ *+' conftest.er1 >conftest.err
4969 rm -f conftest.er1
4970 cat conftest.err >&5
4971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4972 (exit $ac_status); } && {
4973 test -z "$ac_c_werror_flag" ||
4974 test ! -s conftest.err
4975 } && test -s conftest$ac_exeext &&
4976 $as_test_x conftest$ac_exeext; then
4977 ac_cv_search_openpty=$ac_res
4978 else
4979 echo "$as_me: failed program was:" >&5
4980 sed 's/^/| /' conftest.$ac_ext >&5
4985 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4986 conftest$ac_exeext
4987 if test "${ac_cv_search_openpty+set}" = set; then
4988 break
4990 done
4991 if test "${ac_cv_search_openpty+set}" = set; then
4993 else
4994 ac_cv_search_openpty=no
4996 rm conftest.$ac_ext
4997 LIBS=$ac_func_search_save_LIBS
4999 { echo "$as_me:$LINENO: result: $ac_cv_search_openpty" >&5
5000 echo "${ECHO_T}$ac_cv_search_openpty" >&6; }
5001 ac_res=$ac_cv_search_openpty
5002 if test "$ac_res" != no; then
5003 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
5005 cat >>confdefs.h <<\_ACEOF
5006 #define HAVE_OPENPTY
5007 _ACEOF
5013 else
5015 { echo "$as_me:$LINENO: Using openpty if available" >&5
5016 echo "$as_me: Using openpty if available" >&6;}
5017 { echo "$as_me:$LINENO: checking for library containing openpty" >&5
5018 echo $ECHO_N "checking for library containing openpty... $ECHO_C" >&6; }
5019 if test "${ac_cv_search_openpty+set}" = set; then
5020 echo $ECHO_N "(cached) $ECHO_C" >&6
5021 else
5022 ac_func_search_save_LIBS=$LIBS
5023 cat >conftest.$ac_ext <<_ACEOF
5024 /* confdefs.h. */
5025 _ACEOF
5026 cat confdefs.h >>conftest.$ac_ext
5027 cat >>conftest.$ac_ext <<_ACEOF
5028 /* end confdefs.h. */
5030 /* Override any GCC internal prototype to avoid an error.
5031 Use char because int might match the return type of a GCC
5032 builtin and then its argument prototype would still apply. */
5033 #ifdef __cplusplus
5034 extern "C"
5035 #endif
5036 char openpty ();
5038 main ()
5040 return openpty ();
5042 return 0;
5044 _ACEOF
5045 for ac_lib in '' util; do
5046 if test -z "$ac_lib"; then
5047 ac_res="none required"
5048 else
5049 ac_res=-l$ac_lib
5050 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
5052 rm -f conftest.$ac_objext conftest$ac_exeext
5053 if { (ac_try="$ac_link"
5054 case "(($ac_try" in
5055 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5056 *) ac_try_echo=$ac_try;;
5057 esac
5058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5059 (eval "$ac_link") 2>conftest.er1
5060 ac_status=$?
5061 grep -v '^ *+' conftest.er1 >conftest.err
5062 rm -f conftest.er1
5063 cat conftest.err >&5
5064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5065 (exit $ac_status); } && {
5066 test -z "$ac_c_werror_flag" ||
5067 test ! -s conftest.err
5068 } && test -s conftest$ac_exeext &&
5069 $as_test_x conftest$ac_exeext; then
5070 ac_cv_search_openpty=$ac_res
5071 else
5072 echo "$as_me: failed program was:" >&5
5073 sed 's/^/| /' conftest.$ac_ext >&5
5078 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5079 conftest$ac_exeext
5080 if test "${ac_cv_search_openpty+set}" = set; then
5081 break
5083 done
5084 if test "${ac_cv_search_openpty+set}" = set; then
5086 else
5087 ac_cv_search_openpty=no
5089 rm conftest.$ac_ext
5090 LIBS=$ac_func_search_save_LIBS
5092 { echo "$as_me:$LINENO: result: $ac_cv_search_openpty" >&5
5093 echo "${ECHO_T}$ac_cv_search_openpty" >&6; }
5094 ac_res=$ac_cv_search_openpty
5095 if test "$ac_res" != no; then
5096 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
5097 cat >>confdefs.h <<\_ACEOF
5098 #define HAVE_OPENPTY 1
5099 _ACEOF
5109 # Check whether --enable-syslog was given.
5110 if test "${enable_syslog+set}" = set; then
5111 enableval=$enable_syslog;
5112 if test "x$enableval" = "xno"; then
5114 cat >>confdefs.h <<\_ACEOF
5115 #define DISABLE_SYSLOG
5116 _ACEOF
5118 { echo "$as_me:$LINENO: Disabling syslog" >&5
5119 echo "$as_me: Disabling syslog" >&6;}
5120 else
5121 { echo "$as_me:$LINENO: Enabling syslog" >&5
5122 echo "$as_me: Enabling syslog" >&6;}
5125 else
5127 { echo "$as_me:$LINENO: Enabling syslog" >&5
5128 echo "$as_me: Enabling syslog" >&6;}
5134 # Check whether --enable-shadow was given.
5135 if test "${enable_shadow+set}" = set; then
5136 enableval=$enable_shadow;
5137 if test "x$enableval" = "xno"; then
5138 { echo "$as_me:$LINENO: Not using shadow passwords" >&5
5139 echo "$as_me: Not using shadow passwords" >&6;}
5140 else
5142 for ac_header in shadow.h
5144 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5145 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5146 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5147 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5148 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5149 echo $ECHO_N "(cached) $ECHO_C" >&6
5151 ac_res=`eval echo '${'$as_ac_Header'}'`
5152 { echo "$as_me:$LINENO: result: $ac_res" >&5
5153 echo "${ECHO_T}$ac_res" >&6; }
5154 else
5155 # Is the header compilable?
5156 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
5157 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5158 cat >conftest.$ac_ext <<_ACEOF
5159 /* confdefs.h. */
5160 _ACEOF
5161 cat confdefs.h >>conftest.$ac_ext
5162 cat >>conftest.$ac_ext <<_ACEOF
5163 /* end confdefs.h. */
5164 $ac_includes_default
5165 #include <$ac_header>
5166 _ACEOF
5167 rm -f conftest.$ac_objext
5168 if { (ac_try="$ac_compile"
5169 case "(($ac_try" in
5170 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5171 *) ac_try_echo=$ac_try;;
5172 esac
5173 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5174 (eval "$ac_compile") 2>conftest.er1
5175 ac_status=$?
5176 grep -v '^ *+' conftest.er1 >conftest.err
5177 rm -f conftest.er1
5178 cat conftest.err >&5
5179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5180 (exit $ac_status); } && {
5181 test -z "$ac_c_werror_flag" ||
5182 test ! -s conftest.err
5183 } && test -s conftest.$ac_objext; then
5184 ac_header_compiler=yes
5185 else
5186 echo "$as_me: failed program was:" >&5
5187 sed 's/^/| /' conftest.$ac_ext >&5
5189 ac_header_compiler=no
5192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5193 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5194 echo "${ECHO_T}$ac_header_compiler" >&6; }
5196 # Is the header present?
5197 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
5198 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5199 cat >conftest.$ac_ext <<_ACEOF
5200 /* confdefs.h. */
5201 _ACEOF
5202 cat confdefs.h >>conftest.$ac_ext
5203 cat >>conftest.$ac_ext <<_ACEOF
5204 /* end confdefs.h. */
5205 #include <$ac_header>
5206 _ACEOF
5207 if { (ac_try="$ac_cpp conftest.$ac_ext"
5208 case "(($ac_try" in
5209 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5210 *) ac_try_echo=$ac_try;;
5211 esac
5212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5213 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5214 ac_status=$?
5215 grep -v '^ *+' conftest.er1 >conftest.err
5216 rm -f conftest.er1
5217 cat conftest.err >&5
5218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5219 (exit $ac_status); } >/dev/null && {
5220 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5221 test ! -s conftest.err
5222 }; then
5223 ac_header_preproc=yes
5224 else
5225 echo "$as_me: failed program was:" >&5
5226 sed 's/^/| /' conftest.$ac_ext >&5
5228 ac_header_preproc=no
5231 rm -f conftest.err conftest.$ac_ext
5232 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5233 echo "${ECHO_T}$ac_header_preproc" >&6; }
5235 # So? What about this header?
5236 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5237 yes:no: )
5238 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5239 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5240 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5241 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5242 ac_header_preproc=yes
5244 no:yes:* )
5245 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5246 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5247 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5248 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5249 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5250 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5251 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5252 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5253 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5254 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5255 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5256 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5259 esac
5260 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5261 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5262 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5263 echo $ECHO_N "(cached) $ECHO_C" >&6
5264 else
5265 eval "$as_ac_Header=\$ac_header_preproc"
5267 ac_res=`eval echo '${'$as_ac_Header'}'`
5268 { echo "$as_me:$LINENO: result: $ac_res" >&5
5269 echo "${ECHO_T}$ac_res" >&6; }
5272 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5273 cat >>confdefs.h <<_ACEOF
5274 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5275 _ACEOF
5279 done
5281 { echo "$as_me:$LINENO: Using shadow passwords if available" >&5
5282 echo "$as_me: Using shadow passwords if available" >&6;}
5285 else
5288 for ac_header in shadow.h
5290 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5291 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5292 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5293 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5294 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5295 echo $ECHO_N "(cached) $ECHO_C" >&6
5297 ac_res=`eval echo '${'$as_ac_Header'}'`
5298 { echo "$as_me:$LINENO: result: $ac_res" >&5
5299 echo "${ECHO_T}$ac_res" >&6; }
5300 else
5301 # Is the header compilable?
5302 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
5303 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5304 cat >conftest.$ac_ext <<_ACEOF
5305 /* confdefs.h. */
5306 _ACEOF
5307 cat confdefs.h >>conftest.$ac_ext
5308 cat >>conftest.$ac_ext <<_ACEOF
5309 /* end confdefs.h. */
5310 $ac_includes_default
5311 #include <$ac_header>
5312 _ACEOF
5313 rm -f conftest.$ac_objext
5314 if { (ac_try="$ac_compile"
5315 case "(($ac_try" in
5316 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5317 *) ac_try_echo=$ac_try;;
5318 esac
5319 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5320 (eval "$ac_compile") 2>conftest.er1
5321 ac_status=$?
5322 grep -v '^ *+' conftest.er1 >conftest.err
5323 rm -f conftest.er1
5324 cat conftest.err >&5
5325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5326 (exit $ac_status); } && {
5327 test -z "$ac_c_werror_flag" ||
5328 test ! -s conftest.err
5329 } && test -s conftest.$ac_objext; then
5330 ac_header_compiler=yes
5331 else
5332 echo "$as_me: failed program was:" >&5
5333 sed 's/^/| /' conftest.$ac_ext >&5
5335 ac_header_compiler=no
5338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5339 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5340 echo "${ECHO_T}$ac_header_compiler" >&6; }
5342 # Is the header present?
5343 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
5344 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5345 cat >conftest.$ac_ext <<_ACEOF
5346 /* confdefs.h. */
5347 _ACEOF
5348 cat confdefs.h >>conftest.$ac_ext
5349 cat >>conftest.$ac_ext <<_ACEOF
5350 /* end confdefs.h. */
5351 #include <$ac_header>
5352 _ACEOF
5353 if { (ac_try="$ac_cpp conftest.$ac_ext"
5354 case "(($ac_try" in
5355 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5356 *) ac_try_echo=$ac_try;;
5357 esac
5358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5359 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5360 ac_status=$?
5361 grep -v '^ *+' conftest.er1 >conftest.err
5362 rm -f conftest.er1
5363 cat conftest.err >&5
5364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5365 (exit $ac_status); } >/dev/null && {
5366 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5367 test ! -s conftest.err
5368 }; then
5369 ac_header_preproc=yes
5370 else
5371 echo "$as_me: failed program was:" >&5
5372 sed 's/^/| /' conftest.$ac_ext >&5
5374 ac_header_preproc=no
5377 rm -f conftest.err conftest.$ac_ext
5378 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5379 echo "${ECHO_T}$ac_header_preproc" >&6; }
5381 # So? What about this header?
5382 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5383 yes:no: )
5384 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5385 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5386 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5387 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5388 ac_header_preproc=yes
5390 no:yes:* )
5391 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5392 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5393 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5394 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5395 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5396 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5397 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5398 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5399 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5400 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5401 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5402 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5405 esac
5406 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5407 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5408 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5409 echo $ECHO_N "(cached) $ECHO_C" >&6
5410 else
5411 eval "$as_ac_Header=\$ac_header_preproc"
5413 ac_res=`eval echo '${'$as_ac_Header'}'`
5414 { echo "$as_me:$LINENO: result: $ac_res" >&5
5415 echo "${ECHO_T}$ac_res" >&6; }
5418 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5419 cat >>confdefs.h <<_ACEOF
5420 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5421 _ACEOF
5425 done
5427 { echo "$as_me:$LINENO: Using shadow passwords if available" >&5
5428 echo "$as_me: Using shadow passwords if available" >&6;}
5435 # Checks for header files.
5436 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5437 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
5438 if test "${ac_cv_header_stdc+set}" = set; then
5439 echo $ECHO_N "(cached) $ECHO_C" >&6
5440 else
5441 cat >conftest.$ac_ext <<_ACEOF
5442 /* confdefs.h. */
5443 _ACEOF
5444 cat confdefs.h >>conftest.$ac_ext
5445 cat >>conftest.$ac_ext <<_ACEOF
5446 /* end confdefs.h. */
5447 #include <stdlib.h>
5448 #include <stdarg.h>
5449 #include <string.h>
5450 #include <float.h>
5453 main ()
5457 return 0;
5459 _ACEOF
5460 rm -f conftest.$ac_objext
5461 if { (ac_try="$ac_compile"
5462 case "(($ac_try" in
5463 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5464 *) ac_try_echo=$ac_try;;
5465 esac
5466 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5467 (eval "$ac_compile") 2>conftest.er1
5468 ac_status=$?
5469 grep -v '^ *+' conftest.er1 >conftest.err
5470 rm -f conftest.er1
5471 cat conftest.err >&5
5472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5473 (exit $ac_status); } && {
5474 test -z "$ac_c_werror_flag" ||
5475 test ! -s conftest.err
5476 } && test -s conftest.$ac_objext; then
5477 ac_cv_header_stdc=yes
5478 else
5479 echo "$as_me: failed program was:" >&5
5480 sed 's/^/| /' conftest.$ac_ext >&5
5482 ac_cv_header_stdc=no
5485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5487 if test $ac_cv_header_stdc = yes; then
5488 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5489 cat >conftest.$ac_ext <<_ACEOF
5490 /* confdefs.h. */
5491 _ACEOF
5492 cat confdefs.h >>conftest.$ac_ext
5493 cat >>conftest.$ac_ext <<_ACEOF
5494 /* end confdefs.h. */
5495 #include <string.h>
5497 _ACEOF
5498 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5499 $EGREP "memchr" >/dev/null 2>&1; then
5501 else
5502 ac_cv_header_stdc=no
5504 rm -f -r conftest*
5508 if test $ac_cv_header_stdc = yes; then
5509 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5510 cat >conftest.$ac_ext <<_ACEOF
5511 /* confdefs.h. */
5512 _ACEOF
5513 cat confdefs.h >>conftest.$ac_ext
5514 cat >>conftest.$ac_ext <<_ACEOF
5515 /* end confdefs.h. */
5516 #include <stdlib.h>
5518 _ACEOF
5519 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5520 $EGREP "free" >/dev/null 2>&1; then
5522 else
5523 ac_cv_header_stdc=no
5525 rm -f -r conftest*
5529 if test $ac_cv_header_stdc = yes; then
5530 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5531 if test "$cross_compiling" = yes; then
5533 else
5534 cat >conftest.$ac_ext <<_ACEOF
5535 /* confdefs.h. */
5536 _ACEOF
5537 cat confdefs.h >>conftest.$ac_ext
5538 cat >>conftest.$ac_ext <<_ACEOF
5539 /* end confdefs.h. */
5540 #include <ctype.h>
5541 #include <stdlib.h>
5542 #if ((' ' & 0x0FF) == 0x020)
5543 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5544 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5545 #else
5546 # define ISLOWER(c) \
5547 (('a' <= (c) && (c) <= 'i') \
5548 || ('j' <= (c) && (c) <= 'r') \
5549 || ('s' <= (c) && (c) <= 'z'))
5550 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5551 #endif
5553 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5555 main ()
5557 int i;
5558 for (i = 0; i < 256; i++)
5559 if (XOR (islower (i), ISLOWER (i))
5560 || toupper (i) != TOUPPER (i))
5561 return 2;
5562 return 0;
5564 _ACEOF
5565 rm -f conftest$ac_exeext
5566 if { (ac_try="$ac_link"
5567 case "(($ac_try" in
5568 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5569 *) ac_try_echo=$ac_try;;
5570 esac
5571 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5572 (eval "$ac_link") 2>&5
5573 ac_status=$?
5574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5575 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5576 { (case "(($ac_try" in
5577 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5578 *) ac_try_echo=$ac_try;;
5579 esac
5580 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5581 (eval "$ac_try") 2>&5
5582 ac_status=$?
5583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5584 (exit $ac_status); }; }; then
5586 else
5587 echo "$as_me: program exited with status $ac_status" >&5
5588 echo "$as_me: failed program was:" >&5
5589 sed 's/^/| /' conftest.$ac_ext >&5
5591 ( exit $ac_status )
5592 ac_cv_header_stdc=no
5594 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5600 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5601 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
5602 if test $ac_cv_header_stdc = yes; then
5604 cat >>confdefs.h <<\_ACEOF
5605 #define STDC_HEADERS 1
5606 _ACEOF
5610 { echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
5611 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6; }
5612 if test "${ac_cv_header_sys_wait_h+set}" = set; then
5613 echo $ECHO_N "(cached) $ECHO_C" >&6
5614 else
5615 cat >conftest.$ac_ext <<_ACEOF
5616 /* confdefs.h. */
5617 _ACEOF
5618 cat confdefs.h >>conftest.$ac_ext
5619 cat >>conftest.$ac_ext <<_ACEOF
5620 /* end confdefs.h. */
5621 #include <sys/types.h>
5622 #include <sys/wait.h>
5623 #ifndef WEXITSTATUS
5624 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
5625 #endif
5626 #ifndef WIFEXITED
5627 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
5628 #endif
5631 main ()
5633 int s;
5634 wait (&s);
5635 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
5637 return 0;
5639 _ACEOF
5640 rm -f conftest.$ac_objext
5641 if { (ac_try="$ac_compile"
5642 case "(($ac_try" in
5643 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5644 *) ac_try_echo=$ac_try;;
5645 esac
5646 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5647 (eval "$ac_compile") 2>conftest.er1
5648 ac_status=$?
5649 grep -v '^ *+' conftest.er1 >conftest.err
5650 rm -f conftest.er1
5651 cat conftest.err >&5
5652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5653 (exit $ac_status); } && {
5654 test -z "$ac_c_werror_flag" ||
5655 test ! -s conftest.err
5656 } && test -s conftest.$ac_objext; then
5657 ac_cv_header_sys_wait_h=yes
5658 else
5659 echo "$as_me: failed program was:" >&5
5660 sed 's/^/| /' conftest.$ac_ext >&5
5662 ac_cv_header_sys_wait_h=no
5665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5667 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
5668 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6; }
5669 if test $ac_cv_header_sys_wait_h = yes; then
5671 cat >>confdefs.h <<\_ACEOF
5672 #define HAVE_SYS_WAIT_H 1
5673 _ACEOF
5703 for ac_header in fcntl.h limits.h netinet/in.h netinet/tcp.h stdlib.h string.h sys/socket.h sys/time.h termios.h unistd.h crypt.h pty.h ioctl.h libutil.h libgen.h inttypes.h stropts.h utmp.h utmpx.h lastlog.h paths.h util.h netdb.h security/pam_appl.h pam/pam_appl.h netinet/in_systm.h
5705 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5706 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5707 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5708 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5709 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5710 echo $ECHO_N "(cached) $ECHO_C" >&6
5712 ac_res=`eval echo '${'$as_ac_Header'}'`
5713 { echo "$as_me:$LINENO: result: $ac_res" >&5
5714 echo "${ECHO_T}$ac_res" >&6; }
5715 else
5716 # Is the header compilable?
5717 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
5718 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5719 cat >conftest.$ac_ext <<_ACEOF
5720 /* confdefs.h. */
5721 _ACEOF
5722 cat confdefs.h >>conftest.$ac_ext
5723 cat >>conftest.$ac_ext <<_ACEOF
5724 /* end confdefs.h. */
5725 $ac_includes_default
5726 #include <$ac_header>
5727 _ACEOF
5728 rm -f conftest.$ac_objext
5729 if { (ac_try="$ac_compile"
5730 case "(($ac_try" in
5731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5732 *) ac_try_echo=$ac_try;;
5733 esac
5734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5735 (eval "$ac_compile") 2>conftest.er1
5736 ac_status=$?
5737 grep -v '^ *+' conftest.er1 >conftest.err
5738 rm -f conftest.er1
5739 cat conftest.err >&5
5740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5741 (exit $ac_status); } && {
5742 test -z "$ac_c_werror_flag" ||
5743 test ! -s conftest.err
5744 } && test -s conftest.$ac_objext; then
5745 ac_header_compiler=yes
5746 else
5747 echo "$as_me: failed program was:" >&5
5748 sed 's/^/| /' conftest.$ac_ext >&5
5750 ac_header_compiler=no
5753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5754 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5755 echo "${ECHO_T}$ac_header_compiler" >&6; }
5757 # Is the header present?
5758 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
5759 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5760 cat >conftest.$ac_ext <<_ACEOF
5761 /* confdefs.h. */
5762 _ACEOF
5763 cat confdefs.h >>conftest.$ac_ext
5764 cat >>conftest.$ac_ext <<_ACEOF
5765 /* end confdefs.h. */
5766 #include <$ac_header>
5767 _ACEOF
5768 if { (ac_try="$ac_cpp conftest.$ac_ext"
5769 case "(($ac_try" in
5770 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5771 *) ac_try_echo=$ac_try;;
5772 esac
5773 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5774 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5775 ac_status=$?
5776 grep -v '^ *+' conftest.er1 >conftest.err
5777 rm -f conftest.er1
5778 cat conftest.err >&5
5779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5780 (exit $ac_status); } >/dev/null && {
5781 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5782 test ! -s conftest.err
5783 }; then
5784 ac_header_preproc=yes
5785 else
5786 echo "$as_me: failed program was:" >&5
5787 sed 's/^/| /' conftest.$ac_ext >&5
5789 ac_header_preproc=no
5792 rm -f conftest.err conftest.$ac_ext
5793 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5794 echo "${ECHO_T}$ac_header_preproc" >&6; }
5796 # So? What about this header?
5797 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5798 yes:no: )
5799 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5800 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5801 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5802 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5803 ac_header_preproc=yes
5805 no:yes:* )
5806 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5807 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5808 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5809 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5810 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5811 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5812 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5813 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5814 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5815 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5816 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5817 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5820 esac
5821 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5822 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5823 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5824 echo $ECHO_N "(cached) $ECHO_C" >&6
5825 else
5826 eval "$as_ac_Header=\$ac_header_preproc"
5828 ac_res=`eval echo '${'$as_ac_Header'}'`
5829 { echo "$as_me:$LINENO: result: $ac_res" >&5
5830 echo "${ECHO_T}$ac_res" >&6; }
5833 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5834 cat >>confdefs.h <<_ACEOF
5835 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5836 _ACEOF
5840 done
5843 # Checks for typedefs, structures, and compiler characteristics.
5844 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
5845 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
5846 if test "${ac_cv_c_const+set}" = set; then
5847 echo $ECHO_N "(cached) $ECHO_C" >&6
5848 else
5849 cat >conftest.$ac_ext <<_ACEOF
5850 /* confdefs.h. */
5851 _ACEOF
5852 cat confdefs.h >>conftest.$ac_ext
5853 cat >>conftest.$ac_ext <<_ACEOF
5854 /* end confdefs.h. */
5857 main ()
5859 /* FIXME: Include the comments suggested by Paul. */
5860 #ifndef __cplusplus
5861 /* Ultrix mips cc rejects this. */
5862 typedef int charset[2];
5863 const charset cs;
5864 /* SunOS 4.1.1 cc rejects this. */
5865 char const *const *pcpcc;
5866 char **ppc;
5867 /* NEC SVR4.0.2 mips cc rejects this. */
5868 struct point {int x, y;};
5869 static struct point const zero = {0,0};
5870 /* AIX XL C 1.02.0.0 rejects this.
5871 It does not let you subtract one const X* pointer from another in
5872 an arm of an if-expression whose if-part is not a constant
5873 expression */
5874 const char *g = "string";
5875 pcpcc = &g + (g ? g-g : 0);
5876 /* HPUX 7.0 cc rejects these. */
5877 ++pcpcc;
5878 ppc = (char**) pcpcc;
5879 pcpcc = (char const *const *) ppc;
5880 { /* SCO 3.2v4 cc rejects this. */
5881 char *t;
5882 char const *s = 0 ? (char *) 0 : (char const *) 0;
5884 *t++ = 0;
5885 if (s) return 0;
5887 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
5888 int x[] = {25, 17};
5889 const int *foo = &x[0];
5890 ++foo;
5892 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
5893 typedef const int *iptr;
5894 iptr p = 0;
5895 ++p;
5897 { /* AIX XL C 1.02.0.0 rejects this saying
5898 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
5899 struct s { int j; const int *ap[3]; };
5900 struct s *b; b->j = 5;
5902 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
5903 const int foo = 10;
5904 if (!foo) return 0;
5906 return !cs[0] && !zero.x;
5907 #endif
5910 return 0;
5912 _ACEOF
5913 rm -f conftest.$ac_objext
5914 if { (ac_try="$ac_compile"
5915 case "(($ac_try" in
5916 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5917 *) ac_try_echo=$ac_try;;
5918 esac
5919 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5920 (eval "$ac_compile") 2>conftest.er1
5921 ac_status=$?
5922 grep -v '^ *+' conftest.er1 >conftest.err
5923 rm -f conftest.er1
5924 cat conftest.err >&5
5925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5926 (exit $ac_status); } && {
5927 test -z "$ac_c_werror_flag" ||
5928 test ! -s conftest.err
5929 } && test -s conftest.$ac_objext; then
5930 ac_cv_c_const=yes
5931 else
5932 echo "$as_me: failed program was:" >&5
5933 sed 's/^/| /' conftest.$ac_ext >&5
5935 ac_cv_c_const=no
5938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5940 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
5941 echo "${ECHO_T}$ac_cv_c_const" >&6; }
5942 if test $ac_cv_c_const = no; then
5944 cat >>confdefs.h <<\_ACEOF
5945 #define const
5946 _ACEOF
5950 { echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
5951 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6; }
5952 if test "${ac_cv_type_uid_t+set}" = set; then
5953 echo $ECHO_N "(cached) $ECHO_C" >&6
5954 else
5955 cat >conftest.$ac_ext <<_ACEOF
5956 /* confdefs.h. */
5957 _ACEOF
5958 cat confdefs.h >>conftest.$ac_ext
5959 cat >>conftest.$ac_ext <<_ACEOF
5960 /* end confdefs.h. */
5961 #include <sys/types.h>
5963 _ACEOF
5964 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5965 $EGREP "uid_t" >/dev/null 2>&1; then
5966 ac_cv_type_uid_t=yes
5967 else
5968 ac_cv_type_uid_t=no
5970 rm -f -r conftest*
5973 { echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
5974 echo "${ECHO_T}$ac_cv_type_uid_t" >&6; }
5975 if test $ac_cv_type_uid_t = no; then
5977 cat >>confdefs.h <<\_ACEOF
5978 #define uid_t int
5979 _ACEOF
5982 cat >>confdefs.h <<\_ACEOF
5983 #define gid_t int
5984 _ACEOF
5988 { echo "$as_me:$LINENO: checking for mode_t" >&5
5989 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
5990 if test "${ac_cv_type_mode_t+set}" = set; then
5991 echo $ECHO_N "(cached) $ECHO_C" >&6
5992 else
5993 cat >conftest.$ac_ext <<_ACEOF
5994 /* confdefs.h. */
5995 _ACEOF
5996 cat confdefs.h >>conftest.$ac_ext
5997 cat >>conftest.$ac_ext <<_ACEOF
5998 /* end confdefs.h. */
5999 $ac_includes_default
6000 typedef mode_t ac__type_new_;
6002 main ()
6004 if ((ac__type_new_ *) 0)
6005 return 0;
6006 if (sizeof (ac__type_new_))
6007 return 0;
6009 return 0;
6011 _ACEOF
6012 rm -f conftest.$ac_objext
6013 if { (ac_try="$ac_compile"
6014 case "(($ac_try" in
6015 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6016 *) ac_try_echo=$ac_try;;
6017 esac
6018 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6019 (eval "$ac_compile") 2>conftest.er1
6020 ac_status=$?
6021 grep -v '^ *+' conftest.er1 >conftest.err
6022 rm -f conftest.er1
6023 cat conftest.err >&5
6024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6025 (exit $ac_status); } && {
6026 test -z "$ac_c_werror_flag" ||
6027 test ! -s conftest.err
6028 } && test -s conftest.$ac_objext; then
6029 ac_cv_type_mode_t=yes
6030 else
6031 echo "$as_me: failed program was:" >&5
6032 sed 's/^/| /' conftest.$ac_ext >&5
6034 ac_cv_type_mode_t=no
6037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6039 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
6040 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
6041 if test $ac_cv_type_mode_t = yes; then
6043 else
6045 cat >>confdefs.h <<_ACEOF
6046 #define mode_t int
6047 _ACEOF
6051 { echo "$as_me:$LINENO: checking for pid_t" >&5
6052 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
6053 if test "${ac_cv_type_pid_t+set}" = set; then
6054 echo $ECHO_N "(cached) $ECHO_C" >&6
6055 else
6056 cat >conftest.$ac_ext <<_ACEOF
6057 /* confdefs.h. */
6058 _ACEOF
6059 cat confdefs.h >>conftest.$ac_ext
6060 cat >>conftest.$ac_ext <<_ACEOF
6061 /* end confdefs.h. */
6062 $ac_includes_default
6063 typedef pid_t ac__type_new_;
6065 main ()
6067 if ((ac__type_new_ *) 0)
6068 return 0;
6069 if (sizeof (ac__type_new_))
6070 return 0;
6072 return 0;
6074 _ACEOF
6075 rm -f conftest.$ac_objext
6076 if { (ac_try="$ac_compile"
6077 case "(($ac_try" in
6078 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6079 *) ac_try_echo=$ac_try;;
6080 esac
6081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6082 (eval "$ac_compile") 2>conftest.er1
6083 ac_status=$?
6084 grep -v '^ *+' conftest.er1 >conftest.err
6085 rm -f conftest.er1
6086 cat conftest.err >&5
6087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6088 (exit $ac_status); } && {
6089 test -z "$ac_c_werror_flag" ||
6090 test ! -s conftest.err
6091 } && test -s conftest.$ac_objext; then
6092 ac_cv_type_pid_t=yes
6093 else
6094 echo "$as_me: failed program was:" >&5
6095 sed 's/^/| /' conftest.$ac_ext >&5
6097 ac_cv_type_pid_t=no
6100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6102 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
6103 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
6104 if test $ac_cv_type_pid_t = yes; then
6106 else
6108 cat >>confdefs.h <<_ACEOF
6109 #define pid_t int
6110 _ACEOF
6114 { echo "$as_me:$LINENO: checking for size_t" >&5
6115 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
6116 if test "${ac_cv_type_size_t+set}" = set; then
6117 echo $ECHO_N "(cached) $ECHO_C" >&6
6118 else
6119 cat >conftest.$ac_ext <<_ACEOF
6120 /* confdefs.h. */
6121 _ACEOF
6122 cat confdefs.h >>conftest.$ac_ext
6123 cat >>conftest.$ac_ext <<_ACEOF
6124 /* end confdefs.h. */
6125 $ac_includes_default
6126 typedef size_t ac__type_new_;
6128 main ()
6130 if ((ac__type_new_ *) 0)
6131 return 0;
6132 if (sizeof (ac__type_new_))
6133 return 0;
6135 return 0;
6137 _ACEOF
6138 rm -f conftest.$ac_objext
6139 if { (ac_try="$ac_compile"
6140 case "(($ac_try" in
6141 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6142 *) ac_try_echo=$ac_try;;
6143 esac
6144 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6145 (eval "$ac_compile") 2>conftest.er1
6146 ac_status=$?
6147 grep -v '^ *+' conftest.er1 >conftest.err
6148 rm -f conftest.er1
6149 cat conftest.err >&5
6150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6151 (exit $ac_status); } && {
6152 test -z "$ac_c_werror_flag" ||
6153 test ! -s conftest.err
6154 } && test -s conftest.$ac_objext; then
6155 ac_cv_type_size_t=yes
6156 else
6157 echo "$as_me: failed program was:" >&5
6158 sed 's/^/| /' conftest.$ac_ext >&5
6160 ac_cv_type_size_t=no
6163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6165 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
6166 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
6167 if test $ac_cv_type_size_t = yes; then
6169 else
6171 cat >>confdefs.h <<_ACEOF
6172 #define size_t unsigned int
6173 _ACEOF
6177 { echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
6178 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; }
6179 if test "${ac_cv_header_time+set}" = set; then
6180 echo $ECHO_N "(cached) $ECHO_C" >&6
6181 else
6182 cat >conftest.$ac_ext <<_ACEOF
6183 /* confdefs.h. */
6184 _ACEOF
6185 cat confdefs.h >>conftest.$ac_ext
6186 cat >>conftest.$ac_ext <<_ACEOF
6187 /* end confdefs.h. */
6188 #include <sys/types.h>
6189 #include <sys/time.h>
6190 #include <time.h>
6193 main ()
6195 if ((struct tm *) 0)
6196 return 0;
6198 return 0;
6200 _ACEOF
6201 rm -f conftest.$ac_objext
6202 if { (ac_try="$ac_compile"
6203 case "(($ac_try" in
6204 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6205 *) ac_try_echo=$ac_try;;
6206 esac
6207 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6208 (eval "$ac_compile") 2>conftest.er1
6209 ac_status=$?
6210 grep -v '^ *+' conftest.er1 >conftest.err
6211 rm -f conftest.er1
6212 cat conftest.err >&5
6213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6214 (exit $ac_status); } && {
6215 test -z "$ac_c_werror_flag" ||
6216 test ! -s conftest.err
6217 } && test -s conftest.$ac_objext; then
6218 ac_cv_header_time=yes
6219 else
6220 echo "$as_me: failed program was:" >&5
6221 sed 's/^/| /' conftest.$ac_ext >&5
6223 ac_cv_header_time=no
6226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6228 { echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
6229 echo "${ECHO_T}$ac_cv_header_time" >&6; }
6230 if test $ac_cv_header_time = yes; then
6232 cat >>confdefs.h <<\_ACEOF
6233 #define TIME_WITH_SYS_TIME 1
6234 _ACEOF
6239 { echo "$as_me:$LINENO: checking for uint16_t" >&5
6240 echo $ECHO_N "checking for uint16_t... $ECHO_C" >&6; }
6241 if test "${ac_cv_type_uint16_t+set}" = set; then
6242 echo $ECHO_N "(cached) $ECHO_C" >&6
6243 else
6244 cat >conftest.$ac_ext <<_ACEOF
6245 /* confdefs.h. */
6246 _ACEOF
6247 cat confdefs.h >>conftest.$ac_ext
6248 cat >>conftest.$ac_ext <<_ACEOF
6249 /* end confdefs.h. */
6250 $ac_includes_default
6251 typedef uint16_t ac__type_new_;
6253 main ()
6255 if ((ac__type_new_ *) 0)
6256 return 0;
6257 if (sizeof (ac__type_new_))
6258 return 0;
6260 return 0;
6262 _ACEOF
6263 rm -f conftest.$ac_objext
6264 if { (ac_try="$ac_compile"
6265 case "(($ac_try" in
6266 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6267 *) ac_try_echo=$ac_try;;
6268 esac
6269 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6270 (eval "$ac_compile") 2>conftest.er1
6271 ac_status=$?
6272 grep -v '^ *+' conftest.er1 >conftest.err
6273 rm -f conftest.er1
6274 cat conftest.err >&5
6275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6276 (exit $ac_status); } && {
6277 test -z "$ac_c_werror_flag" ||
6278 test ! -s conftest.err
6279 } && test -s conftest.$ac_objext; then
6280 ac_cv_type_uint16_t=yes
6281 else
6282 echo "$as_me: failed program was:" >&5
6283 sed 's/^/| /' conftest.$ac_ext >&5
6285 ac_cv_type_uint16_t=no
6288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6290 { echo "$as_me:$LINENO: result: $ac_cv_type_uint16_t" >&5
6291 echo "${ECHO_T}$ac_cv_type_uint16_t" >&6; }
6292 if test $ac_cv_type_uint16_t = yes; then
6294 cat >>confdefs.h <<_ACEOF
6295 #define HAVE_UINT16_T 1
6296 _ACEOF
6300 { echo "$as_me:$LINENO: checking for u_int16_t" >&5
6301 echo $ECHO_N "checking for u_int16_t... $ECHO_C" >&6; }
6302 if test "${ac_cv_type_u_int16_t+set}" = set; then
6303 echo $ECHO_N "(cached) $ECHO_C" >&6
6304 else
6305 cat >conftest.$ac_ext <<_ACEOF
6306 /* confdefs.h. */
6307 _ACEOF
6308 cat confdefs.h >>conftest.$ac_ext
6309 cat >>conftest.$ac_ext <<_ACEOF
6310 /* end confdefs.h. */
6311 $ac_includes_default
6312 typedef u_int16_t ac__type_new_;
6314 main ()
6316 if ((ac__type_new_ *) 0)
6317 return 0;
6318 if (sizeof (ac__type_new_))
6319 return 0;
6321 return 0;
6323 _ACEOF
6324 rm -f conftest.$ac_objext
6325 if { (ac_try="$ac_compile"
6326 case "(($ac_try" in
6327 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6328 *) ac_try_echo=$ac_try;;
6329 esac
6330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6331 (eval "$ac_compile") 2>conftest.er1
6332 ac_status=$?
6333 grep -v '^ *+' conftest.er1 >conftest.err
6334 rm -f conftest.er1
6335 cat conftest.err >&5
6336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6337 (exit $ac_status); } && {
6338 test -z "$ac_c_werror_flag" ||
6339 test ! -s conftest.err
6340 } && test -s conftest.$ac_objext; then
6341 ac_cv_type_u_int16_t=yes
6342 else
6343 echo "$as_me: failed program was:" >&5
6344 sed 's/^/| /' conftest.$ac_ext >&5
6346 ac_cv_type_u_int16_t=no
6349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6351 { echo "$as_me:$LINENO: result: $ac_cv_type_u_int16_t" >&5
6352 echo "${ECHO_T}$ac_cv_type_u_int16_t" >&6; }
6353 if test $ac_cv_type_u_int16_t = yes; then
6355 cat >>confdefs.h <<_ACEOF
6356 #define HAVE_U_INT16_T 1
6357 _ACEOF
6361 { echo "$as_me:$LINENO: checking for struct sockaddr_storage" >&5
6362 echo $ECHO_N "checking for struct sockaddr_storage... $ECHO_C" >&6; }
6363 if test "${ac_cv_type_struct_sockaddr_storage+set}" = set; then
6364 echo $ECHO_N "(cached) $ECHO_C" >&6
6365 else
6366 cat >conftest.$ac_ext <<_ACEOF
6367 /* confdefs.h. */
6368 _ACEOF
6369 cat confdefs.h >>conftest.$ac_ext
6370 cat >>conftest.$ac_ext <<_ACEOF
6371 /* end confdefs.h. */
6372 $ac_includes_default
6373 typedef struct sockaddr_storage ac__type_new_;
6375 main ()
6377 if ((ac__type_new_ *) 0)
6378 return 0;
6379 if (sizeof (ac__type_new_))
6380 return 0;
6382 return 0;
6384 _ACEOF
6385 rm -f conftest.$ac_objext
6386 if { (ac_try="$ac_compile"
6387 case "(($ac_try" in
6388 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6389 *) ac_try_echo=$ac_try;;
6390 esac
6391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6392 (eval "$ac_compile") 2>conftest.er1
6393 ac_status=$?
6394 grep -v '^ *+' conftest.er1 >conftest.err
6395 rm -f conftest.er1
6396 cat conftest.err >&5
6397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6398 (exit $ac_status); } && {
6399 test -z "$ac_c_werror_flag" ||
6400 test ! -s conftest.err
6401 } && test -s conftest.$ac_objext; then
6402 ac_cv_type_struct_sockaddr_storage=yes
6403 else
6404 echo "$as_me: failed program was:" >&5
6405 sed 's/^/| /' conftest.$ac_ext >&5
6407 ac_cv_type_struct_sockaddr_storage=no
6410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6412 { echo "$as_me:$LINENO: result: $ac_cv_type_struct_sockaddr_storage" >&5
6413 echo "${ECHO_T}$ac_cv_type_struct_sockaddr_storage" >&6; }
6414 if test $ac_cv_type_struct_sockaddr_storage = yes; then
6416 cat >>confdefs.h <<_ACEOF
6417 #define HAVE_STRUCT_SOCKADDR_STORAGE 1
6418 _ACEOF
6423 { echo "$as_me:$LINENO: checking for socklen_t" >&5
6424 echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6; }
6425 if test "${ac_cv_type_socklen_t+set}" = set; then
6426 echo $ECHO_N "(cached) $ECHO_C" >&6
6427 else
6428 cat >conftest.$ac_ext <<_ACEOF
6429 /* confdefs.h. */
6430 _ACEOF
6431 cat confdefs.h >>conftest.$ac_ext
6432 cat >>conftest.$ac_ext <<_ACEOF
6433 /* end confdefs.h. */
6434 #include <sys/types.h>
6435 #include <sys/socket.h>
6437 typedef socklen_t ac__type_new_;
6439 main ()
6441 if ((ac__type_new_ *) 0)
6442 return 0;
6443 if (sizeof (ac__type_new_))
6444 return 0;
6446 return 0;
6448 _ACEOF
6449 rm -f conftest.$ac_objext
6450 if { (ac_try="$ac_compile"
6451 case "(($ac_try" in
6452 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6453 *) ac_try_echo=$ac_try;;
6454 esac
6455 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6456 (eval "$ac_compile") 2>conftest.er1
6457 ac_status=$?
6458 grep -v '^ *+' conftest.er1 >conftest.err
6459 rm -f conftest.er1
6460 cat conftest.err >&5
6461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6462 (exit $ac_status); } && {
6463 test -z "$ac_c_werror_flag" ||
6464 test ! -s conftest.err
6465 } && test -s conftest.$ac_objext; then
6466 ac_cv_type_socklen_t=yes
6467 else
6468 echo "$as_me: failed program was:" >&5
6469 sed 's/^/| /' conftest.$ac_ext >&5
6471 ac_cv_type_socklen_t=no
6474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6476 { echo "$as_me:$LINENO: result: $ac_cv_type_socklen_t" >&5
6477 echo "${ECHO_T}$ac_cv_type_socklen_t" >&6; }
6478 if test $ac_cv_type_socklen_t = yes; then
6480 else
6482 { echo "$as_me:$LINENO: checking for socklen_t equivalent" >&5
6483 echo $ECHO_N "checking for socklen_t equivalent... $ECHO_C" >&6; }
6484 if test "${curl_cv_socklen_t_equiv+set}" = set; then
6485 echo $ECHO_N "(cached) $ECHO_C" >&6
6486 else
6488 # Systems have either "struct sockaddr *" or
6489 # "void *" as the second argument to getpeername
6490 curl_cv_socklen_t_equiv=
6491 for arg2 in "struct sockaddr" void; do
6492 for t in int size_t unsigned long "unsigned long"; do
6493 cat >conftest.$ac_ext <<_ACEOF
6494 /* confdefs.h. */
6495 _ACEOF
6496 cat confdefs.h >>conftest.$ac_ext
6497 cat >>conftest.$ac_ext <<_ACEOF
6498 /* end confdefs.h. */
6500 #include <sys/types.h>
6501 #include <sys/socket.h>
6503 int getpeername (int, $arg2 *, $t *);
6506 main ()
6509 $t len;
6510 getpeername(0,0,&len);
6513 return 0;
6515 _ACEOF
6516 rm -f conftest.$ac_objext
6517 if { (ac_try="$ac_compile"
6518 case "(($ac_try" in
6519 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6520 *) ac_try_echo=$ac_try;;
6521 esac
6522 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6523 (eval "$ac_compile") 2>conftest.er1
6524 ac_status=$?
6525 grep -v '^ *+' conftest.er1 >conftest.err
6526 rm -f conftest.er1
6527 cat conftest.err >&5
6528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6529 (exit $ac_status); } && {
6530 test -z "$ac_c_werror_flag" ||
6531 test ! -s conftest.err
6532 } && test -s conftest.$ac_objext; then
6534 curl_cv_socklen_t_equiv="$t"
6535 break
6537 else
6538 echo "$as_me: failed program was:" >&5
6539 sed 's/^/| /' conftest.$ac_ext >&5
6544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6545 done
6546 done
6548 if test "x$curl_cv_socklen_t_equiv" = x; then
6549 { { echo "$as_me:$LINENO: error: Cannot find a type to use in place of socklen_t" >&5
6550 echo "$as_me: error: Cannot find a type to use in place of socklen_t" >&2;}
6551 { (exit 1); exit 1; }; }
6556 { echo "$as_me:$LINENO: result: $curl_cv_socklen_t_equiv" >&5
6557 echo "${ECHO_T}$curl_cv_socklen_t_equiv" >&6; }
6559 cat >>confdefs.h <<_ACEOF
6560 #define socklen_t $curl_cv_socklen_t_equiv
6561 _ACEOF
6566 # for the fake-rfc2553 stuff - straight from OpenSSH
6568 { echo "$as_me:$LINENO: checking for struct sockaddr_storage" >&5
6569 echo $ECHO_N "checking for struct sockaddr_storage... $ECHO_C" >&6; }
6570 if test "${ac_cv_have_struct_sockaddr_storage+set}" = set; then
6571 echo $ECHO_N "(cached) $ECHO_C" >&6
6572 else
6574 cat >conftest.$ac_ext <<_ACEOF
6575 /* confdefs.h. */
6576 _ACEOF
6577 cat confdefs.h >>conftest.$ac_ext
6578 cat >>conftest.$ac_ext <<_ACEOF
6579 /* end confdefs.h. */
6581 #include <sys/types.h>
6582 #include <sys/socket.h>
6585 main ()
6587 struct sockaddr_storage s;
6589 return 0;
6591 _ACEOF
6592 rm -f conftest.$ac_objext
6593 if { (ac_try="$ac_compile"
6594 case "(($ac_try" in
6595 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6596 *) ac_try_echo=$ac_try;;
6597 esac
6598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6599 (eval "$ac_compile") 2>conftest.er1
6600 ac_status=$?
6601 grep -v '^ *+' conftest.er1 >conftest.err
6602 rm -f conftest.er1
6603 cat conftest.err >&5
6604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6605 (exit $ac_status); } && {
6606 test -z "$ac_c_werror_flag" ||
6607 test ! -s conftest.err
6608 } && test -s conftest.$ac_objext; then
6609 ac_cv_have_struct_sockaddr_storage="yes"
6610 else
6611 echo "$as_me: failed program was:" >&5
6612 sed 's/^/| /' conftest.$ac_ext >&5
6614 ac_cv_have_struct_sockaddr_storage="no"
6618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6621 { echo "$as_me:$LINENO: result: $ac_cv_have_struct_sockaddr_storage" >&5
6622 echo "${ECHO_T}$ac_cv_have_struct_sockaddr_storage" >&6; }
6623 if test "x$ac_cv_have_struct_sockaddr_storage" = "xyes" ; then
6624 cat >>confdefs.h <<\_ACEOF
6625 #define HAVE_STRUCT_SOCKADDR_STORAGE 1
6626 _ACEOF
6630 { echo "$as_me:$LINENO: checking for struct sockaddr_in6" >&5
6631 echo $ECHO_N "checking for struct sockaddr_in6... $ECHO_C" >&6; }
6632 if test "${ac_cv_have_struct_sockaddr_in6+set}" = set; then
6633 echo $ECHO_N "(cached) $ECHO_C" >&6
6634 else
6636 cat >conftest.$ac_ext <<_ACEOF
6637 /* confdefs.h. */
6638 _ACEOF
6639 cat confdefs.h >>conftest.$ac_ext
6640 cat >>conftest.$ac_ext <<_ACEOF
6641 /* end confdefs.h. */
6643 #include <sys/types.h>
6644 #include <netinet/in.h>
6647 main ()
6649 struct sockaddr_in6 s; s.sin6_family = 0;
6651 return 0;
6653 _ACEOF
6654 rm -f conftest.$ac_objext
6655 if { (ac_try="$ac_compile"
6656 case "(($ac_try" in
6657 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6658 *) ac_try_echo=$ac_try;;
6659 esac
6660 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6661 (eval "$ac_compile") 2>conftest.er1
6662 ac_status=$?
6663 grep -v '^ *+' conftest.er1 >conftest.err
6664 rm -f conftest.er1
6665 cat conftest.err >&5
6666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6667 (exit $ac_status); } && {
6668 test -z "$ac_c_werror_flag" ||
6669 test ! -s conftest.err
6670 } && test -s conftest.$ac_objext; then
6671 ac_cv_have_struct_sockaddr_in6="yes"
6672 else
6673 echo "$as_me: failed program was:" >&5
6674 sed 's/^/| /' conftest.$ac_ext >&5
6676 ac_cv_have_struct_sockaddr_in6="no"
6680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6683 { echo "$as_me:$LINENO: result: $ac_cv_have_struct_sockaddr_in6" >&5
6684 echo "${ECHO_T}$ac_cv_have_struct_sockaddr_in6" >&6; }
6685 if test "x$ac_cv_have_struct_sockaddr_in6" = "xyes" ; then
6687 cat >>confdefs.h <<\_ACEOF
6688 #define HAVE_STRUCT_SOCKADDR_IN6
6689 _ACEOF
6693 { echo "$as_me:$LINENO: checking for struct in6_addr" >&5
6694 echo $ECHO_N "checking for struct in6_addr... $ECHO_C" >&6; }
6695 if test "${ac_cv_have_struct_in6_addr+set}" = set; then
6696 echo $ECHO_N "(cached) $ECHO_C" >&6
6697 else
6699 cat >conftest.$ac_ext <<_ACEOF
6700 /* confdefs.h. */
6701 _ACEOF
6702 cat confdefs.h >>conftest.$ac_ext
6703 cat >>conftest.$ac_ext <<_ACEOF
6704 /* end confdefs.h. */
6706 #include <sys/types.h>
6707 #include <netinet/in.h>
6710 main ()
6712 struct in6_addr s; s.s6_addr[0] = 0;
6714 return 0;
6716 _ACEOF
6717 rm -f conftest.$ac_objext
6718 if { (ac_try="$ac_compile"
6719 case "(($ac_try" in
6720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6721 *) ac_try_echo=$ac_try;;
6722 esac
6723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6724 (eval "$ac_compile") 2>conftest.er1
6725 ac_status=$?
6726 grep -v '^ *+' conftest.er1 >conftest.err
6727 rm -f conftest.er1
6728 cat conftest.err >&5
6729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6730 (exit $ac_status); } && {
6731 test -z "$ac_c_werror_flag" ||
6732 test ! -s conftest.err
6733 } && test -s conftest.$ac_objext; then
6734 ac_cv_have_struct_in6_addr="yes"
6735 else
6736 echo "$as_me: failed program was:" >&5
6737 sed 's/^/| /' conftest.$ac_ext >&5
6739 ac_cv_have_struct_in6_addr="no"
6743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6746 { echo "$as_me:$LINENO: result: $ac_cv_have_struct_in6_addr" >&5
6747 echo "${ECHO_T}$ac_cv_have_struct_in6_addr" >&6; }
6748 if test "x$ac_cv_have_struct_in6_addr" = "xyes" ; then
6750 cat >>confdefs.h <<\_ACEOF
6751 #define HAVE_STRUCT_IN6_ADDR
6752 _ACEOF
6756 { echo "$as_me:$LINENO: checking for struct addrinfo" >&5
6757 echo $ECHO_N "checking for struct addrinfo... $ECHO_C" >&6; }
6758 if test "${ac_cv_have_struct_addrinfo+set}" = set; then
6759 echo $ECHO_N "(cached) $ECHO_C" >&6
6760 else
6762 cat >conftest.$ac_ext <<_ACEOF
6763 /* confdefs.h. */
6764 _ACEOF
6765 cat confdefs.h >>conftest.$ac_ext
6766 cat >>conftest.$ac_ext <<_ACEOF
6767 /* end confdefs.h. */
6769 #include <sys/types.h>
6770 #include <sys/socket.h>
6771 #include <netdb.h>
6774 main ()
6776 struct addrinfo s; s.ai_flags = AI_PASSIVE;
6778 return 0;
6780 _ACEOF
6781 rm -f conftest.$ac_objext
6782 if { (ac_try="$ac_compile"
6783 case "(($ac_try" in
6784 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6785 *) ac_try_echo=$ac_try;;
6786 esac
6787 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6788 (eval "$ac_compile") 2>conftest.er1
6789 ac_status=$?
6790 grep -v '^ *+' conftest.er1 >conftest.err
6791 rm -f conftest.er1
6792 cat conftest.err >&5
6793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6794 (exit $ac_status); } && {
6795 test -z "$ac_c_werror_flag" ||
6796 test ! -s conftest.err
6797 } && test -s conftest.$ac_objext; then
6798 ac_cv_have_struct_addrinfo="yes"
6799 else
6800 echo "$as_me: failed program was:" >&5
6801 sed 's/^/| /' conftest.$ac_ext >&5
6803 ac_cv_have_struct_addrinfo="no"
6807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6810 { echo "$as_me:$LINENO: result: $ac_cv_have_struct_addrinfo" >&5
6811 echo "${ECHO_T}$ac_cv_have_struct_addrinfo" >&6; }
6812 if test "x$ac_cv_have_struct_addrinfo" = "xyes" ; then
6814 cat >>confdefs.h <<\_ACEOF
6815 #define HAVE_STRUCT_ADDRINFO
6816 _ACEOF
6821 # IRIX has a const char return value for gai_strerror()
6823 for ac_func in gai_strerror
6825 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6826 { echo "$as_me:$LINENO: checking for $ac_func" >&5
6827 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
6828 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6829 echo $ECHO_N "(cached) $ECHO_C" >&6
6830 else
6831 cat >conftest.$ac_ext <<_ACEOF
6832 /* confdefs.h. */
6833 _ACEOF
6834 cat confdefs.h >>conftest.$ac_ext
6835 cat >>conftest.$ac_ext <<_ACEOF
6836 /* end confdefs.h. */
6837 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6838 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6839 #define $ac_func innocuous_$ac_func
6841 /* System header to define __stub macros and hopefully few prototypes,
6842 which can conflict with char $ac_func (); below.
6843 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6844 <limits.h> exists even on freestanding compilers. */
6846 #ifdef __STDC__
6847 # include <limits.h>
6848 #else
6849 # include <assert.h>
6850 #endif
6852 #undef $ac_func
6854 /* Override any GCC internal prototype to avoid an error.
6855 Use char because int might match the return type of a GCC
6856 builtin and then its argument prototype would still apply. */
6857 #ifdef __cplusplus
6858 extern "C"
6859 #endif
6860 char $ac_func ();
6861 /* The GNU C library defines this for functions which it implements
6862 to always fail with ENOSYS. Some functions are actually named
6863 something starting with __ and the normal name is an alias. */
6864 #if defined __stub_$ac_func || defined __stub___$ac_func
6865 choke me
6866 #endif
6869 main ()
6871 return $ac_func ();
6873 return 0;
6875 _ACEOF
6876 rm -f conftest.$ac_objext conftest$ac_exeext
6877 if { (ac_try="$ac_link"
6878 case "(($ac_try" in
6879 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6880 *) ac_try_echo=$ac_try;;
6881 esac
6882 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6883 (eval "$ac_link") 2>conftest.er1
6884 ac_status=$?
6885 grep -v '^ *+' conftest.er1 >conftest.err
6886 rm -f conftest.er1
6887 cat conftest.err >&5
6888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6889 (exit $ac_status); } && {
6890 test -z "$ac_c_werror_flag" ||
6891 test ! -s conftest.err
6892 } && test -s conftest$ac_exeext &&
6893 $as_test_x conftest$ac_exeext; then
6894 eval "$as_ac_var=yes"
6895 else
6896 echo "$as_me: failed program was:" >&5
6897 sed 's/^/| /' conftest.$ac_ext >&5
6899 eval "$as_ac_var=no"
6902 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6903 conftest$ac_exeext conftest.$ac_ext
6905 ac_res=`eval echo '${'$as_ac_var'}'`
6906 { echo "$as_me:$LINENO: result: $ac_res" >&5
6907 echo "${ECHO_T}$ac_res" >&6; }
6908 if test `eval echo '${'$as_ac_var'}'` = yes; then
6909 cat >>confdefs.h <<_ACEOF
6910 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6911 _ACEOF
6913 cat >>confdefs.h <<\_ACEOF
6914 #define HAVE_GAI_STRERROR 1
6915 _ACEOF
6917 cat >conftest.$ac_ext <<_ACEOF
6918 /* confdefs.h. */
6919 _ACEOF
6920 cat confdefs.h >>conftest.$ac_ext
6921 cat >>conftest.$ac_ext <<_ACEOF
6922 /* end confdefs.h. */
6924 #include <sys/types.h>
6925 #include <sys/socket.h>
6926 #include <netdb.h>
6928 const char *gai_strerror(int);
6930 main ()
6933 char *str;
6935 str = gai_strerror(0);
6937 return 0;
6939 _ACEOF
6940 rm -f conftest.$ac_objext
6941 if { (ac_try="$ac_compile"
6942 case "(($ac_try" in
6943 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6944 *) ac_try_echo=$ac_try;;
6945 esac
6946 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6947 (eval "$ac_compile") 2>conftest.er1
6948 ac_status=$?
6949 grep -v '^ *+' conftest.er1 >conftest.err
6950 rm -f conftest.er1
6951 cat conftest.err >&5
6952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6953 (exit $ac_status); } && {
6954 test -z "$ac_c_werror_flag" ||
6955 test ! -s conftest.err
6956 } && test -s conftest.$ac_objext; then
6959 cat >>confdefs.h <<\_ACEOF
6960 #define HAVE_CONST_GAI_STRERROR_PROTO 1
6961 _ACEOF
6963 else
6964 echo "$as_me: failed program was:" >&5
6965 sed 's/^/| /' conftest.$ac_ext >&5
6970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6972 done
6975 # for loginrec.c
6977 { echo "$as_me:$LINENO: checking for struct utmp.ut_host" >&5
6978 echo $ECHO_N "checking for struct utmp.ut_host... $ECHO_C" >&6; }
6979 if test "${ac_cv_member_struct_utmp_ut_host+set}" = set; then
6980 echo $ECHO_N "(cached) $ECHO_C" >&6
6981 else
6982 cat >conftest.$ac_ext <<_ACEOF
6983 /* confdefs.h. */
6984 _ACEOF
6985 cat confdefs.h >>conftest.$ac_ext
6986 cat >>conftest.$ac_ext <<_ACEOF
6987 /* end confdefs.h. */
6989 #include <sys/types.h>
6990 #if HAVE_UTMP_H
6991 #include <utmp.h>
6992 #endif
6996 main ()
6998 static struct utmp ac_aggr;
6999 if (ac_aggr.ut_host)
7000 return 0;
7002 return 0;
7004 _ACEOF
7005 rm -f conftest.$ac_objext
7006 if { (ac_try="$ac_compile"
7007 case "(($ac_try" in
7008 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7009 *) ac_try_echo=$ac_try;;
7010 esac
7011 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7012 (eval "$ac_compile") 2>conftest.er1
7013 ac_status=$?
7014 grep -v '^ *+' conftest.er1 >conftest.err
7015 rm -f conftest.er1
7016 cat conftest.err >&5
7017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7018 (exit $ac_status); } && {
7019 test -z "$ac_c_werror_flag" ||
7020 test ! -s conftest.err
7021 } && test -s conftest.$ac_objext; then
7022 ac_cv_member_struct_utmp_ut_host=yes
7023 else
7024 echo "$as_me: failed program was:" >&5
7025 sed 's/^/| /' conftest.$ac_ext >&5
7027 cat >conftest.$ac_ext <<_ACEOF
7028 /* confdefs.h. */
7029 _ACEOF
7030 cat confdefs.h >>conftest.$ac_ext
7031 cat >>conftest.$ac_ext <<_ACEOF
7032 /* end confdefs.h. */
7034 #include <sys/types.h>
7035 #if HAVE_UTMP_H
7036 #include <utmp.h>
7037 #endif
7041 main ()
7043 static struct utmp ac_aggr;
7044 if (sizeof ac_aggr.ut_host)
7045 return 0;
7047 return 0;
7049 _ACEOF
7050 rm -f conftest.$ac_objext
7051 if { (ac_try="$ac_compile"
7052 case "(($ac_try" in
7053 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7054 *) ac_try_echo=$ac_try;;
7055 esac
7056 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7057 (eval "$ac_compile") 2>conftest.er1
7058 ac_status=$?
7059 grep -v '^ *+' conftest.er1 >conftest.err
7060 rm -f conftest.er1
7061 cat conftest.err >&5
7062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7063 (exit $ac_status); } && {
7064 test -z "$ac_c_werror_flag" ||
7065 test ! -s conftest.err
7066 } && test -s conftest.$ac_objext; then
7067 ac_cv_member_struct_utmp_ut_host=yes
7068 else
7069 echo "$as_me: failed program was:" >&5
7070 sed 's/^/| /' conftest.$ac_ext >&5
7072 ac_cv_member_struct_utmp_ut_host=no
7075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7080 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_utmp_ut_host" >&5
7081 echo "${ECHO_T}$ac_cv_member_struct_utmp_ut_host" >&6; }
7082 if test $ac_cv_member_struct_utmp_ut_host = yes; then
7084 cat >>confdefs.h <<_ACEOF
7085 #define HAVE_STRUCT_UTMP_UT_HOST 1
7086 _ACEOF
7090 { echo "$as_me:$LINENO: checking for struct utmp.ut_pid" >&5
7091 echo $ECHO_N "checking for struct utmp.ut_pid... $ECHO_C" >&6; }
7092 if test "${ac_cv_member_struct_utmp_ut_pid+set}" = set; then
7093 echo $ECHO_N "(cached) $ECHO_C" >&6
7094 else
7095 cat >conftest.$ac_ext <<_ACEOF
7096 /* confdefs.h. */
7097 _ACEOF
7098 cat confdefs.h >>conftest.$ac_ext
7099 cat >>conftest.$ac_ext <<_ACEOF
7100 /* end confdefs.h. */
7102 #include <sys/types.h>
7103 #if HAVE_UTMP_H
7104 #include <utmp.h>
7105 #endif
7109 main ()
7111 static struct utmp ac_aggr;
7112 if (ac_aggr.ut_pid)
7113 return 0;
7115 return 0;
7117 _ACEOF
7118 rm -f conftest.$ac_objext
7119 if { (ac_try="$ac_compile"
7120 case "(($ac_try" in
7121 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7122 *) ac_try_echo=$ac_try;;
7123 esac
7124 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7125 (eval "$ac_compile") 2>conftest.er1
7126 ac_status=$?
7127 grep -v '^ *+' conftest.er1 >conftest.err
7128 rm -f conftest.er1
7129 cat conftest.err >&5
7130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7131 (exit $ac_status); } && {
7132 test -z "$ac_c_werror_flag" ||
7133 test ! -s conftest.err
7134 } && test -s conftest.$ac_objext; then
7135 ac_cv_member_struct_utmp_ut_pid=yes
7136 else
7137 echo "$as_me: failed program was:" >&5
7138 sed 's/^/| /' conftest.$ac_ext >&5
7140 cat >conftest.$ac_ext <<_ACEOF
7141 /* confdefs.h. */
7142 _ACEOF
7143 cat confdefs.h >>conftest.$ac_ext
7144 cat >>conftest.$ac_ext <<_ACEOF
7145 /* end confdefs.h. */
7147 #include <sys/types.h>
7148 #if HAVE_UTMP_H
7149 #include <utmp.h>
7150 #endif
7154 main ()
7156 static struct utmp ac_aggr;
7157 if (sizeof ac_aggr.ut_pid)
7158 return 0;
7160 return 0;
7162 _ACEOF
7163 rm -f conftest.$ac_objext
7164 if { (ac_try="$ac_compile"
7165 case "(($ac_try" in
7166 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7167 *) ac_try_echo=$ac_try;;
7168 esac
7169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7170 (eval "$ac_compile") 2>conftest.er1
7171 ac_status=$?
7172 grep -v '^ *+' conftest.er1 >conftest.err
7173 rm -f conftest.er1
7174 cat conftest.err >&5
7175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7176 (exit $ac_status); } && {
7177 test -z "$ac_c_werror_flag" ||
7178 test ! -s conftest.err
7179 } && test -s conftest.$ac_objext; then
7180 ac_cv_member_struct_utmp_ut_pid=yes
7181 else
7182 echo "$as_me: failed program was:" >&5
7183 sed 's/^/| /' conftest.$ac_ext >&5
7185 ac_cv_member_struct_utmp_ut_pid=no
7188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7193 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_utmp_ut_pid" >&5
7194 echo "${ECHO_T}$ac_cv_member_struct_utmp_ut_pid" >&6; }
7195 if test $ac_cv_member_struct_utmp_ut_pid = yes; then
7197 cat >>confdefs.h <<_ACEOF
7198 #define HAVE_STRUCT_UTMP_UT_PID 1
7199 _ACEOF
7203 { echo "$as_me:$LINENO: checking for struct utmp.ut_type" >&5
7204 echo $ECHO_N "checking for struct utmp.ut_type... $ECHO_C" >&6; }
7205 if test "${ac_cv_member_struct_utmp_ut_type+set}" = set; then
7206 echo $ECHO_N "(cached) $ECHO_C" >&6
7207 else
7208 cat >conftest.$ac_ext <<_ACEOF
7209 /* confdefs.h. */
7210 _ACEOF
7211 cat confdefs.h >>conftest.$ac_ext
7212 cat >>conftest.$ac_ext <<_ACEOF
7213 /* end confdefs.h. */
7215 #include <sys/types.h>
7216 #if HAVE_UTMP_H
7217 #include <utmp.h>
7218 #endif
7222 main ()
7224 static struct utmp ac_aggr;
7225 if (ac_aggr.ut_type)
7226 return 0;
7228 return 0;
7230 _ACEOF
7231 rm -f conftest.$ac_objext
7232 if { (ac_try="$ac_compile"
7233 case "(($ac_try" in
7234 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7235 *) ac_try_echo=$ac_try;;
7236 esac
7237 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7238 (eval "$ac_compile") 2>conftest.er1
7239 ac_status=$?
7240 grep -v '^ *+' conftest.er1 >conftest.err
7241 rm -f conftest.er1
7242 cat conftest.err >&5
7243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7244 (exit $ac_status); } && {
7245 test -z "$ac_c_werror_flag" ||
7246 test ! -s conftest.err
7247 } && test -s conftest.$ac_objext; then
7248 ac_cv_member_struct_utmp_ut_type=yes
7249 else
7250 echo "$as_me: failed program was:" >&5
7251 sed 's/^/| /' conftest.$ac_ext >&5
7253 cat >conftest.$ac_ext <<_ACEOF
7254 /* confdefs.h. */
7255 _ACEOF
7256 cat confdefs.h >>conftest.$ac_ext
7257 cat >>conftest.$ac_ext <<_ACEOF
7258 /* end confdefs.h. */
7260 #include <sys/types.h>
7261 #if HAVE_UTMP_H
7262 #include <utmp.h>
7263 #endif
7267 main ()
7269 static struct utmp ac_aggr;
7270 if (sizeof ac_aggr.ut_type)
7271 return 0;
7273 return 0;
7275 _ACEOF
7276 rm -f conftest.$ac_objext
7277 if { (ac_try="$ac_compile"
7278 case "(($ac_try" in
7279 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7280 *) ac_try_echo=$ac_try;;
7281 esac
7282 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7283 (eval "$ac_compile") 2>conftest.er1
7284 ac_status=$?
7285 grep -v '^ *+' conftest.er1 >conftest.err
7286 rm -f conftest.er1
7287 cat conftest.err >&5
7288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7289 (exit $ac_status); } && {
7290 test -z "$ac_c_werror_flag" ||
7291 test ! -s conftest.err
7292 } && test -s conftest.$ac_objext; then
7293 ac_cv_member_struct_utmp_ut_type=yes
7294 else
7295 echo "$as_me: failed program was:" >&5
7296 sed 's/^/| /' conftest.$ac_ext >&5
7298 ac_cv_member_struct_utmp_ut_type=no
7301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7306 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_utmp_ut_type" >&5
7307 echo "${ECHO_T}$ac_cv_member_struct_utmp_ut_type" >&6; }
7308 if test $ac_cv_member_struct_utmp_ut_type = yes; then
7310 cat >>confdefs.h <<_ACEOF
7311 #define HAVE_STRUCT_UTMP_UT_TYPE 1
7312 _ACEOF
7316 { echo "$as_me:$LINENO: checking for struct utmp.ut_tv" >&5
7317 echo $ECHO_N "checking for struct utmp.ut_tv... $ECHO_C" >&6; }
7318 if test "${ac_cv_member_struct_utmp_ut_tv+set}" = set; then
7319 echo $ECHO_N "(cached) $ECHO_C" >&6
7320 else
7321 cat >conftest.$ac_ext <<_ACEOF
7322 /* confdefs.h. */
7323 _ACEOF
7324 cat confdefs.h >>conftest.$ac_ext
7325 cat >>conftest.$ac_ext <<_ACEOF
7326 /* end confdefs.h. */
7328 #include <sys/types.h>
7329 #if HAVE_UTMP_H
7330 #include <utmp.h>
7331 #endif
7335 main ()
7337 static struct utmp ac_aggr;
7338 if (ac_aggr.ut_tv)
7339 return 0;
7341 return 0;
7343 _ACEOF
7344 rm -f conftest.$ac_objext
7345 if { (ac_try="$ac_compile"
7346 case "(($ac_try" in
7347 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7348 *) ac_try_echo=$ac_try;;
7349 esac
7350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7351 (eval "$ac_compile") 2>conftest.er1
7352 ac_status=$?
7353 grep -v '^ *+' conftest.er1 >conftest.err
7354 rm -f conftest.er1
7355 cat conftest.err >&5
7356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7357 (exit $ac_status); } && {
7358 test -z "$ac_c_werror_flag" ||
7359 test ! -s conftest.err
7360 } && test -s conftest.$ac_objext; then
7361 ac_cv_member_struct_utmp_ut_tv=yes
7362 else
7363 echo "$as_me: failed program was:" >&5
7364 sed 's/^/| /' conftest.$ac_ext >&5
7366 cat >conftest.$ac_ext <<_ACEOF
7367 /* confdefs.h. */
7368 _ACEOF
7369 cat confdefs.h >>conftest.$ac_ext
7370 cat >>conftest.$ac_ext <<_ACEOF
7371 /* end confdefs.h. */
7373 #include <sys/types.h>
7374 #if HAVE_UTMP_H
7375 #include <utmp.h>
7376 #endif
7380 main ()
7382 static struct utmp ac_aggr;
7383 if (sizeof ac_aggr.ut_tv)
7384 return 0;
7386 return 0;
7388 _ACEOF
7389 rm -f conftest.$ac_objext
7390 if { (ac_try="$ac_compile"
7391 case "(($ac_try" in
7392 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7393 *) ac_try_echo=$ac_try;;
7394 esac
7395 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7396 (eval "$ac_compile") 2>conftest.er1
7397 ac_status=$?
7398 grep -v '^ *+' conftest.er1 >conftest.err
7399 rm -f conftest.er1
7400 cat conftest.err >&5
7401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7402 (exit $ac_status); } && {
7403 test -z "$ac_c_werror_flag" ||
7404 test ! -s conftest.err
7405 } && test -s conftest.$ac_objext; then
7406 ac_cv_member_struct_utmp_ut_tv=yes
7407 else
7408 echo "$as_me: failed program was:" >&5
7409 sed 's/^/| /' conftest.$ac_ext >&5
7411 ac_cv_member_struct_utmp_ut_tv=no
7414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7419 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_utmp_ut_tv" >&5
7420 echo "${ECHO_T}$ac_cv_member_struct_utmp_ut_tv" >&6; }
7421 if test $ac_cv_member_struct_utmp_ut_tv = yes; then
7423 cat >>confdefs.h <<_ACEOF
7424 #define HAVE_STRUCT_UTMP_UT_TV 1
7425 _ACEOF
7429 { echo "$as_me:$LINENO: checking for struct utmp.ut_id" >&5
7430 echo $ECHO_N "checking for struct utmp.ut_id... $ECHO_C" >&6; }
7431 if test "${ac_cv_member_struct_utmp_ut_id+set}" = set; then
7432 echo $ECHO_N "(cached) $ECHO_C" >&6
7433 else
7434 cat >conftest.$ac_ext <<_ACEOF
7435 /* confdefs.h. */
7436 _ACEOF
7437 cat confdefs.h >>conftest.$ac_ext
7438 cat >>conftest.$ac_ext <<_ACEOF
7439 /* end confdefs.h. */
7441 #include <sys/types.h>
7442 #if HAVE_UTMP_H
7443 #include <utmp.h>
7444 #endif
7448 main ()
7450 static struct utmp ac_aggr;
7451 if (ac_aggr.ut_id)
7452 return 0;
7454 return 0;
7456 _ACEOF
7457 rm -f conftest.$ac_objext
7458 if { (ac_try="$ac_compile"
7459 case "(($ac_try" in
7460 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7461 *) ac_try_echo=$ac_try;;
7462 esac
7463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7464 (eval "$ac_compile") 2>conftest.er1
7465 ac_status=$?
7466 grep -v '^ *+' conftest.er1 >conftest.err
7467 rm -f conftest.er1
7468 cat conftest.err >&5
7469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7470 (exit $ac_status); } && {
7471 test -z "$ac_c_werror_flag" ||
7472 test ! -s conftest.err
7473 } && test -s conftest.$ac_objext; then
7474 ac_cv_member_struct_utmp_ut_id=yes
7475 else
7476 echo "$as_me: failed program was:" >&5
7477 sed 's/^/| /' conftest.$ac_ext >&5
7479 cat >conftest.$ac_ext <<_ACEOF
7480 /* confdefs.h. */
7481 _ACEOF
7482 cat confdefs.h >>conftest.$ac_ext
7483 cat >>conftest.$ac_ext <<_ACEOF
7484 /* end confdefs.h. */
7486 #include <sys/types.h>
7487 #if HAVE_UTMP_H
7488 #include <utmp.h>
7489 #endif
7493 main ()
7495 static struct utmp ac_aggr;
7496 if (sizeof ac_aggr.ut_id)
7497 return 0;
7499 return 0;
7501 _ACEOF
7502 rm -f conftest.$ac_objext
7503 if { (ac_try="$ac_compile"
7504 case "(($ac_try" in
7505 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7506 *) ac_try_echo=$ac_try;;
7507 esac
7508 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7509 (eval "$ac_compile") 2>conftest.er1
7510 ac_status=$?
7511 grep -v '^ *+' conftest.er1 >conftest.err
7512 rm -f conftest.er1
7513 cat conftest.err >&5
7514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7515 (exit $ac_status); } && {
7516 test -z "$ac_c_werror_flag" ||
7517 test ! -s conftest.err
7518 } && test -s conftest.$ac_objext; then
7519 ac_cv_member_struct_utmp_ut_id=yes
7520 else
7521 echo "$as_me: failed program was:" >&5
7522 sed 's/^/| /' conftest.$ac_ext >&5
7524 ac_cv_member_struct_utmp_ut_id=no
7527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7532 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_utmp_ut_id" >&5
7533 echo "${ECHO_T}$ac_cv_member_struct_utmp_ut_id" >&6; }
7534 if test $ac_cv_member_struct_utmp_ut_id = yes; then
7536 cat >>confdefs.h <<_ACEOF
7537 #define HAVE_STRUCT_UTMP_UT_ID 1
7538 _ACEOF
7542 { echo "$as_me:$LINENO: checking for struct utmp.ut_addr" >&5
7543 echo $ECHO_N "checking for struct utmp.ut_addr... $ECHO_C" >&6; }
7544 if test "${ac_cv_member_struct_utmp_ut_addr+set}" = set; then
7545 echo $ECHO_N "(cached) $ECHO_C" >&6
7546 else
7547 cat >conftest.$ac_ext <<_ACEOF
7548 /* confdefs.h. */
7549 _ACEOF
7550 cat confdefs.h >>conftest.$ac_ext
7551 cat >>conftest.$ac_ext <<_ACEOF
7552 /* end confdefs.h. */
7554 #include <sys/types.h>
7555 #if HAVE_UTMP_H
7556 #include <utmp.h>
7557 #endif
7561 main ()
7563 static struct utmp ac_aggr;
7564 if (ac_aggr.ut_addr)
7565 return 0;
7567 return 0;
7569 _ACEOF
7570 rm -f conftest.$ac_objext
7571 if { (ac_try="$ac_compile"
7572 case "(($ac_try" in
7573 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7574 *) ac_try_echo=$ac_try;;
7575 esac
7576 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7577 (eval "$ac_compile") 2>conftest.er1
7578 ac_status=$?
7579 grep -v '^ *+' conftest.er1 >conftest.err
7580 rm -f conftest.er1
7581 cat conftest.err >&5
7582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7583 (exit $ac_status); } && {
7584 test -z "$ac_c_werror_flag" ||
7585 test ! -s conftest.err
7586 } && test -s conftest.$ac_objext; then
7587 ac_cv_member_struct_utmp_ut_addr=yes
7588 else
7589 echo "$as_me: failed program was:" >&5
7590 sed 's/^/| /' conftest.$ac_ext >&5
7592 cat >conftest.$ac_ext <<_ACEOF
7593 /* confdefs.h. */
7594 _ACEOF
7595 cat confdefs.h >>conftest.$ac_ext
7596 cat >>conftest.$ac_ext <<_ACEOF
7597 /* end confdefs.h. */
7599 #include <sys/types.h>
7600 #if HAVE_UTMP_H
7601 #include <utmp.h>
7602 #endif
7606 main ()
7608 static struct utmp ac_aggr;
7609 if (sizeof ac_aggr.ut_addr)
7610 return 0;
7612 return 0;
7614 _ACEOF
7615 rm -f conftest.$ac_objext
7616 if { (ac_try="$ac_compile"
7617 case "(($ac_try" in
7618 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7619 *) ac_try_echo=$ac_try;;
7620 esac
7621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7622 (eval "$ac_compile") 2>conftest.er1
7623 ac_status=$?
7624 grep -v '^ *+' conftest.er1 >conftest.err
7625 rm -f conftest.er1
7626 cat conftest.err >&5
7627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7628 (exit $ac_status); } && {
7629 test -z "$ac_c_werror_flag" ||
7630 test ! -s conftest.err
7631 } && test -s conftest.$ac_objext; then
7632 ac_cv_member_struct_utmp_ut_addr=yes
7633 else
7634 echo "$as_me: failed program was:" >&5
7635 sed 's/^/| /' conftest.$ac_ext >&5
7637 ac_cv_member_struct_utmp_ut_addr=no
7640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7645 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_utmp_ut_addr" >&5
7646 echo "${ECHO_T}$ac_cv_member_struct_utmp_ut_addr" >&6; }
7647 if test $ac_cv_member_struct_utmp_ut_addr = yes; then
7649 cat >>confdefs.h <<_ACEOF
7650 #define HAVE_STRUCT_UTMP_UT_ADDR 1
7651 _ACEOF
7655 { echo "$as_me:$LINENO: checking for struct utmp.ut_addr_v6" >&5
7656 echo $ECHO_N "checking for struct utmp.ut_addr_v6... $ECHO_C" >&6; }
7657 if test "${ac_cv_member_struct_utmp_ut_addr_v6+set}" = set; then
7658 echo $ECHO_N "(cached) $ECHO_C" >&6
7659 else
7660 cat >conftest.$ac_ext <<_ACEOF
7661 /* confdefs.h. */
7662 _ACEOF
7663 cat confdefs.h >>conftest.$ac_ext
7664 cat >>conftest.$ac_ext <<_ACEOF
7665 /* end confdefs.h. */
7667 #include <sys/types.h>
7668 #if HAVE_UTMP_H
7669 #include <utmp.h>
7670 #endif
7674 main ()
7676 static struct utmp ac_aggr;
7677 if (ac_aggr.ut_addr_v6)
7678 return 0;
7680 return 0;
7682 _ACEOF
7683 rm -f conftest.$ac_objext
7684 if { (ac_try="$ac_compile"
7685 case "(($ac_try" in
7686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7687 *) ac_try_echo=$ac_try;;
7688 esac
7689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7690 (eval "$ac_compile") 2>conftest.er1
7691 ac_status=$?
7692 grep -v '^ *+' conftest.er1 >conftest.err
7693 rm -f conftest.er1
7694 cat conftest.err >&5
7695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7696 (exit $ac_status); } && {
7697 test -z "$ac_c_werror_flag" ||
7698 test ! -s conftest.err
7699 } && test -s conftest.$ac_objext; then
7700 ac_cv_member_struct_utmp_ut_addr_v6=yes
7701 else
7702 echo "$as_me: failed program was:" >&5
7703 sed 's/^/| /' conftest.$ac_ext >&5
7705 cat >conftest.$ac_ext <<_ACEOF
7706 /* confdefs.h. */
7707 _ACEOF
7708 cat confdefs.h >>conftest.$ac_ext
7709 cat >>conftest.$ac_ext <<_ACEOF
7710 /* end confdefs.h. */
7712 #include <sys/types.h>
7713 #if HAVE_UTMP_H
7714 #include <utmp.h>
7715 #endif
7719 main ()
7721 static struct utmp ac_aggr;
7722 if (sizeof ac_aggr.ut_addr_v6)
7723 return 0;
7725 return 0;
7727 _ACEOF
7728 rm -f conftest.$ac_objext
7729 if { (ac_try="$ac_compile"
7730 case "(($ac_try" in
7731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7732 *) ac_try_echo=$ac_try;;
7733 esac
7734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7735 (eval "$ac_compile") 2>conftest.er1
7736 ac_status=$?
7737 grep -v '^ *+' conftest.er1 >conftest.err
7738 rm -f conftest.er1
7739 cat conftest.err >&5
7740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7741 (exit $ac_status); } && {
7742 test -z "$ac_c_werror_flag" ||
7743 test ! -s conftest.err
7744 } && test -s conftest.$ac_objext; then
7745 ac_cv_member_struct_utmp_ut_addr_v6=yes
7746 else
7747 echo "$as_me: failed program was:" >&5
7748 sed 's/^/| /' conftest.$ac_ext >&5
7750 ac_cv_member_struct_utmp_ut_addr_v6=no
7753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7758 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_utmp_ut_addr_v6" >&5
7759 echo "${ECHO_T}$ac_cv_member_struct_utmp_ut_addr_v6" >&6; }
7760 if test $ac_cv_member_struct_utmp_ut_addr_v6 = yes; then
7762 cat >>confdefs.h <<_ACEOF
7763 #define HAVE_STRUCT_UTMP_UT_ADDR_V6 1
7764 _ACEOF
7768 { echo "$as_me:$LINENO: checking for struct utmp.ut_exit" >&5
7769 echo $ECHO_N "checking for struct utmp.ut_exit... $ECHO_C" >&6; }
7770 if test "${ac_cv_member_struct_utmp_ut_exit+set}" = set; then
7771 echo $ECHO_N "(cached) $ECHO_C" >&6
7772 else
7773 cat >conftest.$ac_ext <<_ACEOF
7774 /* confdefs.h. */
7775 _ACEOF
7776 cat confdefs.h >>conftest.$ac_ext
7777 cat >>conftest.$ac_ext <<_ACEOF
7778 /* end confdefs.h. */
7780 #include <sys/types.h>
7781 #if HAVE_UTMP_H
7782 #include <utmp.h>
7783 #endif
7787 main ()
7789 static struct utmp ac_aggr;
7790 if (ac_aggr.ut_exit)
7791 return 0;
7793 return 0;
7795 _ACEOF
7796 rm -f conftest.$ac_objext
7797 if { (ac_try="$ac_compile"
7798 case "(($ac_try" in
7799 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7800 *) ac_try_echo=$ac_try;;
7801 esac
7802 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7803 (eval "$ac_compile") 2>conftest.er1
7804 ac_status=$?
7805 grep -v '^ *+' conftest.er1 >conftest.err
7806 rm -f conftest.er1
7807 cat conftest.err >&5
7808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7809 (exit $ac_status); } && {
7810 test -z "$ac_c_werror_flag" ||
7811 test ! -s conftest.err
7812 } && test -s conftest.$ac_objext; then
7813 ac_cv_member_struct_utmp_ut_exit=yes
7814 else
7815 echo "$as_me: failed program was:" >&5
7816 sed 's/^/| /' conftest.$ac_ext >&5
7818 cat >conftest.$ac_ext <<_ACEOF
7819 /* confdefs.h. */
7820 _ACEOF
7821 cat confdefs.h >>conftest.$ac_ext
7822 cat >>conftest.$ac_ext <<_ACEOF
7823 /* end confdefs.h. */
7825 #include <sys/types.h>
7826 #if HAVE_UTMP_H
7827 #include <utmp.h>
7828 #endif
7832 main ()
7834 static struct utmp ac_aggr;
7835 if (sizeof ac_aggr.ut_exit)
7836 return 0;
7838 return 0;
7840 _ACEOF
7841 rm -f conftest.$ac_objext
7842 if { (ac_try="$ac_compile"
7843 case "(($ac_try" in
7844 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7845 *) ac_try_echo=$ac_try;;
7846 esac
7847 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7848 (eval "$ac_compile") 2>conftest.er1
7849 ac_status=$?
7850 grep -v '^ *+' conftest.er1 >conftest.err
7851 rm -f conftest.er1
7852 cat conftest.err >&5
7853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7854 (exit $ac_status); } && {
7855 test -z "$ac_c_werror_flag" ||
7856 test ! -s conftest.err
7857 } && test -s conftest.$ac_objext; then
7858 ac_cv_member_struct_utmp_ut_exit=yes
7859 else
7860 echo "$as_me: failed program was:" >&5
7861 sed 's/^/| /' conftest.$ac_ext >&5
7863 ac_cv_member_struct_utmp_ut_exit=no
7866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7871 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_utmp_ut_exit" >&5
7872 echo "${ECHO_T}$ac_cv_member_struct_utmp_ut_exit" >&6; }
7873 if test $ac_cv_member_struct_utmp_ut_exit = yes; then
7875 cat >>confdefs.h <<_ACEOF
7876 #define HAVE_STRUCT_UTMP_UT_EXIT 1
7877 _ACEOF
7881 { echo "$as_me:$LINENO: checking for struct utmp.ut_time" >&5
7882 echo $ECHO_N "checking for struct utmp.ut_time... $ECHO_C" >&6; }
7883 if test "${ac_cv_member_struct_utmp_ut_time+set}" = set; then
7884 echo $ECHO_N "(cached) $ECHO_C" >&6
7885 else
7886 cat >conftest.$ac_ext <<_ACEOF
7887 /* confdefs.h. */
7888 _ACEOF
7889 cat confdefs.h >>conftest.$ac_ext
7890 cat >>conftest.$ac_ext <<_ACEOF
7891 /* end confdefs.h. */
7893 #include <sys/types.h>
7894 #if HAVE_UTMP_H
7895 #include <utmp.h>
7896 #endif
7900 main ()
7902 static struct utmp ac_aggr;
7903 if (ac_aggr.ut_time)
7904 return 0;
7906 return 0;
7908 _ACEOF
7909 rm -f conftest.$ac_objext
7910 if { (ac_try="$ac_compile"
7911 case "(($ac_try" in
7912 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7913 *) ac_try_echo=$ac_try;;
7914 esac
7915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7916 (eval "$ac_compile") 2>conftest.er1
7917 ac_status=$?
7918 grep -v '^ *+' conftest.er1 >conftest.err
7919 rm -f conftest.er1
7920 cat conftest.err >&5
7921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7922 (exit $ac_status); } && {
7923 test -z "$ac_c_werror_flag" ||
7924 test ! -s conftest.err
7925 } && test -s conftest.$ac_objext; then
7926 ac_cv_member_struct_utmp_ut_time=yes
7927 else
7928 echo "$as_me: failed program was:" >&5
7929 sed 's/^/| /' conftest.$ac_ext >&5
7931 cat >conftest.$ac_ext <<_ACEOF
7932 /* confdefs.h. */
7933 _ACEOF
7934 cat confdefs.h >>conftest.$ac_ext
7935 cat >>conftest.$ac_ext <<_ACEOF
7936 /* end confdefs.h. */
7938 #include <sys/types.h>
7939 #if HAVE_UTMP_H
7940 #include <utmp.h>
7941 #endif
7945 main ()
7947 static struct utmp ac_aggr;
7948 if (sizeof ac_aggr.ut_time)
7949 return 0;
7951 return 0;
7953 _ACEOF
7954 rm -f conftest.$ac_objext
7955 if { (ac_try="$ac_compile"
7956 case "(($ac_try" in
7957 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7958 *) ac_try_echo=$ac_try;;
7959 esac
7960 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7961 (eval "$ac_compile") 2>conftest.er1
7962 ac_status=$?
7963 grep -v '^ *+' conftest.er1 >conftest.err
7964 rm -f conftest.er1
7965 cat conftest.err >&5
7966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7967 (exit $ac_status); } && {
7968 test -z "$ac_c_werror_flag" ||
7969 test ! -s conftest.err
7970 } && test -s conftest.$ac_objext; then
7971 ac_cv_member_struct_utmp_ut_time=yes
7972 else
7973 echo "$as_me: failed program was:" >&5
7974 sed 's/^/| /' conftest.$ac_ext >&5
7976 ac_cv_member_struct_utmp_ut_time=no
7979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7984 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_utmp_ut_time" >&5
7985 echo "${ECHO_T}$ac_cv_member_struct_utmp_ut_time" >&6; }
7986 if test $ac_cv_member_struct_utmp_ut_time = yes; then
7988 cat >>confdefs.h <<_ACEOF
7989 #define HAVE_STRUCT_UTMP_UT_TIME 1
7990 _ACEOF
7996 { echo "$as_me:$LINENO: checking for struct utmpx.ut_host" >&5
7997 echo $ECHO_N "checking for struct utmpx.ut_host... $ECHO_C" >&6; }
7998 if test "${ac_cv_member_struct_utmpx_ut_host+set}" = set; then
7999 echo $ECHO_N "(cached) $ECHO_C" >&6
8000 else
8001 cat >conftest.$ac_ext <<_ACEOF
8002 /* confdefs.h. */
8003 _ACEOF
8004 cat confdefs.h >>conftest.$ac_ext
8005 cat >>conftest.$ac_ext <<_ACEOF
8006 /* end confdefs.h. */
8008 #include <sys/types.h>
8009 #include <sys/socket.h>
8010 #if HAVE_UTMPX_H
8011 #include <utmpx.h>
8012 #endif
8016 main ()
8018 static struct utmpx ac_aggr;
8019 if (ac_aggr.ut_host)
8020 return 0;
8022 return 0;
8024 _ACEOF
8025 rm -f conftest.$ac_objext
8026 if { (ac_try="$ac_compile"
8027 case "(($ac_try" in
8028 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8029 *) ac_try_echo=$ac_try;;
8030 esac
8031 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8032 (eval "$ac_compile") 2>conftest.er1
8033 ac_status=$?
8034 grep -v '^ *+' conftest.er1 >conftest.err
8035 rm -f conftest.er1
8036 cat conftest.err >&5
8037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8038 (exit $ac_status); } && {
8039 test -z "$ac_c_werror_flag" ||
8040 test ! -s conftest.err
8041 } && test -s conftest.$ac_objext; then
8042 ac_cv_member_struct_utmpx_ut_host=yes
8043 else
8044 echo "$as_me: failed program was:" >&5
8045 sed 's/^/| /' conftest.$ac_ext >&5
8047 cat >conftest.$ac_ext <<_ACEOF
8048 /* confdefs.h. */
8049 _ACEOF
8050 cat confdefs.h >>conftest.$ac_ext
8051 cat >>conftest.$ac_ext <<_ACEOF
8052 /* end confdefs.h. */
8054 #include <sys/types.h>
8055 #include <sys/socket.h>
8056 #if HAVE_UTMPX_H
8057 #include <utmpx.h>
8058 #endif
8062 main ()
8064 static struct utmpx ac_aggr;
8065 if (sizeof ac_aggr.ut_host)
8066 return 0;
8068 return 0;
8070 _ACEOF
8071 rm -f conftest.$ac_objext
8072 if { (ac_try="$ac_compile"
8073 case "(($ac_try" in
8074 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8075 *) ac_try_echo=$ac_try;;
8076 esac
8077 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8078 (eval "$ac_compile") 2>conftest.er1
8079 ac_status=$?
8080 grep -v '^ *+' conftest.er1 >conftest.err
8081 rm -f conftest.er1
8082 cat conftest.err >&5
8083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8084 (exit $ac_status); } && {
8085 test -z "$ac_c_werror_flag" ||
8086 test ! -s conftest.err
8087 } && test -s conftest.$ac_objext; then
8088 ac_cv_member_struct_utmpx_ut_host=yes
8089 else
8090 echo "$as_me: failed program was:" >&5
8091 sed 's/^/| /' conftest.$ac_ext >&5
8093 ac_cv_member_struct_utmpx_ut_host=no
8096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8101 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_utmpx_ut_host" >&5
8102 echo "${ECHO_T}$ac_cv_member_struct_utmpx_ut_host" >&6; }
8103 if test $ac_cv_member_struct_utmpx_ut_host = yes; then
8105 cat >>confdefs.h <<_ACEOF
8106 #define HAVE_STRUCT_UTMPX_UT_HOST 1
8107 _ACEOF
8111 { echo "$as_me:$LINENO: checking for struct utmpx.ut_syslen" >&5
8112 echo $ECHO_N "checking for struct utmpx.ut_syslen... $ECHO_C" >&6; }
8113 if test "${ac_cv_member_struct_utmpx_ut_syslen+set}" = set; then
8114 echo $ECHO_N "(cached) $ECHO_C" >&6
8115 else
8116 cat >conftest.$ac_ext <<_ACEOF
8117 /* confdefs.h. */
8118 _ACEOF
8119 cat confdefs.h >>conftest.$ac_ext
8120 cat >>conftest.$ac_ext <<_ACEOF
8121 /* end confdefs.h. */
8123 #include <sys/types.h>
8124 #include <sys/socket.h>
8125 #if HAVE_UTMPX_H
8126 #include <utmpx.h>
8127 #endif
8131 main ()
8133 static struct utmpx ac_aggr;
8134 if (ac_aggr.ut_syslen)
8135 return 0;
8137 return 0;
8139 _ACEOF
8140 rm -f conftest.$ac_objext
8141 if { (ac_try="$ac_compile"
8142 case "(($ac_try" in
8143 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8144 *) ac_try_echo=$ac_try;;
8145 esac
8146 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8147 (eval "$ac_compile") 2>conftest.er1
8148 ac_status=$?
8149 grep -v '^ *+' conftest.er1 >conftest.err
8150 rm -f conftest.er1
8151 cat conftest.err >&5
8152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8153 (exit $ac_status); } && {
8154 test -z "$ac_c_werror_flag" ||
8155 test ! -s conftest.err
8156 } && test -s conftest.$ac_objext; then
8157 ac_cv_member_struct_utmpx_ut_syslen=yes
8158 else
8159 echo "$as_me: failed program was:" >&5
8160 sed 's/^/| /' conftest.$ac_ext >&5
8162 cat >conftest.$ac_ext <<_ACEOF
8163 /* confdefs.h. */
8164 _ACEOF
8165 cat confdefs.h >>conftest.$ac_ext
8166 cat >>conftest.$ac_ext <<_ACEOF
8167 /* end confdefs.h. */
8169 #include <sys/types.h>
8170 #include <sys/socket.h>
8171 #if HAVE_UTMPX_H
8172 #include <utmpx.h>
8173 #endif
8177 main ()
8179 static struct utmpx ac_aggr;
8180 if (sizeof ac_aggr.ut_syslen)
8181 return 0;
8183 return 0;
8185 _ACEOF
8186 rm -f conftest.$ac_objext
8187 if { (ac_try="$ac_compile"
8188 case "(($ac_try" in
8189 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8190 *) ac_try_echo=$ac_try;;
8191 esac
8192 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8193 (eval "$ac_compile") 2>conftest.er1
8194 ac_status=$?
8195 grep -v '^ *+' conftest.er1 >conftest.err
8196 rm -f conftest.er1
8197 cat conftest.err >&5
8198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8199 (exit $ac_status); } && {
8200 test -z "$ac_c_werror_flag" ||
8201 test ! -s conftest.err
8202 } && test -s conftest.$ac_objext; then
8203 ac_cv_member_struct_utmpx_ut_syslen=yes
8204 else
8205 echo "$as_me: failed program was:" >&5
8206 sed 's/^/| /' conftest.$ac_ext >&5
8208 ac_cv_member_struct_utmpx_ut_syslen=no
8211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8216 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_utmpx_ut_syslen" >&5
8217 echo "${ECHO_T}$ac_cv_member_struct_utmpx_ut_syslen" >&6; }
8218 if test $ac_cv_member_struct_utmpx_ut_syslen = yes; then
8220 cat >>confdefs.h <<_ACEOF
8221 #define HAVE_STRUCT_UTMPX_UT_SYSLEN 1
8222 _ACEOF
8226 { echo "$as_me:$LINENO: checking for struct utmpx.ut_type" >&5
8227 echo $ECHO_N "checking for struct utmpx.ut_type... $ECHO_C" >&6; }
8228 if test "${ac_cv_member_struct_utmpx_ut_type+set}" = set; then
8229 echo $ECHO_N "(cached) $ECHO_C" >&6
8230 else
8231 cat >conftest.$ac_ext <<_ACEOF
8232 /* confdefs.h. */
8233 _ACEOF
8234 cat confdefs.h >>conftest.$ac_ext
8235 cat >>conftest.$ac_ext <<_ACEOF
8236 /* end confdefs.h. */
8238 #include <sys/types.h>
8239 #include <sys/socket.h>
8240 #if HAVE_UTMPX_H
8241 #include <utmpx.h>
8242 #endif
8246 main ()
8248 static struct utmpx ac_aggr;
8249 if (ac_aggr.ut_type)
8250 return 0;
8252 return 0;
8254 _ACEOF
8255 rm -f conftest.$ac_objext
8256 if { (ac_try="$ac_compile"
8257 case "(($ac_try" in
8258 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8259 *) ac_try_echo=$ac_try;;
8260 esac
8261 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8262 (eval "$ac_compile") 2>conftest.er1
8263 ac_status=$?
8264 grep -v '^ *+' conftest.er1 >conftest.err
8265 rm -f conftest.er1
8266 cat conftest.err >&5
8267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8268 (exit $ac_status); } && {
8269 test -z "$ac_c_werror_flag" ||
8270 test ! -s conftest.err
8271 } && test -s conftest.$ac_objext; then
8272 ac_cv_member_struct_utmpx_ut_type=yes
8273 else
8274 echo "$as_me: failed program was:" >&5
8275 sed 's/^/| /' conftest.$ac_ext >&5
8277 cat >conftest.$ac_ext <<_ACEOF
8278 /* confdefs.h. */
8279 _ACEOF
8280 cat confdefs.h >>conftest.$ac_ext
8281 cat >>conftest.$ac_ext <<_ACEOF
8282 /* end confdefs.h. */
8284 #include <sys/types.h>
8285 #include <sys/socket.h>
8286 #if HAVE_UTMPX_H
8287 #include <utmpx.h>
8288 #endif
8292 main ()
8294 static struct utmpx ac_aggr;
8295 if (sizeof ac_aggr.ut_type)
8296 return 0;
8298 return 0;
8300 _ACEOF
8301 rm -f conftest.$ac_objext
8302 if { (ac_try="$ac_compile"
8303 case "(($ac_try" in
8304 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8305 *) ac_try_echo=$ac_try;;
8306 esac
8307 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8308 (eval "$ac_compile") 2>conftest.er1
8309 ac_status=$?
8310 grep -v '^ *+' conftest.er1 >conftest.err
8311 rm -f conftest.er1
8312 cat conftest.err >&5
8313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8314 (exit $ac_status); } && {
8315 test -z "$ac_c_werror_flag" ||
8316 test ! -s conftest.err
8317 } && test -s conftest.$ac_objext; then
8318 ac_cv_member_struct_utmpx_ut_type=yes
8319 else
8320 echo "$as_me: failed program was:" >&5
8321 sed 's/^/| /' conftest.$ac_ext >&5
8323 ac_cv_member_struct_utmpx_ut_type=no
8326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8331 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_utmpx_ut_type" >&5
8332 echo "${ECHO_T}$ac_cv_member_struct_utmpx_ut_type" >&6; }
8333 if test $ac_cv_member_struct_utmpx_ut_type = yes; then
8335 cat >>confdefs.h <<_ACEOF
8336 #define HAVE_STRUCT_UTMPX_UT_TYPE 1
8337 _ACEOF
8341 { echo "$as_me:$LINENO: checking for struct utmpx.ut_id" >&5
8342 echo $ECHO_N "checking for struct utmpx.ut_id... $ECHO_C" >&6; }
8343 if test "${ac_cv_member_struct_utmpx_ut_id+set}" = set; then
8344 echo $ECHO_N "(cached) $ECHO_C" >&6
8345 else
8346 cat >conftest.$ac_ext <<_ACEOF
8347 /* confdefs.h. */
8348 _ACEOF
8349 cat confdefs.h >>conftest.$ac_ext
8350 cat >>conftest.$ac_ext <<_ACEOF
8351 /* end confdefs.h. */
8353 #include <sys/types.h>
8354 #include <sys/socket.h>
8355 #if HAVE_UTMPX_H
8356 #include <utmpx.h>
8357 #endif
8361 main ()
8363 static struct utmpx ac_aggr;
8364 if (ac_aggr.ut_id)
8365 return 0;
8367 return 0;
8369 _ACEOF
8370 rm -f conftest.$ac_objext
8371 if { (ac_try="$ac_compile"
8372 case "(($ac_try" in
8373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8374 *) ac_try_echo=$ac_try;;
8375 esac
8376 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8377 (eval "$ac_compile") 2>conftest.er1
8378 ac_status=$?
8379 grep -v '^ *+' conftest.er1 >conftest.err
8380 rm -f conftest.er1
8381 cat conftest.err >&5
8382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8383 (exit $ac_status); } && {
8384 test -z "$ac_c_werror_flag" ||
8385 test ! -s conftest.err
8386 } && test -s conftest.$ac_objext; then
8387 ac_cv_member_struct_utmpx_ut_id=yes
8388 else
8389 echo "$as_me: failed program was:" >&5
8390 sed 's/^/| /' conftest.$ac_ext >&5
8392 cat >conftest.$ac_ext <<_ACEOF
8393 /* confdefs.h. */
8394 _ACEOF
8395 cat confdefs.h >>conftest.$ac_ext
8396 cat >>conftest.$ac_ext <<_ACEOF
8397 /* end confdefs.h. */
8399 #include <sys/types.h>
8400 #include <sys/socket.h>
8401 #if HAVE_UTMPX_H
8402 #include <utmpx.h>
8403 #endif
8407 main ()
8409 static struct utmpx ac_aggr;
8410 if (sizeof ac_aggr.ut_id)
8411 return 0;
8413 return 0;
8415 _ACEOF
8416 rm -f conftest.$ac_objext
8417 if { (ac_try="$ac_compile"
8418 case "(($ac_try" in
8419 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8420 *) ac_try_echo=$ac_try;;
8421 esac
8422 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8423 (eval "$ac_compile") 2>conftest.er1
8424 ac_status=$?
8425 grep -v '^ *+' conftest.er1 >conftest.err
8426 rm -f conftest.er1
8427 cat conftest.err >&5
8428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8429 (exit $ac_status); } && {
8430 test -z "$ac_c_werror_flag" ||
8431 test ! -s conftest.err
8432 } && test -s conftest.$ac_objext; then
8433 ac_cv_member_struct_utmpx_ut_id=yes
8434 else
8435 echo "$as_me: failed program was:" >&5
8436 sed 's/^/| /' conftest.$ac_ext >&5
8438 ac_cv_member_struct_utmpx_ut_id=no
8441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8446 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_utmpx_ut_id" >&5
8447 echo "${ECHO_T}$ac_cv_member_struct_utmpx_ut_id" >&6; }
8448 if test $ac_cv_member_struct_utmpx_ut_id = yes; then
8450 cat >>confdefs.h <<_ACEOF
8451 #define HAVE_STRUCT_UTMPX_UT_ID 1
8452 _ACEOF
8456 { echo "$as_me:$LINENO: checking for struct utmpx.ut_addr" >&5
8457 echo $ECHO_N "checking for struct utmpx.ut_addr... $ECHO_C" >&6; }
8458 if test "${ac_cv_member_struct_utmpx_ut_addr+set}" = set; then
8459 echo $ECHO_N "(cached) $ECHO_C" >&6
8460 else
8461 cat >conftest.$ac_ext <<_ACEOF
8462 /* confdefs.h. */
8463 _ACEOF
8464 cat confdefs.h >>conftest.$ac_ext
8465 cat >>conftest.$ac_ext <<_ACEOF
8466 /* end confdefs.h. */
8468 #include <sys/types.h>
8469 #include <sys/socket.h>
8470 #if HAVE_UTMPX_H
8471 #include <utmpx.h>
8472 #endif
8476 main ()
8478 static struct utmpx ac_aggr;
8479 if (ac_aggr.ut_addr)
8480 return 0;
8482 return 0;
8484 _ACEOF
8485 rm -f conftest.$ac_objext
8486 if { (ac_try="$ac_compile"
8487 case "(($ac_try" in
8488 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8489 *) ac_try_echo=$ac_try;;
8490 esac
8491 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8492 (eval "$ac_compile") 2>conftest.er1
8493 ac_status=$?
8494 grep -v '^ *+' conftest.er1 >conftest.err
8495 rm -f conftest.er1
8496 cat conftest.err >&5
8497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8498 (exit $ac_status); } && {
8499 test -z "$ac_c_werror_flag" ||
8500 test ! -s conftest.err
8501 } && test -s conftest.$ac_objext; then
8502 ac_cv_member_struct_utmpx_ut_addr=yes
8503 else
8504 echo "$as_me: failed program was:" >&5
8505 sed 's/^/| /' conftest.$ac_ext >&5
8507 cat >conftest.$ac_ext <<_ACEOF
8508 /* confdefs.h. */
8509 _ACEOF
8510 cat confdefs.h >>conftest.$ac_ext
8511 cat >>conftest.$ac_ext <<_ACEOF
8512 /* end confdefs.h. */
8514 #include <sys/types.h>
8515 #include <sys/socket.h>
8516 #if HAVE_UTMPX_H
8517 #include <utmpx.h>
8518 #endif
8522 main ()
8524 static struct utmpx ac_aggr;
8525 if (sizeof ac_aggr.ut_addr)
8526 return 0;
8528 return 0;
8530 _ACEOF
8531 rm -f conftest.$ac_objext
8532 if { (ac_try="$ac_compile"
8533 case "(($ac_try" in
8534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8535 *) ac_try_echo=$ac_try;;
8536 esac
8537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8538 (eval "$ac_compile") 2>conftest.er1
8539 ac_status=$?
8540 grep -v '^ *+' conftest.er1 >conftest.err
8541 rm -f conftest.er1
8542 cat conftest.err >&5
8543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8544 (exit $ac_status); } && {
8545 test -z "$ac_c_werror_flag" ||
8546 test ! -s conftest.err
8547 } && test -s conftest.$ac_objext; then
8548 ac_cv_member_struct_utmpx_ut_addr=yes
8549 else
8550 echo "$as_me: failed program was:" >&5
8551 sed 's/^/| /' conftest.$ac_ext >&5
8553 ac_cv_member_struct_utmpx_ut_addr=no
8556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8561 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_utmpx_ut_addr" >&5
8562 echo "${ECHO_T}$ac_cv_member_struct_utmpx_ut_addr" >&6; }
8563 if test $ac_cv_member_struct_utmpx_ut_addr = yes; then
8565 cat >>confdefs.h <<_ACEOF
8566 #define HAVE_STRUCT_UTMPX_UT_ADDR 1
8567 _ACEOF
8571 { echo "$as_me:$LINENO: checking for struct utmpx.ut_addr_v6" >&5
8572 echo $ECHO_N "checking for struct utmpx.ut_addr_v6... $ECHO_C" >&6; }
8573 if test "${ac_cv_member_struct_utmpx_ut_addr_v6+set}" = set; then
8574 echo $ECHO_N "(cached) $ECHO_C" >&6
8575 else
8576 cat >conftest.$ac_ext <<_ACEOF
8577 /* confdefs.h. */
8578 _ACEOF
8579 cat confdefs.h >>conftest.$ac_ext
8580 cat >>conftest.$ac_ext <<_ACEOF
8581 /* end confdefs.h. */
8583 #include <sys/types.h>
8584 #include <sys/socket.h>
8585 #if HAVE_UTMPX_H
8586 #include <utmpx.h>
8587 #endif
8591 main ()
8593 static struct utmpx ac_aggr;
8594 if (ac_aggr.ut_addr_v6)
8595 return 0;
8597 return 0;
8599 _ACEOF
8600 rm -f conftest.$ac_objext
8601 if { (ac_try="$ac_compile"
8602 case "(($ac_try" in
8603 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8604 *) ac_try_echo=$ac_try;;
8605 esac
8606 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8607 (eval "$ac_compile") 2>conftest.er1
8608 ac_status=$?
8609 grep -v '^ *+' conftest.er1 >conftest.err
8610 rm -f conftest.er1
8611 cat conftest.err >&5
8612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8613 (exit $ac_status); } && {
8614 test -z "$ac_c_werror_flag" ||
8615 test ! -s conftest.err
8616 } && test -s conftest.$ac_objext; then
8617 ac_cv_member_struct_utmpx_ut_addr_v6=yes
8618 else
8619 echo "$as_me: failed program was:" >&5
8620 sed 's/^/| /' conftest.$ac_ext >&5
8622 cat >conftest.$ac_ext <<_ACEOF
8623 /* confdefs.h. */
8624 _ACEOF
8625 cat confdefs.h >>conftest.$ac_ext
8626 cat >>conftest.$ac_ext <<_ACEOF
8627 /* end confdefs.h. */
8629 #include <sys/types.h>
8630 #include <sys/socket.h>
8631 #if HAVE_UTMPX_H
8632 #include <utmpx.h>
8633 #endif
8637 main ()
8639 static struct utmpx ac_aggr;
8640 if (sizeof ac_aggr.ut_addr_v6)
8641 return 0;
8643 return 0;
8645 _ACEOF
8646 rm -f conftest.$ac_objext
8647 if { (ac_try="$ac_compile"
8648 case "(($ac_try" in
8649 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8650 *) ac_try_echo=$ac_try;;
8651 esac
8652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8653 (eval "$ac_compile") 2>conftest.er1
8654 ac_status=$?
8655 grep -v '^ *+' conftest.er1 >conftest.err
8656 rm -f conftest.er1
8657 cat conftest.err >&5
8658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8659 (exit $ac_status); } && {
8660 test -z "$ac_c_werror_flag" ||
8661 test ! -s conftest.err
8662 } && test -s conftest.$ac_objext; then
8663 ac_cv_member_struct_utmpx_ut_addr_v6=yes
8664 else
8665 echo "$as_me: failed program was:" >&5
8666 sed 's/^/| /' conftest.$ac_ext >&5
8668 ac_cv_member_struct_utmpx_ut_addr_v6=no
8671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8676 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_utmpx_ut_addr_v6" >&5
8677 echo "${ECHO_T}$ac_cv_member_struct_utmpx_ut_addr_v6" >&6; }
8678 if test $ac_cv_member_struct_utmpx_ut_addr_v6 = yes; then
8680 cat >>confdefs.h <<_ACEOF
8681 #define HAVE_STRUCT_UTMPX_UT_ADDR_V6 1
8682 _ACEOF
8686 { echo "$as_me:$LINENO: checking for struct utmpx.ut_time" >&5
8687 echo $ECHO_N "checking for struct utmpx.ut_time... $ECHO_C" >&6; }
8688 if test "${ac_cv_member_struct_utmpx_ut_time+set}" = set; then
8689 echo $ECHO_N "(cached) $ECHO_C" >&6
8690 else
8691 cat >conftest.$ac_ext <<_ACEOF
8692 /* confdefs.h. */
8693 _ACEOF
8694 cat confdefs.h >>conftest.$ac_ext
8695 cat >>conftest.$ac_ext <<_ACEOF
8696 /* end confdefs.h. */
8698 #include <sys/types.h>
8699 #include <sys/socket.h>
8700 #if HAVE_UTMPX_H
8701 #include <utmpx.h>
8702 #endif
8706 main ()
8708 static struct utmpx ac_aggr;
8709 if (ac_aggr.ut_time)
8710 return 0;
8712 return 0;
8714 _ACEOF
8715 rm -f conftest.$ac_objext
8716 if { (ac_try="$ac_compile"
8717 case "(($ac_try" in
8718 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8719 *) ac_try_echo=$ac_try;;
8720 esac
8721 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8722 (eval "$ac_compile") 2>conftest.er1
8723 ac_status=$?
8724 grep -v '^ *+' conftest.er1 >conftest.err
8725 rm -f conftest.er1
8726 cat conftest.err >&5
8727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8728 (exit $ac_status); } && {
8729 test -z "$ac_c_werror_flag" ||
8730 test ! -s conftest.err
8731 } && test -s conftest.$ac_objext; then
8732 ac_cv_member_struct_utmpx_ut_time=yes
8733 else
8734 echo "$as_me: failed program was:" >&5
8735 sed 's/^/| /' conftest.$ac_ext >&5
8737 cat >conftest.$ac_ext <<_ACEOF
8738 /* confdefs.h. */
8739 _ACEOF
8740 cat confdefs.h >>conftest.$ac_ext
8741 cat >>conftest.$ac_ext <<_ACEOF
8742 /* end confdefs.h. */
8744 #include <sys/types.h>
8745 #include <sys/socket.h>
8746 #if HAVE_UTMPX_H
8747 #include <utmpx.h>
8748 #endif
8752 main ()
8754 static struct utmpx ac_aggr;
8755 if (sizeof ac_aggr.ut_time)
8756 return 0;
8758 return 0;
8760 _ACEOF
8761 rm -f conftest.$ac_objext
8762 if { (ac_try="$ac_compile"
8763 case "(($ac_try" in
8764 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8765 *) ac_try_echo=$ac_try;;
8766 esac
8767 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8768 (eval "$ac_compile") 2>conftest.er1
8769 ac_status=$?
8770 grep -v '^ *+' conftest.er1 >conftest.err
8771 rm -f conftest.er1
8772 cat conftest.err >&5
8773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8774 (exit $ac_status); } && {
8775 test -z "$ac_c_werror_flag" ||
8776 test ! -s conftest.err
8777 } && test -s conftest.$ac_objext; then
8778 ac_cv_member_struct_utmpx_ut_time=yes
8779 else
8780 echo "$as_me: failed program was:" >&5
8781 sed 's/^/| /' conftest.$ac_ext >&5
8783 ac_cv_member_struct_utmpx_ut_time=no
8786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8791 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_utmpx_ut_time" >&5
8792 echo "${ECHO_T}$ac_cv_member_struct_utmpx_ut_time" >&6; }
8793 if test $ac_cv_member_struct_utmpx_ut_time = yes; then
8795 cat >>confdefs.h <<_ACEOF
8796 #define HAVE_STRUCT_UTMPX_UT_TIME 1
8797 _ACEOF
8801 { echo "$as_me:$LINENO: checking for struct utmpx.ut_tv" >&5
8802 echo $ECHO_N "checking for struct utmpx.ut_tv... $ECHO_C" >&6; }
8803 if test "${ac_cv_member_struct_utmpx_ut_tv+set}" = set; then
8804 echo $ECHO_N "(cached) $ECHO_C" >&6
8805 else
8806 cat >conftest.$ac_ext <<_ACEOF
8807 /* confdefs.h. */
8808 _ACEOF
8809 cat confdefs.h >>conftest.$ac_ext
8810 cat >>conftest.$ac_ext <<_ACEOF
8811 /* end confdefs.h. */
8813 #include <sys/types.h>
8814 #include <sys/socket.h>
8815 #if HAVE_UTMPX_H
8816 #include <utmpx.h>
8817 #endif
8821 main ()
8823 static struct utmpx ac_aggr;
8824 if (ac_aggr.ut_tv)
8825 return 0;
8827 return 0;
8829 _ACEOF
8830 rm -f conftest.$ac_objext
8831 if { (ac_try="$ac_compile"
8832 case "(($ac_try" in
8833 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8834 *) ac_try_echo=$ac_try;;
8835 esac
8836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8837 (eval "$ac_compile") 2>conftest.er1
8838 ac_status=$?
8839 grep -v '^ *+' conftest.er1 >conftest.err
8840 rm -f conftest.er1
8841 cat conftest.err >&5
8842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8843 (exit $ac_status); } && {
8844 test -z "$ac_c_werror_flag" ||
8845 test ! -s conftest.err
8846 } && test -s conftest.$ac_objext; then
8847 ac_cv_member_struct_utmpx_ut_tv=yes
8848 else
8849 echo "$as_me: failed program was:" >&5
8850 sed 's/^/| /' conftest.$ac_ext >&5
8852 cat >conftest.$ac_ext <<_ACEOF
8853 /* confdefs.h. */
8854 _ACEOF
8855 cat confdefs.h >>conftest.$ac_ext
8856 cat >>conftest.$ac_ext <<_ACEOF
8857 /* end confdefs.h. */
8859 #include <sys/types.h>
8860 #include <sys/socket.h>
8861 #if HAVE_UTMPX_H
8862 #include <utmpx.h>
8863 #endif
8867 main ()
8869 static struct utmpx ac_aggr;
8870 if (sizeof ac_aggr.ut_tv)
8871 return 0;
8873 return 0;
8875 _ACEOF
8876 rm -f conftest.$ac_objext
8877 if { (ac_try="$ac_compile"
8878 case "(($ac_try" in
8879 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8880 *) ac_try_echo=$ac_try;;
8881 esac
8882 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8883 (eval "$ac_compile") 2>conftest.er1
8884 ac_status=$?
8885 grep -v '^ *+' conftest.er1 >conftest.err
8886 rm -f conftest.er1
8887 cat conftest.err >&5
8888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8889 (exit $ac_status); } && {
8890 test -z "$ac_c_werror_flag" ||
8891 test ! -s conftest.err
8892 } && test -s conftest.$ac_objext; then
8893 ac_cv_member_struct_utmpx_ut_tv=yes
8894 else
8895 echo "$as_me: failed program was:" >&5
8896 sed 's/^/| /' conftest.$ac_ext >&5
8898 ac_cv_member_struct_utmpx_ut_tv=no
8901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8906 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_utmpx_ut_tv" >&5
8907 echo "${ECHO_T}$ac_cv_member_struct_utmpx_ut_tv" >&6; }
8908 if test $ac_cv_member_struct_utmpx_ut_tv = yes; then
8910 cat >>confdefs.h <<_ACEOF
8911 #define HAVE_STRUCT_UTMPX_UT_TV 1
8912 _ACEOF
8918 { echo "$as_me:$LINENO: checking for struct sockaddr_storage.ss_family" >&5
8919 echo $ECHO_N "checking for struct sockaddr_storage.ss_family... $ECHO_C" >&6; }
8920 if test "${ac_cv_member_struct_sockaddr_storage_ss_family+set}" = set; then
8921 echo $ECHO_N "(cached) $ECHO_C" >&6
8922 else
8923 cat >conftest.$ac_ext <<_ACEOF
8924 /* confdefs.h. */
8925 _ACEOF
8926 cat confdefs.h >>conftest.$ac_ext
8927 cat >>conftest.$ac_ext <<_ACEOF
8928 /* end confdefs.h. */
8930 #include <sys/types.h>
8931 #include <sys/socket.h>
8935 main ()
8937 static struct sockaddr_storage ac_aggr;
8938 if (ac_aggr.ss_family)
8939 return 0;
8941 return 0;
8943 _ACEOF
8944 rm -f conftest.$ac_objext
8945 if { (ac_try="$ac_compile"
8946 case "(($ac_try" in
8947 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8948 *) ac_try_echo=$ac_try;;
8949 esac
8950 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8951 (eval "$ac_compile") 2>conftest.er1
8952 ac_status=$?
8953 grep -v '^ *+' conftest.er1 >conftest.err
8954 rm -f conftest.er1
8955 cat conftest.err >&5
8956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8957 (exit $ac_status); } && {
8958 test -z "$ac_c_werror_flag" ||
8959 test ! -s conftest.err
8960 } && test -s conftest.$ac_objext; then
8961 ac_cv_member_struct_sockaddr_storage_ss_family=yes
8962 else
8963 echo "$as_me: failed program was:" >&5
8964 sed 's/^/| /' conftest.$ac_ext >&5
8966 cat >conftest.$ac_ext <<_ACEOF
8967 /* confdefs.h. */
8968 _ACEOF
8969 cat confdefs.h >>conftest.$ac_ext
8970 cat >>conftest.$ac_ext <<_ACEOF
8971 /* end confdefs.h. */
8973 #include <sys/types.h>
8974 #include <sys/socket.h>
8978 main ()
8980 static struct sockaddr_storage ac_aggr;
8981 if (sizeof ac_aggr.ss_family)
8982 return 0;
8984 return 0;
8986 _ACEOF
8987 rm -f conftest.$ac_objext
8988 if { (ac_try="$ac_compile"
8989 case "(($ac_try" in
8990 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8991 *) ac_try_echo=$ac_try;;
8992 esac
8993 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8994 (eval "$ac_compile") 2>conftest.er1
8995 ac_status=$?
8996 grep -v '^ *+' conftest.er1 >conftest.err
8997 rm -f conftest.er1
8998 cat conftest.err >&5
8999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9000 (exit $ac_status); } && {
9001 test -z "$ac_c_werror_flag" ||
9002 test ! -s conftest.err
9003 } && test -s conftest.$ac_objext; then
9004 ac_cv_member_struct_sockaddr_storage_ss_family=yes
9005 else
9006 echo "$as_me: failed program was:" >&5
9007 sed 's/^/| /' conftest.$ac_ext >&5
9009 ac_cv_member_struct_sockaddr_storage_ss_family=no
9012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9017 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_storage_ss_family" >&5
9018 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_storage_ss_family" >&6; }
9019 if test $ac_cv_member_struct_sockaddr_storage_ss_family = yes; then
9021 cat >>confdefs.h <<_ACEOF
9022 #define HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY 1
9023 _ACEOF
9035 for ac_func in endutent getutent getutid getutline pututline setutent
9037 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9038 { echo "$as_me:$LINENO: checking for $ac_func" >&5
9039 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
9040 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
9041 echo $ECHO_N "(cached) $ECHO_C" >&6
9042 else
9043 cat >conftest.$ac_ext <<_ACEOF
9044 /* confdefs.h. */
9045 _ACEOF
9046 cat confdefs.h >>conftest.$ac_ext
9047 cat >>conftest.$ac_ext <<_ACEOF
9048 /* end confdefs.h. */
9049 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9050 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9051 #define $ac_func innocuous_$ac_func
9053 /* System header to define __stub macros and hopefully few prototypes,
9054 which can conflict with char $ac_func (); below.
9055 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9056 <limits.h> exists even on freestanding compilers. */
9058 #ifdef __STDC__
9059 # include <limits.h>
9060 #else
9061 # include <assert.h>
9062 #endif
9064 #undef $ac_func
9066 /* Override any GCC internal prototype to avoid an error.
9067 Use char because int might match the return type of a GCC
9068 builtin and then its argument prototype would still apply. */
9069 #ifdef __cplusplus
9070 extern "C"
9071 #endif
9072 char $ac_func ();
9073 /* The GNU C library defines this for functions which it implements
9074 to always fail with ENOSYS. Some functions are actually named
9075 something starting with __ and the normal name is an alias. */
9076 #if defined __stub_$ac_func || defined __stub___$ac_func
9077 choke me
9078 #endif
9081 main ()
9083 return $ac_func ();
9085 return 0;
9087 _ACEOF
9088 rm -f conftest.$ac_objext conftest$ac_exeext
9089 if { (ac_try="$ac_link"
9090 case "(($ac_try" in
9091 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9092 *) ac_try_echo=$ac_try;;
9093 esac
9094 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9095 (eval "$ac_link") 2>conftest.er1
9096 ac_status=$?
9097 grep -v '^ *+' conftest.er1 >conftest.err
9098 rm -f conftest.er1
9099 cat conftest.err >&5
9100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9101 (exit $ac_status); } && {
9102 test -z "$ac_c_werror_flag" ||
9103 test ! -s conftest.err
9104 } && test -s conftest$ac_exeext &&
9105 $as_test_x conftest$ac_exeext; then
9106 eval "$as_ac_var=yes"
9107 else
9108 echo "$as_me: failed program was:" >&5
9109 sed 's/^/| /' conftest.$ac_ext >&5
9111 eval "$as_ac_var=no"
9114 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9115 conftest$ac_exeext conftest.$ac_ext
9117 ac_res=`eval echo '${'$as_ac_var'}'`
9118 { echo "$as_me:$LINENO: result: $ac_res" >&5
9119 echo "${ECHO_T}$ac_res" >&6; }
9120 if test `eval echo '${'$as_ac_var'}'` = yes; then
9121 cat >>confdefs.h <<_ACEOF
9122 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9123 _ACEOF
9126 done
9129 for ac_func in utmpname
9131 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9132 { echo "$as_me:$LINENO: checking for $ac_func" >&5
9133 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
9134 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
9135 echo $ECHO_N "(cached) $ECHO_C" >&6
9136 else
9137 cat >conftest.$ac_ext <<_ACEOF
9138 /* confdefs.h. */
9139 _ACEOF
9140 cat confdefs.h >>conftest.$ac_ext
9141 cat >>conftest.$ac_ext <<_ACEOF
9142 /* end confdefs.h. */
9143 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9144 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9145 #define $ac_func innocuous_$ac_func
9147 /* System header to define __stub macros and hopefully few prototypes,
9148 which can conflict with char $ac_func (); below.
9149 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9150 <limits.h> exists even on freestanding compilers. */
9152 #ifdef __STDC__
9153 # include <limits.h>
9154 #else
9155 # include <assert.h>
9156 #endif
9158 #undef $ac_func
9160 /* Override any GCC internal prototype to avoid an error.
9161 Use char because int might match the return type of a GCC
9162 builtin and then its argument prototype would still apply. */
9163 #ifdef __cplusplus
9164 extern "C"
9165 #endif
9166 char $ac_func ();
9167 /* The GNU C library defines this for functions which it implements
9168 to always fail with ENOSYS. Some functions are actually named
9169 something starting with __ and the normal name is an alias. */
9170 #if defined __stub_$ac_func || defined __stub___$ac_func
9171 choke me
9172 #endif
9175 main ()
9177 return $ac_func ();
9179 return 0;
9181 _ACEOF
9182 rm -f conftest.$ac_objext conftest$ac_exeext
9183 if { (ac_try="$ac_link"
9184 case "(($ac_try" in
9185 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9186 *) ac_try_echo=$ac_try;;
9187 esac
9188 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9189 (eval "$ac_link") 2>conftest.er1
9190 ac_status=$?
9191 grep -v '^ *+' conftest.er1 >conftest.err
9192 rm -f conftest.er1
9193 cat conftest.err >&5
9194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9195 (exit $ac_status); } && {
9196 test -z "$ac_c_werror_flag" ||
9197 test ! -s conftest.err
9198 } && test -s conftest$ac_exeext &&
9199 $as_test_x conftest$ac_exeext; then
9200 eval "$as_ac_var=yes"
9201 else
9202 echo "$as_me: failed program was:" >&5
9203 sed 's/^/| /' conftest.$ac_ext >&5
9205 eval "$as_ac_var=no"
9208 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9209 conftest$ac_exeext conftest.$ac_ext
9211 ac_res=`eval echo '${'$as_ac_var'}'`
9212 { echo "$as_me:$LINENO: result: $ac_res" >&5
9213 echo "${ECHO_T}$ac_res" >&6; }
9214 if test `eval echo '${'$as_ac_var'}'` = yes; then
9215 cat >>confdefs.h <<_ACEOF
9216 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9217 _ACEOF
9220 done
9227 for ac_func in endutxent getutxent getutxid getutxline pututxline
9229 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9230 { echo "$as_me:$LINENO: checking for $ac_func" >&5
9231 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
9232 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
9233 echo $ECHO_N "(cached) $ECHO_C" >&6
9234 else
9235 cat >conftest.$ac_ext <<_ACEOF
9236 /* confdefs.h. */
9237 _ACEOF
9238 cat confdefs.h >>conftest.$ac_ext
9239 cat >>conftest.$ac_ext <<_ACEOF
9240 /* end confdefs.h. */
9241 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9242 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9243 #define $ac_func innocuous_$ac_func
9245 /* System header to define __stub macros and hopefully few prototypes,
9246 which can conflict with char $ac_func (); below.
9247 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9248 <limits.h> exists even on freestanding compilers. */
9250 #ifdef __STDC__
9251 # include <limits.h>
9252 #else
9253 # include <assert.h>
9254 #endif
9256 #undef $ac_func
9258 /* Override any GCC internal prototype to avoid an error.
9259 Use char because int might match the return type of a GCC
9260 builtin and then its argument prototype would still apply. */
9261 #ifdef __cplusplus
9262 extern "C"
9263 #endif
9264 char $ac_func ();
9265 /* The GNU C library defines this for functions which it implements
9266 to always fail with ENOSYS. Some functions are actually named
9267 something starting with __ and the normal name is an alias. */
9268 #if defined __stub_$ac_func || defined __stub___$ac_func
9269 choke me
9270 #endif
9273 main ()
9275 return $ac_func ();
9277 return 0;
9279 _ACEOF
9280 rm -f conftest.$ac_objext conftest$ac_exeext
9281 if { (ac_try="$ac_link"
9282 case "(($ac_try" in
9283 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9284 *) ac_try_echo=$ac_try;;
9285 esac
9286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9287 (eval "$ac_link") 2>conftest.er1
9288 ac_status=$?
9289 grep -v '^ *+' conftest.er1 >conftest.err
9290 rm -f conftest.er1
9291 cat conftest.err >&5
9292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9293 (exit $ac_status); } && {
9294 test -z "$ac_c_werror_flag" ||
9295 test ! -s conftest.err
9296 } && test -s conftest$ac_exeext &&
9297 $as_test_x conftest$ac_exeext; then
9298 eval "$as_ac_var=yes"
9299 else
9300 echo "$as_me: failed program was:" >&5
9301 sed 's/^/| /' conftest.$ac_ext >&5
9303 eval "$as_ac_var=no"
9306 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9307 conftest$ac_exeext conftest.$ac_ext
9309 ac_res=`eval echo '${'$as_ac_var'}'`
9310 { echo "$as_me:$LINENO: result: $ac_res" >&5
9311 echo "${ECHO_T}$ac_res" >&6; }
9312 if test `eval echo '${'$as_ac_var'}'` = yes; then
9313 cat >>confdefs.h <<_ACEOF
9314 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9315 _ACEOF
9318 done
9322 for ac_func in setutxent utmpxname
9324 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9325 { echo "$as_me:$LINENO: checking for $ac_func" >&5
9326 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
9327 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
9328 echo $ECHO_N "(cached) $ECHO_C" >&6
9329 else
9330 cat >conftest.$ac_ext <<_ACEOF
9331 /* confdefs.h. */
9332 _ACEOF
9333 cat confdefs.h >>conftest.$ac_ext
9334 cat >>conftest.$ac_ext <<_ACEOF
9335 /* end confdefs.h. */
9336 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9337 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9338 #define $ac_func innocuous_$ac_func
9340 /* System header to define __stub macros and hopefully few prototypes,
9341 which can conflict with char $ac_func (); below.
9342 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9343 <limits.h> exists even on freestanding compilers. */
9345 #ifdef __STDC__
9346 # include <limits.h>
9347 #else
9348 # include <assert.h>
9349 #endif
9351 #undef $ac_func
9353 /* Override any GCC internal prototype to avoid an error.
9354 Use char because int might match the return type of a GCC
9355 builtin and then its argument prototype would still apply. */
9356 #ifdef __cplusplus
9357 extern "C"
9358 #endif
9359 char $ac_func ();
9360 /* The GNU C library defines this for functions which it implements
9361 to always fail with ENOSYS. Some functions are actually named
9362 something starting with __ and the normal name is an alias. */
9363 #if defined __stub_$ac_func || defined __stub___$ac_func
9364 choke me
9365 #endif
9368 main ()
9370 return $ac_func ();
9372 return 0;
9374 _ACEOF
9375 rm -f conftest.$ac_objext conftest$ac_exeext
9376 if { (ac_try="$ac_link"
9377 case "(($ac_try" in
9378 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9379 *) ac_try_echo=$ac_try;;
9380 esac
9381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9382 (eval "$ac_link") 2>conftest.er1
9383 ac_status=$?
9384 grep -v '^ *+' conftest.er1 >conftest.err
9385 rm -f conftest.er1
9386 cat conftest.err >&5
9387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9388 (exit $ac_status); } && {
9389 test -z "$ac_c_werror_flag" ||
9390 test ! -s conftest.err
9391 } && test -s conftest$ac_exeext &&
9392 $as_test_x conftest$ac_exeext; then
9393 eval "$as_ac_var=yes"
9394 else
9395 echo "$as_me: failed program was:" >&5
9396 sed 's/^/| /' conftest.$ac_ext >&5
9398 eval "$as_ac_var=no"
9401 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9402 conftest$ac_exeext conftest.$ac_ext
9404 ac_res=`eval echo '${'$as_ac_var'}'`
9405 { echo "$as_me:$LINENO: result: $ac_res" >&5
9406 echo "${ECHO_T}$ac_res" >&6; }
9407 if test `eval echo '${'$as_ac_var'}'` = yes; then
9408 cat >>confdefs.h <<_ACEOF
9409 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9410 _ACEOF
9413 done
9418 for ac_func in logout updwtmp logwtmp
9420 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9421 { echo "$as_me:$LINENO: checking for $ac_func" >&5
9422 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
9423 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
9424 echo $ECHO_N "(cached) $ECHO_C" >&6
9425 else
9426 cat >conftest.$ac_ext <<_ACEOF
9427 /* confdefs.h. */
9428 _ACEOF
9429 cat confdefs.h >>conftest.$ac_ext
9430 cat >>conftest.$ac_ext <<_ACEOF
9431 /* end confdefs.h. */
9432 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9433 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9434 #define $ac_func innocuous_$ac_func
9436 /* System header to define __stub macros and hopefully few prototypes,
9437 which can conflict with char $ac_func (); below.
9438 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9439 <limits.h> exists even on freestanding compilers. */
9441 #ifdef __STDC__
9442 # include <limits.h>
9443 #else
9444 # include <assert.h>
9445 #endif
9447 #undef $ac_func
9449 /* Override any GCC internal prototype to avoid an error.
9450 Use char because int might match the return type of a GCC
9451 builtin and then its argument prototype would still apply. */
9452 #ifdef __cplusplus
9453 extern "C"
9454 #endif
9455 char $ac_func ();
9456 /* The GNU C library defines this for functions which it implements
9457 to always fail with ENOSYS. Some functions are actually named
9458 something starting with __ and the normal name is an alias. */
9459 #if defined __stub_$ac_func || defined __stub___$ac_func
9460 choke me
9461 #endif
9464 main ()
9466 return $ac_func ();
9468 return 0;
9470 _ACEOF
9471 rm -f conftest.$ac_objext conftest$ac_exeext
9472 if { (ac_try="$ac_link"
9473 case "(($ac_try" in
9474 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9475 *) ac_try_echo=$ac_try;;
9476 esac
9477 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9478 (eval "$ac_link") 2>conftest.er1
9479 ac_status=$?
9480 grep -v '^ *+' conftest.er1 >conftest.err
9481 rm -f conftest.er1
9482 cat conftest.err >&5
9483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9484 (exit $ac_status); } && {
9485 test -z "$ac_c_werror_flag" ||
9486 test ! -s conftest.err
9487 } && test -s conftest$ac_exeext &&
9488 $as_test_x conftest$ac_exeext; then
9489 eval "$as_ac_var=yes"
9490 else
9491 echo "$as_me: failed program was:" >&5
9492 sed 's/^/| /' conftest.$ac_ext >&5
9494 eval "$as_ac_var=no"
9497 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9498 conftest$ac_exeext conftest.$ac_ext
9500 ac_res=`eval echo '${'$as_ac_var'}'`
9501 { echo "$as_me:$LINENO: result: $ac_res" >&5
9502 echo "${ECHO_T}$ac_res" >&6; }
9503 if test `eval echo '${'$as_ac_var'}'` = yes; then
9504 cat >>confdefs.h <<_ACEOF
9505 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9506 _ACEOF
9509 done
9512 # Check whether --enable-bundled-libtom was given.
9513 if test "${enable_bundled_libtom+set}" = set; then
9514 enableval=$enable_bundled_libtom;
9515 BUNDLED_LIBTOM=1
9516 { echo "$as_me:$LINENO: Forcing bundled libtom*" >&5
9517 echo "$as_me: Forcing bundled libtom*" >&6;}
9519 else
9521 BUNDLED_LIBTOM=0
9523 { echo "$as_me:$LINENO: checking for register_cipher in -ltomcrypt" >&5
9524 echo $ECHO_N "checking for register_cipher in -ltomcrypt... $ECHO_C" >&6; }
9525 if test "${ac_cv_lib_tomcrypt_register_cipher+set}" = set; then
9526 echo $ECHO_N "(cached) $ECHO_C" >&6
9527 else
9528 ac_check_lib_save_LIBS=$LIBS
9529 LIBS="-ltomcrypt $LIBS"
9530 cat >conftest.$ac_ext <<_ACEOF
9531 /* confdefs.h. */
9532 _ACEOF
9533 cat confdefs.h >>conftest.$ac_ext
9534 cat >>conftest.$ac_ext <<_ACEOF
9535 /* end confdefs.h. */
9537 /* Override any GCC internal prototype to avoid an error.
9538 Use char because int might match the return type of a GCC
9539 builtin and then its argument prototype would still apply. */
9540 #ifdef __cplusplus
9541 extern "C"
9542 #endif
9543 char register_cipher ();
9545 main ()
9547 return register_cipher ();
9549 return 0;
9551 _ACEOF
9552 rm -f conftest.$ac_objext conftest$ac_exeext
9553 if { (ac_try="$ac_link"
9554 case "(($ac_try" in
9555 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9556 *) ac_try_echo=$ac_try;;
9557 esac
9558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9559 (eval "$ac_link") 2>conftest.er1
9560 ac_status=$?
9561 grep -v '^ *+' conftest.er1 >conftest.err
9562 rm -f conftest.er1
9563 cat conftest.err >&5
9564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9565 (exit $ac_status); } && {
9566 test -z "$ac_c_werror_flag" ||
9567 test ! -s conftest.err
9568 } && test -s conftest$ac_exeext &&
9569 $as_test_x conftest$ac_exeext; then
9570 ac_cv_lib_tomcrypt_register_cipher=yes
9571 else
9572 echo "$as_me: failed program was:" >&5
9573 sed 's/^/| /' conftest.$ac_ext >&5
9575 ac_cv_lib_tomcrypt_register_cipher=no
9578 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9579 conftest$ac_exeext conftest.$ac_ext
9580 LIBS=$ac_check_lib_save_LIBS
9582 { echo "$as_me:$LINENO: result: $ac_cv_lib_tomcrypt_register_cipher" >&5
9583 echo "${ECHO_T}$ac_cv_lib_tomcrypt_register_cipher" >&6; }
9584 if test $ac_cv_lib_tomcrypt_register_cipher = yes; then
9585 cat >>confdefs.h <<_ACEOF
9586 #define HAVE_LIBTOMCRYPT 1
9587 _ACEOF
9589 LIBS="-ltomcrypt $LIBS"
9591 else
9592 BUNDLED_LIBTOM=1
9596 { echo "$as_me:$LINENO: checking for mp_exptmod in -ltommath" >&5
9597 echo $ECHO_N "checking for mp_exptmod in -ltommath... $ECHO_C" >&6; }
9598 if test "${ac_cv_lib_tommath_mp_exptmod+set}" = set; then
9599 echo $ECHO_N "(cached) $ECHO_C" >&6
9600 else
9601 ac_check_lib_save_LIBS=$LIBS
9602 LIBS="-ltommath $LIBS"
9603 cat >conftest.$ac_ext <<_ACEOF
9604 /* confdefs.h. */
9605 _ACEOF
9606 cat confdefs.h >>conftest.$ac_ext
9607 cat >>conftest.$ac_ext <<_ACEOF
9608 /* end confdefs.h. */
9610 /* Override any GCC internal prototype to avoid an error.
9611 Use char because int might match the return type of a GCC
9612 builtin and then its argument prototype would still apply. */
9613 #ifdef __cplusplus
9614 extern "C"
9615 #endif
9616 char mp_exptmod ();
9618 main ()
9620 return mp_exptmod ();
9622 return 0;
9624 _ACEOF
9625 rm -f conftest.$ac_objext conftest$ac_exeext
9626 if { (ac_try="$ac_link"
9627 case "(($ac_try" in
9628 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9629 *) ac_try_echo=$ac_try;;
9630 esac
9631 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9632 (eval "$ac_link") 2>conftest.er1
9633 ac_status=$?
9634 grep -v '^ *+' conftest.er1 >conftest.err
9635 rm -f conftest.er1
9636 cat conftest.err >&5
9637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9638 (exit $ac_status); } && {
9639 test -z "$ac_c_werror_flag" ||
9640 test ! -s conftest.err
9641 } && test -s conftest$ac_exeext &&
9642 $as_test_x conftest$ac_exeext; then
9643 ac_cv_lib_tommath_mp_exptmod=yes
9644 else
9645 echo "$as_me: failed program was:" >&5
9646 sed 's/^/| /' conftest.$ac_ext >&5
9648 ac_cv_lib_tommath_mp_exptmod=no
9651 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9652 conftest$ac_exeext conftest.$ac_ext
9653 LIBS=$ac_check_lib_save_LIBS
9655 { echo "$as_me:$LINENO: result: $ac_cv_lib_tommath_mp_exptmod" >&5
9656 echo "${ECHO_T}$ac_cv_lib_tommath_mp_exptmod" >&6; }
9657 if test $ac_cv_lib_tommath_mp_exptmod = yes; then
9658 cat >>confdefs.h <<_ACEOF
9659 #define HAVE_LIBTOMMATH 1
9660 _ACEOF
9662 LIBS="-ltommath $LIBS"
9664 else
9665 BUNDLED_LIBTOM=1
9673 if test $BUNDLED_LIBTOM = 1 ; then
9675 cat >>confdefs.h <<\_ACEOF
9676 #define BUNDLED_LIBTOM
9677 _ACEOF
9684 # Check whether --enable-lastlog was given.
9685 if test "${enable_lastlog+set}" = set; then
9686 enableval=$enable_lastlog;
9687 cat >>confdefs.h <<\_ACEOF
9688 #define DISABLE_LASTLOG
9689 _ACEOF
9694 # Check whether --enable-utmp was given.
9695 if test "${enable_utmp+set}" = set; then
9696 enableval=$enable_utmp;
9697 cat >>confdefs.h <<\_ACEOF
9698 #define DISABLE_UTMP
9699 _ACEOF
9704 # Check whether --enable-utmpx was given.
9705 if test "${enable_utmpx+set}" = set; then
9706 enableval=$enable_utmpx;
9707 cat >>confdefs.h <<\_ACEOF
9708 #define DISABLE_UTMPX
9709 _ACEOF
9714 # Check whether --enable-wtmp was given.
9715 if test "${enable_wtmp+set}" = set; then
9716 enableval=$enable_wtmp;
9717 cat >>confdefs.h <<\_ACEOF
9718 #define DISABLE_WTMP
9719 _ACEOF
9724 # Check whether --enable-wtmpx was given.
9725 if test "${enable_wtmpx+set}" = set; then
9726 enableval=$enable_wtmpx;
9727 cat >>confdefs.h <<\_ACEOF
9728 #define DISABLE_WTMPX
9729 _ACEOF
9734 # Check whether --enable-loginfunc was given.
9735 if test "${enable_loginfunc+set}" = set; then
9736 enableval=$enable_loginfunc; no_loginfunc_check=1
9737 { echo "$as_me:$LINENO: Not using login() etc" >&5
9738 echo "$as_me: Not using login() etc" >&6;}
9742 # Check whether --enable-pututline was given.
9743 if test "${enable_pututline+set}" = set; then
9744 enableval=$enable_pututline;
9745 cat >>confdefs.h <<\_ACEOF
9746 #define DISABLE_PUTUTLINE
9747 _ACEOF
9752 # Check whether --enable-pututxline was given.
9753 if test "${enable_pututxline+set}" = set; then
9754 enableval=$enable_pututxline;
9755 cat >>confdefs.h <<\_ACEOF
9756 #define DISABLE_PUTUTXLINE
9757 _ACEOF
9763 # Check whether --with-lastlog was given.
9764 if test "${with_lastlog+set}" = set; then
9765 withval=$with_lastlog;
9766 if test "x$withval" = "xno" ; then
9767 cat >>confdefs.h <<\_ACEOF
9768 #define DISABLE_LASTLOG 1
9769 _ACEOF
9771 else
9772 conf_lastlog_location=$withval
9779 if test -z "$no_loginfunc_check"; then
9780 { echo "$as_me:$LINENO: checking for library containing login" >&5
9781 echo $ECHO_N "checking for library containing login... $ECHO_C" >&6; }
9782 if test "${ac_cv_search_login+set}" = set; then
9783 echo $ECHO_N "(cached) $ECHO_C" >&6
9784 else
9785 ac_func_search_save_LIBS=$LIBS
9786 cat >conftest.$ac_ext <<_ACEOF
9787 /* confdefs.h. */
9788 _ACEOF
9789 cat confdefs.h >>conftest.$ac_ext
9790 cat >>conftest.$ac_ext <<_ACEOF
9791 /* end confdefs.h. */
9793 /* Override any GCC internal prototype to avoid an error.
9794 Use char because int might match the return type of a GCC
9795 builtin and then its argument prototype would still apply. */
9796 #ifdef __cplusplus
9797 extern "C"
9798 #endif
9799 char login ();
9801 main ()
9803 return login ();
9805 return 0;
9807 _ACEOF
9808 for ac_lib in '' util bsd; do
9809 if test -z "$ac_lib"; then
9810 ac_res="none required"
9811 else
9812 ac_res=-l$ac_lib
9813 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
9815 rm -f conftest.$ac_objext conftest$ac_exeext
9816 if { (ac_try="$ac_link"
9817 case "(($ac_try" in
9818 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9819 *) ac_try_echo=$ac_try;;
9820 esac
9821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9822 (eval "$ac_link") 2>conftest.er1
9823 ac_status=$?
9824 grep -v '^ *+' conftest.er1 >conftest.err
9825 rm -f conftest.er1
9826 cat conftest.err >&5
9827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9828 (exit $ac_status); } && {
9829 test -z "$ac_c_werror_flag" ||
9830 test ! -s conftest.err
9831 } && test -s conftest$ac_exeext &&
9832 $as_test_x conftest$ac_exeext; then
9833 ac_cv_search_login=$ac_res
9834 else
9835 echo "$as_me: failed program was:" >&5
9836 sed 's/^/| /' conftest.$ac_ext >&5
9841 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9842 conftest$ac_exeext
9843 if test "${ac_cv_search_login+set}" = set; then
9844 break
9846 done
9847 if test "${ac_cv_search_login+set}" = set; then
9849 else
9850 ac_cv_search_login=no
9852 rm conftest.$ac_ext
9853 LIBS=$ac_func_search_save_LIBS
9855 { echo "$as_me:$LINENO: result: $ac_cv_search_login" >&5
9856 echo "${ECHO_T}$ac_cv_search_login" >&6; }
9857 ac_res=$ac_cv_search_login
9858 if test "$ac_res" != no; then
9859 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
9861 cat >>confdefs.h <<\_ACEOF
9862 #define HAVE_LOGIN
9863 _ACEOF
9870 for ac_func in logout updwtmp logwtmp
9872 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9873 { echo "$as_me:$LINENO: checking for $ac_func" >&5
9874 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
9875 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
9876 echo $ECHO_N "(cached) $ECHO_C" >&6
9877 else
9878 cat >conftest.$ac_ext <<_ACEOF
9879 /* confdefs.h. */
9880 _ACEOF
9881 cat confdefs.h >>conftest.$ac_ext
9882 cat >>conftest.$ac_ext <<_ACEOF
9883 /* end confdefs.h. */
9884 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9885 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9886 #define $ac_func innocuous_$ac_func
9888 /* System header to define __stub macros and hopefully few prototypes,
9889 which can conflict with char $ac_func (); below.
9890 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9891 <limits.h> exists even on freestanding compilers. */
9893 #ifdef __STDC__
9894 # include <limits.h>
9895 #else
9896 # include <assert.h>
9897 #endif
9899 #undef $ac_func
9901 /* Override any GCC internal prototype to avoid an error.
9902 Use char because int might match the return type of a GCC
9903 builtin and then its argument prototype would still apply. */
9904 #ifdef __cplusplus
9905 extern "C"
9906 #endif
9907 char $ac_func ();
9908 /* The GNU C library defines this for functions which it implements
9909 to always fail with ENOSYS. Some functions are actually named
9910 something starting with __ and the normal name is an alias. */
9911 #if defined __stub_$ac_func || defined __stub___$ac_func
9912 choke me
9913 #endif
9916 main ()
9918 return $ac_func ();
9920 return 0;
9922 _ACEOF
9923 rm -f conftest.$ac_objext conftest$ac_exeext
9924 if { (ac_try="$ac_link"
9925 case "(($ac_try" in
9926 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9927 *) ac_try_echo=$ac_try;;
9928 esac
9929 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9930 (eval "$ac_link") 2>conftest.er1
9931 ac_status=$?
9932 grep -v '^ *+' conftest.er1 >conftest.err
9933 rm -f conftest.er1
9934 cat conftest.err >&5
9935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9936 (exit $ac_status); } && {
9937 test -z "$ac_c_werror_flag" ||
9938 test ! -s conftest.err
9939 } && test -s conftest$ac_exeext &&
9940 $as_test_x conftest$ac_exeext; then
9941 eval "$as_ac_var=yes"
9942 else
9943 echo "$as_me: failed program was:" >&5
9944 sed 's/^/| /' conftest.$ac_ext >&5
9946 eval "$as_ac_var=no"
9949 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9950 conftest$ac_exeext conftest.$ac_ext
9952 ac_res=`eval echo '${'$as_ac_var'}'`
9953 { echo "$as_me:$LINENO: result: $ac_res" >&5
9954 echo "${ECHO_T}$ac_res" >&6; }
9955 if test `eval echo '${'$as_ac_var'}'` = yes; then
9956 cat >>confdefs.h <<_ACEOF
9957 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9958 _ACEOF
9961 done
9966 { echo "$as_me:$LINENO: checking if your system defines LASTLOG_FILE" >&5
9967 echo $ECHO_N "checking if your system defines LASTLOG_FILE... $ECHO_C" >&6; }
9968 cat >conftest.$ac_ext <<_ACEOF
9969 /* confdefs.h. */
9970 _ACEOF
9971 cat confdefs.h >>conftest.$ac_ext
9972 cat >>conftest.$ac_ext <<_ACEOF
9973 /* end confdefs.h. */
9975 #include <sys/types.h>
9976 #include <utmp.h>
9977 #ifdef HAVE_LASTLOG_H
9978 # include <lastlog.h>
9979 #endif
9980 #ifdef HAVE_PATHS_H
9981 # include <paths.h>
9982 #endif
9983 #ifdef HAVE_LOGIN_H
9984 # include <login.h>
9985 #endif
9988 main ()
9990 char *lastlog = LASTLOG_FILE;
9992 return 0;
9994 _ACEOF
9995 rm -f conftest.$ac_objext
9996 if { (ac_try="$ac_compile"
9997 case "(($ac_try" in
9998 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9999 *) ac_try_echo=$ac_try;;
10000 esac
10001 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10002 (eval "$ac_compile") 2>conftest.er1
10003 ac_status=$?
10004 grep -v '^ *+' conftest.er1 >conftest.err
10005 rm -f conftest.er1
10006 cat conftest.err >&5
10007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10008 (exit $ac_status); } && {
10009 test -z "$ac_c_werror_flag" ||
10010 test ! -s conftest.err
10011 } && test -s conftest.$ac_objext; then
10012 { echo "$as_me:$LINENO: result: yes" >&5
10013 echo "${ECHO_T}yes" >&6; }
10014 else
10015 echo "$as_me: failed program was:" >&5
10016 sed 's/^/| /' conftest.$ac_ext >&5
10019 { echo "$as_me:$LINENO: result: no" >&5
10020 echo "${ECHO_T}no" >&6; }
10021 { echo "$as_me:$LINENO: checking if your system defines _PATH_LASTLOG" >&5
10022 echo $ECHO_N "checking if your system defines _PATH_LASTLOG... $ECHO_C" >&6; }
10023 cat >conftest.$ac_ext <<_ACEOF
10024 /* confdefs.h. */
10025 _ACEOF
10026 cat confdefs.h >>conftest.$ac_ext
10027 cat >>conftest.$ac_ext <<_ACEOF
10028 /* end confdefs.h. */
10030 #include <sys/types.h>
10031 #include <utmp.h>
10032 #ifdef HAVE_LASTLOG_H
10033 # include <lastlog.h>
10034 #endif
10035 #ifdef HAVE_PATHS_H
10036 # include <paths.h>
10037 #endif
10040 main ()
10042 char *lastlog = _PATH_LASTLOG;
10044 return 0;
10046 _ACEOF
10047 rm -f conftest.$ac_objext
10048 if { (ac_try="$ac_compile"
10049 case "(($ac_try" in
10050 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10051 *) ac_try_echo=$ac_try;;
10052 esac
10053 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10054 (eval "$ac_compile") 2>conftest.er1
10055 ac_status=$?
10056 grep -v '^ *+' conftest.er1 >conftest.err
10057 rm -f conftest.er1
10058 cat conftest.err >&5
10059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10060 (exit $ac_status); } && {
10061 test -z "$ac_c_werror_flag" ||
10062 test ! -s conftest.err
10063 } && test -s conftest.$ac_objext; then
10064 { echo "$as_me:$LINENO: result: yes" >&5
10065 echo "${ECHO_T}yes" >&6; }
10066 else
10067 echo "$as_me: failed program was:" >&5
10068 sed 's/^/| /' conftest.$ac_ext >&5
10071 { echo "$as_me:$LINENO: result: no" >&5
10072 echo "${ECHO_T}no" >&6; }
10073 system_lastlog_path=no
10077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10084 if test -z "$conf_lastlog_location"; then
10085 if test x"$system_lastlog_path" = x"no" ; then
10086 for f in /var/log/lastlog /usr/adm/lastlog /var/adm/lastlog /etc/security/lastlog ; do
10087 if (test -d "$f" || test -f "$f") ; then
10088 conf_lastlog_location=$f
10090 done
10091 if test -z "$conf_lastlog_location"; then
10092 { echo "$as_me:$LINENO: WARNING: ** Cannot find lastlog **" >&5
10093 echo "$as_me: WARNING: ** Cannot find lastlog **" >&2;}
10098 if test -n "$conf_lastlog_location"; then
10100 cat >>confdefs.h <<_ACEOF
10101 #define CONF_LASTLOG_FILE "$conf_lastlog_location"
10102 _ACEOF
10106 { echo "$as_me:$LINENO: checking if your system defines UTMP_FILE" >&5
10107 echo $ECHO_N "checking if your system defines UTMP_FILE... $ECHO_C" >&6; }
10108 cat >conftest.$ac_ext <<_ACEOF
10109 /* confdefs.h. */
10110 _ACEOF
10111 cat confdefs.h >>conftest.$ac_ext
10112 cat >>conftest.$ac_ext <<_ACEOF
10113 /* end confdefs.h. */
10115 #include <sys/types.h>
10116 #include <utmp.h>
10117 #ifdef HAVE_PATHS_H
10118 # include <paths.h>
10119 #endif
10122 main ()
10124 char *utmp = UTMP_FILE;
10126 return 0;
10128 _ACEOF
10129 rm -f conftest.$ac_objext
10130 if { (ac_try="$ac_compile"
10131 case "(($ac_try" in
10132 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10133 *) ac_try_echo=$ac_try;;
10134 esac
10135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10136 (eval "$ac_compile") 2>conftest.er1
10137 ac_status=$?
10138 grep -v '^ *+' conftest.er1 >conftest.err
10139 rm -f conftest.er1
10140 cat conftest.err >&5
10141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10142 (exit $ac_status); } && {
10143 test -z "$ac_c_werror_flag" ||
10144 test ! -s conftest.err
10145 } && test -s conftest.$ac_objext; then
10146 { echo "$as_me:$LINENO: result: yes" >&5
10147 echo "${ECHO_T}yes" >&6; }
10148 else
10149 echo "$as_me: failed program was:" >&5
10150 sed 's/^/| /' conftest.$ac_ext >&5
10152 { echo "$as_me:$LINENO: result: no" >&5
10153 echo "${ECHO_T}no" >&6; }
10154 system_utmp_path=no
10158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10159 if test -z "$conf_utmp_location"; then
10160 if test x"$system_utmp_path" = x"no" ; then
10161 for f in /etc/utmp /usr/adm/utmp /var/run/utmp; do
10162 if test -f $f ; then
10163 conf_utmp_location=$f
10165 done
10166 if test -z "$conf_utmp_location"; then
10167 cat >>confdefs.h <<\_ACEOF
10168 #define DISABLE_UTMP 1
10169 _ACEOF
10174 if test -n "$conf_utmp_location"; then
10176 cat >>confdefs.h <<_ACEOF
10177 #define CONF_UTMP_FILE "$conf_utmp_location"
10178 _ACEOF
10182 { echo "$as_me:$LINENO: checking if your system defines WTMP_FILE" >&5
10183 echo $ECHO_N "checking if your system defines WTMP_FILE... $ECHO_C" >&6; }
10184 cat >conftest.$ac_ext <<_ACEOF
10185 /* confdefs.h. */
10186 _ACEOF
10187 cat confdefs.h >>conftest.$ac_ext
10188 cat >>conftest.$ac_ext <<_ACEOF
10189 /* end confdefs.h. */
10191 #include <sys/types.h>
10192 #include <utmp.h>
10193 #ifdef HAVE_PATHS_H
10194 # include <paths.h>
10195 #endif
10198 main ()
10200 char *wtmp = WTMP_FILE;
10202 return 0;
10204 _ACEOF
10205 rm -f conftest.$ac_objext
10206 if { (ac_try="$ac_compile"
10207 case "(($ac_try" in
10208 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10209 *) ac_try_echo=$ac_try;;
10210 esac
10211 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10212 (eval "$ac_compile") 2>conftest.er1
10213 ac_status=$?
10214 grep -v '^ *+' conftest.er1 >conftest.err
10215 rm -f conftest.er1
10216 cat conftest.err >&5
10217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10218 (exit $ac_status); } && {
10219 test -z "$ac_c_werror_flag" ||
10220 test ! -s conftest.err
10221 } && test -s conftest.$ac_objext; then
10222 { echo "$as_me:$LINENO: result: yes" >&5
10223 echo "${ECHO_T}yes" >&6; }
10224 else
10225 echo "$as_me: failed program was:" >&5
10226 sed 's/^/| /' conftest.$ac_ext >&5
10228 { echo "$as_me:$LINENO: result: no" >&5
10229 echo "${ECHO_T}no" >&6; }
10230 system_wtmp_path=no
10234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10235 if test -z "$conf_wtmp_location"; then
10236 if test x"$system_wtmp_path" = x"no" ; then
10237 for f in /usr/adm/wtmp /var/log/wtmp; do
10238 if test -f $f ; then
10239 conf_wtmp_location=$f
10241 done
10242 if test -z "$conf_wtmp_location"; then
10243 cat >>confdefs.h <<\_ACEOF
10244 #define DISABLE_WTMP 1
10245 _ACEOF
10250 if test -n "$conf_wtmp_location"; then
10252 cat >>confdefs.h <<_ACEOF
10253 #define CONF_WTMP_FILE "$conf_wtmp_location"
10254 _ACEOF
10259 { echo "$as_me:$LINENO: checking if your system defines UTMPX_FILE" >&5
10260 echo $ECHO_N "checking if your system defines UTMPX_FILE... $ECHO_C" >&6; }
10261 cat >conftest.$ac_ext <<_ACEOF
10262 /* confdefs.h. */
10263 _ACEOF
10264 cat confdefs.h >>conftest.$ac_ext
10265 cat >>conftest.$ac_ext <<_ACEOF
10266 /* end confdefs.h. */
10268 #include <sys/types.h>
10269 #include <utmp.h>
10270 #ifdef HAVE_UTMPX_H
10271 #include <utmpx.h>
10272 #endif
10273 #ifdef HAVE_PATHS_H
10274 # include <paths.h>
10275 #endif
10278 main ()
10280 char *utmpx = UTMPX_FILE;
10282 return 0;
10284 _ACEOF
10285 rm -f conftest.$ac_objext
10286 if { (ac_try="$ac_compile"
10287 case "(($ac_try" in
10288 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10289 *) ac_try_echo=$ac_try;;
10290 esac
10291 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10292 (eval "$ac_compile") 2>conftest.er1
10293 ac_status=$?
10294 grep -v '^ *+' conftest.er1 >conftest.err
10295 rm -f conftest.er1
10296 cat conftest.err >&5
10297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10298 (exit $ac_status); } && {
10299 test -z "$ac_c_werror_flag" ||
10300 test ! -s conftest.err
10301 } && test -s conftest.$ac_objext; then
10302 { echo "$as_me:$LINENO: result: yes" >&5
10303 echo "${ECHO_T}yes" >&6; }
10304 else
10305 echo "$as_me: failed program was:" >&5
10306 sed 's/^/| /' conftest.$ac_ext >&5
10308 { echo "$as_me:$LINENO: result: no" >&5
10309 echo "${ECHO_T}no" >&6; }
10310 system_utmpx_path=no
10314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10315 if test -z "$conf_utmpx_location"; then
10316 if test x"$system_utmpx_path" = x"no" ; then
10317 cat >>confdefs.h <<\_ACEOF
10318 #define DISABLE_UTMPX 1
10319 _ACEOF
10322 else
10324 cat >>confdefs.h <<_ACEOF
10325 #define CONF_UTMPX_FILE "$conf_utmpx_location"
10326 _ACEOF
10330 { echo "$as_me:$LINENO: checking if your system defines WTMPX_FILE" >&5
10331 echo $ECHO_N "checking if your system defines WTMPX_FILE... $ECHO_C" >&6; }
10332 cat >conftest.$ac_ext <<_ACEOF
10333 /* confdefs.h. */
10334 _ACEOF
10335 cat confdefs.h >>conftest.$ac_ext
10336 cat >>conftest.$ac_ext <<_ACEOF
10337 /* end confdefs.h. */
10339 #include <sys/types.h>
10340 #include <utmp.h>
10341 #ifdef HAVE_UTMPX_H
10342 #include <utmpx.h>
10343 #endif
10344 #ifdef HAVE_PATHS_H
10345 # include <paths.h>
10346 #endif
10349 main ()
10351 char *wtmpx = WTMPX_FILE;
10353 return 0;
10355 _ACEOF
10356 rm -f conftest.$ac_objext
10357 if { (ac_try="$ac_compile"
10358 case "(($ac_try" in
10359 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10360 *) ac_try_echo=$ac_try;;
10361 esac
10362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10363 (eval "$ac_compile") 2>conftest.er1
10364 ac_status=$?
10365 grep -v '^ *+' conftest.er1 >conftest.err
10366 rm -f conftest.er1
10367 cat conftest.err >&5
10368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10369 (exit $ac_status); } && {
10370 test -z "$ac_c_werror_flag" ||
10371 test ! -s conftest.err
10372 } && test -s conftest.$ac_objext; then
10373 { echo "$as_me:$LINENO: result: yes" >&5
10374 echo "${ECHO_T}yes" >&6; }
10375 else
10376 echo "$as_me: failed program was:" >&5
10377 sed 's/^/| /' conftest.$ac_ext >&5
10379 { echo "$as_me:$LINENO: result: no" >&5
10380 echo "${ECHO_T}no" >&6; }
10381 system_wtmpx_path=no
10385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10386 if test -z "$conf_wtmpx_location"; then
10387 if test x"$system_wtmpx_path" = x"no" ; then
10388 cat >>confdefs.h <<\_ACEOF
10389 #define DISABLE_WTMPX 1
10390 _ACEOF
10393 else
10395 cat >>confdefs.h <<_ACEOF
10396 #define CONF_WTMPX_FILE "$conf_wtmpx_location"
10397 _ACEOF
10401 # Checks for library functions.
10402 if test $ac_cv_c_compiler_gnu = yes; then
10403 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
10404 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
10405 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
10406 echo $ECHO_N "(cached) $ECHO_C" >&6
10407 else
10408 ac_pattern="Autoconf.*'x'"
10409 cat >conftest.$ac_ext <<_ACEOF
10410 /* confdefs.h. */
10411 _ACEOF
10412 cat confdefs.h >>conftest.$ac_ext
10413 cat >>conftest.$ac_ext <<_ACEOF
10414 /* end confdefs.h. */
10415 #include <sgtty.h>
10416 Autoconf TIOCGETP
10417 _ACEOF
10418 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10419 $EGREP "$ac_pattern" >/dev/null 2>&1; then
10420 ac_cv_prog_gcc_traditional=yes
10421 else
10422 ac_cv_prog_gcc_traditional=no
10424 rm -f -r conftest*
10427 if test $ac_cv_prog_gcc_traditional = no; then
10428 cat >conftest.$ac_ext <<_ACEOF
10429 /* confdefs.h. */
10430 _ACEOF
10431 cat confdefs.h >>conftest.$ac_ext
10432 cat >>conftest.$ac_ext <<_ACEOF
10433 /* end confdefs.h. */
10434 #include <termio.h>
10435 Autoconf TCGETA
10436 _ACEOF
10437 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10438 $EGREP "$ac_pattern" >/dev/null 2>&1; then
10439 ac_cv_prog_gcc_traditional=yes
10441 rm -f -r conftest*
10445 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
10446 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
10447 if test $ac_cv_prog_gcc_traditional = yes; then
10448 CC="$CC -traditional"
10452 { echo "$as_me:$LINENO: checking for working memcmp" >&5
10453 echo $ECHO_N "checking for working memcmp... $ECHO_C" >&6; }
10454 if test "${ac_cv_func_memcmp_working+set}" = set; then
10455 echo $ECHO_N "(cached) $ECHO_C" >&6
10456 else
10457 if test "$cross_compiling" = yes; then
10458 ac_cv_func_memcmp_working=no
10459 else
10460 cat >conftest.$ac_ext <<_ACEOF
10461 /* confdefs.h. */
10462 _ACEOF
10463 cat confdefs.h >>conftest.$ac_ext
10464 cat >>conftest.$ac_ext <<_ACEOF
10465 /* end confdefs.h. */
10466 $ac_includes_default
10468 main ()
10471 /* Some versions of memcmp are not 8-bit clean. */
10472 char c0 = '\100', c1 = '\200', c2 = '\201';
10473 if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
10474 return 1;
10476 /* The Next x86 OpenStep bug shows up only when comparing 16 bytes
10477 or more and with at least one buffer not starting on a 4-byte boundary.
10478 William Lewis provided this test program. */
10480 char foo[21];
10481 char bar[21];
10482 int i;
10483 for (i = 0; i < 4; i++)
10485 char *a = foo + i;
10486 char *b = bar + i;
10487 strcpy (a, "--------01111111");
10488 strcpy (b, "--------10000000");
10489 if (memcmp (a, b, 16) >= 0)
10490 return 1;
10492 return 0;
10496 return 0;
10498 _ACEOF
10499 rm -f conftest$ac_exeext
10500 if { (ac_try="$ac_link"
10501 case "(($ac_try" in
10502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10503 *) ac_try_echo=$ac_try;;
10504 esac
10505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10506 (eval "$ac_link") 2>&5
10507 ac_status=$?
10508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10509 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
10510 { (case "(($ac_try" in
10511 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10512 *) ac_try_echo=$ac_try;;
10513 esac
10514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10515 (eval "$ac_try") 2>&5
10516 ac_status=$?
10517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10518 (exit $ac_status); }; }; then
10519 ac_cv_func_memcmp_working=yes
10520 else
10521 echo "$as_me: program exited with status $ac_status" >&5
10522 echo "$as_me: failed program was:" >&5
10523 sed 's/^/| /' conftest.$ac_ext >&5
10525 ( exit $ac_status )
10526 ac_cv_func_memcmp_working=no
10528 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
10533 { echo "$as_me:$LINENO: result: $ac_cv_func_memcmp_working" >&5
10534 echo "${ECHO_T}$ac_cv_func_memcmp_working" >&6; }
10535 test $ac_cv_func_memcmp_working = no && case " $LIBOBJS " in
10536 *" memcmp.$ac_objext "* ) ;;
10537 *) LIBOBJS="$LIBOBJS memcmp.$ac_objext"
10539 esac
10544 for ac_header in sys/select.h sys/socket.h
10546 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10547 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10548 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10549 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10550 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10551 echo $ECHO_N "(cached) $ECHO_C" >&6
10553 ac_res=`eval echo '${'$as_ac_Header'}'`
10554 { echo "$as_me:$LINENO: result: $ac_res" >&5
10555 echo "${ECHO_T}$ac_res" >&6; }
10556 else
10557 # Is the header compilable?
10558 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
10559 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10560 cat >conftest.$ac_ext <<_ACEOF
10561 /* confdefs.h. */
10562 _ACEOF
10563 cat confdefs.h >>conftest.$ac_ext
10564 cat >>conftest.$ac_ext <<_ACEOF
10565 /* end confdefs.h. */
10566 $ac_includes_default
10567 #include <$ac_header>
10568 _ACEOF
10569 rm -f conftest.$ac_objext
10570 if { (ac_try="$ac_compile"
10571 case "(($ac_try" in
10572 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10573 *) ac_try_echo=$ac_try;;
10574 esac
10575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10576 (eval "$ac_compile") 2>conftest.er1
10577 ac_status=$?
10578 grep -v '^ *+' conftest.er1 >conftest.err
10579 rm -f conftest.er1
10580 cat conftest.err >&5
10581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10582 (exit $ac_status); } && {
10583 test -z "$ac_c_werror_flag" ||
10584 test ! -s conftest.err
10585 } && test -s conftest.$ac_objext; then
10586 ac_header_compiler=yes
10587 else
10588 echo "$as_me: failed program was:" >&5
10589 sed 's/^/| /' conftest.$ac_ext >&5
10591 ac_header_compiler=no
10594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10595 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10596 echo "${ECHO_T}$ac_header_compiler" >&6; }
10598 # Is the header present?
10599 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
10600 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10601 cat >conftest.$ac_ext <<_ACEOF
10602 /* confdefs.h. */
10603 _ACEOF
10604 cat confdefs.h >>conftest.$ac_ext
10605 cat >>conftest.$ac_ext <<_ACEOF
10606 /* end confdefs.h. */
10607 #include <$ac_header>
10608 _ACEOF
10609 if { (ac_try="$ac_cpp conftest.$ac_ext"
10610 case "(($ac_try" in
10611 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10612 *) ac_try_echo=$ac_try;;
10613 esac
10614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10615 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10616 ac_status=$?
10617 grep -v '^ *+' conftest.er1 >conftest.err
10618 rm -f conftest.er1
10619 cat conftest.err >&5
10620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10621 (exit $ac_status); } >/dev/null && {
10622 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10623 test ! -s conftest.err
10624 }; then
10625 ac_header_preproc=yes
10626 else
10627 echo "$as_me: failed program was:" >&5
10628 sed 's/^/| /' conftest.$ac_ext >&5
10630 ac_header_preproc=no
10633 rm -f conftest.err conftest.$ac_ext
10634 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10635 echo "${ECHO_T}$ac_header_preproc" >&6; }
10637 # So? What about this header?
10638 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10639 yes:no: )
10640 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10641 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10642 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10643 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10644 ac_header_preproc=yes
10646 no:yes:* )
10647 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10648 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10649 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10650 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10651 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10652 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10653 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10654 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10655 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10656 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10657 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10658 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10661 esac
10662 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10663 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10664 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10665 echo $ECHO_N "(cached) $ECHO_C" >&6
10666 else
10667 eval "$as_ac_Header=\$ac_header_preproc"
10669 ac_res=`eval echo '${'$as_ac_Header'}'`
10670 { echo "$as_me:$LINENO: result: $ac_res" >&5
10671 echo "${ECHO_T}$ac_res" >&6; }
10674 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10675 cat >>confdefs.h <<_ACEOF
10676 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10677 _ACEOF
10681 done
10683 { echo "$as_me:$LINENO: checking types of arguments for select" >&5
10684 echo $ECHO_N "checking types of arguments for select... $ECHO_C" >&6; }
10685 if test "${ac_cv_func_select_args+set}" = set; then
10686 echo $ECHO_N "(cached) $ECHO_C" >&6
10687 else
10688 for ac_arg234 in 'fd_set *' 'int *' 'void *'; do
10689 for ac_arg1 in 'int' 'size_t' 'unsigned long int' 'unsigned int'; do
10690 for ac_arg5 in 'struct timeval *' 'const struct timeval *'; do
10691 cat >conftest.$ac_ext <<_ACEOF
10692 /* confdefs.h. */
10693 _ACEOF
10694 cat confdefs.h >>conftest.$ac_ext
10695 cat >>conftest.$ac_ext <<_ACEOF
10696 /* end confdefs.h. */
10697 $ac_includes_default
10698 #ifdef HAVE_SYS_SELECT_H
10699 # include <sys/select.h>
10700 #endif
10701 #ifdef HAVE_SYS_SOCKET_H
10702 # include <sys/socket.h>
10703 #endif
10706 main ()
10708 extern int select ($ac_arg1,
10709 $ac_arg234, $ac_arg234, $ac_arg234,
10710 $ac_arg5);
10712 return 0;
10714 _ACEOF
10715 rm -f conftest.$ac_objext
10716 if { (ac_try="$ac_compile"
10717 case "(($ac_try" in
10718 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10719 *) ac_try_echo=$ac_try;;
10720 esac
10721 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10722 (eval "$ac_compile") 2>conftest.er1
10723 ac_status=$?
10724 grep -v '^ *+' conftest.er1 >conftest.err
10725 rm -f conftest.er1
10726 cat conftest.err >&5
10727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10728 (exit $ac_status); } && {
10729 test -z "$ac_c_werror_flag" ||
10730 test ! -s conftest.err
10731 } && test -s conftest.$ac_objext; then
10732 ac_cv_func_select_args="$ac_arg1,$ac_arg234,$ac_arg5"; break 3
10733 else
10734 echo "$as_me: failed program was:" >&5
10735 sed 's/^/| /' conftest.$ac_ext >&5
10740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10741 done
10742 done
10743 done
10744 # Provide a safe default value.
10745 : ${ac_cv_func_select_args='int,int *,struct timeval *'}
10748 { echo "$as_me:$LINENO: result: $ac_cv_func_select_args" >&5
10749 echo "${ECHO_T}$ac_cv_func_select_args" >&6; }
10750 ac_save_IFS=$IFS; IFS=','
10751 set dummy `echo "$ac_cv_func_select_args" | sed 's/\*/\*/g'`
10752 IFS=$ac_save_IFS
10753 shift
10755 cat >>confdefs.h <<_ACEOF
10756 #define SELECT_TYPE_ARG1 $1
10757 _ACEOF
10760 cat >>confdefs.h <<_ACEOF
10761 #define SELECT_TYPE_ARG234 ($2)
10762 _ACEOF
10765 cat >>confdefs.h <<_ACEOF
10766 #define SELECT_TYPE_ARG5 ($3)
10767 _ACEOF
10769 rm -f -r conftest*
10771 { echo "$as_me:$LINENO: checking return type of signal handlers" >&5
10772 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6; }
10773 if test "${ac_cv_type_signal+set}" = set; then
10774 echo $ECHO_N "(cached) $ECHO_C" >&6
10775 else
10776 cat >conftest.$ac_ext <<_ACEOF
10777 /* confdefs.h. */
10778 _ACEOF
10779 cat confdefs.h >>conftest.$ac_ext
10780 cat >>conftest.$ac_ext <<_ACEOF
10781 /* end confdefs.h. */
10782 #include <sys/types.h>
10783 #include <signal.h>
10786 main ()
10788 return *(signal (0, 0)) (0) == 1;
10790 return 0;
10792 _ACEOF
10793 rm -f conftest.$ac_objext
10794 if { (ac_try="$ac_compile"
10795 case "(($ac_try" in
10796 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10797 *) ac_try_echo=$ac_try;;
10798 esac
10799 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10800 (eval "$ac_compile") 2>conftest.er1
10801 ac_status=$?
10802 grep -v '^ *+' conftest.er1 >conftest.err
10803 rm -f conftest.er1
10804 cat conftest.err >&5
10805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10806 (exit $ac_status); } && {
10807 test -z "$ac_c_werror_flag" ||
10808 test ! -s conftest.err
10809 } && test -s conftest.$ac_objext; then
10810 ac_cv_type_signal=int
10811 else
10812 echo "$as_me: failed program was:" >&5
10813 sed 's/^/| /' conftest.$ac_ext >&5
10815 ac_cv_type_signal=void
10818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10820 { echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
10821 echo "${ECHO_T}$ac_cv_type_signal" >&6; }
10823 cat >>confdefs.h <<_ACEOF
10824 #define RETSIGTYPE $ac_cv_type_signal
10825 _ACEOF
10845 for ac_func in dup2 getspnam getusershell memset putenv select socket strdup clearenv strlcpy strlcat daemon basename _getpty getaddrinfo freeaddrinfo getnameinfo
10847 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10848 { echo "$as_me:$LINENO: checking for $ac_func" >&5
10849 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
10850 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
10851 echo $ECHO_N "(cached) $ECHO_C" >&6
10852 else
10853 cat >conftest.$ac_ext <<_ACEOF
10854 /* confdefs.h. */
10855 _ACEOF
10856 cat confdefs.h >>conftest.$ac_ext
10857 cat >>conftest.$ac_ext <<_ACEOF
10858 /* end confdefs.h. */
10859 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10860 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10861 #define $ac_func innocuous_$ac_func
10863 /* System header to define __stub macros and hopefully few prototypes,
10864 which can conflict with char $ac_func (); below.
10865 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10866 <limits.h> exists even on freestanding compilers. */
10868 #ifdef __STDC__
10869 # include <limits.h>
10870 #else
10871 # include <assert.h>
10872 #endif
10874 #undef $ac_func
10876 /* Override any GCC internal prototype to avoid an error.
10877 Use char because int might match the return type of a GCC
10878 builtin and then its argument prototype would still apply. */
10879 #ifdef __cplusplus
10880 extern "C"
10881 #endif
10882 char $ac_func ();
10883 /* The GNU C library defines this for functions which it implements
10884 to always fail with ENOSYS. Some functions are actually named
10885 something starting with __ and the normal name is an alias. */
10886 #if defined __stub_$ac_func || defined __stub___$ac_func
10887 choke me
10888 #endif
10891 main ()
10893 return $ac_func ();
10895 return 0;
10897 _ACEOF
10898 rm -f conftest.$ac_objext conftest$ac_exeext
10899 if { (ac_try="$ac_link"
10900 case "(($ac_try" in
10901 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10902 *) ac_try_echo=$ac_try;;
10903 esac
10904 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10905 (eval "$ac_link") 2>conftest.er1
10906 ac_status=$?
10907 grep -v '^ *+' conftest.er1 >conftest.err
10908 rm -f conftest.er1
10909 cat conftest.err >&5
10910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10911 (exit $ac_status); } && {
10912 test -z "$ac_c_werror_flag" ||
10913 test ! -s conftest.err
10914 } && test -s conftest$ac_exeext &&
10915 $as_test_x conftest$ac_exeext; then
10916 eval "$as_ac_var=yes"
10917 else
10918 echo "$as_me: failed program was:" >&5
10919 sed 's/^/| /' conftest.$ac_ext >&5
10921 eval "$as_ac_var=no"
10924 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10925 conftest$ac_exeext conftest.$ac_ext
10927 ac_res=`eval echo '${'$as_ac_var'}'`
10928 { echo "$as_me:$LINENO: result: $ac_res" >&5
10929 echo "${ECHO_T}$ac_res" >&6; }
10930 if test `eval echo '${'$as_ac_var'}'` = yes; then
10931 cat >>confdefs.h <<_ACEOF
10932 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10933 _ACEOF
10936 done
10939 { echo "$as_me:$LINENO: checking for library containing basename" >&5
10940 echo $ECHO_N "checking for library containing basename... $ECHO_C" >&6; }
10941 if test "${ac_cv_search_basename+set}" = set; then
10942 echo $ECHO_N "(cached) $ECHO_C" >&6
10943 else
10944 ac_func_search_save_LIBS=$LIBS
10945 cat >conftest.$ac_ext <<_ACEOF
10946 /* confdefs.h. */
10947 _ACEOF
10948 cat confdefs.h >>conftest.$ac_ext
10949 cat >>conftest.$ac_ext <<_ACEOF
10950 /* end confdefs.h. */
10952 /* Override any GCC internal prototype to avoid an error.
10953 Use char because int might match the return type of a GCC
10954 builtin and then its argument prototype would still apply. */
10955 #ifdef __cplusplus
10956 extern "C"
10957 #endif
10958 char basename ();
10960 main ()
10962 return basename ();
10964 return 0;
10966 _ACEOF
10967 for ac_lib in '' gen; do
10968 if test -z "$ac_lib"; then
10969 ac_res="none required"
10970 else
10971 ac_res=-l$ac_lib
10972 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
10974 rm -f conftest.$ac_objext conftest$ac_exeext
10975 if { (ac_try="$ac_link"
10976 case "(($ac_try" in
10977 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10978 *) ac_try_echo=$ac_try;;
10979 esac
10980 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10981 (eval "$ac_link") 2>conftest.er1
10982 ac_status=$?
10983 grep -v '^ *+' conftest.er1 >conftest.err
10984 rm -f conftest.er1
10985 cat conftest.err >&5
10986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10987 (exit $ac_status); } && {
10988 test -z "$ac_c_werror_flag" ||
10989 test ! -s conftest.err
10990 } && test -s conftest$ac_exeext &&
10991 $as_test_x conftest$ac_exeext; then
10992 ac_cv_search_basename=$ac_res
10993 else
10994 echo "$as_me: failed program was:" >&5
10995 sed 's/^/| /' conftest.$ac_ext >&5
11000 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11001 conftest$ac_exeext
11002 if test "${ac_cv_search_basename+set}" = set; then
11003 break
11005 done
11006 if test "${ac_cv_search_basename+set}" = set; then
11008 else
11009 ac_cv_search_basename=no
11011 rm conftest.$ac_ext
11012 LIBS=$ac_func_search_save_LIBS
11014 { echo "$as_me:$LINENO: result: $ac_cv_search_basename" >&5
11015 echo "${ECHO_T}$ac_cv_search_basename" >&6; }
11016 ac_res=$ac_cv_search_basename
11017 if test "$ac_res" != no; then
11018 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
11019 cat >>confdefs.h <<\_ACEOF
11020 #define HAVE_BASENAME 1
11021 _ACEOF
11026 # Solaris needs ptmx
11027 if test -z "$no_ptmx_check" ; then
11028 if test x"$cross_compiling" = x"no" ; then
11029 { echo "$as_me:$LINENO: checking for \"/dev/ptmx\"" >&5
11030 echo $ECHO_N "checking for \"/dev/ptmx\"... $ECHO_C" >&6; }
11031 if test "${ac_cv_file___dev_ptmx_+set}" = set; then
11032 echo $ECHO_N "(cached) $ECHO_C" >&6
11033 else
11034 test "$cross_compiling" = yes &&
11035 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
11036 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
11037 { (exit 1); exit 1; }; }
11038 if test -r ""/dev/ptmx""; then
11039 ac_cv_file___dev_ptmx_=yes
11040 else
11041 ac_cv_file___dev_ptmx_=no
11044 { echo "$as_me:$LINENO: result: $ac_cv_file___dev_ptmx_" >&5
11045 echo "${ECHO_T}$ac_cv_file___dev_ptmx_" >&6; }
11046 if test $ac_cv_file___dev_ptmx_ = yes; then
11048 cat >>confdefs.h <<\_ACEOF
11049 #define USE_DEV_PTMX
11050 _ACEOF
11054 else
11055 { echo "$as_me:$LINENO: Not checking for /dev/ptmx, we're cross-compiling" >&5
11056 echo "$as_me: Not checking for /dev/ptmx, we're cross-compiling" >&6;}
11060 if test -z "$no_ptc_check" ; then
11061 if test x"$cross_compiling" = x"no" ; then
11062 { echo "$as_me:$LINENO: checking for \"/dev/ptc\"" >&5
11063 echo $ECHO_N "checking for \"/dev/ptc\"... $ECHO_C" >&6; }
11064 if test "${ac_cv_file___dev_ptc_+set}" = set; then
11065 echo $ECHO_N "(cached) $ECHO_C" >&6
11066 else
11067 test "$cross_compiling" = yes &&
11068 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
11069 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
11070 { (exit 1); exit 1; }; }
11071 if test -r ""/dev/ptc""; then
11072 ac_cv_file___dev_ptc_=yes
11073 else
11074 ac_cv_file___dev_ptc_=no
11077 { echo "$as_me:$LINENO: result: $ac_cv_file___dev_ptc_" >&5
11078 echo "${ECHO_T}$ac_cv_file___dev_ptc_" >&6; }
11079 if test $ac_cv_file___dev_ptc_ = yes; then
11081 cat >>confdefs.h <<\_ACEOF
11082 #define HAVE_DEV_PTS_AND_PTC
11083 _ACEOF
11087 else
11088 { echo "$as_me:$LINENO: Not checking for /dev/ptc & /dev/pts since we're cross-compiling" >&5
11089 echo "$as_me: Not checking for /dev/ptc & /dev/pts since we're cross-compiling" >&6;}
11095 # XXX there must be a nicer way to do this
11096 { as_dir=libtomcrypt/src/ciphers/aes
11097 case $as_dir in #(
11098 -*) as_dir=./$as_dir;;
11099 esac
11100 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
11101 as_dirs=
11102 while :; do
11103 case $as_dir in #(
11104 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
11105 *) as_qdir=$as_dir;;
11106 esac
11107 as_dirs="'$as_qdir' $as_dirs"
11108 as_dir=`$as_dirname -- "$as_dir" ||
11109 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11110 X"$as_dir" : 'X\(//\)[^/]' \| \
11111 X"$as_dir" : 'X\(//\)$' \| \
11112 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
11113 echo X"$as_dir" |
11114 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11115 s//\1/
11118 /^X\(\/\/\)[^/].*/{
11119 s//\1/
11122 /^X\(\/\/\)$/{
11123 s//\1/
11126 /^X\(\/\).*/{
11127 s//\1/
11130 s/.*/./; q'`
11131 test -d "$as_dir" && break
11132 done
11133 test -z "$as_dirs" || eval "mkdir $as_dirs"
11134 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
11135 echo "$as_me: error: cannot create directory $as_dir" >&2;}
11136 { (exit 1); exit 1; }; }; }
11137 { as_dir=libtomcrypt/src/ciphers/safer
11138 case $as_dir in #(
11139 -*) as_dir=./$as_dir;;
11140 esac
11141 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
11142 as_dirs=
11143 while :; do
11144 case $as_dir in #(
11145 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
11146 *) as_qdir=$as_dir;;
11147 esac
11148 as_dirs="'$as_qdir' $as_dirs"
11149 as_dir=`$as_dirname -- "$as_dir" ||
11150 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11151 X"$as_dir" : 'X\(//\)[^/]' \| \
11152 X"$as_dir" : 'X\(//\)$' \| \
11153 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
11154 echo X"$as_dir" |
11155 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11156 s//\1/
11159 /^X\(\/\/\)[^/].*/{
11160 s//\1/
11163 /^X\(\/\/\)$/{
11164 s//\1/
11167 /^X\(\/\).*/{
11168 s//\1/
11171 s/.*/./; q'`
11172 test -d "$as_dir" && break
11173 done
11174 test -z "$as_dirs" || eval "mkdir $as_dirs"
11175 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
11176 echo "$as_me: error: cannot create directory $as_dir" >&2;}
11177 { (exit 1); exit 1; }; }; }
11178 { as_dir=libtomcrypt/src/ciphers/twofish
11179 case $as_dir in #(
11180 -*) as_dir=./$as_dir;;
11181 esac
11182 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
11183 as_dirs=
11184 while :; do
11185 case $as_dir in #(
11186 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
11187 *) as_qdir=$as_dir;;
11188 esac
11189 as_dirs="'$as_qdir' $as_dirs"
11190 as_dir=`$as_dirname -- "$as_dir" ||
11191 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11192 X"$as_dir" : 'X\(//\)[^/]' \| \
11193 X"$as_dir" : 'X\(//\)$' \| \
11194 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
11195 echo X"$as_dir" |
11196 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11197 s//\1/
11200 /^X\(\/\/\)[^/].*/{
11201 s//\1/
11204 /^X\(\/\/\)$/{
11205 s//\1/
11208 /^X\(\/\).*/{
11209 s//\1/
11212 s/.*/./; q'`
11213 test -d "$as_dir" && break
11214 done
11215 test -z "$as_dirs" || eval "mkdir $as_dirs"
11216 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
11217 echo "$as_me: error: cannot create directory $as_dir" >&2;}
11218 { (exit 1); exit 1; }; }; }
11219 { as_dir=libtomcrypt/src/encauth/ccm
11220 case $as_dir in #(
11221 -*) as_dir=./$as_dir;;
11222 esac
11223 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
11224 as_dirs=
11225 while :; do
11226 case $as_dir in #(
11227 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
11228 *) as_qdir=$as_dir;;
11229 esac
11230 as_dirs="'$as_qdir' $as_dirs"
11231 as_dir=`$as_dirname -- "$as_dir" ||
11232 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11233 X"$as_dir" : 'X\(//\)[^/]' \| \
11234 X"$as_dir" : 'X\(//\)$' \| \
11235 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
11236 echo X"$as_dir" |
11237 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11238 s//\1/
11241 /^X\(\/\/\)[^/].*/{
11242 s//\1/
11245 /^X\(\/\/\)$/{
11246 s//\1/
11249 /^X\(\/\).*/{
11250 s//\1/
11253 s/.*/./; q'`
11254 test -d "$as_dir" && break
11255 done
11256 test -z "$as_dirs" || eval "mkdir $as_dirs"
11257 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
11258 echo "$as_me: error: cannot create directory $as_dir" >&2;}
11259 { (exit 1); exit 1; }; }; }
11260 { as_dir=libtomcrypt/src/encauth/eax
11261 case $as_dir in #(
11262 -*) as_dir=./$as_dir;;
11263 esac
11264 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
11265 as_dirs=
11266 while :; do
11267 case $as_dir in #(
11268 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
11269 *) as_qdir=$as_dir;;
11270 esac
11271 as_dirs="'$as_qdir' $as_dirs"
11272 as_dir=`$as_dirname -- "$as_dir" ||
11273 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11274 X"$as_dir" : 'X\(//\)[^/]' \| \
11275 X"$as_dir" : 'X\(//\)$' \| \
11276 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
11277 echo X"$as_dir" |
11278 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11279 s//\1/
11282 /^X\(\/\/\)[^/].*/{
11283 s//\1/
11286 /^X\(\/\/\)$/{
11287 s//\1/
11290 /^X\(\/\).*/{
11291 s//\1/
11294 s/.*/./; q'`
11295 test -d "$as_dir" && break
11296 done
11297 test -z "$as_dirs" || eval "mkdir $as_dirs"
11298 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
11299 echo "$as_me: error: cannot create directory $as_dir" >&2;}
11300 { (exit 1); exit 1; }; }; }
11301 { as_dir=libtomcrypt/src/encauth/gcm
11302 case $as_dir in #(
11303 -*) as_dir=./$as_dir;;
11304 esac
11305 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
11306 as_dirs=
11307 while :; do
11308 case $as_dir in #(
11309 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
11310 *) as_qdir=$as_dir;;
11311 esac
11312 as_dirs="'$as_qdir' $as_dirs"
11313 as_dir=`$as_dirname -- "$as_dir" ||
11314 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11315 X"$as_dir" : 'X\(//\)[^/]' \| \
11316 X"$as_dir" : 'X\(//\)$' \| \
11317 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
11318 echo X"$as_dir" |
11319 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11320 s//\1/
11323 /^X\(\/\/\)[^/].*/{
11324 s//\1/
11327 /^X\(\/\/\)$/{
11328 s//\1/
11331 /^X\(\/\).*/{
11332 s//\1/
11335 s/.*/./; q'`
11336 test -d "$as_dir" && break
11337 done
11338 test -z "$as_dirs" || eval "mkdir $as_dirs"
11339 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
11340 echo "$as_me: error: cannot create directory $as_dir" >&2;}
11341 { (exit 1); exit 1; }; }; }
11342 { as_dir=libtomcrypt/src/encauth/ocb
11343 case $as_dir in #(
11344 -*) as_dir=./$as_dir;;
11345 esac
11346 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
11347 as_dirs=
11348 while :; do
11349 case $as_dir in #(
11350 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
11351 *) as_qdir=$as_dir;;
11352 esac
11353 as_dirs="'$as_qdir' $as_dirs"
11354 as_dir=`$as_dirname -- "$as_dir" ||
11355 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11356 X"$as_dir" : 'X\(//\)[^/]' \| \
11357 X"$as_dir" : 'X\(//\)$' \| \
11358 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
11359 echo X"$as_dir" |
11360 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11361 s//\1/
11364 /^X\(\/\/\)[^/].*/{
11365 s//\1/
11368 /^X\(\/\/\)$/{
11369 s//\1/
11372 /^X\(\/\).*/{
11373 s//\1/
11376 s/.*/./; q'`
11377 test -d "$as_dir" && break
11378 done
11379 test -z "$as_dirs" || eval "mkdir $as_dirs"
11380 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
11381 echo "$as_me: error: cannot create directory $as_dir" >&2;}
11382 { (exit 1); exit 1; }; }; }
11383 { as_dir=libtomcrypt/src/hashes
11384 case $as_dir in #(
11385 -*) as_dir=./$as_dir;;
11386 esac
11387 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
11388 as_dirs=
11389 while :; do
11390 case $as_dir in #(
11391 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
11392 *) as_qdir=$as_dir;;
11393 esac
11394 as_dirs="'$as_qdir' $as_dirs"
11395 as_dir=`$as_dirname -- "$as_dir" ||
11396 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11397 X"$as_dir" : 'X\(//\)[^/]' \| \
11398 X"$as_dir" : 'X\(//\)$' \| \
11399 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
11400 echo X"$as_dir" |
11401 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11402 s//\1/
11405 /^X\(\/\/\)[^/].*/{
11406 s//\1/
11409 /^X\(\/\/\)$/{
11410 s//\1/
11413 /^X\(\/\).*/{
11414 s//\1/
11417 s/.*/./; q'`
11418 test -d "$as_dir" && break
11419 done
11420 test -z "$as_dirs" || eval "mkdir $as_dirs"
11421 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
11422 echo "$as_me: error: cannot create directory $as_dir" >&2;}
11423 { (exit 1); exit 1; }; }; }
11424 { as_dir=libtomcrypt/src/hashes/chc
11425 case $as_dir in #(
11426 -*) as_dir=./$as_dir;;
11427 esac
11428 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
11429 as_dirs=
11430 while :; do
11431 case $as_dir in #(
11432 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
11433 *) as_qdir=$as_dir;;
11434 esac
11435 as_dirs="'$as_qdir' $as_dirs"
11436 as_dir=`$as_dirname -- "$as_dir" ||
11437 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11438 X"$as_dir" : 'X\(//\)[^/]' \| \
11439 X"$as_dir" : 'X\(//\)$' \| \
11440 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
11441 echo X"$as_dir" |
11442 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11443 s//\1/
11446 /^X\(\/\/\)[^/].*/{
11447 s//\1/
11450 /^X\(\/\/\)$/{
11451 s//\1/
11454 /^X\(\/\).*/{
11455 s//\1/
11458 s/.*/./; q'`
11459 test -d "$as_dir" && break
11460 done
11461 test -z "$as_dirs" || eval "mkdir $as_dirs"
11462 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
11463 echo "$as_me: error: cannot create directory $as_dir" >&2;}
11464 { (exit 1); exit 1; }; }; }
11465 { as_dir=libtomcrypt/src/hashes/helper
11466 case $as_dir in #(
11467 -*) as_dir=./$as_dir;;
11468 esac
11469 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
11470 as_dirs=
11471 while :; do
11472 case $as_dir in #(
11473 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
11474 *) as_qdir=$as_dir;;
11475 esac
11476 as_dirs="'$as_qdir' $as_dirs"
11477 as_dir=`$as_dirname -- "$as_dir" ||
11478 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11479 X"$as_dir" : 'X\(//\)[^/]' \| \
11480 X"$as_dir" : 'X\(//\)$' \| \
11481 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
11482 echo X"$as_dir" |
11483 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11484 s//\1/
11487 /^X\(\/\/\)[^/].*/{
11488 s//\1/
11491 /^X\(\/\/\)$/{
11492 s//\1/
11495 /^X\(\/\).*/{
11496 s//\1/
11499 s/.*/./; q'`
11500 test -d "$as_dir" && break
11501 done
11502 test -z "$as_dirs" || eval "mkdir $as_dirs"
11503 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
11504 echo "$as_me: error: cannot create directory $as_dir" >&2;}
11505 { (exit 1); exit 1; }; }; }
11506 { as_dir=libtomcrypt/src/hashes/sha2
11507 case $as_dir in #(
11508 -*) as_dir=./$as_dir;;
11509 esac
11510 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
11511 as_dirs=
11512 while :; do
11513 case $as_dir in #(
11514 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
11515 *) as_qdir=$as_dir;;
11516 esac
11517 as_dirs="'$as_qdir' $as_dirs"
11518 as_dir=`$as_dirname -- "$as_dir" ||
11519 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11520 X"$as_dir" : 'X\(//\)[^/]' \| \
11521 X"$as_dir" : 'X\(//\)$' \| \
11522 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
11523 echo X"$as_dir" |
11524 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11525 s//\1/
11528 /^X\(\/\/\)[^/].*/{
11529 s//\1/
11532 /^X\(\/\/\)$/{
11533 s//\1/
11536 /^X\(\/\).*/{
11537 s//\1/
11540 s/.*/./; q'`
11541 test -d "$as_dir" && break
11542 done
11543 test -z "$as_dirs" || eval "mkdir $as_dirs"
11544 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
11545 echo "$as_me: error: cannot create directory $as_dir" >&2;}
11546 { (exit 1); exit 1; }; }; }
11547 { as_dir=libtomcrypt/src/hashes/whirl
11548 case $as_dir in #(
11549 -*) as_dir=./$as_dir;;
11550 esac
11551 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
11552 as_dirs=
11553 while :; do
11554 case $as_dir in #(
11555 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
11556 *) as_qdir=$as_dir;;
11557 esac
11558 as_dirs="'$as_qdir' $as_dirs"
11559 as_dir=`$as_dirname -- "$as_dir" ||
11560 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11561 X"$as_dir" : 'X\(//\)[^/]' \| \
11562 X"$as_dir" : 'X\(//\)$' \| \
11563 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
11564 echo X"$as_dir" |
11565 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11566 s//\1/
11569 /^X\(\/\/\)[^/].*/{
11570 s//\1/
11573 /^X\(\/\/\)$/{
11574 s//\1/
11577 /^X\(\/\).*/{
11578 s//\1/
11581 s/.*/./; q'`
11582 test -d "$as_dir" && break
11583 done
11584 test -z "$as_dirs" || eval "mkdir $as_dirs"
11585 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
11586 echo "$as_me: error: cannot create directory $as_dir" >&2;}
11587 { (exit 1); exit 1; }; }; }
11588 { as_dir=libtomcrypt/src/mac/hmac
11589 case $as_dir in #(
11590 -*) as_dir=./$as_dir;;
11591 esac
11592 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
11593 as_dirs=
11594 while :; do
11595 case $as_dir in #(
11596 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
11597 *) as_qdir=$as_dir;;
11598 esac
11599 as_dirs="'$as_qdir' $as_dirs"
11600 as_dir=`$as_dirname -- "$as_dir" ||
11601 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11602 X"$as_dir" : 'X\(//\)[^/]' \| \
11603 X"$as_dir" : 'X\(//\)$' \| \
11604 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
11605 echo X"$as_dir" |
11606 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11607 s//\1/
11610 /^X\(\/\/\)[^/].*/{
11611 s//\1/
11614 /^X\(\/\/\)$/{
11615 s//\1/
11618 /^X\(\/\).*/{
11619 s//\1/
11622 s/.*/./; q'`
11623 test -d "$as_dir" && break
11624 done
11625 test -z "$as_dirs" || eval "mkdir $as_dirs"
11626 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
11627 echo "$as_me: error: cannot create directory $as_dir" >&2;}
11628 { (exit 1); exit 1; }; }; }
11629 { as_dir=libtomcrypt/src/mac/omac
11630 case $as_dir in #(
11631 -*) as_dir=./$as_dir;;
11632 esac
11633 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
11634 as_dirs=
11635 while :; do
11636 case $as_dir in #(
11637 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
11638 *) as_qdir=$as_dir;;
11639 esac
11640 as_dirs="'$as_qdir' $as_dirs"
11641 as_dir=`$as_dirname -- "$as_dir" ||
11642 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11643 X"$as_dir" : 'X\(//\)[^/]' \| \
11644 X"$as_dir" : 'X\(//\)$' \| \
11645 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
11646 echo X"$as_dir" |
11647 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11648 s//\1/
11651 /^X\(\/\/\)[^/].*/{
11652 s//\1/
11655 /^X\(\/\/\)$/{
11656 s//\1/
11659 /^X\(\/\).*/{
11660 s//\1/
11663 s/.*/./; q'`
11664 test -d "$as_dir" && break
11665 done
11666 test -z "$as_dirs" || eval "mkdir $as_dirs"
11667 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
11668 echo "$as_me: error: cannot create directory $as_dir" >&2;}
11669 { (exit 1); exit 1; }; }; }
11670 { as_dir=libtomcrypt/src/mac/pelican
11671 case $as_dir in #(
11672 -*) as_dir=./$as_dir;;
11673 esac
11674 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
11675 as_dirs=
11676 while :; do
11677 case $as_dir in #(
11678 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
11679 *) as_qdir=$as_dir;;
11680 esac
11681 as_dirs="'$as_qdir' $as_dirs"
11682 as_dir=`$as_dirname -- "$as_dir" ||
11683 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11684 X"$as_dir" : 'X\(//\)[^/]' \| \
11685 X"$as_dir" : 'X\(//\)$' \| \
11686 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
11687 echo X"$as_dir" |
11688 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11689 s//\1/
11692 /^X\(\/\/\)[^/].*/{
11693 s//\1/
11696 /^X\(\/\/\)$/{
11697 s//\1/
11700 /^X\(\/\).*/{
11701 s//\1/
11704 s/.*/./; q'`
11705 test -d "$as_dir" && break
11706 done
11707 test -z "$as_dirs" || eval "mkdir $as_dirs"
11708 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
11709 echo "$as_me: error: cannot create directory $as_dir" >&2;}
11710 { (exit 1); exit 1; }; }; }
11711 { as_dir=libtomcrypt/src/mac/pmac
11712 case $as_dir in #(
11713 -*) as_dir=./$as_dir;;
11714 esac
11715 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
11716 as_dirs=
11717 while :; do
11718 case $as_dir in #(
11719 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
11720 *) as_qdir=$as_dir;;
11721 esac
11722 as_dirs="'$as_qdir' $as_dirs"
11723 as_dir=`$as_dirname -- "$as_dir" ||
11724 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11725 X"$as_dir" : 'X\(//\)[^/]' \| \
11726 X"$as_dir" : 'X\(//\)$' \| \
11727 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
11728 echo X"$as_dir" |
11729 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11730 s//\1/
11733 /^X\(\/\/\)[^/].*/{
11734 s//\1/
11737 /^X\(\/\/\)$/{
11738 s//\1/
11741 /^X\(\/\).*/{
11742 s//\1/
11745 s/.*/./; q'`
11746 test -d "$as_dir" && break
11747 done
11748 test -z "$as_dirs" || eval "mkdir $as_dirs"
11749 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
11750 echo "$as_me: error: cannot create directory $as_dir" >&2;}
11751 { (exit 1); exit 1; }; }; }
11752 { as_dir=libtomcrypt/src/mac/f9
11753 case $as_dir in #(
11754 -*) as_dir=./$as_dir;;
11755 esac
11756 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
11757 as_dirs=
11758 while :; do
11759 case $as_dir in #(
11760 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
11761 *) as_qdir=$as_dir;;
11762 esac
11763 as_dirs="'$as_qdir' $as_dirs"
11764 as_dir=`$as_dirname -- "$as_dir" ||
11765 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11766 X"$as_dir" : 'X\(//\)[^/]' \| \
11767 X"$as_dir" : 'X\(//\)$' \| \
11768 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
11769 echo X"$as_dir" |
11770 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11771 s//\1/
11774 /^X\(\/\/\)[^/].*/{
11775 s//\1/
11778 /^X\(\/\/\)$/{
11779 s//\1/
11782 /^X\(\/\).*/{
11783 s//\1/
11786 s/.*/./; q'`
11787 test -d "$as_dir" && break
11788 done
11789 test -z "$as_dirs" || eval "mkdir $as_dirs"
11790 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
11791 echo "$as_me: error: cannot create directory $as_dir" >&2;}
11792 { (exit 1); exit 1; }; }; }
11793 { as_dir=libtomcrypt/src/mac/xcbc
11794 case $as_dir in #(
11795 -*) as_dir=./$as_dir;;
11796 esac
11797 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
11798 as_dirs=
11799 while :; do
11800 case $as_dir in #(
11801 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
11802 *) as_qdir=$as_dir;;
11803 esac
11804 as_dirs="'$as_qdir' $as_dirs"
11805 as_dir=`$as_dirname -- "$as_dir" ||
11806 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11807 X"$as_dir" : 'X\(//\)[^/]' \| \
11808 X"$as_dir" : 'X\(//\)$' \| \
11809 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
11810 echo X"$as_dir" |
11811 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11812 s//\1/
11815 /^X\(\/\/\)[^/].*/{
11816 s//\1/
11819 /^X\(\/\/\)$/{
11820 s//\1/
11823 /^X\(\/\).*/{
11824 s//\1/
11827 s/.*/./; q'`
11828 test -d "$as_dir" && break
11829 done
11830 test -z "$as_dirs" || eval "mkdir $as_dirs"
11831 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
11832 echo "$as_me: error: cannot create directory $as_dir" >&2;}
11833 { (exit 1); exit 1; }; }; }
11834 { as_dir=libtomcrypt/src/math/fp
11835 case $as_dir in #(
11836 -*) as_dir=./$as_dir;;
11837 esac
11838 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
11839 as_dirs=
11840 while :; do
11841 case $as_dir in #(
11842 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
11843 *) as_qdir=$as_dir;;
11844 esac
11845 as_dirs="'$as_qdir' $as_dirs"
11846 as_dir=`$as_dirname -- "$as_dir" ||
11847 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11848 X"$as_dir" : 'X\(//\)[^/]' \| \
11849 X"$as_dir" : 'X\(//\)$' \| \
11850 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
11851 echo X"$as_dir" |
11852 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11853 s//\1/
11856 /^X\(\/\/\)[^/].*/{
11857 s//\1/
11860 /^X\(\/\/\)$/{
11861 s//\1/
11864 /^X\(\/\).*/{
11865 s//\1/
11868 s/.*/./; q'`
11869 test -d "$as_dir" && break
11870 done
11871 test -z "$as_dirs" || eval "mkdir $as_dirs"
11872 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
11873 echo "$as_me: error: cannot create directory $as_dir" >&2;}
11874 { (exit 1); exit 1; }; }; }
11875 { as_dir=libtomcrypt/src/misc/base64
11876 case $as_dir in #(
11877 -*) as_dir=./$as_dir;;
11878 esac
11879 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
11880 as_dirs=
11881 while :; do
11882 case $as_dir in #(
11883 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
11884 *) as_qdir=$as_dir;;
11885 esac
11886 as_dirs="'$as_qdir' $as_dirs"
11887 as_dir=`$as_dirname -- "$as_dir" ||
11888 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11889 X"$as_dir" : 'X\(//\)[^/]' \| \
11890 X"$as_dir" : 'X\(//\)$' \| \
11891 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
11892 echo X"$as_dir" |
11893 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11894 s//\1/
11897 /^X\(\/\/\)[^/].*/{
11898 s//\1/
11901 /^X\(\/\/\)$/{
11902 s//\1/
11905 /^X\(\/\).*/{
11906 s//\1/
11909 s/.*/./; q'`
11910 test -d "$as_dir" && break
11911 done
11912 test -z "$as_dirs" || eval "mkdir $as_dirs"
11913 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
11914 echo "$as_me: error: cannot create directory $as_dir" >&2;}
11915 { (exit 1); exit 1; }; }; }
11916 { as_dir=libtomcrypt/src/misc/crypt
11917 case $as_dir in #(
11918 -*) as_dir=./$as_dir;;
11919 esac
11920 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
11921 as_dirs=
11922 while :; do
11923 case $as_dir in #(
11924 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
11925 *) as_qdir=$as_dir;;
11926 esac
11927 as_dirs="'$as_qdir' $as_dirs"
11928 as_dir=`$as_dirname -- "$as_dir" ||
11929 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11930 X"$as_dir" : 'X\(//\)[^/]' \| \
11931 X"$as_dir" : 'X\(//\)$' \| \
11932 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
11933 echo X"$as_dir" |
11934 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11935 s//\1/
11938 /^X\(\/\/\)[^/].*/{
11939 s//\1/
11942 /^X\(\/\/\)$/{
11943 s//\1/
11946 /^X\(\/\).*/{
11947 s//\1/
11950 s/.*/./; q'`
11951 test -d "$as_dir" && break
11952 done
11953 test -z "$as_dirs" || eval "mkdir $as_dirs"
11954 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
11955 echo "$as_me: error: cannot create directory $as_dir" >&2;}
11956 { (exit 1); exit 1; }; }; }
11957 { as_dir=libtomcrypt/src/misc/mpi
11958 case $as_dir in #(
11959 -*) as_dir=./$as_dir;;
11960 esac
11961 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
11962 as_dirs=
11963 while :; do
11964 case $as_dir in #(
11965 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
11966 *) as_qdir=$as_dir;;
11967 esac
11968 as_dirs="'$as_qdir' $as_dirs"
11969 as_dir=`$as_dirname -- "$as_dir" ||
11970 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11971 X"$as_dir" : 'X\(//\)[^/]' \| \
11972 X"$as_dir" : 'X\(//\)$' \| \
11973 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
11974 echo X"$as_dir" |
11975 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11976 s//\1/
11979 /^X\(\/\/\)[^/].*/{
11980 s//\1/
11983 /^X\(\/\/\)$/{
11984 s//\1/
11987 /^X\(\/\).*/{
11988 s//\1/
11991 s/.*/./; q'`
11992 test -d "$as_dir" && break
11993 done
11994 test -z "$as_dirs" || eval "mkdir $as_dirs"
11995 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
11996 echo "$as_me: error: cannot create directory $as_dir" >&2;}
11997 { (exit 1); exit 1; }; }; }
11998 { as_dir=libtomcrypt/src/misc/pkcs5
11999 case $as_dir in #(
12000 -*) as_dir=./$as_dir;;
12001 esac
12002 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
12003 as_dirs=
12004 while :; do
12005 case $as_dir in #(
12006 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
12007 *) as_qdir=$as_dir;;
12008 esac
12009 as_dirs="'$as_qdir' $as_dirs"
12010 as_dir=`$as_dirname -- "$as_dir" ||
12011 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12012 X"$as_dir" : 'X\(//\)[^/]' \| \
12013 X"$as_dir" : 'X\(//\)$' \| \
12014 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12015 echo X"$as_dir" |
12016 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12017 s//\1/
12020 /^X\(\/\/\)[^/].*/{
12021 s//\1/
12024 /^X\(\/\/\)$/{
12025 s//\1/
12028 /^X\(\/\).*/{
12029 s//\1/
12032 s/.*/./; q'`
12033 test -d "$as_dir" && break
12034 done
12035 test -z "$as_dirs" || eval "mkdir $as_dirs"
12036 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
12037 echo "$as_me: error: cannot create directory $as_dir" >&2;}
12038 { (exit 1); exit 1; }; }; }
12039 { as_dir=libtomcrypt/src/modes/cbc
12040 case $as_dir in #(
12041 -*) as_dir=./$as_dir;;
12042 esac
12043 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
12044 as_dirs=
12045 while :; do
12046 case $as_dir in #(
12047 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
12048 *) as_qdir=$as_dir;;
12049 esac
12050 as_dirs="'$as_qdir' $as_dirs"
12051 as_dir=`$as_dirname -- "$as_dir" ||
12052 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12053 X"$as_dir" : 'X\(//\)[^/]' \| \
12054 X"$as_dir" : 'X\(//\)$' \| \
12055 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12056 echo X"$as_dir" |
12057 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12058 s//\1/
12061 /^X\(\/\/\)[^/].*/{
12062 s//\1/
12065 /^X\(\/\/\)$/{
12066 s//\1/
12069 /^X\(\/\).*/{
12070 s//\1/
12073 s/.*/./; q'`
12074 test -d "$as_dir" && break
12075 done
12076 test -z "$as_dirs" || eval "mkdir $as_dirs"
12077 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
12078 echo "$as_me: error: cannot create directory $as_dir" >&2;}
12079 { (exit 1); exit 1; }; }; }
12080 { as_dir=libtomcrypt/src/modes/cfb
12081 case $as_dir in #(
12082 -*) as_dir=./$as_dir;;
12083 esac
12084 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
12085 as_dirs=
12086 while :; do
12087 case $as_dir in #(
12088 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
12089 *) as_qdir=$as_dir;;
12090 esac
12091 as_dirs="'$as_qdir' $as_dirs"
12092 as_dir=`$as_dirname -- "$as_dir" ||
12093 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12094 X"$as_dir" : 'X\(//\)[^/]' \| \
12095 X"$as_dir" : 'X\(//\)$' \| \
12096 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12097 echo X"$as_dir" |
12098 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12099 s//\1/
12102 /^X\(\/\/\)[^/].*/{
12103 s//\1/
12106 /^X\(\/\/\)$/{
12107 s//\1/
12110 /^X\(\/\).*/{
12111 s//\1/
12114 s/.*/./; q'`
12115 test -d "$as_dir" && break
12116 done
12117 test -z "$as_dirs" || eval "mkdir $as_dirs"
12118 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
12119 echo "$as_me: error: cannot create directory $as_dir" >&2;}
12120 { (exit 1); exit 1; }; }; }
12121 { as_dir=libtomcrypt/src/modes/ctr
12122 case $as_dir in #(
12123 -*) as_dir=./$as_dir;;
12124 esac
12125 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
12126 as_dirs=
12127 while :; do
12128 case $as_dir in #(
12129 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
12130 *) as_qdir=$as_dir;;
12131 esac
12132 as_dirs="'$as_qdir' $as_dirs"
12133 as_dir=`$as_dirname -- "$as_dir" ||
12134 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12135 X"$as_dir" : 'X\(//\)[^/]' \| \
12136 X"$as_dir" : 'X\(//\)$' \| \
12137 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12138 echo X"$as_dir" |
12139 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12140 s//\1/
12143 /^X\(\/\/\)[^/].*/{
12144 s//\1/
12147 /^X\(\/\/\)$/{
12148 s//\1/
12151 /^X\(\/\).*/{
12152 s//\1/
12155 s/.*/./; q'`
12156 test -d "$as_dir" && break
12157 done
12158 test -z "$as_dirs" || eval "mkdir $as_dirs"
12159 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
12160 echo "$as_me: error: cannot create directory $as_dir" >&2;}
12161 { (exit 1); exit 1; }; }; }
12162 { as_dir=libtomcrypt/src/modes/ecb
12163 case $as_dir in #(
12164 -*) as_dir=./$as_dir;;
12165 esac
12166 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
12167 as_dirs=
12168 while :; do
12169 case $as_dir in #(
12170 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
12171 *) as_qdir=$as_dir;;
12172 esac
12173 as_dirs="'$as_qdir' $as_dirs"
12174 as_dir=`$as_dirname -- "$as_dir" ||
12175 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12176 X"$as_dir" : 'X\(//\)[^/]' \| \
12177 X"$as_dir" : 'X\(//\)$' \| \
12178 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12179 echo X"$as_dir" |
12180 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12181 s//\1/
12184 /^X\(\/\/\)[^/].*/{
12185 s//\1/
12188 /^X\(\/\/\)$/{
12189 s//\1/
12192 /^X\(\/\).*/{
12193 s//\1/
12196 s/.*/./; q'`
12197 test -d "$as_dir" && break
12198 done
12199 test -z "$as_dirs" || eval "mkdir $as_dirs"
12200 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
12201 echo "$as_me: error: cannot create directory $as_dir" >&2;}
12202 { (exit 1); exit 1; }; }; }
12203 { as_dir=libtomcrypt/src/modes/ofb
12204 case $as_dir in #(
12205 -*) as_dir=./$as_dir;;
12206 esac
12207 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
12208 as_dirs=
12209 while :; do
12210 case $as_dir in #(
12211 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
12212 *) as_qdir=$as_dir;;
12213 esac
12214 as_dirs="'$as_qdir' $as_dirs"
12215 as_dir=`$as_dirname -- "$as_dir" ||
12216 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12217 X"$as_dir" : 'X\(//\)[^/]' \| \
12218 X"$as_dir" : 'X\(//\)$' \| \
12219 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12220 echo X"$as_dir" |
12221 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12222 s//\1/
12225 /^X\(\/\/\)[^/].*/{
12226 s//\1/
12229 /^X\(\/\/\)$/{
12230 s//\1/
12233 /^X\(\/\).*/{
12234 s//\1/
12237 s/.*/./; q'`
12238 test -d "$as_dir" && break
12239 done
12240 test -z "$as_dirs" || eval "mkdir $as_dirs"
12241 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
12242 echo "$as_me: error: cannot create directory $as_dir" >&2;}
12243 { (exit 1); exit 1; }; }; }
12244 { as_dir=libtomcrypt/src/modes/f8
12245 case $as_dir in #(
12246 -*) as_dir=./$as_dir;;
12247 esac
12248 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
12249 as_dirs=
12250 while :; do
12251 case $as_dir in #(
12252 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
12253 *) as_qdir=$as_dir;;
12254 esac
12255 as_dirs="'$as_qdir' $as_dirs"
12256 as_dir=`$as_dirname -- "$as_dir" ||
12257 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12258 X"$as_dir" : 'X\(//\)[^/]' \| \
12259 X"$as_dir" : 'X\(//\)$' \| \
12260 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12261 echo X"$as_dir" |
12262 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12263 s//\1/
12266 /^X\(\/\/\)[^/].*/{
12267 s//\1/
12270 /^X\(\/\/\)$/{
12271 s//\1/
12274 /^X\(\/\).*/{
12275 s//\1/
12278 s/.*/./; q'`
12279 test -d "$as_dir" && break
12280 done
12281 test -z "$as_dirs" || eval "mkdir $as_dirs"
12282 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
12283 echo "$as_me: error: cannot create directory $as_dir" >&2;}
12284 { (exit 1); exit 1; }; }; }
12285 { as_dir=libtomcrypt/src/modes/lrw
12286 case $as_dir in #(
12287 -*) as_dir=./$as_dir;;
12288 esac
12289 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
12290 as_dirs=
12291 while :; do
12292 case $as_dir in #(
12293 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
12294 *) as_qdir=$as_dir;;
12295 esac
12296 as_dirs="'$as_qdir' $as_dirs"
12297 as_dir=`$as_dirname -- "$as_dir" ||
12298 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12299 X"$as_dir" : 'X\(//\)[^/]' \| \
12300 X"$as_dir" : 'X\(//\)$' \| \
12301 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12302 echo X"$as_dir" |
12303 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12304 s//\1/
12307 /^X\(\/\/\)[^/].*/{
12308 s//\1/
12311 /^X\(\/\/\)$/{
12312 s//\1/
12315 /^X\(\/\).*/{
12316 s//\1/
12319 s/.*/./; q'`
12320 test -d "$as_dir" && break
12321 done
12322 test -z "$as_dirs" || eval "mkdir $as_dirs"
12323 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
12324 echo "$as_me: error: cannot create directory $as_dir" >&2;}
12325 { (exit 1); exit 1; }; }; }
12326 { as_dir=libtomcrypt/src/pk/asn1/der/bit
12327 case $as_dir in #(
12328 -*) as_dir=./$as_dir;;
12329 esac
12330 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
12331 as_dirs=
12332 while :; do
12333 case $as_dir in #(
12334 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
12335 *) as_qdir=$as_dir;;
12336 esac
12337 as_dirs="'$as_qdir' $as_dirs"
12338 as_dir=`$as_dirname -- "$as_dir" ||
12339 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12340 X"$as_dir" : 'X\(//\)[^/]' \| \
12341 X"$as_dir" : 'X\(//\)$' \| \
12342 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12343 echo X"$as_dir" |
12344 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12345 s//\1/
12348 /^X\(\/\/\)[^/].*/{
12349 s//\1/
12352 /^X\(\/\/\)$/{
12353 s//\1/
12356 /^X\(\/\).*/{
12357 s//\1/
12360 s/.*/./; q'`
12361 test -d "$as_dir" && break
12362 done
12363 test -z "$as_dirs" || eval "mkdir $as_dirs"
12364 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
12365 echo "$as_me: error: cannot create directory $as_dir" >&2;}
12366 { (exit 1); exit 1; }; }; }
12367 { as_dir=libtomcrypt/src/pk/asn1/der/choice
12368 case $as_dir in #(
12369 -*) as_dir=./$as_dir;;
12370 esac
12371 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
12372 as_dirs=
12373 while :; do
12374 case $as_dir in #(
12375 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
12376 *) as_qdir=$as_dir;;
12377 esac
12378 as_dirs="'$as_qdir' $as_dirs"
12379 as_dir=`$as_dirname -- "$as_dir" ||
12380 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12381 X"$as_dir" : 'X\(//\)[^/]' \| \
12382 X"$as_dir" : 'X\(//\)$' \| \
12383 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12384 echo X"$as_dir" |
12385 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12386 s//\1/
12389 /^X\(\/\/\)[^/].*/{
12390 s//\1/
12393 /^X\(\/\/\)$/{
12394 s//\1/
12397 /^X\(\/\).*/{
12398 s//\1/
12401 s/.*/./; q'`
12402 test -d "$as_dir" && break
12403 done
12404 test -z "$as_dirs" || eval "mkdir $as_dirs"
12405 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
12406 echo "$as_me: error: cannot create directory $as_dir" >&2;}
12407 { (exit 1); exit 1; }; }; }
12408 { as_dir=libtomcrypt/src/pk/asn1/der/ia5
12409 case $as_dir in #(
12410 -*) as_dir=./$as_dir;;
12411 esac
12412 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
12413 as_dirs=
12414 while :; do
12415 case $as_dir in #(
12416 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
12417 *) as_qdir=$as_dir;;
12418 esac
12419 as_dirs="'$as_qdir' $as_dirs"
12420 as_dir=`$as_dirname -- "$as_dir" ||
12421 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12422 X"$as_dir" : 'X\(//\)[^/]' \| \
12423 X"$as_dir" : 'X\(//\)$' \| \
12424 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12425 echo X"$as_dir" |
12426 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12427 s//\1/
12430 /^X\(\/\/\)[^/].*/{
12431 s//\1/
12434 /^X\(\/\/\)$/{
12435 s//\1/
12438 /^X\(\/\).*/{
12439 s//\1/
12442 s/.*/./; q'`
12443 test -d "$as_dir" && break
12444 done
12445 test -z "$as_dirs" || eval "mkdir $as_dirs"
12446 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
12447 echo "$as_me: error: cannot create directory $as_dir" >&2;}
12448 { (exit 1); exit 1; }; }; }
12449 { as_dir=libtomcrypt/src/pk/asn1/der/integer
12450 case $as_dir in #(
12451 -*) as_dir=./$as_dir;;
12452 esac
12453 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
12454 as_dirs=
12455 while :; do
12456 case $as_dir in #(
12457 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
12458 *) as_qdir=$as_dir;;
12459 esac
12460 as_dirs="'$as_qdir' $as_dirs"
12461 as_dir=`$as_dirname -- "$as_dir" ||
12462 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12463 X"$as_dir" : 'X\(//\)[^/]' \| \
12464 X"$as_dir" : 'X\(//\)$' \| \
12465 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12466 echo X"$as_dir" |
12467 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12468 s//\1/
12471 /^X\(\/\/\)[^/].*/{
12472 s//\1/
12475 /^X\(\/\/\)$/{
12476 s//\1/
12479 /^X\(\/\).*/{
12480 s//\1/
12483 s/.*/./; q'`
12484 test -d "$as_dir" && break
12485 done
12486 test -z "$as_dirs" || eval "mkdir $as_dirs"
12487 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
12488 echo "$as_me: error: cannot create directory $as_dir" >&2;}
12489 { (exit 1); exit 1; }; }; }
12490 { as_dir=libtomcrypt/src/pk/asn1/der/object_identifier
12491 case $as_dir in #(
12492 -*) as_dir=./$as_dir;;
12493 esac
12494 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
12495 as_dirs=
12496 while :; do
12497 case $as_dir in #(
12498 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
12499 *) as_qdir=$as_dir;;
12500 esac
12501 as_dirs="'$as_qdir' $as_dirs"
12502 as_dir=`$as_dirname -- "$as_dir" ||
12503 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12504 X"$as_dir" : 'X\(//\)[^/]' \| \
12505 X"$as_dir" : 'X\(//\)$' \| \
12506 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12507 echo X"$as_dir" |
12508 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12509 s//\1/
12512 /^X\(\/\/\)[^/].*/{
12513 s//\1/
12516 /^X\(\/\/\)$/{
12517 s//\1/
12520 /^X\(\/\).*/{
12521 s//\1/
12524 s/.*/./; q'`
12525 test -d "$as_dir" && break
12526 done
12527 test -z "$as_dirs" || eval "mkdir $as_dirs"
12528 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
12529 echo "$as_me: error: cannot create directory $as_dir" >&2;}
12530 { (exit 1); exit 1; }; }; }
12531 { as_dir=libtomcrypt/src/pk/asn1/der/octet
12532 case $as_dir in #(
12533 -*) as_dir=./$as_dir;;
12534 esac
12535 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
12536 as_dirs=
12537 while :; do
12538 case $as_dir in #(
12539 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
12540 *) as_qdir=$as_dir;;
12541 esac
12542 as_dirs="'$as_qdir' $as_dirs"
12543 as_dir=`$as_dirname -- "$as_dir" ||
12544 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12545 X"$as_dir" : 'X\(//\)[^/]' \| \
12546 X"$as_dir" : 'X\(//\)$' \| \
12547 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12548 echo X"$as_dir" |
12549 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12550 s//\1/
12553 /^X\(\/\/\)[^/].*/{
12554 s//\1/
12557 /^X\(\/\/\)$/{
12558 s//\1/
12561 /^X\(\/\).*/{
12562 s//\1/
12565 s/.*/./; q'`
12566 test -d "$as_dir" && break
12567 done
12568 test -z "$as_dirs" || eval "mkdir $as_dirs"
12569 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
12570 echo "$as_me: error: cannot create directory $as_dir" >&2;}
12571 { (exit 1); exit 1; }; }; }
12572 { as_dir=libtomcrypt/src/pk/asn1/der/printable_string
12573 case $as_dir in #(
12574 -*) as_dir=./$as_dir;;
12575 esac
12576 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
12577 as_dirs=
12578 while :; do
12579 case $as_dir in #(
12580 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
12581 *) as_qdir=$as_dir;;
12582 esac
12583 as_dirs="'$as_qdir' $as_dirs"
12584 as_dir=`$as_dirname -- "$as_dir" ||
12585 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12586 X"$as_dir" : 'X\(//\)[^/]' \| \
12587 X"$as_dir" : 'X\(//\)$' \| \
12588 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12589 echo X"$as_dir" |
12590 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12591 s//\1/
12594 /^X\(\/\/\)[^/].*/{
12595 s//\1/
12598 /^X\(\/\/\)$/{
12599 s//\1/
12602 /^X\(\/\).*/{
12603 s//\1/
12606 s/.*/./; q'`
12607 test -d "$as_dir" && break
12608 done
12609 test -z "$as_dirs" || eval "mkdir $as_dirs"
12610 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
12611 echo "$as_me: error: cannot create directory $as_dir" >&2;}
12612 { (exit 1); exit 1; }; }; }
12613 { as_dir=libtomcrypt/src/pk/asn1/der/sequence
12614 case $as_dir in #(
12615 -*) as_dir=./$as_dir;;
12616 esac
12617 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
12618 as_dirs=
12619 while :; do
12620 case $as_dir in #(
12621 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
12622 *) as_qdir=$as_dir;;
12623 esac
12624 as_dirs="'$as_qdir' $as_dirs"
12625 as_dir=`$as_dirname -- "$as_dir" ||
12626 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12627 X"$as_dir" : 'X\(//\)[^/]' \| \
12628 X"$as_dir" : 'X\(//\)$' \| \
12629 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12630 echo X"$as_dir" |
12631 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12632 s//\1/
12635 /^X\(\/\/\)[^/].*/{
12636 s//\1/
12639 /^X\(\/\/\)$/{
12640 s//\1/
12643 /^X\(\/\).*/{
12644 s//\1/
12647 s/.*/./; q'`
12648 test -d "$as_dir" && break
12649 done
12650 test -z "$as_dirs" || eval "mkdir $as_dirs"
12651 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
12652 echo "$as_me: error: cannot create directory $as_dir" >&2;}
12653 { (exit 1); exit 1; }; }; }
12654 { as_dir=libtomcrypt/src/pk/asn1/der/short_integer
12655 case $as_dir in #(
12656 -*) as_dir=./$as_dir;;
12657 esac
12658 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
12659 as_dirs=
12660 while :; do
12661 case $as_dir in #(
12662 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
12663 *) as_qdir=$as_dir;;
12664 esac
12665 as_dirs="'$as_qdir' $as_dirs"
12666 as_dir=`$as_dirname -- "$as_dir" ||
12667 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12668 X"$as_dir" : 'X\(//\)[^/]' \| \
12669 X"$as_dir" : 'X\(//\)$' \| \
12670 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12671 echo X"$as_dir" |
12672 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12673 s//\1/
12676 /^X\(\/\/\)[^/].*/{
12677 s//\1/
12680 /^X\(\/\/\)$/{
12681 s//\1/
12684 /^X\(\/\).*/{
12685 s//\1/
12688 s/.*/./; q'`
12689 test -d "$as_dir" && break
12690 done
12691 test -z "$as_dirs" || eval "mkdir $as_dirs"
12692 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
12693 echo "$as_me: error: cannot create directory $as_dir" >&2;}
12694 { (exit 1); exit 1; }; }; }
12695 { as_dir=libtomcrypt/src/pk/asn1/der/utctime
12696 case $as_dir in #(
12697 -*) as_dir=./$as_dir;;
12698 esac
12699 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
12700 as_dirs=
12701 while :; do
12702 case $as_dir in #(
12703 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
12704 *) as_qdir=$as_dir;;
12705 esac
12706 as_dirs="'$as_qdir' $as_dirs"
12707 as_dir=`$as_dirname -- "$as_dir" ||
12708 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12709 X"$as_dir" : 'X\(//\)[^/]' \| \
12710 X"$as_dir" : 'X\(//\)$' \| \
12711 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12712 echo X"$as_dir" |
12713 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12714 s//\1/
12717 /^X\(\/\/\)[^/].*/{
12718 s//\1/
12721 /^X\(\/\/\)$/{
12722 s//\1/
12725 /^X\(\/\).*/{
12726 s//\1/
12729 s/.*/./; q'`
12730 test -d "$as_dir" && break
12731 done
12732 test -z "$as_dirs" || eval "mkdir $as_dirs"
12733 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
12734 echo "$as_me: error: cannot create directory $as_dir" >&2;}
12735 { (exit 1); exit 1; }; }; }
12736 { as_dir=libtomcrypt/src/pk/dh
12737 case $as_dir in #(
12738 -*) as_dir=./$as_dir;;
12739 esac
12740 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
12741 as_dirs=
12742 while :; do
12743 case $as_dir in #(
12744 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
12745 *) as_qdir=$as_dir;;
12746 esac
12747 as_dirs="'$as_qdir' $as_dirs"
12748 as_dir=`$as_dirname -- "$as_dir" ||
12749 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12750 X"$as_dir" : 'X\(//\)[^/]' \| \
12751 X"$as_dir" : 'X\(//\)$' \| \
12752 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12753 echo X"$as_dir" |
12754 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12755 s//\1/
12758 /^X\(\/\/\)[^/].*/{
12759 s//\1/
12762 /^X\(\/\/\)$/{
12763 s//\1/
12766 /^X\(\/\).*/{
12767 s//\1/
12770 s/.*/./; q'`
12771 test -d "$as_dir" && break
12772 done
12773 test -z "$as_dirs" || eval "mkdir $as_dirs"
12774 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
12775 echo "$as_me: error: cannot create directory $as_dir" >&2;}
12776 { (exit 1); exit 1; }; }; }
12777 { as_dir=libtomcrypt/src/pk/dsa
12778 case $as_dir in #(
12779 -*) as_dir=./$as_dir;;
12780 esac
12781 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
12782 as_dirs=
12783 while :; do
12784 case $as_dir in #(
12785 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
12786 *) as_qdir=$as_dir;;
12787 esac
12788 as_dirs="'$as_qdir' $as_dirs"
12789 as_dir=`$as_dirname -- "$as_dir" ||
12790 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12791 X"$as_dir" : 'X\(//\)[^/]' \| \
12792 X"$as_dir" : 'X\(//\)$' \| \
12793 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12794 echo X"$as_dir" |
12795 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12796 s//\1/
12799 /^X\(\/\/\)[^/].*/{
12800 s//\1/
12803 /^X\(\/\/\)$/{
12804 s//\1/
12807 /^X\(\/\).*/{
12808 s//\1/
12811 s/.*/./; q'`
12812 test -d "$as_dir" && break
12813 done
12814 test -z "$as_dirs" || eval "mkdir $as_dirs"
12815 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
12816 echo "$as_me: error: cannot create directory $as_dir" >&2;}
12817 { (exit 1); exit 1; }; }; }
12818 { as_dir=libtomcrypt/src/pk/ecc
12819 case $as_dir in #(
12820 -*) as_dir=./$as_dir;;
12821 esac
12822 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
12823 as_dirs=
12824 while :; do
12825 case $as_dir in #(
12826 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
12827 *) as_qdir=$as_dir;;
12828 esac
12829 as_dirs="'$as_qdir' $as_dirs"
12830 as_dir=`$as_dirname -- "$as_dir" ||
12831 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12832 X"$as_dir" : 'X\(//\)[^/]' \| \
12833 X"$as_dir" : 'X\(//\)$' \| \
12834 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12835 echo X"$as_dir" |
12836 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12837 s//\1/
12840 /^X\(\/\/\)[^/].*/{
12841 s//\1/
12844 /^X\(\/\/\)$/{
12845 s//\1/
12848 /^X\(\/\).*/{
12849 s//\1/
12852 s/.*/./; q'`
12853 test -d "$as_dir" && break
12854 done
12855 test -z "$as_dirs" || eval "mkdir $as_dirs"
12856 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
12857 echo "$as_me: error: cannot create directory $as_dir" >&2;}
12858 { (exit 1); exit 1; }; }; }
12859 { as_dir=libtomcrypt/src/pk/pkcs1
12860 case $as_dir in #(
12861 -*) as_dir=./$as_dir;;
12862 esac
12863 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
12864 as_dirs=
12865 while :; do
12866 case $as_dir in #(
12867 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
12868 *) as_qdir=$as_dir;;
12869 esac
12870 as_dirs="'$as_qdir' $as_dirs"
12871 as_dir=`$as_dirname -- "$as_dir" ||
12872 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12873 X"$as_dir" : 'X\(//\)[^/]' \| \
12874 X"$as_dir" : 'X\(//\)$' \| \
12875 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12876 echo X"$as_dir" |
12877 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12878 s//\1/
12881 /^X\(\/\/\)[^/].*/{
12882 s//\1/
12885 /^X\(\/\/\)$/{
12886 s//\1/
12889 /^X\(\/\).*/{
12890 s//\1/
12893 s/.*/./; q'`
12894 test -d "$as_dir" && break
12895 done
12896 test -z "$as_dirs" || eval "mkdir $as_dirs"
12897 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
12898 echo "$as_me: error: cannot create directory $as_dir" >&2;}
12899 { (exit 1); exit 1; }; }; }
12900 { as_dir=libtomcrypt/src/pk/rsa
12901 case $as_dir in #(
12902 -*) as_dir=./$as_dir;;
12903 esac
12904 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
12905 as_dirs=
12906 while :; do
12907 case $as_dir in #(
12908 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
12909 *) as_qdir=$as_dir;;
12910 esac
12911 as_dirs="'$as_qdir' $as_dirs"
12912 as_dir=`$as_dirname -- "$as_dir" ||
12913 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12914 X"$as_dir" : 'X\(//\)[^/]' \| \
12915 X"$as_dir" : 'X\(//\)$' \| \
12916 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12917 echo X"$as_dir" |
12918 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12919 s//\1/
12922 /^X\(\/\/\)[^/].*/{
12923 s//\1/
12926 /^X\(\/\/\)$/{
12927 s//\1/
12930 /^X\(\/\).*/{
12931 s//\1/
12934 s/.*/./; q'`
12935 test -d "$as_dir" && break
12936 done
12937 test -z "$as_dirs" || eval "mkdir $as_dirs"
12938 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
12939 echo "$as_me: error: cannot create directory $as_dir" >&2;}
12940 { (exit 1); exit 1; }; }; }
12941 { as_dir=libtomcrypt/src/prng
12942 case $as_dir in #(
12943 -*) as_dir=./$as_dir;;
12944 esac
12945 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
12946 as_dirs=
12947 while :; do
12948 case $as_dir in #(
12949 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
12950 *) as_qdir=$as_dir;;
12951 esac
12952 as_dirs="'$as_qdir' $as_dirs"
12953 as_dir=`$as_dirname -- "$as_dir" ||
12954 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12955 X"$as_dir" : 'X\(//\)[^/]' \| \
12956 X"$as_dir" : 'X\(//\)$' \| \
12957 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12958 echo X"$as_dir" |
12959 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12960 s//\1/
12963 /^X\(\/\/\)[^/].*/{
12964 s//\1/
12967 /^X\(\/\/\)$/{
12968 s//\1/
12971 /^X\(\/\).*/{
12972 s//\1/
12975 s/.*/./; q'`
12976 test -d "$as_dir" && break
12977 done
12978 test -z "$as_dirs" || eval "mkdir $as_dirs"
12979 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
12980 echo "$as_me: error: cannot create directory $as_dir" >&2;}
12981 { (exit 1); exit 1; }; }; }
12982 ac_config_headers="$ac_config_headers config.h"
12984 ac_config_files="$ac_config_files Makefile"
12986 cat >confcache <<\_ACEOF
12987 # This file is a shell script that caches the results of configure
12988 # tests run on this system so they can be shared between configure
12989 # scripts and configure runs, see configure's option --config-cache.
12990 # It is not useful on other systems. If it contains results you don't
12991 # want to keep, you may remove or edit it.
12993 # config.status only pays attention to the cache file if you give it
12994 # the --recheck option to rerun configure.
12996 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12997 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12998 # following values.
13000 _ACEOF
13002 # The following way of writing the cache mishandles newlines in values,
13003 # but we know of no workaround that is simple, portable, and efficient.
13004 # So, we kill variables containing newlines.
13005 # Ultrix sh set writes to stderr and can't be redirected directly,
13006 # and sets the high bit in the cache file unless we assign to the vars.
13008 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13009 eval ac_val=\$$ac_var
13010 case $ac_val in #(
13011 *${as_nl}*)
13012 case $ac_var in #(
13013 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
13014 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
13015 esac
13016 case $ac_var in #(
13017 _ | IFS | as_nl) ;; #(
13018 *) $as_unset $ac_var ;;
13019 esac ;;
13020 esac
13021 done
13023 (set) 2>&1 |
13024 case $as_nl`(ac_space=' '; set) 2>&1` in #(
13025 *${as_nl}ac_space=\ *)
13026 # `set' does not quote correctly, so add quotes (double-quote
13027 # substitution turns \\\\ into \\, and sed turns \\ into \).
13028 sed -n \
13029 "s/'/'\\\\''/g;
13030 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13031 ;; #(
13033 # `set' quotes correctly as required by POSIX, so do not add quotes.
13034 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13036 esac |
13037 sort
13039 sed '
13040 /^ac_cv_env_/b end
13041 t clear
13042 :clear
13043 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13044 t end
13045 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13046 :end' >>confcache
13047 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
13048 if test -w "$cache_file"; then
13049 test "x$cache_file" != "x/dev/null" &&
13050 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
13051 echo "$as_me: updating cache $cache_file" >&6;}
13052 cat confcache >$cache_file
13053 else
13054 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
13055 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13058 rm -f confcache
13060 test "x$prefix" = xNONE && prefix=$ac_default_prefix
13061 # Let make expand exec_prefix.
13062 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
13064 DEFS=-DHAVE_CONFIG_H
13066 ac_libobjs=
13067 ac_ltlibobjs=
13068 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
13069 # 1. Remove the extension, and $U if already installed.
13070 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
13071 ac_i=`echo "$ac_i" | sed "$ac_script"`
13072 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
13073 # will be set to the directory where LIBOBJS objects are built.
13074 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
13075 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
13076 done
13077 LIBOBJS=$ac_libobjs
13079 LTLIBOBJS=$ac_ltlibobjs
13083 : ${CONFIG_STATUS=./config.status}
13084 ac_clean_files_save=$ac_clean_files
13085 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
13086 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
13087 echo "$as_me: creating $CONFIG_STATUS" >&6;}
13088 cat >$CONFIG_STATUS <<_ACEOF
13089 #! $SHELL
13090 # Generated by $as_me.
13091 # Run this file to recreate the current configuration.
13092 # Compiler output produced by configure, useful for debugging
13093 # configure, is in config.log if it exists.
13095 debug=false
13096 ac_cs_recheck=false
13097 ac_cs_silent=false
13098 SHELL=\${CONFIG_SHELL-$SHELL}
13099 _ACEOF
13101 cat >>$CONFIG_STATUS <<\_ACEOF
13102 ## --------------------- ##
13103 ## M4sh Initialization. ##
13104 ## --------------------- ##
13106 # Be more Bourne compatible
13107 DUALCASE=1; export DUALCASE # for MKS sh
13108 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
13109 emulate sh
13110 NULLCMD=:
13111 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
13112 # is contrary to our usage. Disable this feature.
13113 alias -g '${1+"$@"}'='"$@"'
13114 setopt NO_GLOB_SUBST
13115 else
13116 case `(set -o) 2>/dev/null` in
13117 *posix*) set -o posix ;;
13118 esac
13125 # PATH needs CR
13126 # Avoid depending upon Character Ranges.
13127 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
13128 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13129 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
13130 as_cr_digits='0123456789'
13131 as_cr_alnum=$as_cr_Letters$as_cr_digits
13133 # The user is always right.
13134 if test "${PATH_SEPARATOR+set}" != set; then
13135 echo "#! /bin/sh" >conf$$.sh
13136 echo "exit 0" >>conf$$.sh
13137 chmod +x conf$$.sh
13138 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
13139 PATH_SEPARATOR=';'
13140 else
13141 PATH_SEPARATOR=:
13143 rm -f conf$$.sh
13146 # Support unset when possible.
13147 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
13148 as_unset=unset
13149 else
13150 as_unset=false
13154 # IFS
13155 # We need space, tab and new line, in precisely that order. Quoting is
13156 # there to prevent editors from complaining about space-tab.
13157 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
13158 # splitting by setting IFS to empty value.)
13159 as_nl='
13161 IFS=" "" $as_nl"
13163 # Find who we are. Look in the path if we contain no directory separator.
13164 case $0 in
13165 *[\\/]* ) as_myself=$0 ;;
13166 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13167 for as_dir in $PATH
13169 IFS=$as_save_IFS
13170 test -z "$as_dir" && as_dir=.
13171 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13172 done
13173 IFS=$as_save_IFS
13176 esac
13177 # We did not find ourselves, most probably we were run as `sh COMMAND'
13178 # in which case we are not to be found in the path.
13179 if test "x$as_myself" = x; then
13180 as_myself=$0
13182 if test ! -f "$as_myself"; then
13183 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13184 { (exit 1); exit 1; }
13187 # Work around bugs in pre-3.0 UWIN ksh.
13188 for as_var in ENV MAIL MAILPATH
13189 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
13190 done
13191 PS1='$ '
13192 PS2='> '
13193 PS4='+ '
13195 # NLS nuisances.
13196 for as_var in \
13197 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
13198 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
13199 LC_TELEPHONE LC_TIME
13201 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
13202 eval $as_var=C; export $as_var
13203 else
13204 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
13206 done
13208 # Required to use basename.
13209 if expr a : '\(a\)' >/dev/null 2>&1 &&
13210 test "X`expr 00001 : '.*\(...\)'`" = X001; then
13211 as_expr=expr
13212 else
13213 as_expr=false
13216 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
13217 as_basename=basename
13218 else
13219 as_basename=false
13223 # Name of the executable.
13224 as_me=`$as_basename -- "$0" ||
13225 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13226 X"$0" : 'X\(//\)$' \| \
13227 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13228 echo X/"$0" |
13229 sed '/^.*\/\([^/][^/]*\)\/*$/{
13230 s//\1/
13233 /^X\/\(\/\/\)$/{
13234 s//\1/
13237 /^X\/\(\/\).*/{
13238 s//\1/
13241 s/.*/./; q'`
13243 # CDPATH.
13244 $as_unset CDPATH
13248 as_lineno_1=$LINENO
13249 as_lineno_2=$LINENO
13250 test "x$as_lineno_1" != "x$as_lineno_2" &&
13251 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
13253 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
13254 # uniformly replaced by the line number. The first 'sed' inserts a
13255 # line-number line after each line using $LINENO; the second 'sed'
13256 # does the real work. The second script uses 'N' to pair each
13257 # line-number line with the line containing $LINENO, and appends
13258 # trailing '-' during substitution so that $LINENO is not a special
13259 # case at line end.
13260 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
13261 # scripts with optimization help from Paolo Bonzini. Blame Lee
13262 # E. McMahon (1931-1989) for sed's syntax. :-)
13263 sed -n '
13265 /[$]LINENO/=
13266 ' <$as_myself |
13267 sed '
13268 s/[$]LINENO.*/&-/
13269 t lineno
13271 :lineno
13273 :loop
13274 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
13275 t loop
13276 s/-\n.*//
13277 ' >$as_me.lineno &&
13278 chmod +x "$as_me.lineno" ||
13279 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
13280 { (exit 1); exit 1; }; }
13282 # Don't try to exec as it changes $[0], causing all sort of problems
13283 # (the dirname of $[0] is not the place where we might find the
13284 # original and so on. Autoconf is especially sensitive to this).
13285 . "./$as_me.lineno"
13286 # Exit status is that of the last command.
13287 exit
13291 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
13292 as_dirname=dirname
13293 else
13294 as_dirname=false
13297 ECHO_C= ECHO_N= ECHO_T=
13298 case `echo -n x` in
13299 -n*)
13300 case `echo 'x\c'` in
13301 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
13302 *) ECHO_C='\c';;
13303 esac;;
13305 ECHO_N='-n';;
13306 esac
13308 if expr a : '\(a\)' >/dev/null 2>&1 &&
13309 test "X`expr 00001 : '.*\(...\)'`" = X001; then
13310 as_expr=expr
13311 else
13312 as_expr=false
13315 rm -f conf$$ conf$$.exe conf$$.file
13316 if test -d conf$$.dir; then
13317 rm -f conf$$.dir/conf$$.file
13318 else
13319 rm -f conf$$.dir
13320 mkdir conf$$.dir
13322 echo >conf$$.file
13323 if ln -s conf$$.file conf$$ 2>/dev/null; then
13324 as_ln_s='ln -s'
13325 # ... but there are two gotchas:
13326 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13327 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13328 # In both cases, we have to default to `cp -p'.
13329 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
13330 as_ln_s='cp -p'
13331 elif ln conf$$.file conf$$ 2>/dev/null; then
13332 as_ln_s=ln
13333 else
13334 as_ln_s='cp -p'
13336 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
13337 rmdir conf$$.dir 2>/dev/null
13339 if mkdir -p . 2>/dev/null; then
13340 as_mkdir_p=:
13341 else
13342 test -d ./-p && rmdir ./-p
13343 as_mkdir_p=false
13346 if test -x / >/dev/null 2>&1; then
13347 as_test_x='test -x'
13348 else
13349 if ls -dL / >/dev/null 2>&1; then
13350 as_ls_L_option=L
13351 else
13352 as_ls_L_option=
13354 as_test_x='
13355 eval sh -c '\''
13356 if test -d "$1"; then
13357 test -d "$1/.";
13358 else
13359 case $1 in
13360 -*)set "./$1";;
13361 esac;
13362 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
13363 ???[sx]*):;;*)false;;esac;fi
13364 '\'' sh
13367 as_executable_p=$as_test_x
13369 # Sed expression to map a string onto a valid CPP name.
13370 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13372 # Sed expression to map a string onto a valid variable name.
13373 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13376 exec 6>&1
13378 # Save the log message, to keep $[0] and so on meaningful, and to
13379 # report actual input values of CONFIG_FILES etc. instead of their
13380 # values after options handling.
13381 ac_log="
13382 This file was extended by $as_me, which was
13383 generated by GNU Autoconf 2.61. Invocation command line was
13385 CONFIG_FILES = $CONFIG_FILES
13386 CONFIG_HEADERS = $CONFIG_HEADERS
13387 CONFIG_LINKS = $CONFIG_LINKS
13388 CONFIG_COMMANDS = $CONFIG_COMMANDS
13389 $ $0 $@
13391 on `(hostname || uname -n) 2>/dev/null | sed 1q`
13394 _ACEOF
13396 cat >>$CONFIG_STATUS <<_ACEOF
13397 # Files that config.status was made for.
13398 config_files="$ac_config_files"
13399 config_headers="$ac_config_headers"
13401 _ACEOF
13403 cat >>$CONFIG_STATUS <<\_ACEOF
13404 ac_cs_usage="\
13405 \`$as_me' instantiates files from templates according to the
13406 current configuration.
13408 Usage: $0 [OPTIONS] [FILE]...
13410 -h, --help print this help, then exit
13411 -V, --version print version number and configuration settings, then exit
13412 -q, --quiet do not print progress messages
13413 -d, --debug don't remove temporary files
13414 --recheck update $as_me by reconfiguring in the same conditions
13415 --file=FILE[:TEMPLATE]
13416 instantiate the configuration file FILE
13417 --header=FILE[:TEMPLATE]
13418 instantiate the configuration header FILE
13420 Configuration files:
13421 $config_files
13423 Configuration headers:
13424 $config_headers
13426 Report bugs to <bug-autoconf@gnu.org>."
13428 _ACEOF
13429 cat >>$CONFIG_STATUS <<_ACEOF
13430 ac_cs_version="\\
13431 config.status
13432 configured by $0, generated by GNU Autoconf 2.61,
13433 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
13435 Copyright (C) 2006 Free Software Foundation, Inc.
13436 This config.status script is free software; the Free Software Foundation
13437 gives unlimited permission to copy, distribute and modify it."
13439 ac_pwd='$ac_pwd'
13440 srcdir='$srcdir'
13441 _ACEOF
13443 cat >>$CONFIG_STATUS <<\_ACEOF
13444 # If no file are specified by the user, then we need to provide default
13445 # value. By we need to know if files were specified by the user.
13446 ac_need_defaults=:
13447 while test $# != 0
13449 case $1 in
13450 --*=*)
13451 ac_option=`expr "X$1" : 'X\([^=]*\)='`
13452 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
13453 ac_shift=:
13456 ac_option=$1
13457 ac_optarg=$2
13458 ac_shift=shift
13460 esac
13462 case $ac_option in
13463 # Handling of the options.
13464 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
13465 ac_cs_recheck=: ;;
13466 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
13467 echo "$ac_cs_version"; exit ;;
13468 --debug | --debu | --deb | --de | --d | -d )
13469 debug=: ;;
13470 --file | --fil | --fi | --f )
13471 $ac_shift
13472 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
13473 ac_need_defaults=false;;
13474 --header | --heade | --head | --hea )
13475 $ac_shift
13476 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
13477 ac_need_defaults=false;;
13478 --he | --h)
13479 # Conflict between --help and --header
13480 { echo "$as_me: error: ambiguous option: $1
13481 Try \`$0 --help' for more information." >&2
13482 { (exit 1); exit 1; }; };;
13483 --help | --hel | -h )
13484 echo "$ac_cs_usage"; exit ;;
13485 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
13486 | -silent | --silent | --silen | --sile | --sil | --si | --s)
13487 ac_cs_silent=: ;;
13489 # This is an error.
13490 -*) { echo "$as_me: error: unrecognized option: $1
13491 Try \`$0 --help' for more information." >&2
13492 { (exit 1); exit 1; }; } ;;
13494 *) ac_config_targets="$ac_config_targets $1"
13495 ac_need_defaults=false ;;
13497 esac
13498 shift
13499 done
13501 ac_configure_extra_args=
13503 if $ac_cs_silent; then
13504 exec 6>/dev/null
13505 ac_configure_extra_args="$ac_configure_extra_args --silent"
13508 _ACEOF
13509 cat >>$CONFIG_STATUS <<_ACEOF
13510 if \$ac_cs_recheck; then
13511 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
13512 CONFIG_SHELL=$SHELL
13513 export CONFIG_SHELL
13514 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13517 _ACEOF
13518 cat >>$CONFIG_STATUS <<\_ACEOF
13519 exec 5>>config.log
13521 echo
13522 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13523 ## Running $as_me. ##
13524 _ASBOX
13525 echo "$ac_log"
13526 } >&5
13528 _ACEOF
13529 cat >>$CONFIG_STATUS <<_ACEOF
13530 _ACEOF
13532 cat >>$CONFIG_STATUS <<\_ACEOF
13534 # Handling of arguments.
13535 for ac_config_target in $ac_config_targets
13537 case $ac_config_target in
13538 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
13539 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
13541 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
13542 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
13543 { (exit 1); exit 1; }; };;
13544 esac
13545 done
13548 # If the user did not use the arguments to specify the items to instantiate,
13549 # then the envvar interface is used. Set only those that are not.
13550 # We use the long form for the default assignment because of an extremely
13551 # bizarre bug on SunOS 4.1.3.
13552 if $ac_need_defaults; then
13553 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
13554 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
13557 # Have a temporary directory for convenience. Make it in the build tree
13558 # simply because there is no reason against having it here, and in addition,
13559 # creating and moving files from /tmp can sometimes cause problems.
13560 # Hook for its removal unless debugging.
13561 # Note that there is a small window in which the directory will not be cleaned:
13562 # after its creation but before its name has been assigned to `$tmp'.
13563 $debug ||
13565 tmp=
13566 trap 'exit_status=$?
13567 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
13569 trap '{ (exit 1); exit 1; }' 1 2 13 15
13571 # Create a (secure) tmp directory for tmp files.
13574 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
13575 test -n "$tmp" && test -d "$tmp"
13576 } ||
13578 tmp=./conf$$-$RANDOM
13579 (umask 077 && mkdir "$tmp")
13580 } ||
13582 echo "$me: cannot create a temporary directory in ." >&2
13583 { (exit 1); exit 1; }
13587 # Set up the sed scripts for CONFIG_FILES section.
13590 # No need to generate the scripts if there are no CONFIG_FILES.
13591 # This happens for instance when ./config.status config.h
13592 if test -n "$CONFIG_FILES"; then
13594 _ACEOF
13598 ac_delim='%!_!# '
13599 for ac_last_try in false false false false false :; do
13600 cat >conf$$subs.sed <<_ACEOF
13601 SHELL!$SHELL$ac_delim
13602 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
13603 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
13604 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
13605 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
13606 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
13607 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
13608 exec_prefix!$exec_prefix$ac_delim
13609 prefix!$prefix$ac_delim
13610 program_transform_name!$program_transform_name$ac_delim
13611 bindir!$bindir$ac_delim
13612 sbindir!$sbindir$ac_delim
13613 libexecdir!$libexecdir$ac_delim
13614 datarootdir!$datarootdir$ac_delim
13615 datadir!$datadir$ac_delim
13616 sysconfdir!$sysconfdir$ac_delim
13617 sharedstatedir!$sharedstatedir$ac_delim
13618 localstatedir!$localstatedir$ac_delim
13619 includedir!$includedir$ac_delim
13620 oldincludedir!$oldincludedir$ac_delim
13621 docdir!$docdir$ac_delim
13622 infodir!$infodir$ac_delim
13623 htmldir!$htmldir$ac_delim
13624 dvidir!$dvidir$ac_delim
13625 pdfdir!$pdfdir$ac_delim
13626 psdir!$psdir$ac_delim
13627 libdir!$libdir$ac_delim
13628 localedir!$localedir$ac_delim
13629 mandir!$mandir$ac_delim
13630 DEFS!$DEFS$ac_delim
13631 ECHO_C!$ECHO_C$ac_delim
13632 ECHO_N!$ECHO_N$ac_delim
13633 ECHO_T!$ECHO_T$ac_delim
13634 LIBS!$LIBS$ac_delim
13635 build_alias!$build_alias$ac_delim
13636 host_alias!$host_alias$ac_delim
13637 target_alias!$target_alias$ac_delim
13638 CC!$CC$ac_delim
13639 CFLAGS!$CFLAGS$ac_delim
13640 LDFLAGS!$LDFLAGS$ac_delim
13641 CPPFLAGS!$CPPFLAGS$ac_delim
13642 ac_ct_CC!$ac_ct_CC$ac_delim
13643 EXEEXT!$EXEEXT$ac_delim
13644 OBJEXT!$OBJEXT$ac_delim
13645 SET_MAKE!$SET_MAKE$ac_delim
13646 LD!$LD$ac_delim
13647 build!$build$ac_delim
13648 build_cpu!$build_cpu$ac_delim
13649 build_vendor!$build_vendor$ac_delim
13650 build_os!$build_os$ac_delim
13651 host!$host$ac_delim
13652 host_cpu!$host_cpu$ac_delim
13653 host_vendor!$host_vendor$ac_delim
13654 host_os!$host_os$ac_delim
13655 AR!$AR$ac_delim
13656 RANLIB!$RANLIB$ac_delim
13657 STRIP!$STRIP$ac_delim
13658 INSTALL!$INSTALL$ac_delim
13659 CPP!$CPP$ac_delim
13660 GREP!$GREP$ac_delim
13661 EGREP!$EGREP$ac_delim
13662 CRYPTLIB!$CRYPTLIB$ac_delim
13663 BUNDLED_LIBTOM!$BUNDLED_LIBTOM$ac_delim
13664 LIBOBJS!$LIBOBJS$ac_delim
13665 LTLIBOBJS!$LTLIBOBJS$ac_delim
13666 _ACEOF
13668 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 65; then
13669 break
13670 elif $ac_last_try; then
13671 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
13672 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
13673 { (exit 1); exit 1; }; }
13674 else
13675 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
13677 done
13679 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
13680 if test -n "$ac_eof"; then
13681 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
13682 ac_eof=`expr $ac_eof + 1`
13685 cat >>$CONFIG_STATUS <<_ACEOF
13686 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
13687 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
13688 _ACEOF
13689 sed '
13690 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
13691 s/^/s,@/; s/!/@,|#_!!_#|/
13694 s/'"$ac_delim"'$/,g/; t
13695 s/$/\\/; p
13696 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
13697 ' >>$CONFIG_STATUS <conf$$subs.sed
13698 rm -f conf$$subs.sed
13699 cat >>$CONFIG_STATUS <<_ACEOF
13700 :end
13701 s/|#_!!_#|//g
13702 CEOF$ac_eof
13703 _ACEOF
13706 # VPATH may cause trouble with some makes, so we remove $(srcdir),
13707 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
13708 # trailing colons and then remove the whole line if VPATH becomes empty
13709 # (actually we leave an empty line to preserve line numbers).
13710 if test "x$srcdir" = x.; then
13711 ac_vpsub='/^[ ]*VPATH[ ]*=/{
13712 s/:*\$(srcdir):*/:/
13713 s/:*\${srcdir}:*/:/
13714 s/:*@srcdir@:*/:/
13715 s/^\([^=]*=[ ]*\):*/\1/
13716 s/:*$//
13717 s/^[^=]*=[ ]*$//
13721 cat >>$CONFIG_STATUS <<\_ACEOF
13722 fi # test -n "$CONFIG_FILES"
13725 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS
13727 case $ac_tag in
13728 :[FHLC]) ac_mode=$ac_tag; continue;;
13729 esac
13730 case $ac_mode$ac_tag in
13731 :[FHL]*:*);;
13732 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
13733 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
13734 { (exit 1); exit 1; }; };;
13735 :[FH]-) ac_tag=-:-;;
13736 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
13737 esac
13738 ac_save_IFS=$IFS
13739 IFS=:
13740 set x $ac_tag
13741 IFS=$ac_save_IFS
13742 shift
13743 ac_file=$1
13744 shift
13746 case $ac_mode in
13747 :L) ac_source=$1;;
13748 :[FH])
13749 ac_file_inputs=
13750 for ac_f
13752 case $ac_f in
13753 -) ac_f="$tmp/stdin";;
13754 *) # Look for the file first in the build tree, then in the source tree
13755 # (if the path is not absolute). The absolute path cannot be DOS-style,
13756 # because $ac_f cannot contain `:'.
13757 test -f "$ac_f" ||
13758 case $ac_f in
13759 [\\/$]*) false;;
13760 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
13761 esac ||
13762 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
13763 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
13764 { (exit 1); exit 1; }; };;
13765 esac
13766 ac_file_inputs="$ac_file_inputs $ac_f"
13767 done
13769 # Let's still pretend it is `configure' which instantiates (i.e., don't
13770 # use $as_me), people would be surprised to read:
13771 # /* config.h. Generated by config.status. */
13772 configure_input="Generated from "`IFS=:
13773 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
13774 if test x"$ac_file" != x-; then
13775 configure_input="$ac_file. $configure_input"
13776 { echo "$as_me:$LINENO: creating $ac_file" >&5
13777 echo "$as_me: creating $ac_file" >&6;}
13780 case $ac_tag in
13781 *:-:* | *:-) cat >"$tmp/stdin";;
13782 esac
13784 esac
13786 ac_dir=`$as_dirname -- "$ac_file" ||
13787 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13788 X"$ac_file" : 'X\(//\)[^/]' \| \
13789 X"$ac_file" : 'X\(//\)$' \| \
13790 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
13791 echo X"$ac_file" |
13792 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13793 s//\1/
13796 /^X\(\/\/\)[^/].*/{
13797 s//\1/
13800 /^X\(\/\/\)$/{
13801 s//\1/
13804 /^X\(\/\).*/{
13805 s//\1/
13808 s/.*/./; q'`
13809 { as_dir="$ac_dir"
13810 case $as_dir in #(
13811 -*) as_dir=./$as_dir;;
13812 esac
13813 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
13814 as_dirs=
13815 while :; do
13816 case $as_dir in #(
13817 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
13818 *) as_qdir=$as_dir;;
13819 esac
13820 as_dirs="'$as_qdir' $as_dirs"
13821 as_dir=`$as_dirname -- "$as_dir" ||
13822 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13823 X"$as_dir" : 'X\(//\)[^/]' \| \
13824 X"$as_dir" : 'X\(//\)$' \| \
13825 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13826 echo X"$as_dir" |
13827 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13828 s//\1/
13831 /^X\(\/\/\)[^/].*/{
13832 s//\1/
13835 /^X\(\/\/\)$/{
13836 s//\1/
13839 /^X\(\/\).*/{
13840 s//\1/
13843 s/.*/./; q'`
13844 test -d "$as_dir" && break
13845 done
13846 test -z "$as_dirs" || eval "mkdir $as_dirs"
13847 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
13848 echo "$as_me: error: cannot create directory $as_dir" >&2;}
13849 { (exit 1); exit 1; }; }; }
13850 ac_builddir=.
13852 case "$ac_dir" in
13853 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
13855 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
13856 # A ".." for each directory in $ac_dir_suffix.
13857 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
13858 case $ac_top_builddir_sub in
13859 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
13860 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
13861 esac ;;
13862 esac
13863 ac_abs_top_builddir=$ac_pwd
13864 ac_abs_builddir=$ac_pwd$ac_dir_suffix
13865 # for backward compatibility:
13866 ac_top_builddir=$ac_top_build_prefix
13868 case $srcdir in
13869 .) # We are building in place.
13870 ac_srcdir=.
13871 ac_top_srcdir=$ac_top_builddir_sub
13872 ac_abs_top_srcdir=$ac_pwd ;;
13873 [\\/]* | ?:[\\/]* ) # Absolute name.
13874 ac_srcdir=$srcdir$ac_dir_suffix;
13875 ac_top_srcdir=$srcdir
13876 ac_abs_top_srcdir=$srcdir ;;
13877 *) # Relative name.
13878 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
13879 ac_top_srcdir=$ac_top_build_prefix$srcdir
13880 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
13881 esac
13882 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
13885 case $ac_mode in
13888 # CONFIG_FILE
13891 _ACEOF
13893 cat >>$CONFIG_STATUS <<\_ACEOF
13894 # If the template does not know about datarootdir, expand it.
13895 # FIXME: This hack should be removed a few years after 2.60.
13896 ac_datarootdir_hack=; ac_datarootdir_seen=
13898 case `sed -n '/datarootdir/ {
13902 /@datadir@/p
13903 /@docdir@/p
13904 /@infodir@/p
13905 /@localedir@/p
13906 /@mandir@/p
13907 ' $ac_file_inputs` in
13908 *datarootdir*) ac_datarootdir_seen=yes;;
13909 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
13910 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
13911 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
13912 _ACEOF
13913 cat >>$CONFIG_STATUS <<_ACEOF
13914 ac_datarootdir_hack='
13915 s&@datadir@&$datadir&g
13916 s&@docdir@&$docdir&g
13917 s&@infodir@&$infodir&g
13918 s&@localedir@&$localedir&g
13919 s&@mandir@&$mandir&g
13920 s&\\\${datarootdir}&$datarootdir&g' ;;
13921 esac
13922 _ACEOF
13924 # Neutralize VPATH when `$srcdir' = `.'.
13925 # Shell code in configure.ac might set extrasub.
13926 # FIXME: do we really want to maintain this feature?
13927 cat >>$CONFIG_STATUS <<_ACEOF
13928 sed "$ac_vpsub
13929 $extrasub
13930 _ACEOF
13931 cat >>$CONFIG_STATUS <<\_ACEOF
13933 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
13934 s&@configure_input@&$configure_input&;t t
13935 s&@top_builddir@&$ac_top_builddir_sub&;t t
13936 s&@srcdir@&$ac_srcdir&;t t
13937 s&@abs_srcdir@&$ac_abs_srcdir&;t t
13938 s&@top_srcdir@&$ac_top_srcdir&;t t
13939 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
13940 s&@builddir@&$ac_builddir&;t t
13941 s&@abs_builddir@&$ac_abs_builddir&;t t
13942 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
13943 $ac_datarootdir_hack
13944 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
13946 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
13947 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
13948 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
13949 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
13950 which seems to be undefined. Please make sure it is defined." >&5
13951 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
13952 which seems to be undefined. Please make sure it is defined." >&2;}
13954 rm -f "$tmp/stdin"
13955 case $ac_file in
13956 -) cat "$tmp/out"; rm -f "$tmp/out";;
13957 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
13958 esac
13962 # CONFIG_HEADER
13964 _ACEOF
13966 # Transform confdefs.h into a sed script `conftest.defines', that
13967 # substitutes the proper values into config.h.in to produce config.h.
13968 rm -f conftest.defines conftest.tail
13969 # First, append a space to every undef/define line, to ease matching.
13970 echo 's/$/ /' >conftest.defines
13971 # Then, protect against being on the right side of a sed subst, or in
13972 # an unquoted here document, in config.status. If some macros were
13973 # called several times there might be several #defines for the same
13974 # symbol, which is useless. But do not sort them, since the last
13975 # AC_DEFINE must be honored.
13976 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
13977 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
13978 # NAME is the cpp macro being defined, VALUE is the value it is being given.
13979 # PARAMS is the parameter list in the macro definition--in most cases, it's
13980 # just an empty string.
13981 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
13982 ac_dB='\\)[ (].*,\\1define\\2'
13983 ac_dC=' '
13984 ac_dD=' ,'
13986 uniq confdefs.h |
13987 sed -n '
13988 t rset
13989 :rset
13990 s/^[ ]*#[ ]*define[ ][ ]*//
13991 t ok
13994 s/[\\&,]/\\&/g
13995 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
13996 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
13997 ' >>conftest.defines
13999 # Remove the space that was appended to ease matching.
14000 # Then replace #undef with comments. This is necessary, for
14001 # example, in the case of _POSIX_SOURCE, which is predefined and required
14002 # on some systems where configure will not decide to define it.
14003 # (The regexp can be short, since the line contains either #define or #undef.)
14004 echo 's/ $//
14005 s,^[ #]*u.*,/* & */,' >>conftest.defines
14007 # Break up conftest.defines:
14008 ac_max_sed_lines=50
14010 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
14011 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
14012 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
14013 # et cetera.
14014 ac_in='$ac_file_inputs'
14015 ac_out='"$tmp/out1"'
14016 ac_nxt='"$tmp/out2"'
14018 while :
14020 # Write a here document:
14021 cat >>$CONFIG_STATUS <<_ACEOF
14022 # First, check the format of the line:
14023 cat >"\$tmp/defines.sed" <<\\CEOF
14024 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
14025 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
14027 :def
14028 _ACEOF
14029 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
14030 echo 'CEOF
14031 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
14032 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
14033 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
14034 grep . conftest.tail >/dev/null || break
14035 rm -f conftest.defines
14036 mv conftest.tail conftest.defines
14037 done
14038 rm -f conftest.defines conftest.tail
14040 echo "ac_result=$ac_in" >>$CONFIG_STATUS
14041 cat >>$CONFIG_STATUS <<\_ACEOF
14042 if test x"$ac_file" != x-; then
14043 echo "/* $configure_input */" >"$tmp/config.h"
14044 cat "$ac_result" >>"$tmp/config.h"
14045 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
14046 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
14047 echo "$as_me: $ac_file is unchanged" >&6;}
14048 else
14049 rm -f $ac_file
14050 mv "$tmp/config.h" $ac_file
14052 else
14053 echo "/* $configure_input */"
14054 cat "$ac_result"
14056 rm -f "$tmp/out12"
14060 esac
14062 done # for ac_tag
14065 { (exit 0); exit 0; }
14066 _ACEOF
14067 chmod +x $CONFIG_STATUS
14068 ac_clean_files=$ac_clean_files_save
14071 # configure is writing to config.log, and then calls config.status.
14072 # config.status does its own redirection, appending to config.log.
14073 # Unfortunately, on DOS this fails, as config.log is still kept open
14074 # by configure, so config.status won't be able to write to it; its
14075 # output is simply discarded. So we exec the FD to /dev/null,
14076 # effectively closing config.log, so it can be properly (re)opened and
14077 # appended to by config.status. When coming back to configure, we
14078 # need to make the FD available again.
14079 if test "$no_create" != yes; then
14080 ac_cs_success=:
14081 ac_config_status_args=
14082 test "$silent" = yes &&
14083 ac_config_status_args="$ac_config_status_args --quiet"
14084 exec 5>/dev/null
14085 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
14086 exec 5>>config.log
14087 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
14088 # would make configure fail if this is the last instruction.
14089 $ac_cs_success || { (exit 1); exit 1; }
14092 ac_config_files="$ac_config_files libtomcrypt/Makefile"
14094 cat >confcache <<\_ACEOF
14095 # This file is a shell script that caches the results of configure
14096 # tests run on this system so they can be shared between configure
14097 # scripts and configure runs, see configure's option --config-cache.
14098 # It is not useful on other systems. If it contains results you don't
14099 # want to keep, you may remove or edit it.
14101 # config.status only pays attention to the cache file if you give it
14102 # the --recheck option to rerun configure.
14104 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14105 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14106 # following values.
14108 _ACEOF
14110 # The following way of writing the cache mishandles newlines in values,
14111 # but we know of no workaround that is simple, portable, and efficient.
14112 # So, we kill variables containing newlines.
14113 # Ultrix sh set writes to stderr and can't be redirected directly,
14114 # and sets the high bit in the cache file unless we assign to the vars.
14116 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14117 eval ac_val=\$$ac_var
14118 case $ac_val in #(
14119 *${as_nl}*)
14120 case $ac_var in #(
14121 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
14122 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
14123 esac
14124 case $ac_var in #(
14125 _ | IFS | as_nl) ;; #(
14126 *) $as_unset $ac_var ;;
14127 esac ;;
14128 esac
14129 done
14131 (set) 2>&1 |
14132 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14133 *${as_nl}ac_space=\ *)
14134 # `set' does not quote correctly, so add quotes (double-quote
14135 # substitution turns \\\\ into \\, and sed turns \\ into \).
14136 sed -n \
14137 "s/'/'\\\\''/g;
14138 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14139 ;; #(
14141 # `set' quotes correctly as required by POSIX, so do not add quotes.
14142 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14144 esac |
14145 sort
14147 sed '
14148 /^ac_cv_env_/b end
14149 t clear
14150 :clear
14151 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14152 t end
14153 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14154 :end' >>confcache
14155 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14156 if test -w "$cache_file"; then
14157 test "x$cache_file" != "x/dev/null" &&
14158 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
14159 echo "$as_me: updating cache $cache_file" >&6;}
14160 cat confcache >$cache_file
14161 else
14162 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
14163 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14166 rm -f confcache
14168 test "x$prefix" = xNONE && prefix=$ac_default_prefix
14169 # Let make expand exec_prefix.
14170 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
14172 DEFS=-DHAVE_CONFIG_H
14174 ac_libobjs=
14175 ac_ltlibobjs=
14176 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
14177 # 1. Remove the extension, and $U if already installed.
14178 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
14179 ac_i=`echo "$ac_i" | sed "$ac_script"`
14180 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
14181 # will be set to the directory where LIBOBJS objects are built.
14182 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14183 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
14184 done
14185 LIBOBJS=$ac_libobjs
14187 LTLIBOBJS=$ac_ltlibobjs
14191 : ${CONFIG_STATUS=./config.status}
14192 ac_clean_files_save=$ac_clean_files
14193 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
14194 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
14195 echo "$as_me: creating $CONFIG_STATUS" >&6;}
14196 cat >$CONFIG_STATUS <<_ACEOF
14197 #! $SHELL
14198 # Generated by $as_me.
14199 # Run this file to recreate the current configuration.
14200 # Compiler output produced by configure, useful for debugging
14201 # configure, is in config.log if it exists.
14203 debug=false
14204 ac_cs_recheck=false
14205 ac_cs_silent=false
14206 SHELL=\${CONFIG_SHELL-$SHELL}
14207 _ACEOF
14209 cat >>$CONFIG_STATUS <<\_ACEOF
14210 ## --------------------- ##
14211 ## M4sh Initialization. ##
14212 ## --------------------- ##
14214 # Be more Bourne compatible
14215 DUALCASE=1; export DUALCASE # for MKS sh
14216 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
14217 emulate sh
14218 NULLCMD=:
14219 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
14220 # is contrary to our usage. Disable this feature.
14221 alias -g '${1+"$@"}'='"$@"'
14222 setopt NO_GLOB_SUBST
14223 else
14224 case `(set -o) 2>/dev/null` in
14225 *posix*) set -o posix ;;
14226 esac
14233 # PATH needs CR
14234 # Avoid depending upon Character Ranges.
14235 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
14236 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14237 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
14238 as_cr_digits='0123456789'
14239 as_cr_alnum=$as_cr_Letters$as_cr_digits
14241 # The user is always right.
14242 if test "${PATH_SEPARATOR+set}" != set; then
14243 echo "#! /bin/sh" >conf$$.sh
14244 echo "exit 0" >>conf$$.sh
14245 chmod +x conf$$.sh
14246 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
14247 PATH_SEPARATOR=';'
14248 else
14249 PATH_SEPARATOR=:
14251 rm -f conf$$.sh
14254 # Support unset when possible.
14255 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
14256 as_unset=unset
14257 else
14258 as_unset=false
14262 # IFS
14263 # We need space, tab and new line, in precisely that order. Quoting is
14264 # there to prevent editors from complaining about space-tab.
14265 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14266 # splitting by setting IFS to empty value.)
14267 as_nl='
14269 IFS=" "" $as_nl"
14271 # Find who we are. Look in the path if we contain no directory separator.
14272 case $0 in
14273 *[\\/]* ) as_myself=$0 ;;
14274 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14275 for as_dir in $PATH
14277 IFS=$as_save_IFS
14278 test -z "$as_dir" && as_dir=.
14279 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14280 done
14281 IFS=$as_save_IFS
14284 esac
14285 # We did not find ourselves, most probably we were run as `sh COMMAND'
14286 # in which case we are not to be found in the path.
14287 if test "x$as_myself" = x; then
14288 as_myself=$0
14290 if test ! -f "$as_myself"; then
14291 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14292 { (exit 1); exit 1; }
14295 # Work around bugs in pre-3.0 UWIN ksh.
14296 for as_var in ENV MAIL MAILPATH
14297 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
14298 done
14299 PS1='$ '
14300 PS2='> '
14301 PS4='+ '
14303 # NLS nuisances.
14304 for as_var in \
14305 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
14306 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
14307 LC_TELEPHONE LC_TIME
14309 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
14310 eval $as_var=C; export $as_var
14311 else
14312 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
14314 done
14316 # Required to use basename.
14317 if expr a : '\(a\)' >/dev/null 2>&1 &&
14318 test "X`expr 00001 : '.*\(...\)'`" = X001; then
14319 as_expr=expr
14320 else
14321 as_expr=false
14324 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
14325 as_basename=basename
14326 else
14327 as_basename=false
14331 # Name of the executable.
14332 as_me=`$as_basename -- "$0" ||
14333 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14334 X"$0" : 'X\(//\)$' \| \
14335 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14336 echo X/"$0" |
14337 sed '/^.*\/\([^/][^/]*\)\/*$/{
14338 s//\1/
14341 /^X\/\(\/\/\)$/{
14342 s//\1/
14345 /^X\/\(\/\).*/{
14346 s//\1/
14349 s/.*/./; q'`
14351 # CDPATH.
14352 $as_unset CDPATH
14356 as_lineno_1=$LINENO
14357 as_lineno_2=$LINENO
14358 test "x$as_lineno_1" != "x$as_lineno_2" &&
14359 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
14361 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
14362 # uniformly replaced by the line number. The first 'sed' inserts a
14363 # line-number line after each line using $LINENO; the second 'sed'
14364 # does the real work. The second script uses 'N' to pair each
14365 # line-number line with the line containing $LINENO, and appends
14366 # trailing '-' during substitution so that $LINENO is not a special
14367 # case at line end.
14368 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
14369 # scripts with optimization help from Paolo Bonzini. Blame Lee
14370 # E. McMahon (1931-1989) for sed's syntax. :-)
14371 sed -n '
14373 /[$]LINENO/=
14374 ' <$as_myself |
14375 sed '
14376 s/[$]LINENO.*/&-/
14377 t lineno
14379 :lineno
14381 :loop
14382 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
14383 t loop
14384 s/-\n.*//
14385 ' >$as_me.lineno &&
14386 chmod +x "$as_me.lineno" ||
14387 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
14388 { (exit 1); exit 1; }; }
14390 # Don't try to exec as it changes $[0], causing all sort of problems
14391 # (the dirname of $[0] is not the place where we might find the
14392 # original and so on. Autoconf is especially sensitive to this).
14393 . "./$as_me.lineno"
14394 # Exit status is that of the last command.
14395 exit
14399 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
14400 as_dirname=dirname
14401 else
14402 as_dirname=false
14405 ECHO_C= ECHO_N= ECHO_T=
14406 case `echo -n x` in
14407 -n*)
14408 case `echo 'x\c'` in
14409 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
14410 *) ECHO_C='\c';;
14411 esac;;
14413 ECHO_N='-n';;
14414 esac
14416 if expr a : '\(a\)' >/dev/null 2>&1 &&
14417 test "X`expr 00001 : '.*\(...\)'`" = X001; then
14418 as_expr=expr
14419 else
14420 as_expr=false
14423 rm -f conf$$ conf$$.exe conf$$.file
14424 if test -d conf$$.dir; then
14425 rm -f conf$$.dir/conf$$.file
14426 else
14427 rm -f conf$$.dir
14428 mkdir conf$$.dir
14430 echo >conf$$.file
14431 if ln -s conf$$.file conf$$ 2>/dev/null; then
14432 as_ln_s='ln -s'
14433 # ... but there are two gotchas:
14434 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14435 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14436 # In both cases, we have to default to `cp -p'.
14437 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
14438 as_ln_s='cp -p'
14439 elif ln conf$$.file conf$$ 2>/dev/null; then
14440 as_ln_s=ln
14441 else
14442 as_ln_s='cp -p'
14444 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
14445 rmdir conf$$.dir 2>/dev/null
14447 if mkdir -p . 2>/dev/null; then
14448 as_mkdir_p=:
14449 else
14450 test -d ./-p && rmdir ./-p
14451 as_mkdir_p=false
14454 if test -x / >/dev/null 2>&1; then
14455 as_test_x='test -x'
14456 else
14457 if ls -dL / >/dev/null 2>&1; then
14458 as_ls_L_option=L
14459 else
14460 as_ls_L_option=
14462 as_test_x='
14463 eval sh -c '\''
14464 if test -d "$1"; then
14465 test -d "$1/.";
14466 else
14467 case $1 in
14468 -*)set "./$1";;
14469 esac;
14470 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
14471 ???[sx]*):;;*)false;;esac;fi
14472 '\'' sh
14475 as_executable_p=$as_test_x
14477 # Sed expression to map a string onto a valid CPP name.
14478 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
14480 # Sed expression to map a string onto a valid variable name.
14481 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
14484 exec 6>&1
14486 # Save the log message, to keep $[0] and so on meaningful, and to
14487 # report actual input values of CONFIG_FILES etc. instead of their
14488 # values after options handling.
14489 ac_log="
14490 This file was extended by $as_me, which was
14491 generated by GNU Autoconf 2.61. Invocation command line was
14493 CONFIG_FILES = $CONFIG_FILES
14494 CONFIG_HEADERS = $CONFIG_HEADERS
14495 CONFIG_LINKS = $CONFIG_LINKS
14496 CONFIG_COMMANDS = $CONFIG_COMMANDS
14497 $ $0 $@
14499 on `(hostname || uname -n) 2>/dev/null | sed 1q`
14502 _ACEOF
14504 cat >>$CONFIG_STATUS <<_ACEOF
14505 # Files that config.status was made for.
14506 config_files="$ac_config_files"
14507 config_headers="$ac_config_headers"
14509 _ACEOF
14511 cat >>$CONFIG_STATUS <<\_ACEOF
14512 ac_cs_usage="\
14513 \`$as_me' instantiates files from templates according to the
14514 current configuration.
14516 Usage: $0 [OPTIONS] [FILE]...
14518 -h, --help print this help, then exit
14519 -V, --version print version number and configuration settings, then exit
14520 -q, --quiet do not print progress messages
14521 -d, --debug don't remove temporary files
14522 --recheck update $as_me by reconfiguring in the same conditions
14523 --file=FILE[:TEMPLATE]
14524 instantiate the configuration file FILE
14525 --header=FILE[:TEMPLATE]
14526 instantiate the configuration header FILE
14528 Configuration files:
14529 $config_files
14531 Configuration headers:
14532 $config_headers
14534 Report bugs to <bug-autoconf@gnu.org>."
14536 _ACEOF
14537 cat >>$CONFIG_STATUS <<_ACEOF
14538 ac_cs_version="\\
14539 config.status
14540 configured by $0, generated by GNU Autoconf 2.61,
14541 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
14543 Copyright (C) 2006 Free Software Foundation, Inc.
14544 This config.status script is free software; the Free Software Foundation
14545 gives unlimited permission to copy, distribute and modify it."
14547 ac_pwd='$ac_pwd'
14548 srcdir='$srcdir'
14549 _ACEOF
14551 cat >>$CONFIG_STATUS <<\_ACEOF
14552 # If no file are specified by the user, then we need to provide default
14553 # value. By we need to know if files were specified by the user.
14554 ac_need_defaults=:
14555 while test $# != 0
14557 case $1 in
14558 --*=*)
14559 ac_option=`expr "X$1" : 'X\([^=]*\)='`
14560 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
14561 ac_shift=:
14564 ac_option=$1
14565 ac_optarg=$2
14566 ac_shift=shift
14568 esac
14570 case $ac_option in
14571 # Handling of the options.
14572 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
14573 ac_cs_recheck=: ;;
14574 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
14575 echo "$ac_cs_version"; exit ;;
14576 --debug | --debu | --deb | --de | --d | -d )
14577 debug=: ;;
14578 --file | --fil | --fi | --f )
14579 $ac_shift
14580 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
14581 ac_need_defaults=false;;
14582 --header | --heade | --head | --hea )
14583 $ac_shift
14584 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
14585 ac_need_defaults=false;;
14586 --he | --h)
14587 # Conflict between --help and --header
14588 { echo "$as_me: error: ambiguous option: $1
14589 Try \`$0 --help' for more information." >&2
14590 { (exit 1); exit 1; }; };;
14591 --help | --hel | -h )
14592 echo "$ac_cs_usage"; exit ;;
14593 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
14594 | -silent | --silent | --silen | --sile | --sil | --si | --s)
14595 ac_cs_silent=: ;;
14597 # This is an error.
14598 -*) { echo "$as_me: error: unrecognized option: $1
14599 Try \`$0 --help' for more information." >&2
14600 { (exit 1); exit 1; }; } ;;
14602 *) ac_config_targets="$ac_config_targets $1"
14603 ac_need_defaults=false ;;
14605 esac
14606 shift
14607 done
14609 ac_configure_extra_args=
14611 if $ac_cs_silent; then
14612 exec 6>/dev/null
14613 ac_configure_extra_args="$ac_configure_extra_args --silent"
14616 _ACEOF
14617 cat >>$CONFIG_STATUS <<_ACEOF
14618 if \$ac_cs_recheck; then
14619 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
14620 CONFIG_SHELL=$SHELL
14621 export CONFIG_SHELL
14622 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
14625 _ACEOF
14626 cat >>$CONFIG_STATUS <<\_ACEOF
14627 exec 5>>config.log
14629 echo
14630 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
14631 ## Running $as_me. ##
14632 _ASBOX
14633 echo "$ac_log"
14634 } >&5
14636 _ACEOF
14637 cat >>$CONFIG_STATUS <<_ACEOF
14638 _ACEOF
14640 cat >>$CONFIG_STATUS <<\_ACEOF
14642 # Handling of arguments.
14643 for ac_config_target in $ac_config_targets
14645 case $ac_config_target in
14646 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
14647 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
14648 "libtomcrypt/Makefile") CONFIG_FILES="$CONFIG_FILES libtomcrypt/Makefile" ;;
14650 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
14651 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
14652 { (exit 1); exit 1; }; };;
14653 esac
14654 done
14657 # If the user did not use the arguments to specify the items to instantiate,
14658 # then the envvar interface is used. Set only those that are not.
14659 # We use the long form for the default assignment because of an extremely
14660 # bizarre bug on SunOS 4.1.3.
14661 if $ac_need_defaults; then
14662 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
14663 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
14666 # Have a temporary directory for convenience. Make it in the build tree
14667 # simply because there is no reason against having it here, and in addition,
14668 # creating and moving files from /tmp can sometimes cause problems.
14669 # Hook for its removal unless debugging.
14670 # Note that there is a small window in which the directory will not be cleaned:
14671 # after its creation but before its name has been assigned to `$tmp'.
14672 $debug ||
14674 tmp=
14675 trap 'exit_status=$?
14676 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
14678 trap '{ (exit 1); exit 1; }' 1 2 13 15
14680 # Create a (secure) tmp directory for tmp files.
14683 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
14684 test -n "$tmp" && test -d "$tmp"
14685 } ||
14687 tmp=./conf$$-$RANDOM
14688 (umask 077 && mkdir "$tmp")
14689 } ||
14691 echo "$me: cannot create a temporary directory in ." >&2
14692 { (exit 1); exit 1; }
14696 # Set up the sed scripts for CONFIG_FILES section.
14699 # No need to generate the scripts if there are no CONFIG_FILES.
14700 # This happens for instance when ./config.status config.h
14701 if test -n "$CONFIG_FILES"; then
14703 _ACEOF
14707 ac_delim='%!_!# '
14708 for ac_last_try in false false false false false :; do
14709 cat >conf$$subs.sed <<_ACEOF
14710 SHELL!$SHELL$ac_delim
14711 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
14712 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
14713 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
14714 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
14715 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
14716 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
14717 exec_prefix!$exec_prefix$ac_delim
14718 prefix!$prefix$ac_delim
14719 program_transform_name!$program_transform_name$ac_delim
14720 bindir!$bindir$ac_delim
14721 sbindir!$sbindir$ac_delim
14722 libexecdir!$libexecdir$ac_delim
14723 datarootdir!$datarootdir$ac_delim
14724 datadir!$datadir$ac_delim
14725 sysconfdir!$sysconfdir$ac_delim
14726 sharedstatedir!$sharedstatedir$ac_delim
14727 localstatedir!$localstatedir$ac_delim
14728 includedir!$includedir$ac_delim
14729 oldincludedir!$oldincludedir$ac_delim
14730 docdir!$docdir$ac_delim
14731 infodir!$infodir$ac_delim
14732 htmldir!$htmldir$ac_delim
14733 dvidir!$dvidir$ac_delim
14734 pdfdir!$pdfdir$ac_delim
14735 psdir!$psdir$ac_delim
14736 libdir!$libdir$ac_delim
14737 localedir!$localedir$ac_delim
14738 mandir!$mandir$ac_delim
14739 DEFS!$DEFS$ac_delim
14740 ECHO_C!$ECHO_C$ac_delim
14741 ECHO_N!$ECHO_N$ac_delim
14742 ECHO_T!$ECHO_T$ac_delim
14743 LIBS!$LIBS$ac_delim
14744 build_alias!$build_alias$ac_delim
14745 host_alias!$host_alias$ac_delim
14746 target_alias!$target_alias$ac_delim
14747 CC!$CC$ac_delim
14748 CFLAGS!$CFLAGS$ac_delim
14749 LDFLAGS!$LDFLAGS$ac_delim
14750 CPPFLAGS!$CPPFLAGS$ac_delim
14751 ac_ct_CC!$ac_ct_CC$ac_delim
14752 EXEEXT!$EXEEXT$ac_delim
14753 OBJEXT!$OBJEXT$ac_delim
14754 SET_MAKE!$SET_MAKE$ac_delim
14755 LD!$LD$ac_delim
14756 build!$build$ac_delim
14757 build_cpu!$build_cpu$ac_delim
14758 build_vendor!$build_vendor$ac_delim
14759 build_os!$build_os$ac_delim
14760 host!$host$ac_delim
14761 host_cpu!$host_cpu$ac_delim
14762 host_vendor!$host_vendor$ac_delim
14763 host_os!$host_os$ac_delim
14764 AR!$AR$ac_delim
14765 RANLIB!$RANLIB$ac_delim
14766 STRIP!$STRIP$ac_delim
14767 INSTALL!$INSTALL$ac_delim
14768 CPP!$CPP$ac_delim
14769 GREP!$GREP$ac_delim
14770 EGREP!$EGREP$ac_delim
14771 CRYPTLIB!$CRYPTLIB$ac_delim
14772 BUNDLED_LIBTOM!$BUNDLED_LIBTOM$ac_delim
14773 LIBOBJS!$LIBOBJS$ac_delim
14774 LTLIBOBJS!$LTLIBOBJS$ac_delim
14775 _ACEOF
14777 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 65; then
14778 break
14779 elif $ac_last_try; then
14780 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
14781 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
14782 { (exit 1); exit 1; }; }
14783 else
14784 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14786 done
14788 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
14789 if test -n "$ac_eof"; then
14790 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
14791 ac_eof=`expr $ac_eof + 1`
14794 cat >>$CONFIG_STATUS <<_ACEOF
14795 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
14796 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
14797 _ACEOF
14798 sed '
14799 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
14800 s/^/s,@/; s/!/@,|#_!!_#|/
14803 s/'"$ac_delim"'$/,g/; t
14804 s/$/\\/; p
14805 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
14806 ' >>$CONFIG_STATUS <conf$$subs.sed
14807 rm -f conf$$subs.sed
14808 cat >>$CONFIG_STATUS <<_ACEOF
14809 :end
14810 s/|#_!!_#|//g
14811 CEOF$ac_eof
14812 _ACEOF
14815 # VPATH may cause trouble with some makes, so we remove $(srcdir),
14816 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
14817 # trailing colons and then remove the whole line if VPATH becomes empty
14818 # (actually we leave an empty line to preserve line numbers).
14819 if test "x$srcdir" = x.; then
14820 ac_vpsub='/^[ ]*VPATH[ ]*=/{
14821 s/:*\$(srcdir):*/:/
14822 s/:*\${srcdir}:*/:/
14823 s/:*@srcdir@:*/:/
14824 s/^\([^=]*=[ ]*\):*/\1/
14825 s/:*$//
14826 s/^[^=]*=[ ]*$//
14830 cat >>$CONFIG_STATUS <<\_ACEOF
14831 fi # test -n "$CONFIG_FILES"
14834 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS
14836 case $ac_tag in
14837 :[FHLC]) ac_mode=$ac_tag; continue;;
14838 esac
14839 case $ac_mode$ac_tag in
14840 :[FHL]*:*);;
14841 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
14842 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
14843 { (exit 1); exit 1; }; };;
14844 :[FH]-) ac_tag=-:-;;
14845 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
14846 esac
14847 ac_save_IFS=$IFS
14848 IFS=:
14849 set x $ac_tag
14850 IFS=$ac_save_IFS
14851 shift
14852 ac_file=$1
14853 shift
14855 case $ac_mode in
14856 :L) ac_source=$1;;
14857 :[FH])
14858 ac_file_inputs=
14859 for ac_f
14861 case $ac_f in
14862 -) ac_f="$tmp/stdin";;
14863 *) # Look for the file first in the build tree, then in the source tree
14864 # (if the path is not absolute). The absolute path cannot be DOS-style,
14865 # because $ac_f cannot contain `:'.
14866 test -f "$ac_f" ||
14867 case $ac_f in
14868 [\\/$]*) false;;
14869 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
14870 esac ||
14871 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
14872 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
14873 { (exit 1); exit 1; }; };;
14874 esac
14875 ac_file_inputs="$ac_file_inputs $ac_f"
14876 done
14878 # Let's still pretend it is `configure' which instantiates (i.e., don't
14879 # use $as_me), people would be surprised to read:
14880 # /* config.h. Generated by config.status. */
14881 configure_input="Generated from "`IFS=:
14882 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
14883 if test x"$ac_file" != x-; then
14884 configure_input="$ac_file. $configure_input"
14885 { echo "$as_me:$LINENO: creating $ac_file" >&5
14886 echo "$as_me: creating $ac_file" >&6;}
14889 case $ac_tag in
14890 *:-:* | *:-) cat >"$tmp/stdin";;
14891 esac
14893 esac
14895 ac_dir=`$as_dirname -- "$ac_file" ||
14896 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14897 X"$ac_file" : 'X\(//\)[^/]' \| \
14898 X"$ac_file" : 'X\(//\)$' \| \
14899 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
14900 echo X"$ac_file" |
14901 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14902 s//\1/
14905 /^X\(\/\/\)[^/].*/{
14906 s//\1/
14909 /^X\(\/\/\)$/{
14910 s//\1/
14913 /^X\(\/\).*/{
14914 s//\1/
14917 s/.*/./; q'`
14918 { as_dir="$ac_dir"
14919 case $as_dir in #(
14920 -*) as_dir=./$as_dir;;
14921 esac
14922 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
14923 as_dirs=
14924 while :; do
14925 case $as_dir in #(
14926 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
14927 *) as_qdir=$as_dir;;
14928 esac
14929 as_dirs="'$as_qdir' $as_dirs"
14930 as_dir=`$as_dirname -- "$as_dir" ||
14931 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14932 X"$as_dir" : 'X\(//\)[^/]' \| \
14933 X"$as_dir" : 'X\(//\)$' \| \
14934 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14935 echo X"$as_dir" |
14936 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14937 s//\1/
14940 /^X\(\/\/\)[^/].*/{
14941 s//\1/
14944 /^X\(\/\/\)$/{
14945 s//\1/
14948 /^X\(\/\).*/{
14949 s//\1/
14952 s/.*/./; q'`
14953 test -d "$as_dir" && break
14954 done
14955 test -z "$as_dirs" || eval "mkdir $as_dirs"
14956 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
14957 echo "$as_me: error: cannot create directory $as_dir" >&2;}
14958 { (exit 1); exit 1; }; }; }
14959 ac_builddir=.
14961 case "$ac_dir" in
14962 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
14964 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
14965 # A ".." for each directory in $ac_dir_suffix.
14966 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
14967 case $ac_top_builddir_sub in
14968 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
14969 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
14970 esac ;;
14971 esac
14972 ac_abs_top_builddir=$ac_pwd
14973 ac_abs_builddir=$ac_pwd$ac_dir_suffix
14974 # for backward compatibility:
14975 ac_top_builddir=$ac_top_build_prefix
14977 case $srcdir in
14978 .) # We are building in place.
14979 ac_srcdir=.
14980 ac_top_srcdir=$ac_top_builddir_sub
14981 ac_abs_top_srcdir=$ac_pwd ;;
14982 [\\/]* | ?:[\\/]* ) # Absolute name.
14983 ac_srcdir=$srcdir$ac_dir_suffix;
14984 ac_top_srcdir=$srcdir
14985 ac_abs_top_srcdir=$srcdir ;;
14986 *) # Relative name.
14987 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
14988 ac_top_srcdir=$ac_top_build_prefix$srcdir
14989 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
14990 esac
14991 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
14994 case $ac_mode in
14997 # CONFIG_FILE
15000 _ACEOF
15002 cat >>$CONFIG_STATUS <<\_ACEOF
15003 # If the template does not know about datarootdir, expand it.
15004 # FIXME: This hack should be removed a few years after 2.60.
15005 ac_datarootdir_hack=; ac_datarootdir_seen=
15007 case `sed -n '/datarootdir/ {
15011 /@datadir@/p
15012 /@docdir@/p
15013 /@infodir@/p
15014 /@localedir@/p
15015 /@mandir@/p
15016 ' $ac_file_inputs` in
15017 *datarootdir*) ac_datarootdir_seen=yes;;
15018 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
15019 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
15020 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
15021 _ACEOF
15022 cat >>$CONFIG_STATUS <<_ACEOF
15023 ac_datarootdir_hack='
15024 s&@datadir@&$datadir&g
15025 s&@docdir@&$docdir&g
15026 s&@infodir@&$infodir&g
15027 s&@localedir@&$localedir&g
15028 s&@mandir@&$mandir&g
15029 s&\\\${datarootdir}&$datarootdir&g' ;;
15030 esac
15031 _ACEOF
15033 # Neutralize VPATH when `$srcdir' = `.'.
15034 # Shell code in configure.ac might set extrasub.
15035 # FIXME: do we really want to maintain this feature?
15036 cat >>$CONFIG_STATUS <<_ACEOF
15037 sed "$ac_vpsub
15038 $extrasub
15039 _ACEOF
15040 cat >>$CONFIG_STATUS <<\_ACEOF
15042 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
15043 s&@configure_input@&$configure_input&;t t
15044 s&@top_builddir@&$ac_top_builddir_sub&;t t
15045 s&@srcdir@&$ac_srcdir&;t t
15046 s&@abs_srcdir@&$ac_abs_srcdir&;t t
15047 s&@top_srcdir@&$ac_top_srcdir&;t t
15048 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
15049 s&@builddir@&$ac_builddir&;t t
15050 s&@abs_builddir@&$ac_abs_builddir&;t t
15051 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
15052 $ac_datarootdir_hack
15053 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
15055 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15056 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
15057 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
15058 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15059 which seems to be undefined. Please make sure it is defined." >&5
15060 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15061 which seems to be undefined. Please make sure it is defined." >&2;}
15063 rm -f "$tmp/stdin"
15064 case $ac_file in
15065 -) cat "$tmp/out"; rm -f "$tmp/out";;
15066 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
15067 esac
15071 # CONFIG_HEADER
15073 _ACEOF
15075 # Transform confdefs.h into a sed script `conftest.defines', that
15076 # substitutes the proper values into config.h.in to produce config.h.
15077 rm -f conftest.defines conftest.tail
15078 # First, append a space to every undef/define line, to ease matching.
15079 echo 's/$/ /' >conftest.defines
15080 # Then, protect against being on the right side of a sed subst, or in
15081 # an unquoted here document, in config.status. If some macros were
15082 # called several times there might be several #defines for the same
15083 # symbol, which is useless. But do not sort them, since the last
15084 # AC_DEFINE must be honored.
15085 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
15086 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
15087 # NAME is the cpp macro being defined, VALUE is the value it is being given.
15088 # PARAMS is the parameter list in the macro definition--in most cases, it's
15089 # just an empty string.
15090 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
15091 ac_dB='\\)[ (].*,\\1define\\2'
15092 ac_dC=' '
15093 ac_dD=' ,'
15095 uniq confdefs.h |
15096 sed -n '
15097 t rset
15098 :rset
15099 s/^[ ]*#[ ]*define[ ][ ]*//
15100 t ok
15103 s/[\\&,]/\\&/g
15104 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
15105 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
15106 ' >>conftest.defines
15108 # Remove the space that was appended to ease matching.
15109 # Then replace #undef with comments. This is necessary, for
15110 # example, in the case of _POSIX_SOURCE, which is predefined and required
15111 # on some systems where configure will not decide to define it.
15112 # (The regexp can be short, since the line contains either #define or #undef.)
15113 echo 's/ $//
15114 s,^[ #]*u.*,/* & */,' >>conftest.defines
15116 # Break up conftest.defines:
15117 ac_max_sed_lines=50
15119 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
15120 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
15121 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
15122 # et cetera.
15123 ac_in='$ac_file_inputs'
15124 ac_out='"$tmp/out1"'
15125 ac_nxt='"$tmp/out2"'
15127 while :
15129 # Write a here document:
15130 cat >>$CONFIG_STATUS <<_ACEOF
15131 # First, check the format of the line:
15132 cat >"\$tmp/defines.sed" <<\\CEOF
15133 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
15134 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
15136 :def
15137 _ACEOF
15138 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
15139 echo 'CEOF
15140 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
15141 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
15142 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
15143 grep . conftest.tail >/dev/null || break
15144 rm -f conftest.defines
15145 mv conftest.tail conftest.defines
15146 done
15147 rm -f conftest.defines conftest.tail
15149 echo "ac_result=$ac_in" >>$CONFIG_STATUS
15150 cat >>$CONFIG_STATUS <<\_ACEOF
15151 if test x"$ac_file" != x-; then
15152 echo "/* $configure_input */" >"$tmp/config.h"
15153 cat "$ac_result" >>"$tmp/config.h"
15154 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
15155 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
15156 echo "$as_me: $ac_file is unchanged" >&6;}
15157 else
15158 rm -f $ac_file
15159 mv "$tmp/config.h" $ac_file
15161 else
15162 echo "/* $configure_input */"
15163 cat "$ac_result"
15165 rm -f "$tmp/out12"
15169 esac
15171 done # for ac_tag
15174 { (exit 0); exit 0; }
15175 _ACEOF
15176 chmod +x $CONFIG_STATUS
15177 ac_clean_files=$ac_clean_files_save
15180 # configure is writing to config.log, and then calls config.status.
15181 # config.status does its own redirection, appending to config.log.
15182 # Unfortunately, on DOS this fails, as config.log is still kept open
15183 # by configure, so config.status won't be able to write to it; its
15184 # output is simply discarded. So we exec the FD to /dev/null,
15185 # effectively closing config.log, so it can be properly (re)opened and
15186 # appended to by config.status. When coming back to configure, we
15187 # need to make the FD available again.
15188 if test "$no_create" != yes; then
15189 ac_cs_success=:
15190 ac_config_status_args=
15191 test "$silent" = yes &&
15192 ac_config_status_args="$ac_config_status_args --quiet"
15193 exec 5>/dev/null
15194 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
15195 exec 5>>config.log
15196 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15197 # would make configure fail if this is the last instruction.
15198 $ac_cs_success || { (exit 1); exit 1; }
15201 ac_config_files="$ac_config_files libtommath/Makefile"
15203 cat >confcache <<\_ACEOF
15204 # This file is a shell script that caches the results of configure
15205 # tests run on this system so they can be shared between configure
15206 # scripts and configure runs, see configure's option --config-cache.
15207 # It is not useful on other systems. If it contains results you don't
15208 # want to keep, you may remove or edit it.
15210 # config.status only pays attention to the cache file if you give it
15211 # the --recheck option to rerun configure.
15213 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15214 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15215 # following values.
15217 _ACEOF
15219 # The following way of writing the cache mishandles newlines in values,
15220 # but we know of no workaround that is simple, portable, and efficient.
15221 # So, we kill variables containing newlines.
15222 # Ultrix sh set writes to stderr and can't be redirected directly,
15223 # and sets the high bit in the cache file unless we assign to the vars.
15225 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15226 eval ac_val=\$$ac_var
15227 case $ac_val in #(
15228 *${as_nl}*)
15229 case $ac_var in #(
15230 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
15231 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
15232 esac
15233 case $ac_var in #(
15234 _ | IFS | as_nl) ;; #(
15235 *) $as_unset $ac_var ;;
15236 esac ;;
15237 esac
15238 done
15240 (set) 2>&1 |
15241 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15242 *${as_nl}ac_space=\ *)
15243 # `set' does not quote correctly, so add quotes (double-quote
15244 # substitution turns \\\\ into \\, and sed turns \\ into \).
15245 sed -n \
15246 "s/'/'\\\\''/g;
15247 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15248 ;; #(
15250 # `set' quotes correctly as required by POSIX, so do not add quotes.
15251 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15253 esac |
15254 sort
15256 sed '
15257 /^ac_cv_env_/b end
15258 t clear
15259 :clear
15260 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15261 t end
15262 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15263 :end' >>confcache
15264 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15265 if test -w "$cache_file"; then
15266 test "x$cache_file" != "x/dev/null" &&
15267 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
15268 echo "$as_me: updating cache $cache_file" >&6;}
15269 cat confcache >$cache_file
15270 else
15271 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
15272 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15275 rm -f confcache
15277 test "x$prefix" = xNONE && prefix=$ac_default_prefix
15278 # Let make expand exec_prefix.
15279 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
15281 DEFS=-DHAVE_CONFIG_H
15283 ac_libobjs=
15284 ac_ltlibobjs=
15285 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
15286 # 1. Remove the extension, and $U if already installed.
15287 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
15288 ac_i=`echo "$ac_i" | sed "$ac_script"`
15289 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15290 # will be set to the directory where LIBOBJS objects are built.
15291 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15292 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
15293 done
15294 LIBOBJS=$ac_libobjs
15296 LTLIBOBJS=$ac_ltlibobjs
15300 : ${CONFIG_STATUS=./config.status}
15301 ac_clean_files_save=$ac_clean_files
15302 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
15303 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
15304 echo "$as_me: creating $CONFIG_STATUS" >&6;}
15305 cat >$CONFIG_STATUS <<_ACEOF
15306 #! $SHELL
15307 # Generated by $as_me.
15308 # Run this file to recreate the current configuration.
15309 # Compiler output produced by configure, useful for debugging
15310 # configure, is in config.log if it exists.
15312 debug=false
15313 ac_cs_recheck=false
15314 ac_cs_silent=false
15315 SHELL=\${CONFIG_SHELL-$SHELL}
15316 _ACEOF
15318 cat >>$CONFIG_STATUS <<\_ACEOF
15319 ## --------------------- ##
15320 ## M4sh Initialization. ##
15321 ## --------------------- ##
15323 # Be more Bourne compatible
15324 DUALCASE=1; export DUALCASE # for MKS sh
15325 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
15326 emulate sh
15327 NULLCMD=:
15328 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
15329 # is contrary to our usage. Disable this feature.
15330 alias -g '${1+"$@"}'='"$@"'
15331 setopt NO_GLOB_SUBST
15332 else
15333 case `(set -o) 2>/dev/null` in
15334 *posix*) set -o posix ;;
15335 esac
15342 # PATH needs CR
15343 # Avoid depending upon Character Ranges.
15344 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
15345 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15346 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
15347 as_cr_digits='0123456789'
15348 as_cr_alnum=$as_cr_Letters$as_cr_digits
15350 # The user is always right.
15351 if test "${PATH_SEPARATOR+set}" != set; then
15352 echo "#! /bin/sh" >conf$$.sh
15353 echo "exit 0" >>conf$$.sh
15354 chmod +x conf$$.sh
15355 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
15356 PATH_SEPARATOR=';'
15357 else
15358 PATH_SEPARATOR=:
15360 rm -f conf$$.sh
15363 # Support unset when possible.
15364 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
15365 as_unset=unset
15366 else
15367 as_unset=false
15371 # IFS
15372 # We need space, tab and new line, in precisely that order. Quoting is
15373 # there to prevent editors from complaining about space-tab.
15374 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15375 # splitting by setting IFS to empty value.)
15376 as_nl='
15378 IFS=" "" $as_nl"
15380 # Find who we are. Look in the path if we contain no directory separator.
15381 case $0 in
15382 *[\\/]* ) as_myself=$0 ;;
15383 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15384 for as_dir in $PATH
15386 IFS=$as_save_IFS
15387 test -z "$as_dir" && as_dir=.
15388 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15389 done
15390 IFS=$as_save_IFS
15393 esac
15394 # We did not find ourselves, most probably we were run as `sh COMMAND'
15395 # in which case we are not to be found in the path.
15396 if test "x$as_myself" = x; then
15397 as_myself=$0
15399 if test ! -f "$as_myself"; then
15400 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15401 { (exit 1); exit 1; }
15404 # Work around bugs in pre-3.0 UWIN ksh.
15405 for as_var in ENV MAIL MAILPATH
15406 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
15407 done
15408 PS1='$ '
15409 PS2='> '
15410 PS4='+ '
15412 # NLS nuisances.
15413 for as_var in \
15414 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
15415 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
15416 LC_TELEPHONE LC_TIME
15418 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
15419 eval $as_var=C; export $as_var
15420 else
15421 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
15423 done
15425 # Required to use basename.
15426 if expr a : '\(a\)' >/dev/null 2>&1 &&
15427 test "X`expr 00001 : '.*\(...\)'`" = X001; then
15428 as_expr=expr
15429 else
15430 as_expr=false
15433 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15434 as_basename=basename
15435 else
15436 as_basename=false
15440 # Name of the executable.
15441 as_me=`$as_basename -- "$0" ||
15442 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15443 X"$0" : 'X\(//\)$' \| \
15444 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15445 echo X/"$0" |
15446 sed '/^.*\/\([^/][^/]*\)\/*$/{
15447 s//\1/
15450 /^X\/\(\/\/\)$/{
15451 s//\1/
15454 /^X\/\(\/\).*/{
15455 s//\1/
15458 s/.*/./; q'`
15460 # CDPATH.
15461 $as_unset CDPATH
15465 as_lineno_1=$LINENO
15466 as_lineno_2=$LINENO
15467 test "x$as_lineno_1" != "x$as_lineno_2" &&
15468 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
15470 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
15471 # uniformly replaced by the line number. The first 'sed' inserts a
15472 # line-number line after each line using $LINENO; the second 'sed'
15473 # does the real work. The second script uses 'N' to pair each
15474 # line-number line with the line containing $LINENO, and appends
15475 # trailing '-' during substitution so that $LINENO is not a special
15476 # case at line end.
15477 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
15478 # scripts with optimization help from Paolo Bonzini. Blame Lee
15479 # E. McMahon (1931-1989) for sed's syntax. :-)
15480 sed -n '
15482 /[$]LINENO/=
15483 ' <$as_myself |
15484 sed '
15485 s/[$]LINENO.*/&-/
15486 t lineno
15488 :lineno
15490 :loop
15491 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
15492 t loop
15493 s/-\n.*//
15494 ' >$as_me.lineno &&
15495 chmod +x "$as_me.lineno" ||
15496 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
15497 { (exit 1); exit 1; }; }
15499 # Don't try to exec as it changes $[0], causing all sort of problems
15500 # (the dirname of $[0] is not the place where we might find the
15501 # original and so on. Autoconf is especially sensitive to this).
15502 . "./$as_me.lineno"
15503 # Exit status is that of the last command.
15504 exit
15508 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
15509 as_dirname=dirname
15510 else
15511 as_dirname=false
15514 ECHO_C= ECHO_N= ECHO_T=
15515 case `echo -n x` in
15516 -n*)
15517 case `echo 'x\c'` in
15518 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
15519 *) ECHO_C='\c';;
15520 esac;;
15522 ECHO_N='-n';;
15523 esac
15525 if expr a : '\(a\)' >/dev/null 2>&1 &&
15526 test "X`expr 00001 : '.*\(...\)'`" = X001; then
15527 as_expr=expr
15528 else
15529 as_expr=false
15532 rm -f conf$$ conf$$.exe conf$$.file
15533 if test -d conf$$.dir; then
15534 rm -f conf$$.dir/conf$$.file
15535 else
15536 rm -f conf$$.dir
15537 mkdir conf$$.dir
15539 echo >conf$$.file
15540 if ln -s conf$$.file conf$$ 2>/dev/null; then
15541 as_ln_s='ln -s'
15542 # ... but there are two gotchas:
15543 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15544 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15545 # In both cases, we have to default to `cp -p'.
15546 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
15547 as_ln_s='cp -p'
15548 elif ln conf$$.file conf$$ 2>/dev/null; then
15549 as_ln_s=ln
15550 else
15551 as_ln_s='cp -p'
15553 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
15554 rmdir conf$$.dir 2>/dev/null
15556 if mkdir -p . 2>/dev/null; then
15557 as_mkdir_p=:
15558 else
15559 test -d ./-p && rmdir ./-p
15560 as_mkdir_p=false
15563 if test -x / >/dev/null 2>&1; then
15564 as_test_x='test -x'
15565 else
15566 if ls -dL / >/dev/null 2>&1; then
15567 as_ls_L_option=L
15568 else
15569 as_ls_L_option=
15571 as_test_x='
15572 eval sh -c '\''
15573 if test -d "$1"; then
15574 test -d "$1/.";
15575 else
15576 case $1 in
15577 -*)set "./$1";;
15578 esac;
15579 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
15580 ???[sx]*):;;*)false;;esac;fi
15581 '\'' sh
15584 as_executable_p=$as_test_x
15586 # Sed expression to map a string onto a valid CPP name.
15587 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15589 # Sed expression to map a string onto a valid variable name.
15590 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15593 exec 6>&1
15595 # Save the log message, to keep $[0] and so on meaningful, and to
15596 # report actual input values of CONFIG_FILES etc. instead of their
15597 # values after options handling.
15598 ac_log="
15599 This file was extended by $as_me, which was
15600 generated by GNU Autoconf 2.61. Invocation command line was
15602 CONFIG_FILES = $CONFIG_FILES
15603 CONFIG_HEADERS = $CONFIG_HEADERS
15604 CONFIG_LINKS = $CONFIG_LINKS
15605 CONFIG_COMMANDS = $CONFIG_COMMANDS
15606 $ $0 $@
15608 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15611 _ACEOF
15613 cat >>$CONFIG_STATUS <<_ACEOF
15614 # Files that config.status was made for.
15615 config_files="$ac_config_files"
15616 config_headers="$ac_config_headers"
15618 _ACEOF
15620 cat >>$CONFIG_STATUS <<\_ACEOF
15621 ac_cs_usage="\
15622 \`$as_me' instantiates files from templates according to the
15623 current configuration.
15625 Usage: $0 [OPTIONS] [FILE]...
15627 -h, --help print this help, then exit
15628 -V, --version print version number and configuration settings, then exit
15629 -q, --quiet do not print progress messages
15630 -d, --debug don't remove temporary files
15631 --recheck update $as_me by reconfiguring in the same conditions
15632 --file=FILE[:TEMPLATE]
15633 instantiate the configuration file FILE
15634 --header=FILE[:TEMPLATE]
15635 instantiate the configuration header FILE
15637 Configuration files:
15638 $config_files
15640 Configuration headers:
15641 $config_headers
15643 Report bugs to <bug-autoconf@gnu.org>."
15645 _ACEOF
15646 cat >>$CONFIG_STATUS <<_ACEOF
15647 ac_cs_version="\\
15648 config.status
15649 configured by $0, generated by GNU Autoconf 2.61,
15650 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
15652 Copyright (C) 2006 Free Software Foundation, Inc.
15653 This config.status script is free software; the Free Software Foundation
15654 gives unlimited permission to copy, distribute and modify it."
15656 ac_pwd='$ac_pwd'
15657 srcdir='$srcdir'
15658 _ACEOF
15660 cat >>$CONFIG_STATUS <<\_ACEOF
15661 # If no file are specified by the user, then we need to provide default
15662 # value. By we need to know if files were specified by the user.
15663 ac_need_defaults=:
15664 while test $# != 0
15666 case $1 in
15667 --*=*)
15668 ac_option=`expr "X$1" : 'X\([^=]*\)='`
15669 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
15670 ac_shift=:
15673 ac_option=$1
15674 ac_optarg=$2
15675 ac_shift=shift
15677 esac
15679 case $ac_option in
15680 # Handling of the options.
15681 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
15682 ac_cs_recheck=: ;;
15683 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
15684 echo "$ac_cs_version"; exit ;;
15685 --debug | --debu | --deb | --de | --d | -d )
15686 debug=: ;;
15687 --file | --fil | --fi | --f )
15688 $ac_shift
15689 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
15690 ac_need_defaults=false;;
15691 --header | --heade | --head | --hea )
15692 $ac_shift
15693 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
15694 ac_need_defaults=false;;
15695 --he | --h)
15696 # Conflict between --help and --header
15697 { echo "$as_me: error: ambiguous option: $1
15698 Try \`$0 --help' for more information." >&2
15699 { (exit 1); exit 1; }; };;
15700 --help | --hel | -h )
15701 echo "$ac_cs_usage"; exit ;;
15702 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
15703 | -silent | --silent | --silen | --sile | --sil | --si | --s)
15704 ac_cs_silent=: ;;
15706 # This is an error.
15707 -*) { echo "$as_me: error: unrecognized option: $1
15708 Try \`$0 --help' for more information." >&2
15709 { (exit 1); exit 1; }; } ;;
15711 *) ac_config_targets="$ac_config_targets $1"
15712 ac_need_defaults=false ;;
15714 esac
15715 shift
15716 done
15718 ac_configure_extra_args=
15720 if $ac_cs_silent; then
15721 exec 6>/dev/null
15722 ac_configure_extra_args="$ac_configure_extra_args --silent"
15725 _ACEOF
15726 cat >>$CONFIG_STATUS <<_ACEOF
15727 if \$ac_cs_recheck; then
15728 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
15729 CONFIG_SHELL=$SHELL
15730 export CONFIG_SHELL
15731 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15734 _ACEOF
15735 cat >>$CONFIG_STATUS <<\_ACEOF
15736 exec 5>>config.log
15738 echo
15739 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15740 ## Running $as_me. ##
15741 _ASBOX
15742 echo "$ac_log"
15743 } >&5
15745 _ACEOF
15746 cat >>$CONFIG_STATUS <<_ACEOF
15747 _ACEOF
15749 cat >>$CONFIG_STATUS <<\_ACEOF
15751 # Handling of arguments.
15752 for ac_config_target in $ac_config_targets
15754 case $ac_config_target in
15755 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
15756 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
15757 "libtomcrypt/Makefile") CONFIG_FILES="$CONFIG_FILES libtomcrypt/Makefile" ;;
15758 "libtommath/Makefile") CONFIG_FILES="$CONFIG_FILES libtommath/Makefile" ;;
15760 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
15761 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
15762 { (exit 1); exit 1; }; };;
15763 esac
15764 done
15767 # If the user did not use the arguments to specify the items to instantiate,
15768 # then the envvar interface is used. Set only those that are not.
15769 # We use the long form for the default assignment because of an extremely
15770 # bizarre bug on SunOS 4.1.3.
15771 if $ac_need_defaults; then
15772 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
15773 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
15776 # Have a temporary directory for convenience. Make it in the build tree
15777 # simply because there is no reason against having it here, and in addition,
15778 # creating and moving files from /tmp can sometimes cause problems.
15779 # Hook for its removal unless debugging.
15780 # Note that there is a small window in which the directory will not be cleaned:
15781 # after its creation but before its name has been assigned to `$tmp'.
15782 $debug ||
15784 tmp=
15785 trap 'exit_status=$?
15786 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
15788 trap '{ (exit 1); exit 1; }' 1 2 13 15
15790 # Create a (secure) tmp directory for tmp files.
15793 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15794 test -n "$tmp" && test -d "$tmp"
15795 } ||
15797 tmp=./conf$$-$RANDOM
15798 (umask 077 && mkdir "$tmp")
15799 } ||
15801 echo "$me: cannot create a temporary directory in ." >&2
15802 { (exit 1); exit 1; }
15806 # Set up the sed scripts for CONFIG_FILES section.
15809 # No need to generate the scripts if there are no CONFIG_FILES.
15810 # This happens for instance when ./config.status config.h
15811 if test -n "$CONFIG_FILES"; then
15813 _ACEOF
15817 ac_delim='%!_!# '
15818 for ac_last_try in false false false false false :; do
15819 cat >conf$$subs.sed <<_ACEOF
15820 SHELL!$SHELL$ac_delim
15821 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
15822 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
15823 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
15824 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
15825 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
15826 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
15827 exec_prefix!$exec_prefix$ac_delim
15828 prefix!$prefix$ac_delim
15829 program_transform_name!$program_transform_name$ac_delim
15830 bindir!$bindir$ac_delim
15831 sbindir!$sbindir$ac_delim
15832 libexecdir!$libexecdir$ac_delim
15833 datarootdir!$datarootdir$ac_delim
15834 datadir!$datadir$ac_delim
15835 sysconfdir!$sysconfdir$ac_delim
15836 sharedstatedir!$sharedstatedir$ac_delim
15837 localstatedir!$localstatedir$ac_delim
15838 includedir!$includedir$ac_delim
15839 oldincludedir!$oldincludedir$ac_delim
15840 docdir!$docdir$ac_delim
15841 infodir!$infodir$ac_delim
15842 htmldir!$htmldir$ac_delim
15843 dvidir!$dvidir$ac_delim
15844 pdfdir!$pdfdir$ac_delim
15845 psdir!$psdir$ac_delim
15846 libdir!$libdir$ac_delim
15847 localedir!$localedir$ac_delim
15848 mandir!$mandir$ac_delim
15849 DEFS!$DEFS$ac_delim
15850 ECHO_C!$ECHO_C$ac_delim
15851 ECHO_N!$ECHO_N$ac_delim
15852 ECHO_T!$ECHO_T$ac_delim
15853 LIBS!$LIBS$ac_delim
15854 build_alias!$build_alias$ac_delim
15855 host_alias!$host_alias$ac_delim
15856 target_alias!$target_alias$ac_delim
15857 CC!$CC$ac_delim
15858 CFLAGS!$CFLAGS$ac_delim
15859 LDFLAGS!$LDFLAGS$ac_delim
15860 CPPFLAGS!$CPPFLAGS$ac_delim
15861 ac_ct_CC!$ac_ct_CC$ac_delim
15862 EXEEXT!$EXEEXT$ac_delim
15863 OBJEXT!$OBJEXT$ac_delim
15864 SET_MAKE!$SET_MAKE$ac_delim
15865 LD!$LD$ac_delim
15866 build!$build$ac_delim
15867 build_cpu!$build_cpu$ac_delim
15868 build_vendor!$build_vendor$ac_delim
15869 build_os!$build_os$ac_delim
15870 host!$host$ac_delim
15871 host_cpu!$host_cpu$ac_delim
15872 host_vendor!$host_vendor$ac_delim
15873 host_os!$host_os$ac_delim
15874 AR!$AR$ac_delim
15875 RANLIB!$RANLIB$ac_delim
15876 STRIP!$STRIP$ac_delim
15877 INSTALL!$INSTALL$ac_delim
15878 CPP!$CPP$ac_delim
15879 GREP!$GREP$ac_delim
15880 EGREP!$EGREP$ac_delim
15881 CRYPTLIB!$CRYPTLIB$ac_delim
15882 BUNDLED_LIBTOM!$BUNDLED_LIBTOM$ac_delim
15883 LIBOBJS!$LIBOBJS$ac_delim
15884 LTLIBOBJS!$LTLIBOBJS$ac_delim
15885 _ACEOF
15887 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 65; then
15888 break
15889 elif $ac_last_try; then
15890 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
15891 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
15892 { (exit 1); exit 1; }; }
15893 else
15894 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15896 done
15898 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
15899 if test -n "$ac_eof"; then
15900 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
15901 ac_eof=`expr $ac_eof + 1`
15904 cat >>$CONFIG_STATUS <<_ACEOF
15905 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
15906 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
15907 _ACEOF
15908 sed '
15909 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
15910 s/^/s,@/; s/!/@,|#_!!_#|/
15913 s/'"$ac_delim"'$/,g/; t
15914 s/$/\\/; p
15915 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
15916 ' >>$CONFIG_STATUS <conf$$subs.sed
15917 rm -f conf$$subs.sed
15918 cat >>$CONFIG_STATUS <<_ACEOF
15919 :end
15920 s/|#_!!_#|//g
15921 CEOF$ac_eof
15922 _ACEOF
15925 # VPATH may cause trouble with some makes, so we remove $(srcdir),
15926 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
15927 # trailing colons and then remove the whole line if VPATH becomes empty
15928 # (actually we leave an empty line to preserve line numbers).
15929 if test "x$srcdir" = x.; then
15930 ac_vpsub='/^[ ]*VPATH[ ]*=/{
15931 s/:*\$(srcdir):*/:/
15932 s/:*\${srcdir}:*/:/
15933 s/:*@srcdir@:*/:/
15934 s/^\([^=]*=[ ]*\):*/\1/
15935 s/:*$//
15936 s/^[^=]*=[ ]*$//
15940 cat >>$CONFIG_STATUS <<\_ACEOF
15941 fi # test -n "$CONFIG_FILES"
15944 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS
15946 case $ac_tag in
15947 :[FHLC]) ac_mode=$ac_tag; continue;;
15948 esac
15949 case $ac_mode$ac_tag in
15950 :[FHL]*:*);;
15951 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
15952 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
15953 { (exit 1); exit 1; }; };;
15954 :[FH]-) ac_tag=-:-;;
15955 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
15956 esac
15957 ac_save_IFS=$IFS
15958 IFS=:
15959 set x $ac_tag
15960 IFS=$ac_save_IFS
15961 shift
15962 ac_file=$1
15963 shift
15965 case $ac_mode in
15966 :L) ac_source=$1;;
15967 :[FH])
15968 ac_file_inputs=
15969 for ac_f
15971 case $ac_f in
15972 -) ac_f="$tmp/stdin";;
15973 *) # Look for the file first in the build tree, then in the source tree
15974 # (if the path is not absolute). The absolute path cannot be DOS-style,
15975 # because $ac_f cannot contain `:'.
15976 test -f "$ac_f" ||
15977 case $ac_f in
15978 [\\/$]*) false;;
15979 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
15980 esac ||
15981 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
15982 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
15983 { (exit 1); exit 1; }; };;
15984 esac
15985 ac_file_inputs="$ac_file_inputs $ac_f"
15986 done
15988 # Let's still pretend it is `configure' which instantiates (i.e., don't
15989 # use $as_me), people would be surprised to read:
15990 # /* config.h. Generated by config.status. */
15991 configure_input="Generated from "`IFS=:
15992 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
15993 if test x"$ac_file" != x-; then
15994 configure_input="$ac_file. $configure_input"
15995 { echo "$as_me:$LINENO: creating $ac_file" >&5
15996 echo "$as_me: creating $ac_file" >&6;}
15999 case $ac_tag in
16000 *:-:* | *:-) cat >"$tmp/stdin";;
16001 esac
16003 esac
16005 ac_dir=`$as_dirname -- "$ac_file" ||
16006 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16007 X"$ac_file" : 'X\(//\)[^/]' \| \
16008 X"$ac_file" : 'X\(//\)$' \| \
16009 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16010 echo X"$ac_file" |
16011 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16012 s//\1/
16015 /^X\(\/\/\)[^/].*/{
16016 s//\1/
16019 /^X\(\/\/\)$/{
16020 s//\1/
16023 /^X\(\/\).*/{
16024 s//\1/
16027 s/.*/./; q'`
16028 { as_dir="$ac_dir"
16029 case $as_dir in #(
16030 -*) as_dir=./$as_dir;;
16031 esac
16032 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
16033 as_dirs=
16034 while :; do
16035 case $as_dir in #(
16036 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
16037 *) as_qdir=$as_dir;;
16038 esac
16039 as_dirs="'$as_qdir' $as_dirs"
16040 as_dir=`$as_dirname -- "$as_dir" ||
16041 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16042 X"$as_dir" : 'X\(//\)[^/]' \| \
16043 X"$as_dir" : 'X\(//\)$' \| \
16044 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16045 echo X"$as_dir" |
16046 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16047 s//\1/
16050 /^X\(\/\/\)[^/].*/{
16051 s//\1/
16054 /^X\(\/\/\)$/{
16055 s//\1/
16058 /^X\(\/\).*/{
16059 s//\1/
16062 s/.*/./; q'`
16063 test -d "$as_dir" && break
16064 done
16065 test -z "$as_dirs" || eval "mkdir $as_dirs"
16066 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
16067 echo "$as_me: error: cannot create directory $as_dir" >&2;}
16068 { (exit 1); exit 1; }; }; }
16069 ac_builddir=.
16071 case "$ac_dir" in
16072 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
16074 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
16075 # A ".." for each directory in $ac_dir_suffix.
16076 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
16077 case $ac_top_builddir_sub in
16078 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
16079 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
16080 esac ;;
16081 esac
16082 ac_abs_top_builddir=$ac_pwd
16083 ac_abs_builddir=$ac_pwd$ac_dir_suffix
16084 # for backward compatibility:
16085 ac_top_builddir=$ac_top_build_prefix
16087 case $srcdir in
16088 .) # We are building in place.
16089 ac_srcdir=.
16090 ac_top_srcdir=$ac_top_builddir_sub
16091 ac_abs_top_srcdir=$ac_pwd ;;
16092 [\\/]* | ?:[\\/]* ) # Absolute name.
16093 ac_srcdir=$srcdir$ac_dir_suffix;
16094 ac_top_srcdir=$srcdir
16095 ac_abs_top_srcdir=$srcdir ;;
16096 *) # Relative name.
16097 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16098 ac_top_srcdir=$ac_top_build_prefix$srcdir
16099 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16100 esac
16101 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
16104 case $ac_mode in
16107 # CONFIG_FILE
16110 _ACEOF
16112 cat >>$CONFIG_STATUS <<\_ACEOF
16113 # If the template does not know about datarootdir, expand it.
16114 # FIXME: This hack should be removed a few years after 2.60.
16115 ac_datarootdir_hack=; ac_datarootdir_seen=
16117 case `sed -n '/datarootdir/ {
16121 /@datadir@/p
16122 /@docdir@/p
16123 /@infodir@/p
16124 /@localedir@/p
16125 /@mandir@/p
16126 ' $ac_file_inputs` in
16127 *datarootdir*) ac_datarootdir_seen=yes;;
16128 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
16129 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16130 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16131 _ACEOF
16132 cat >>$CONFIG_STATUS <<_ACEOF
16133 ac_datarootdir_hack='
16134 s&@datadir@&$datadir&g
16135 s&@docdir@&$docdir&g
16136 s&@infodir@&$infodir&g
16137 s&@localedir@&$localedir&g
16138 s&@mandir@&$mandir&g
16139 s&\\\${datarootdir}&$datarootdir&g' ;;
16140 esac
16141 _ACEOF
16143 # Neutralize VPATH when `$srcdir' = `.'.
16144 # Shell code in configure.ac might set extrasub.
16145 # FIXME: do we really want to maintain this feature?
16146 cat >>$CONFIG_STATUS <<_ACEOF
16147 sed "$ac_vpsub
16148 $extrasub
16149 _ACEOF
16150 cat >>$CONFIG_STATUS <<\_ACEOF
16152 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
16153 s&@configure_input@&$configure_input&;t t
16154 s&@top_builddir@&$ac_top_builddir_sub&;t t
16155 s&@srcdir@&$ac_srcdir&;t t
16156 s&@abs_srcdir@&$ac_abs_srcdir&;t t
16157 s&@top_srcdir@&$ac_top_srcdir&;t t
16158 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
16159 s&@builddir@&$ac_builddir&;t t
16160 s&@abs_builddir@&$ac_abs_builddir&;t t
16161 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
16162 $ac_datarootdir_hack
16163 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
16165 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16166 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
16167 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
16168 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16169 which seems to be undefined. Please make sure it is defined." >&5
16170 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16171 which seems to be undefined. Please make sure it is defined." >&2;}
16173 rm -f "$tmp/stdin"
16174 case $ac_file in
16175 -) cat "$tmp/out"; rm -f "$tmp/out";;
16176 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
16177 esac
16181 # CONFIG_HEADER
16183 _ACEOF
16185 # Transform confdefs.h into a sed script `conftest.defines', that
16186 # substitutes the proper values into config.h.in to produce config.h.
16187 rm -f conftest.defines conftest.tail
16188 # First, append a space to every undef/define line, to ease matching.
16189 echo 's/$/ /' >conftest.defines
16190 # Then, protect against being on the right side of a sed subst, or in
16191 # an unquoted here document, in config.status. If some macros were
16192 # called several times there might be several #defines for the same
16193 # symbol, which is useless. But do not sort them, since the last
16194 # AC_DEFINE must be honored.
16195 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16196 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
16197 # NAME is the cpp macro being defined, VALUE is the value it is being given.
16198 # PARAMS is the parameter list in the macro definition--in most cases, it's
16199 # just an empty string.
16200 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
16201 ac_dB='\\)[ (].*,\\1define\\2'
16202 ac_dC=' '
16203 ac_dD=' ,'
16205 uniq confdefs.h |
16206 sed -n '
16207 t rset
16208 :rset
16209 s/^[ ]*#[ ]*define[ ][ ]*//
16210 t ok
16213 s/[\\&,]/\\&/g
16214 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
16215 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
16216 ' >>conftest.defines
16218 # Remove the space that was appended to ease matching.
16219 # Then replace #undef with comments. This is necessary, for
16220 # example, in the case of _POSIX_SOURCE, which is predefined and required
16221 # on some systems where configure will not decide to define it.
16222 # (The regexp can be short, since the line contains either #define or #undef.)
16223 echo 's/ $//
16224 s,^[ #]*u.*,/* & */,' >>conftest.defines
16226 # Break up conftest.defines:
16227 ac_max_sed_lines=50
16229 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
16230 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
16231 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
16232 # et cetera.
16233 ac_in='$ac_file_inputs'
16234 ac_out='"$tmp/out1"'
16235 ac_nxt='"$tmp/out2"'
16237 while :
16239 # Write a here document:
16240 cat >>$CONFIG_STATUS <<_ACEOF
16241 # First, check the format of the line:
16242 cat >"\$tmp/defines.sed" <<\\CEOF
16243 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
16244 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
16246 :def
16247 _ACEOF
16248 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
16249 echo 'CEOF
16250 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
16251 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
16252 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
16253 grep . conftest.tail >/dev/null || break
16254 rm -f conftest.defines
16255 mv conftest.tail conftest.defines
16256 done
16257 rm -f conftest.defines conftest.tail
16259 echo "ac_result=$ac_in" >>$CONFIG_STATUS
16260 cat >>$CONFIG_STATUS <<\_ACEOF
16261 if test x"$ac_file" != x-; then
16262 echo "/* $configure_input */" >"$tmp/config.h"
16263 cat "$ac_result" >>"$tmp/config.h"
16264 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
16265 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
16266 echo "$as_me: $ac_file is unchanged" >&6;}
16267 else
16268 rm -f $ac_file
16269 mv "$tmp/config.h" $ac_file
16271 else
16272 echo "/* $configure_input */"
16273 cat "$ac_result"
16275 rm -f "$tmp/out12"
16279 esac
16281 done # for ac_tag
16284 { (exit 0); exit 0; }
16285 _ACEOF
16286 chmod +x $CONFIG_STATUS
16287 ac_clean_files=$ac_clean_files_save
16290 # configure is writing to config.log, and then calls config.status.
16291 # config.status does its own redirection, appending to config.log.
16292 # Unfortunately, on DOS this fails, as config.log is still kept open
16293 # by configure, so config.status won't be able to write to it; its
16294 # output is simply discarded. So we exec the FD to /dev/null,
16295 # effectively closing config.log, so it can be properly (re)opened and
16296 # appended to by config.status. When coming back to configure, we
16297 # need to make the FD available again.
16298 if test "$no_create" != yes; then
16299 ac_cs_success=:
16300 ac_config_status_args=
16301 test "$silent" = yes &&
16302 ac_config_status_args="$ac_config_status_args --quiet"
16303 exec 5>/dev/null
16304 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
16305 exec 5>>config.log
16306 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16307 # would make configure fail if this is the last instruction.
16308 $ac_cs_success || { (exit 1); exit 1; }
16312 { echo "$as_me:$LINENO: " >&5
16313 echo "$as_me: " >&6;}
16314 if test $BUNDLED_LIBTOM = 1 ; then
16315 { echo "$as_me:$LINENO: Using bundled libtomcrypt and libtommath" >&5
16316 echo "$as_me: Using bundled libtomcrypt and libtommath" >&6;}
16317 else
16318 { echo "$as_me:$LINENO: Using system libtomcrypt and libtommath" >&5
16319 echo "$as_me: Using system libtomcrypt and libtommath" >&6;}
16322 { echo "$as_me:$LINENO: " >&5
16323 echo "$as_me: " >&6;}
16324 { echo "$as_me:$LINENO: Now edit options.h to choose features." >&5
16325 echo "$as_me: Now edit options.h to choose features." >&6;}