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
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+"$@"}'='"$@"'
23 case `(set -o) 2>/dev/null` in
24 *posix
*) set -o posix
;;
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
45 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
53 # Support unset when possible.
54 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
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.)
70 # Find who we are. Look in the path if we contain no directory separator.
72 *[\\/]* ) as_myself
=$0 ;;
73 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
77 test -z "$as_dir" && as_dir
=.
78 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
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
89 if test ! -f "$as_myself"; then
90 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
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
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 \
108 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
109 eval $as_var=C
; export $as_var
111 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
115 # Required to use basename.
116 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
117 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
123 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
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 ||
136 sed '/^.*\/\([^/][^/]*\)\/*$/{
154 if test "x$CONFIG_SHELL" = x
; then
155 if (eval ":") 2>/dev
/null
; then
161 if test $as_have_required = yes && (eval ":
171 as_func_ret_success () {
174 as_func_ret_failure () {
179 if as_func_success; then
183 echo as_func_success failed.
186 if as_func_failure; then
188 echo as_func_failure succeeded.
191 if as_func_ret_success; then
195 echo as_func_ret_success failed.
198 if as_func_ret_failure; then
200 echo as_func_ret_failure succeeded.
203 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
207 echo positional parameters were not saved.
210 test \$exitcode = 0) || { (exit 1); exit 1; }
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
221 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
222 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
225 test -z "$as_dir" && as_dir
=.
228 for as_base
in sh bash ksh sh5
; do
229 as_candidate_shells
="$as_candidate_shells $as_dir/$as_base"
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
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+"$@"}'='"$@"'
248 case `(set -o) 2>/dev/null` in
249 *posix
*) set -o posix
;;
258 CONFIG_SHELL
=$as_shell
260 if { "$as_shell" 2> /dev
/null
<<\_ASEOF
261 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
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+"$@"}'='"$@"'
269 case `(set -o) 2>/dev/null` in
270 *posix
*) set -o posix
;;
286 as_func_ret_success
() {
289 as_func_ret_failure
() {
294 if as_func_success
; then
298 echo as_func_success failed.
301 if as_func_failure
; then
303 echo as_func_failure succeeded.
306 if as_func_ret_success
; then
310 echo as_func_ret_success failed.
313 if as_func_ret_failure
; then
315 echo as_func_ret_failure succeeded.
318 if ( set x
; as_func_ret_success y
&& test x
= "$1" ); then
322 echo positional parameters were not saved.
325 test $exitcode = 0) ||
{ (exit 1); exit 1; }
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; }
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
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 () {
375 as_func_ret_success () {
378 as_func_ret_failure () {
383 if as_func_success; then
387 echo as_func_success failed.
390 if as_func_failure; then
392 echo as_func_failure succeeded.
395 if as_func_ret_success; then
399 echo as_func_ret_success failed.
402 if as_func_ret_failure; then
404 echo as_func_ret_failure succeeded.
407 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
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
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
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. :-)
449 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
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).
461 # Exit status is that of the last command.
466 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
472 ECHO_C
= ECHO_N
= ECHO_T
=
476 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
483 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
484 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
490 rm -f conf$$ conf$$.exe conf$$.
file
491 if test -d conf$$.dir
; then
492 rm -f conf$$.dir
/conf$$.
file
498 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
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 ||
506 elif ln conf$$.
file conf$$
2>/dev
/null
; then
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
517 test -d .
/-p && rmdir .
/-p
521 if test -x / >/dev
/null
2>&1; then
524 if ls -dL / >/dev
/null
2>&1; then
531 if test -d "$1"; then
537 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
538 ???[sx]*):;;*)false;;esac;fi
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
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`
562 ac_default_prefix
=/usr
/local
564 ac_config_libobj_dir
=.
570 SHELL
=${CONFIG_SHELL-/bin/sh}
572 # Identity of this package.
579 ac_unique_file
="buffer.c"
580 # Factoring default headers for most tests.
581 ac_includes_default
="\
583 #ifdef HAVE_SYS_TYPES_H
584 # include <sys/types.h>
586 #ifdef HAVE_SYS_STAT_H
587 # include <sys/stat.h>
593 # ifdef HAVE_STDLIB_H
598 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
603 #ifdef HAVE_STRINGS_H
604 # include <strings.h>
606 #ifdef HAVE_INTTYPES_H
607 # include <inttypes.h>
625 program_transform_name
682 ac_precious_vars
='build_alias
693 # Initialize some variables set by options.
695 ac_init_version
=false
696 # The variables have the same names as the options, with
697 # dashes changed to underlines.
705 program_transform_name
=s
,x
,x
,
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'
735 libdir
='${exec_prefix}/lib'
736 localedir
='${datarootdir}/locale'
737 mandir
='${datarootdir}/man'
743 # If the previous option needs an argument, assign it.
744 if test -n "$ac_prev"; then
745 eval $ac_prev=\
$ac_option
751 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
755 # Accept the important Cygnus configure options, so we can diagnose typos.
757 case $ac_dashdash$ac_option in
761 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
763 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
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 ;;
779 cache_file
=config.cache
;;
781 -datadir |
--datadir |
--datadi |
--datad)
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)
804 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
807 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
809 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
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.
834 -help |
--help |
--hel |
--he |
-h)
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)
848 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
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)
861 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
862 infodir
=$ac_optarg ;;
864 -libdir |
--libdir |
--libdi |
--libd)
866 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
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)
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)
890 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
894 # Obsolete; use --without-fp.
897 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
898 |
--no-cr |
--no-c |
-n)
901 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
902 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
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)
916 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
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)
952 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
955 -psdir |
--psdir |
--psdi |
--psd |
--ps)
957 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
960 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
961 |
-silent |
--silent |
--silen |
--sile |
--sil)
964 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
966 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
968 sbindir
=$ac_optarg ;;
970 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
971 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
972 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
974 ac_prev
=sharedstatedir
;;
975 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
976 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
977 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
979 sharedstatedir
=$ac_optarg ;;
981 -site |
--site |
--sit)
983 -site=* |
--site=* |
--sit=*)
986 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
988 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
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)
1006 -version |
--version |
--versio |
--versi |
--vers |
-V)
1007 ac_init_version
=: ;;
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
;;
1028 # Obsolete; use --with-x.
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; }; }
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}
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
1084 [\\/$
]* | ?
:[\\/]* ) continue;;
1085 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1087 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1088 { (exit 1); exit 1; }; }
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.
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
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 ||
1135 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1153 if test ! -r "$srcdir/$ac_unique_file"; then
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"
1166 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1167 { (exit 1); exit 1; }; }
1169 # When building in place, set srcdir=.
1170 if test "$ac_abs_confdir" = "$ac_pwd"; then
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.
1177 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
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}
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.
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.
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
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]
1251 --build=BUILD configure
for building on BUILD
[guessed
]
1252 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1256 if test -n "$ac_init_help"; then
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
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
>
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.
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
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/ ;;
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
1326 .) # We are building in place.
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 ;;
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 ;;
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
1345 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1346 elif test -f "$ac_srcdir/configure"; then
1348 $SHELL "$ac_srcdir/configure" --help=recursive
1350 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1352 cd "$ac_pwd" || { ac_status=$?; break; }
1356 test -n "$ac_init_help" && exit $ac_status
1357 if $ac_init_version; then
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.
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
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
`
1405 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1409 test -z "$as_dir" && as_dir=.
1410 echo "PATH: $as_dir"
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.
1434 ac_must_keep_next=false
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)
1445 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
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.
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 ;;
1463 -* ) ac_must_keep_next=true ;;
1466 ac_configure_args="$ac_configure_args '$ac_arg'"
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.
1485 ## ---------------- ##
1486 ## Cache variables. ##
1487 ## ---------------- ##
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
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;} ;;
1501 _ | IFS | as_nl) ;; #(
1502 *) $as_unset $ac_var ;;
1507 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1508 *${as_nl}ac_space=\ *)
1510 "s/'\''/'\''\\\\'\'''\''/g;
1511 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1514 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1522 ## ----------------- ##
1523 ## Output variables. ##
1524 ## ----------------- ##
1527 for ac_var in $ac_subst_vars
1529 eval ac_val=\$$ac_var
1531 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1533 echo "$ac_var='\''$ac_val'\''"
1537 if test -n "$ac_subst_files"; then
1539 ## ------------------- ##
1540 ## File substitutions. ##
1541 ## ------------------- ##
1544 for ac_var in $ac_subst_files
1546 eval ac_val=\$$ac_var
1548 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1550 echo "$ac_var='\''$ac_val'\''"
1555 if test -s confdefs.h; then
1565 test "$ac_signal" != 0 &&
1566 echo "$as_me: caught signal $ac_signal"
1567 echo "$as_me: exit $exit_status"
1569 rm -f core *.core core.conftest.* &&
1570 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1573 for ac_signal in 1 2 13 15; do
1574 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
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"
1588 cat >>confdefs.h <<_ACEOF
1589 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1593 cat >>confdefs.h <<_ACEOF
1594 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1598 cat >>confdefs.h <<_ACEOF
1599 #define PACKAGE_STRING "$PACKAGE_STRING"
1603 cat >>confdefs.h <<_ACEOF
1604 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
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"
1615 set x "$ac_default_prefix/share/config.site" \
1616 "$ac_default_prefix/etc/config.site"
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
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;}
1636 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1637 *) . "./$cache_file";;
1641 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1642 echo "$as_me: creating cache $cache_file" >&6;}
1646 # Check that the precious variables saved in the cache have kept the same
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
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=: ;;
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=: ;;
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=:
1675 # Pass precious variables to config.status.
1676 if test "$ac_new_set" = set; then
1678 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1679 *) ac_arg=$ac_var=$ac_new_val ;;
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'" ;;
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; }; }
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
1720 # Checks for programs.
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
1734 if test -n "$CC"; then
1735 ac_cv_prog_CC="$CC" # Let the user override the test.
1737 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
1755 if test -n "$CC"; then
1756 { echo "$as_me:$LINENO: result: $CC" >&5
1757 echo "${ECHO_T}$CC" >&6; }
1759 { echo "$as_me:$LINENO: result: no" >&5
1760 echo "${ECHO_T}no" >&6; }
1765 if test -z "$ac_cv_prog_CC"; then
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
1774 if test -n "$ac_ct_CC"; then
1775 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1777 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
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; }
1799 { echo "$as_me:$LINENO: result: no" >&5
1800 echo "${ECHO_T}no" >&6; }
1803 if test "x$ac_ct_CC" = x; then
1806 case $cross_compiling:$ac_tool_warned in
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 ;;
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
1831 if test -n "$CC"; then
1832 ac_cv_prog_CC="$CC" # Let the user override the test.
1834 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
1852 if test -n "$CC"; then
1853 { echo "$as_me:$LINENO: result: $CC" >&5
1854 echo "${ECHO_T}$CC" >&6; }
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
1871 if test -n "$CC"; then
1872 ac_cv_prog_CC="$CC" # Let the user override the test.
1875 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
1887 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
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
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.
1903 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1909 if test -n "$CC"; then
1910 { echo "$as_me:$LINENO: result: $CC" >&5
1911 echo "${ECHO_T}$CC" >&6; }
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
1930 if test -n "$CC"; then
1931 ac_cv_prog_CC="$CC" # Let the user override the test.
1933 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
1951 if test -n "$CC"; then
1952 { echo "$as_me:$LINENO: result: $CC" >&5
1953 echo "${ECHO_T}$CC" >&6; }
1955 { echo "$as_me:$LINENO: result: no" >&5
1956 echo "${ECHO_T}no" >&6; }
1960 test -n "$CC" && break
1963 if test -z "$CC"; then
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
1974 if test -n "$ac_ct_CC"; then
1975 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1977 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
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; }
1999 { echo "$as_me:$LINENO: result: no" >&5
2000 echo "${ECHO_T}no" >&6; }
2004 test -n "$ac_ct_CC" && break
2007 if test "x$ac_ct_CC" = x; then
2010 case $cross_compiling:$ac_tool_warned in
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 ;;
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"
2038 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2039 *) ac_try_echo=$ac_try;;
2041 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2042 (eval "$ac_compiler --version >&5") 2>&5
2044 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2045 (exit $ac_status); }
2046 { (ac_try="$ac_compiler -v >&5"
2048 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2049 *) ac_try_echo=$ac_try;;
2051 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2052 (eval "$ac_compiler -v >&5") 2>&5
2054 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2055 (exit $ac_status); }
2056 { (ac_try="$ac_compiler -V >&5"
2058 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2059 *) ac_try_echo=$ac_try;;
2061 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2062 (eval "$ac_compiler -V >&5") 2>&5
2064 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2065 (exit $ac_status); }
2067 cat >conftest.$ac_ext <<_ACEOF
2070 cat confdefs.h >>conftest.$ac_ext
2071 cat >>conftest.$ac_ext <<_ACEOF
2072 /* end confdefs.h. */
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
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.
2100 for ac_file in $ac_files
2103 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2104 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2109 if { (ac_try="$ac_link_default"
2111 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2112 *) ac_try_echo=$ac_try;;
2114 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2115 (eval "$ac_link_default") 2>&5
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
2124 for ac_file in $ac_files ''
2126 test -f "$ac_file" || continue
2128 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2131 # We found the default executable, but exeext='' is most
2135 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
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
2149 test "$ac_cv_exeext" = no && ac_cv_exeext=
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;;
2182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2183 (eval "$ac_try") 2>&5
2185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2186 (exit $ac_status); }; }; then
2189 if test "$cross_compiling" = maybe; then
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"
2218 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2219 *) ac_try_echo=$ac_try;;
2221 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2222 (eval "$ac_link") 2>&5
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
2230 for ac_file in conftest.exe conftest conftest.*; do
2231 test -f "$ac_file" || continue
2233 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2234 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
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
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
2259 cat >conftest.$ac_ext <<_ACEOF
2262 cat confdefs.h >>conftest.$ac_ext
2263 cat >>conftest.$ac_ext <<_ACEOF
2264 /* end confdefs.h. */
2274 rm -f conftest.o conftest.obj
2275 if { (ac_try="$ac_compile"
2277 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2278 *) ac_try_echo=$ac_try;;
2280 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2281 (eval "$ac_compile") 2>&5
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;
2288 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2289 *) ac_cv_objext=`expr "$ac_file" : '.
*\.\
(.
*\
)'`
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
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
2315 cat >conftest.$ac_ext <<_ACEOF
2318 cat confdefs.h >>conftest.$ac_ext
2319 cat >>conftest.$ac_ext <<_ACEOF
2320 /* end confdefs.h. */
2333 rm -f conftest.$ac_objext
2334 if { (ac_try="$ac_compile"
2336 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2337 *) ac_try_echo
=$ac_try;;
2339 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2340 (eval "$ac_compile") 2>conftest.er1
2342 grep -v '^ *+' conftest.er1
>conftest.err
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
2352 echo "$as_me: failed program was:" >&5
2353 sed 's/^/| /' conftest.
$ac_ext >&5
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
2372 ac_save_c_werror_flag
=$ac_c_werror_flag
2373 ac_c_werror_flag
=yes
2376 cat >conftest.
$ac_ext <<_ACEOF
2379 cat confdefs.h
>>conftest.
$ac_ext
2380 cat >>conftest.
$ac_ext <<_ACEOF
2381 /* end confdefs.h. */
2391 rm -f conftest.
$ac_objext
2392 if { (ac_try
="$ac_compile"
2394 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2395 *) ac_try_echo=$ac_try;;
2397 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2398 (eval "$ac_compile") 2>conftest.er1
2400 grep -v '^ *+' conftest.er1 >conftest.err
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
2410 echo "$as_me: failed program was:" >&5
2411 sed 's/^/| /' conftest.$ac_ext >&5
2414 cat >conftest.$ac_ext <<_ACEOF
2417 cat confdefs.h >>conftest.$ac_ext
2418 cat >>conftest.$ac_ext <<_ACEOF
2419 /* end confdefs.h. */
2429 rm -f conftest.$ac_objext
2430 if { (ac_try="$ac_compile"
2432 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2433 *) ac_try_echo
=$ac_try;;
2435 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2436 (eval "$ac_compile") 2>conftest.er1
2438 grep -v '^ *+' conftest.er1
>conftest.err
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
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
2453 cat >conftest.
$ac_ext <<_ACEOF
2456 cat confdefs.h
>>conftest.
$ac_ext
2457 cat >>conftest.
$ac_ext <<_ACEOF
2458 /* end confdefs.h. */
2468 rm -f conftest.
$ac_objext
2469 if { (ac_try
="$ac_compile"
2471 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2472 *) ac_try_echo=$ac_try;;
2474 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2475 (eval "$ac_compile") 2>conftest.er1
2477 grep -v '^ *+' conftest.er1 >conftest.err
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
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
2513 if test "$GCC" = yes; then
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
2524 ac_cv_prog_cc_c89=no
2526 cat >conftest.$ac_ext <<_ACEOF
2529 cat confdefs.h >>conftest.$ac_ext
2530 cat >>conftest.$ac_ext <<_ACEOF
2531 /* end confdefs.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)
2545 static char *f (char * (*g) (char **, int), char **p, ...)
2550 s = g (p, va_arg (v,int));
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. */
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);
2578 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
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"
2590 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2591 *) ac_try_echo
=$ac_try;;
2593 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2594 (eval "$ac_compile") 2>conftest.er1
2596 grep -v '^ *+' conftest.er1
>conftest.err
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
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
2615 rm -f conftest.
$ac_ext
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; } ;;
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; } ;;
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
2646 cat >conftest.
make <<\_ACEOF
2649 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2651 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2652 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2654 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2656 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
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; }
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
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
2696 ac_cv_sys_largefile_CC
=no
2697 if test "$GCC" != yes; then
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
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)
2725 rm -f conftest.
$ac_objext
2726 if { (ac_try
="$ac_compile"
2728 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2729 *) ac_try_echo=$ac_try;;
2731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2732 (eval "$ac_compile") 2>conftest.er1
2734 grep -v '^ *+' conftest.er1 >conftest.err
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
2744 echo "$as_me: failed program was:" >&5
2745 sed 's/^/| /' conftest.$ac_ext >&5
2750 rm -f core conftest.err conftest.$ac_objext
2752 rm -f conftest.$ac_objext
2753 if { (ac_try="$ac_compile"
2755 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2756 *) ac_try_echo
=$ac_try;;
2758 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2759 (eval "$ac_compile") 2>conftest.er1
2761 grep -v '^ *+' conftest.er1
>conftest.err
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
2771 echo "$as_me: failed program was:" >&5
2772 sed 's/^/| /' conftest.
$ac_ext >&5
2777 rm -f core conftest.err conftest.
$ac_objext
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
2796 cat >conftest.
$ac_ext <<_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)
2819 rm -f conftest.
$ac_objext
2820 if { (ac_try
="$ac_compile"
2822 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2823 *) ac_try_echo=$ac_try;;
2825 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2826 (eval "$ac_compile") 2>conftest.er1
2828 grep -v '^ *+' conftest.er1 >conftest.err
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
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
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)
2869 rm -f conftest.$ac_objext
2870 if { (ac_try="$ac_compile"
2872 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2873 *) ac_try_echo
=$ac_try;;
2875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2876 (eval "$ac_compile") 2>conftest.er1
2878 grep -v '^ *+' conftest.er1
>conftest.err
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
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
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 #(
2904 cat >>confdefs.h
<<_ACEOF
2905 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
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
2917 cat >conftest.
$ac_ext <<_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)
2940 rm -f conftest.
$ac_objext
2941 if { (ac_try
="$ac_compile"
2943 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2944 *) ac_try_echo=$ac_try;;
2946 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2947 (eval "$ac_compile") 2>conftest.er1
2949 grep -v '^ *+' conftest.er1 >conftest.err
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
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
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)
2990 rm -f conftest.$ac_objext
2991 if { (ac_try="$ac_compile"
2993 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2994 *) ac_try_echo
=$ac_try;;
2996 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2997 (eval "$ac_compile") 2>conftest.er1
2999 grep -v '^ *+' conftest.er1
>conftest.err
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
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
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 #(
3025 cat >>confdefs.h
<<_ACEOF
3026 #define _LARGE_FILES $ac_cv_sys_large_files
3035 # Host specific options
3036 # this isn't a definitive list of hosts, they are just added as required
3038 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3039 if test -f "$ac_dir/install-sh"; then
3041 ac_install_sh
="$ac_aux_dir/install-sh -c"
3043 elif test -f "$ac_dir/install.sh"; then
3045 ac_install_sh
="$ac_aux_dir/install.sh -c"
3047 elif test -f "$ac_dir/shtool"; then
3049 ac_install_sh
="$ac_aux_dir/shtool install -c"
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
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
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; }; };;
3101 ac_save_IFS
=$IFS; IFS
='-'
3107 # Remember, the first character of IFS is used to create $*,
3108 # except with old shells:
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
3119 if test "x$host_alias" = x
; then
3120 ac_cv_host
=$ac_cv_build
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; }
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; }; };;
3138 ac_save_IFS
=$IFS; IFS
='-'
3144 # Remember, the first character of IFS is used to create $*,
3145 # except with old shells:
3148 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
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
3174 cat >>confdefs.h
<<\_ACEOF
3175 #define DISABLE_WTMP
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
3187 ac_check_lib_save_LIBS
=$LIBS
3188 LIBS
="-lsocket $LIBS"
3189 cat >conftest.
$ac_ext <<_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. */
3211 rm -f conftest.
$ac_objext conftest
$ac_exeext
3212 if { (ac_try
="$ac_link"
3214 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3215 *) ac_try_echo=$ac_try;;
3217 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3218 (eval "$ac_link") 2>conftest.er1
3220 grep -v '^ *+' conftest.er1 >conftest.err
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
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
3252 ac_check_lib_save_LIBS=$LIBS
3254 cat >conftest.$ac_ext <<_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. */
3276 rm -f conftest.$ac_objext conftest$ac_exeext
3277 if { (ac_try="$ac_link"
3279 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3280 *) ac_try_echo
=$ac_try;;
3282 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3283 (eval "$ac_link") 2>conftest.er1
3285 grep -v '^ *+' conftest.er1
>conftest.err
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
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
3316 cat >>confdefs.h
<<\_ACEOF
3320 # OpenSSH thinks it's broken. If it isn't, let me know.
3322 cat >>confdefs.h
<<\_ACEOF
3323 #define BROKEN_GETADDRINFO
3330 # It's probably broken.
3332 cat >>confdefs.h
<<\_ACEOF
3333 #define BROKEN_GETADDRINFO
3339 cat >>confdefs.h
<<\_ACEOF
3340 #define BROKEN_GETADDRINFO
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
3354 if test -n "$AR"; then
3355 ac_cv_prog_AR
="$AR" # Let the user override the test.
3357 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
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
3375 if test -n "$AR"; then
3376 { echo "$as_me:$LINENO: result: $AR" >&5
3377 echo "${ECHO_T}$AR" >&6; }
3379 { echo "$as_me:$LINENO: result: no" >&5
3380 echo "${ECHO_T}no" >&6; }
3385 if test -z "$ac_cv_prog_AR"; then
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
3394 if test -n "$ac_ct_AR"; then
3395 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
3397 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
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
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; }
3419 { echo "$as_me:$LINENO: result: no" >&5
3420 echo "${ECHO_T}no" >&6; }
3423 if test "x$ac_ct_AR" = x
; then
3426 case $cross_compiling:$ac_tool_warned in
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 ;;
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
3450 if test -n "$RANLIB"; then
3451 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3453 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
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
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; }
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
3490 if test -n "$ac_ct_RANLIB"; then
3491 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
3493 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
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
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; }
3515 { echo "$as_me:$LINENO: result: no" >&5
3516 echo "${ECHO_T}no" >&6; }
3519 if test "x$ac_ct_RANLIB" = x
; then
3522 case $cross_compiling:$ac_tool_warned in
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 ;;
3532 RANLIB
=$ac_ct_RANLIB
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
3546 if test -n "$STRIP"; then
3547 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
3549 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
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
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; }
3571 { echo "$as_me:$LINENO: result: no" >&5
3572 echo "${ECHO_T}no" >&6; }
3577 if test -z "$ac_cv_prog_STRIP"; then
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
3586 if test -n "$ac_ct_STRIP"; then
3587 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3589 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
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
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; }
3611 { echo "$as_me:$LINENO: result: no" >&5
3612 echo "${ECHO_T}no" >&6; }
3615 if test "x$ac_ct_STRIP" = x
; then
3618 case $cross_compiling:$ac_tool_warned in
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 ;;
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
3642 if test -n "$INSTALL"; then
3643 ac_cv_prog_INSTALL
="$INSTALL" # Let the user override the test.
3645 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
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
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; }
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
3682 if test -n "$ac_ct_INSTALL"; then
3683 ac_cv_prog_ac_ct_INSTALL
="$ac_ct_INSTALL" # Let the user override the test.
3685 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
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
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; }
3707 { echo "$as_me:$LINENO: result: no" >&5
3708 echo "${ECHO_T}no" >&6; }
3711 if test "x$ac_ct_INSTALL" = x
; then
3714 case $cross_compiling:$ac_tool_warned in
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 ;;
3724 INSTALL
=$ac_ct_INSTALL
3727 INSTALL
="$ac_cv_prog_INSTALL"
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
3742 if test -z "$CPP"; then
3743 if test "${ac_cv_prog_CPP+set}" = set; then
3744 echo $ECHO_N "(cached) $ECHO_C" >&6
3746 # Double quotes because CPP needs to be expanded
3747 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
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
3761 cat confdefs.h
>>conftest.
$ac_ext
3762 cat >>conftest.
$ac_ext <<_ACEOF
3763 /* end confdefs.h. */
3765 # include <limits.h>
3767 # include <assert.h>
3771 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3773 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3774 *) ac_try_echo=$ac_try;;
3776 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3777 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3779 grep -v '^ *+' conftest.er1 >conftest.err
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
3789 echo "$as_me: failed program was:" >&5
3790 sed 's/^/| /' conftest.$ac_ext >&5
3792 # Broken: fails on valid input.
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
3803 cat confdefs.h >>conftest.$ac_ext
3804 cat >>conftest.$ac_ext <<_ACEOF
3805 /* end confdefs.h. */
3806 #include <ac_nonexistent.h>
3808 if { (ac_try="$ac_cpp conftest.$ac_ext"
3810 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3811 *) ac_try_echo
=$ac_try;;
3813 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3814 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3816 grep -v '^ *+' conftest.er1
>conftest.err
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
3824 # Broken: success on invalid input.
3827 echo "$as_me: failed program was:" >&5
3828 sed 's/^/| /' conftest.
$ac_ext >&5
3830 # Passes both tests.
3835 rm -f conftest.err conftest.
$ac_ext
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
3852 { echo "$as_me:$LINENO: result: $CPP" >&5
3853 echo "${ECHO_T}$CPP" >&6; }
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
3866 cat confdefs.h
>>conftest.
$ac_ext
3867 cat >>conftest.
$ac_ext <<_ACEOF
3868 /* end confdefs.h. */
3870 # include <limits.h>
3872 # include <assert.h>
3876 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3878 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3879 *) ac_try_echo=$ac_try;;
3881 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3882 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3884 grep -v '^ *+' conftest.er1 >conftest.err
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
3894 echo "$as_me: failed program was:" >&5
3895 sed 's/^/| /' conftest.$ac_ext >&5
3897 # Broken: fails on valid input.
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
3908 cat confdefs.h >>conftest.$ac_ext
3909 cat >>conftest.$ac_ext <<_ACEOF
3910 /* end confdefs.h. */
3911 #include <ac_nonexistent.h>
3913 if { (ac_try="$ac_cpp conftest.$ac_ext"
3915 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3916 *) ac_try_echo
=$ac_try;;
3918 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3919 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3921 grep -v '^ *+' conftest.er1
>conftest.err
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
3929 # Broken: success on invalid input.
3932 echo "$as_me: failed program was:" >&5
3933 sed 's/^/| /' conftest.
$ac_ext >&5
3935 # Passes both tests.
3940 rm -f conftest.err conftest.
$ac_ext
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
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; }; }
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
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
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
/xpg
4/bin
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
3988 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3991 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
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
4009 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4013 $ac_path_GREP_found && break 3
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; }; }
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
4046 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4047 then ac_cv_path_EGREP
="$GREP -E"
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
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
/xpg
4/bin
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
4070 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4073 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
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
4091 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4095 $ac_path_EGREP_found && break 3
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; }; }
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
4129 cat >conftest.
$ac_ext <<_ACEOF
4132 cat confdefs.h
>>conftest.
$ac_ext
4133 cat >>conftest.
$ac_ext <<_ACEOF
4134 /* end confdefs.h. */
4148 rm -f conftest.
$ac_objext
4149 if { (ac_try
="$ac_compile"
4151 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4152 *) ac_try_echo=$ac_try;;
4154 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4155 (eval "$ac_compile") 2>conftest.er1
4157 grep -v '^ *+' conftest.er1 >conftest.err
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
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
4180 cat confdefs.h >>conftest.$ac_ext
4181 cat >>conftest.$ac_ext <<_ACEOF
4182 /* end confdefs.h. */
4186 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4187 $EGREP "memchr" >/dev/null 2>&1; then
4190 ac_cv_header_stdc=no
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
4201 cat confdefs.h >>conftest.$ac_ext
4202 cat >>conftest.$ac_ext <<_ACEOF
4203 /* end confdefs.h. */
4207 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4208 $EGREP "free" >/dev/null 2>&1; then
4211 ac_cv_header_stdc=no
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
4222 cat >conftest.$ac_ext <<_ACEOF
4225 cat confdefs.h >>conftest.$ac_ext
4226 cat >>conftest.$ac_ext <<_ACEOF
4227 /* end confdefs.h. */
4230 #if ((' ' & 0x0FF) == 0x020)
4231 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4232 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
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))
4241 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4246 for (i = 0; i < 256; i++)
4247 if (XOR (islower (i), ISLOWER (i))
4248 || toupper (i) != TOUPPER (i))
4253 rm -f conftest$ac_exeext
4254 if { (ac_try="$ac_link"
4256 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4257 *) ac_try_echo
=$ac_try;;
4259 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4260 (eval "$ac_link") 2>&5
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;;
4268 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4269 (eval "$ac_try") 2>&5
4271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4272 (exit $ac_status); }; }; then
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
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
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
4317 cat >conftest.$ac_ext <<_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>
4327 rm -f conftest.$ac_objext
4328 if { (ac_try="$ac_compile"
4330 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4331 *) ac_try_echo
=$ac_try;;
4333 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4334 (eval "$ac_compile") 2>conftest.er1
4336 grep -v '^ *+' conftest.er1
>conftest.err
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"
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
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
4372 cat >conftest.
$ac_ext <<_ACEOF
4375 cat confdefs.h
>>conftest.
$ac_ext
4376 cat >>conftest.
$ac_ext <<_ACEOF
4377 /* end confdefs.h. */
4378 $ac_includes_default
4390 rm -f conftest.
$ac_objext
4391 if { (ac_try
="$ac_compile"
4393 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4394 *) ac_try_echo=$ac_try;;
4396 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4397 (eval "$ac_compile") 2>conftest.er1
4399 grep -v '^ *+' conftest.er1 >conftest.err
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
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
4434 ac_check_lib_save_LIBS=$LIBS
4435 LIBS="-lcrypt $LIBS"
4436 cat >conftest.$ac_ext <<_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. */
4458 rm -f conftest.$ac_objext conftest$ac_exeext
4459 if { (ac_try="$ac_link"
4461 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4462 *) ac_try_echo
=$ac_try;;
4464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4465 (eval "$ac_link") 2>conftest.er1
4467 grep -v '^ *+' conftest.er1
>conftest.err
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
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
4496 # Check if zlib is needed
4498 # Check whether --with-zlib was given.
4499 if test "${with_zlib+set}" = set; then
4502 if test -d "$withval/lib"; then
4503 LDFLAGS
="-L${withval}/lib ${LDFLAGS}"
4505 LDFLAGS
="-L${withval} ${LDFLAGS}"
4507 if test -d "$withval/include"; then
4508 CPPFLAGS
="-I${withval}/include ${CPPFLAGS}"
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
4526 { echo "$as_me:$LINENO: Disabling zlib" >&5
4527 echo "$as_me: Disabling zlib" >&6;}
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
4535 ac_check_lib_save_LIBS
=$LIBS
4537 cat >conftest.
$ac_ext <<_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. */
4559 rm -f conftest.
$ac_objext conftest
$ac_exeext
4560 if { (ac_try
="$ac_link"
4562 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4563 *) ac_try_echo=$ac_try;;
4565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4566 (eval "$ac_link") 2>conftest.er1
4568 grep -v '^ *+' conftest.er1 >conftest.err
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
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
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;}
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
4617 ac_check_lib_save_LIBS=$LIBS
4619 cat >conftest.$ac_ext <<_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. */
4641 rm -f conftest.$ac_objext conftest$ac_exeext
4642 if { (ac_try="$ac_link"
4644 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4645 *) ac_try_echo
=$ac_try;;
4647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4648 (eval "$ac_link") 2>conftest.er1
4650 grep -v '^ *+' conftest.er1
>conftest.err
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
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
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
4699 if test -d "$withval/lib"; then
4700 LDFLAGS
="-L${withval}/lib ${LDFLAGS}"
4702 LDFLAGS
="-L${withval} ${LDFLAGS}"
4704 if test -d "$withval/include"; then
4705 CPPFLAGS
="-I${withval}/include ${CPPFLAGS}"
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
4725 ac_check_lib_save_LIBS
=$LIBS
4727 cat >conftest.
$ac_ext <<_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. */
4740 char pam_authenticate ();
4744 return pam_authenticate ();
4749 rm -f conftest.
$ac_objext conftest
$ac_exeext
4750 if { (ac_try
="$ac_link"
4752 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4753 *) ac_try_echo=$ac_try;;
4755 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4756 (eval "$ac_link") 2>conftest.er1
4758 grep -v '^ *+' conftest.er1 >conftest.err
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
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
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
4805 cat >conftest.$ac_ext <<_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. */
4821 # include <limits.h>
4823 # include <assert.h>
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. */
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
4850 rm -f conftest.$ac_objext conftest$ac_exeext
4851 if { (ac_try="$ac_link"
4853 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4854 *) ac_try_echo
=$ac_try;;
4856 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4857 (eval "$ac_link") 2>conftest.er1
4859 grep -v '^ *+' conftest.er1
>conftest.err
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"
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
4892 cat >>confdefs.h
<<\_ACEOF
4896 { echo "$as_me:$LINENO: Disabling PAM" >&5
4897 echo "$as_me: Disabling PAM" >&6;}
4902 # disable it by default
4904 cat >>confdefs.h
<<\_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;}
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
4929 ac_func_search_save_LIBS
=$LIBS
4930 cat >conftest.
$ac_ext <<_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. */
4952 for ac_lib
in '' util
; do
4953 if test -z "$ac_lib"; then
4954 ac_res
="none required"
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"
4962 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4963 *) ac_try_echo=$ac_try;;
4965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4966 (eval "$ac_link") 2>conftest.er1
4968 grep -v '^ *+' conftest.er1 >conftest.err
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
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 \
4987 if test "${ac_cv_search_openpty+set}" = set; then
4991 if test "${ac_cv_search_openpty+set}" = set; then
4994 ac_cv_search_openpty=no
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
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
5022 ac_func_search_save_LIBS=$LIBS
5023 cat >conftest.$ac_ext <<_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. */
5045 for ac_lib in '' util; do
5046 if test -z "$ac_lib"; then
5047 ac_res="none required"
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"
5055 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5056 *) ac_try_echo
=$ac_try;;
5058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5059 (eval "$ac_link") 2>conftest.er1
5061 grep -v '^ *+' conftest.er1
>conftest.err
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
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 \
5080 if test "${ac_cv_search_openpty+set}" = set; then
5084 if test "${ac_cv_search_openpty+set}" = set; then
5087 ac_cv_search_openpty
=no
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
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
5118 { echo "$as_me:$LINENO: Disabling syslog" >&5
5119 echo "$as_me: Disabling syslog" >&6;}
5121 { echo "$as_me:$LINENO: Enabling syslog" >&5
5122 echo "$as_me: Enabling syslog" >&6;}
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;}
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; }
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
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>
5167 rm -f conftest.
$ac_objext
5168 if { (ac_try
="$ac_compile"
5170 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5171 *) ac_try_echo=$ac_try;;
5173 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5174 (eval "$ac_compile") 2>conftest.er1
5176 grep -v '^ *+' conftest.er1 >conftest.err
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
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
5202 cat confdefs.h >>conftest.$ac_ext
5203 cat >>conftest.$ac_ext <<_ACEOF
5204 /* end confdefs.h. */
5205 #include <$ac_header>
5207 if { (ac_try="$ac_cpp conftest.$ac_ext"
5209 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5210 *) ac_try_echo
=$ac_try;;
5212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5213 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5215 grep -v '^ *+' conftest.er1
>conftest.err
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
5223 ac_header_preproc
=yes
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
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
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;}
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
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
5281 { echo "$as_me:$LINENO: Using shadow passwords if available" >&5
5282 echo "$as_me: Using shadow passwords if available" >&6;}
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; }
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
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>
5313 rm -f conftest.
$ac_objext
5314 if { (ac_try
="$ac_compile"
5316 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5317 *) ac_try_echo=$ac_try;;
5319 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5320 (eval "$ac_compile") 2>conftest.er1
5322 grep -v '^ *+' conftest.er1 >conftest.err
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
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
5348 cat confdefs.h >>conftest.$ac_ext
5349 cat >>conftest.$ac_ext <<_ACEOF
5350 /* end confdefs.h. */
5351 #include <$ac_header>
5353 if { (ac_try="$ac_cpp conftest.$ac_ext"
5355 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5356 *) ac_try_echo
=$ac_try;;
5358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5359 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5361 grep -v '^ *+' conftest.er1
>conftest.err
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
5369 ac_header_preproc
=yes
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
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
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;}
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
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
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
5441 cat >conftest.
$ac_ext <<_ACEOF
5444 cat confdefs.h
>>conftest.
$ac_ext
5445 cat >>conftest.
$ac_ext <<_ACEOF
5446 /* end confdefs.h. */
5460 rm -f conftest.
$ac_objext
5461 if { (ac_try
="$ac_compile"
5463 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5464 *) ac_try_echo=$ac_try;;
5466 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5467 (eval "$ac_compile") 2>conftest.er1
5469 grep -v '^ *+' conftest.er1 >conftest.err
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
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
5492 cat confdefs.h >>conftest.$ac_ext
5493 cat >>conftest.$ac_ext <<_ACEOF
5494 /* end confdefs.h. */
5498 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5499 $EGREP "memchr" >/dev/null 2>&1; then
5502 ac_cv_header_stdc=no
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
5513 cat confdefs.h >>conftest.$ac_ext
5514 cat >>conftest.$ac_ext <<_ACEOF
5515 /* end confdefs.h. */
5519 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5520 $EGREP "free" >/dev/null 2>&1; then
5523 ac_cv_header_stdc=no
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
5534 cat >conftest.$ac_ext <<_ACEOF
5537 cat confdefs.h >>conftest.$ac_ext
5538 cat >>conftest.$ac_ext <<_ACEOF
5539 /* end confdefs.h. */
5542 #if ((' ' & 0x0FF) == 0x020)
5543 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5544 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
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))
5553 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5558 for (i = 0; i < 256; i++)
5559 if (XOR (islower (i), ISLOWER (i))
5560 || toupper (i) != TOUPPER (i))
5565 rm -f conftest$ac_exeext
5566 if { (ac_try="$ac_link"
5568 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5569 *) ac_try_echo
=$ac_try;;
5571 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5572 (eval "$ac_link") 2>&5
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;;
5580 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5581 (eval "$ac_try") 2>&5
5583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5584 (exit $ac_status); }; }; then
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
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
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
5615 cat >conftest.$ac_ext <<_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>
5624 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
5627 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
5635 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
5640 rm -f conftest.$ac_objext
5641 if { (ac_try="$ac_compile"
5643 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5644 *) ac_try_echo
=$ac_try;;
5646 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5647 (eval "$ac_compile") 2>conftest.er1
5649 grep -v '^ *+' conftest.er1
>conftest.err
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
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
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; }
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
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>
5728 rm -f conftest.
$ac_objext
5729 if { (ac_try
="$ac_compile"
5731 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5732 *) ac_try_echo=$ac_try;;
5734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5735 (eval "$ac_compile") 2>conftest.er1
5737 grep -v '^ *+' conftest.er1 >conftest.err
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
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
5763 cat confdefs.h >>conftest.$ac_ext
5764 cat >>conftest.$ac_ext <<_ACEOF
5765 /* end confdefs.h. */
5766 #include <$ac_header>
5768 if { (ac_try="$ac_cpp conftest.$ac_ext"
5770 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5771 *) ac_try_echo
=$ac_try;;
5773 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5774 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5776 grep -v '^ *+' conftest.er1
>conftest.err
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
5784 ac_header_preproc
=yes
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
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
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;}
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
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
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
5849 cat >conftest.
$ac_ext <<_ACEOF
5852 cat confdefs.h
>>conftest.
$ac_ext
5853 cat >>conftest.
$ac_ext <<_ACEOF
5854 /* end confdefs.h. */
5859 /* FIXME: Include the comments suggested by Paul. */
5861 /* Ultrix mips cc rejects this. */
5862 typedef int charset[2];
5864 /* SunOS 4.1.1 cc rejects this. */
5865 char const *const *pcpcc;
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
5874 const char *g = "string";
5875 pcpcc = &g + (g ? g-g : 0);
5876 /* HPUX 7.0 cc rejects these. */
5878 ppc = (char**) pcpcc;
5879 pcpcc = (char const *const *) ppc;
5880 { /* SCO 3.2v4 cc rejects this. */
5882 char const *s = 0 ? (char *) 0 : (char const *) 0;
5887 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
5889 const int *foo = &x[0];
5892 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
5893 typedef const int *iptr;
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 */
5906 return !cs[0] && !zero.x;
5913 rm -f conftest.
$ac_objext
5914 if { (ac_try
="$ac_compile"
5916 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5917 *) ac_try_echo=$ac_try;;
5919 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5920 (eval "$ac_compile") 2>conftest.er1
5922 grep -v '^ *+' conftest.er1 >conftest.err
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
5932 echo "$as_me: failed program was:" >&5
5933 sed 's/^/| /' conftest.$ac_ext >&5
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
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
5955 cat >conftest.$ac_ext <<_ACEOF
5958 cat confdefs.h >>conftest.$ac_ext
5959 cat >>conftest.$ac_ext <<_ACEOF
5960 /* end confdefs.h. */
5961 #include <sys/types.h>
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
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
5982 cat >>confdefs.h <<\_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
5993 cat >conftest.$ac_ext <<_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_;
6004 if ((ac__type_new_ *) 0)
6006 if (sizeof (ac__type_new_))
6012 rm -f conftest.$ac_objext
6013 if { (ac_try="$ac_compile"
6015 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6016 *) ac_try_echo
=$ac_try;;
6018 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6019 (eval "$ac_compile") 2>conftest.er1
6021 grep -v '^ *+' conftest.er1
>conftest.err
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
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
6045 cat >>confdefs.h
<<_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
6056 cat >conftest.
$ac_ext <<_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_;
6067 if ((ac__type_new_ *) 0)
6069 if (sizeof (ac__type_new_))
6075 rm -f conftest.
$ac_objext
6076 if { (ac_try
="$ac_compile"
6078 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6079 *) ac_try_echo=$ac_try;;
6081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6082 (eval "$ac_compile") 2>conftest.er1
6084 grep -v '^ *+' conftest.er1 >conftest.err
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
6094 echo "$as_me: failed program was:" >&5
6095 sed 's/^/| /' conftest.$ac_ext >&5
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
6108 cat >>confdefs.h <<_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
6119 cat >conftest.$ac_ext <<_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_;
6130 if ((ac__type_new_ *) 0)
6132 if (sizeof (ac__type_new_))
6138 rm -f conftest.$ac_objext
6139 if { (ac_try="$ac_compile"
6141 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6142 *) ac_try_echo
=$ac_try;;
6144 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6145 (eval "$ac_compile") 2>conftest.er1
6147 grep -v '^ *+' conftest.er1
>conftest.err
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
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
6171 cat >>confdefs.h
<<_ACEOF
6172 #define size_t unsigned int
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
6182 cat >conftest.
$ac_ext <<_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>
6195 if ((struct tm *) 0)
6201 rm -f conftest.
$ac_objext
6202 if { (ac_try
="$ac_compile"
6204 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6205 *) ac_try_echo=$ac_try;;
6207 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6208 (eval "$ac_compile") 2>conftest.er1
6210 grep -v '^ *+' conftest.er1 >conftest.err
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
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
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
6244 cat >conftest.$ac_ext <<_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_;
6255 if ((ac__type_new_ *) 0)
6257 if (sizeof (ac__type_new_))
6263 rm -f conftest.$ac_objext
6264 if { (ac_try="$ac_compile"
6266 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6267 *) ac_try_echo
=$ac_try;;
6269 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6270 (eval "$ac_compile") 2>conftest.er1
6272 grep -v '^ *+' conftest.er1
>conftest.err
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
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
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
6305 cat >conftest.
$ac_ext <<_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_;
6316 if ((ac__type_new_ *) 0)
6318 if (sizeof (ac__type_new_))
6324 rm -f conftest.
$ac_objext
6325 if { (ac_try
="$ac_compile"
6327 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6328 *) ac_try_echo=$ac_try;;
6330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6331 (eval "$ac_compile") 2>conftest.er1
6333 grep -v '^ *+' conftest.er1 >conftest.err
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
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
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
6366 cat >conftest.$ac_ext <<_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_;
6377 if ((ac__type_new_ *) 0)
6379 if (sizeof (ac__type_new_))
6385 rm -f conftest.$ac_objext
6386 if { (ac_try="$ac_compile"
6388 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6389 *) ac_try_echo
=$ac_try;;
6391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6392 (eval "$ac_compile") 2>conftest.er1
6394 grep -v '^ *+' conftest.er1
>conftest.err
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
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
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
6428 cat >conftest.
$ac_ext <<_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_;
6441 if ((ac__type_new_ *) 0)
6443 if (sizeof (ac__type_new_))
6449 rm -f conftest.
$ac_objext
6450 if { (ac_try
="$ac_compile"
6452 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6453 *) ac_try_echo=$ac_try;;
6455 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6456 (eval "$ac_compile") 2>conftest.er1
6458 grep -v '^ *+' conftest.er1 >conftest.err
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
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
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
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
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 *);
6510 getpeername(0,0,&len);
6516 rm -f conftest.$ac_objext
6517 if { (ac_try="$ac_compile"
6519 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6520 *) ac_try_echo
=$ac_try;;
6522 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6523 (eval "$ac_compile") 2>conftest.er1
6525 grep -v '^ *+' conftest.er1
>conftest.err
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"
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
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
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
6574 cat >conftest.
$ac_ext <<_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>
6587 struct sockaddr_storage s;
6592 rm -f conftest.
$ac_objext
6593 if { (ac_try
="$ac_compile"
6595 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6596 *) ac_try_echo=$ac_try;;
6598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6599 (eval "$ac_compile") 2>conftest.er1
6601 grep -v '^ *+' conftest.er1 >conftest.err
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"
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
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
6636 cat >conftest.$ac_ext <<_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>
6649 struct sockaddr_in6 s; s.sin6_family = 0;
6654 rm -f conftest.$ac_objext
6655 if { (ac_try="$ac_compile"
6657 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6658 *) ac_try_echo
=$ac_try;;
6660 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6661 (eval "$ac_compile") 2>conftest.er1
6663 grep -v '^ *+' conftest.er1
>conftest.err
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"
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
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
6699 cat >conftest.
$ac_ext <<_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>
6712 struct in6_addr s; s.s6_addr[0] = 0;
6717 rm -f conftest.
$ac_objext
6718 if { (ac_try
="$ac_compile"
6720 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6721 *) ac_try_echo=$ac_try;;
6723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6724 (eval "$ac_compile") 2>conftest.er1
6726 grep -v '^ *+' conftest.er1 >conftest.err
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"
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
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
6762 cat >conftest.$ac_ext <<_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>
6776 struct addrinfo s; s.ai_flags = AI_PASSIVE;
6781 rm -f conftest.$ac_objext
6782 if { (ac_try="$ac_compile"
6784 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6785 *) ac_try_echo
=$ac_try;;
6787 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6788 (eval "$ac_compile") 2>conftest.er1
6790 grep -v '^ *+' conftest.er1
>conftest.err
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"
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
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
6831 cat >conftest.
$ac_ext <<_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. */
6847 # include <limits.h>
6849 # include <assert.h>
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. */
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
6876 rm -f conftest.
$ac_objext conftest
$ac_exeext
6877 if { (ac_try
="$ac_link"
6879 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6880 *) ac_try_echo=$ac_try;;
6882 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6883 (eval "$ac_link") 2>conftest.er1
6885 grep -v '^ *+' conftest.er1 >conftest.err
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"
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
6913 cat >>confdefs.h <<\_ACEOF
6914 #define HAVE_GAI_STRERROR 1
6917 cat >conftest.$ac_ext <<_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>
6928 const char *gai_strerror(int);
6935 str = gai_strerror(0);
6940 rm -f conftest.$ac_objext
6941 if { (ac_try="$ac_compile"
6943 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6944 *) ac_try_echo
=$ac_try;;
6946 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6947 (eval "$ac_compile") 2>conftest.er1
6949 grep -v '^ *+' conftest.er1
>conftest.err
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
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
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
6982 cat >conftest.
$ac_ext <<_ACEOF
6985 cat confdefs.h
>>conftest.
$ac_ext
6986 cat >>conftest.
$ac_ext <<_ACEOF
6987 /* end confdefs.h. */
6989 #include <sys/types.h>
6998 static struct utmp ac_aggr;
6999 if (ac_aggr.ut_host)
7005 rm -f conftest.
$ac_objext
7006 if { (ac_try
="$ac_compile"
7008 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7009 *) ac_try_echo=$ac_try;;
7011 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7012 (eval "$ac_compile") 2>conftest.er1
7014 grep -v '^ *+' conftest.er1 >conftest.err
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
7024 echo "$as_me: failed program was:" >&5
7025 sed 's/^/| /' conftest.$ac_ext >&5
7027 cat >conftest.$ac_ext <<_ACEOF
7030 cat confdefs.h >>conftest.$ac_ext
7031 cat >>conftest.$ac_ext <<_ACEOF
7032 /* end confdefs.h. */
7034 #include <sys/types.h>
7043 static struct utmp ac_aggr;
7044 if (sizeof ac_aggr.ut_host)
7050 rm -f conftest.$ac_objext
7051 if { (ac_try="$ac_compile"
7053 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7054 *) ac_try_echo
=$ac_try;;
7056 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7057 (eval "$ac_compile") 2>conftest.er1
7059 grep -v '^ *+' conftest.er1
>conftest.err
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
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
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
7095 cat >conftest.
$ac_ext <<_ACEOF
7098 cat confdefs.h
>>conftest.
$ac_ext
7099 cat >>conftest.
$ac_ext <<_ACEOF
7100 /* end confdefs.h. */
7102 #include <sys/types.h>
7111 static struct utmp ac_aggr;
7118 rm -f conftest.
$ac_objext
7119 if { (ac_try
="$ac_compile"
7121 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7122 *) ac_try_echo=$ac_try;;
7124 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7125 (eval "$ac_compile") 2>conftest.er1
7127 grep -v '^ *+' conftest.er1 >conftest.err
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
7137 echo "$as_me: failed program was:" >&5
7138 sed 's/^/| /' conftest.$ac_ext >&5
7140 cat >conftest.$ac_ext <<_ACEOF
7143 cat confdefs.h >>conftest.$ac_ext
7144 cat >>conftest.$ac_ext <<_ACEOF
7145 /* end confdefs.h. */
7147 #include <sys/types.h>
7156 static struct utmp ac_aggr;
7157 if (sizeof ac_aggr.ut_pid)
7163 rm -f conftest.$ac_objext
7164 if { (ac_try="$ac_compile"
7166 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7167 *) ac_try_echo
=$ac_try;;
7169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7170 (eval "$ac_compile") 2>conftest.er1
7172 grep -v '^ *+' conftest.er1
>conftest.err
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
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
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
7208 cat >conftest.
$ac_ext <<_ACEOF
7211 cat confdefs.h
>>conftest.
$ac_ext
7212 cat >>conftest.
$ac_ext <<_ACEOF
7213 /* end confdefs.h. */
7215 #include <sys/types.h>
7224 static struct utmp ac_aggr;
7225 if (ac_aggr.ut_type)
7231 rm -f conftest.
$ac_objext
7232 if { (ac_try
="$ac_compile"
7234 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7235 *) ac_try_echo=$ac_try;;
7237 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7238 (eval "$ac_compile") 2>conftest.er1
7240 grep -v '^ *+' conftest.er1 >conftest.err
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
7250 echo "$as_me: failed program was:" >&5
7251 sed 's/^/| /' conftest.$ac_ext >&5
7253 cat >conftest.$ac_ext <<_ACEOF
7256 cat confdefs.h >>conftest.$ac_ext
7257 cat >>conftest.$ac_ext <<_ACEOF
7258 /* end confdefs.h. */
7260 #include <sys/types.h>
7269 static struct utmp ac_aggr;
7270 if (sizeof ac_aggr.ut_type)
7276 rm -f conftest.$ac_objext
7277 if { (ac_try="$ac_compile"
7279 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7280 *) ac_try_echo
=$ac_try;;
7282 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7283 (eval "$ac_compile") 2>conftest.er1
7285 grep -v '^ *+' conftest.er1
>conftest.err
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
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
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
7321 cat >conftest.
$ac_ext <<_ACEOF
7324 cat confdefs.h
>>conftest.
$ac_ext
7325 cat >>conftest.
$ac_ext <<_ACEOF
7326 /* end confdefs.h. */
7328 #include <sys/types.h>
7337 static struct utmp ac_aggr;
7344 rm -f conftest.
$ac_objext
7345 if { (ac_try
="$ac_compile"
7347 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7348 *) ac_try_echo=$ac_try;;
7350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7351 (eval "$ac_compile") 2>conftest.er1
7353 grep -v '^ *+' conftest.er1 >conftest.err
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
7363 echo "$as_me: failed program was:" >&5
7364 sed 's/^/| /' conftest.$ac_ext >&5
7366 cat >conftest.$ac_ext <<_ACEOF
7369 cat confdefs.h >>conftest.$ac_ext
7370 cat >>conftest.$ac_ext <<_ACEOF
7371 /* end confdefs.h. */
7373 #include <sys/types.h>
7382 static struct utmp ac_aggr;
7383 if (sizeof ac_aggr.ut_tv)
7389 rm -f conftest.$ac_objext
7390 if { (ac_try="$ac_compile"
7392 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7393 *) ac_try_echo
=$ac_try;;
7395 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7396 (eval "$ac_compile") 2>conftest.er1
7398 grep -v '^ *+' conftest.er1
>conftest.err
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
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
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
7434 cat >conftest.
$ac_ext <<_ACEOF
7437 cat confdefs.h
>>conftest.
$ac_ext
7438 cat >>conftest.
$ac_ext <<_ACEOF
7439 /* end confdefs.h. */
7441 #include <sys/types.h>
7450 static struct utmp ac_aggr;
7457 rm -f conftest.
$ac_objext
7458 if { (ac_try
="$ac_compile"
7460 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7461 *) ac_try_echo=$ac_try;;
7463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7464 (eval "$ac_compile") 2>conftest.er1
7466 grep -v '^ *+' conftest.er1 >conftest.err
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
7476 echo "$as_me: failed program was:" >&5
7477 sed 's/^/| /' conftest.$ac_ext >&5
7479 cat >conftest.$ac_ext <<_ACEOF
7482 cat confdefs.h >>conftest.$ac_ext
7483 cat >>conftest.$ac_ext <<_ACEOF
7484 /* end confdefs.h. */
7486 #include <sys/types.h>
7495 static struct utmp ac_aggr;
7496 if (sizeof ac_aggr.ut_id)
7502 rm -f conftest.$ac_objext
7503 if { (ac_try="$ac_compile"
7505 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7506 *) ac_try_echo
=$ac_try;;
7508 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7509 (eval "$ac_compile") 2>conftest.er1
7511 grep -v '^ *+' conftest.er1
>conftest.err
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
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
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
7547 cat >conftest.
$ac_ext <<_ACEOF
7550 cat confdefs.h
>>conftest.
$ac_ext
7551 cat >>conftest.
$ac_ext <<_ACEOF
7552 /* end confdefs.h. */
7554 #include <sys/types.h>
7563 static struct utmp ac_aggr;
7564 if (ac_aggr.ut_addr)
7570 rm -f conftest.
$ac_objext
7571 if { (ac_try
="$ac_compile"
7573 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7574 *) ac_try_echo=$ac_try;;
7576 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7577 (eval "$ac_compile") 2>conftest.er1
7579 grep -v '^ *+' conftest.er1 >conftest.err
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
7589 echo "$as_me: failed program was:" >&5
7590 sed 's/^/| /' conftest.$ac_ext >&5
7592 cat >conftest.$ac_ext <<_ACEOF
7595 cat confdefs.h >>conftest.$ac_ext
7596 cat >>conftest.$ac_ext <<_ACEOF
7597 /* end confdefs.h. */
7599 #include <sys/types.h>
7608 static struct utmp ac_aggr;
7609 if (sizeof ac_aggr.ut_addr)
7615 rm -f conftest.$ac_objext
7616 if { (ac_try="$ac_compile"
7618 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7619 *) ac_try_echo
=$ac_try;;
7621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7622 (eval "$ac_compile") 2>conftest.er1
7624 grep -v '^ *+' conftest.er1
>conftest.err
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
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
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
7660 cat >conftest.
$ac_ext <<_ACEOF
7663 cat confdefs.h
>>conftest.
$ac_ext
7664 cat >>conftest.
$ac_ext <<_ACEOF
7665 /* end confdefs.h. */
7667 #include <sys/types.h>
7676 static struct utmp ac_aggr;
7677 if (ac_aggr.ut_addr_v6)
7683 rm -f conftest.
$ac_objext
7684 if { (ac_try
="$ac_compile"
7686 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7687 *) ac_try_echo=$ac_try;;
7689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7690 (eval "$ac_compile") 2>conftest.er1
7692 grep -v '^ *+' conftest.er1 >conftest.err
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
7702 echo "$as_me: failed program was:" >&5
7703 sed 's/^/| /' conftest.$ac_ext >&5
7705 cat >conftest.$ac_ext <<_ACEOF
7708 cat confdefs.h >>conftest.$ac_ext
7709 cat >>conftest.$ac_ext <<_ACEOF
7710 /* end confdefs.h. */
7712 #include <sys/types.h>
7721 static struct utmp ac_aggr;
7722 if (sizeof ac_aggr.ut_addr_v6)
7728 rm -f conftest.$ac_objext
7729 if { (ac_try="$ac_compile"
7731 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7732 *) ac_try_echo
=$ac_try;;
7734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7735 (eval "$ac_compile") 2>conftest.er1
7737 grep -v '^ *+' conftest.er1
>conftest.err
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
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
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
7773 cat >conftest.
$ac_ext <<_ACEOF
7776 cat confdefs.h
>>conftest.
$ac_ext
7777 cat >>conftest.
$ac_ext <<_ACEOF
7778 /* end confdefs.h. */
7780 #include <sys/types.h>
7789 static struct utmp ac_aggr;
7790 if (ac_aggr.ut_exit)
7796 rm -f conftest.
$ac_objext
7797 if { (ac_try
="$ac_compile"
7799 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7800 *) ac_try_echo=$ac_try;;
7802 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7803 (eval "$ac_compile") 2>conftest.er1
7805 grep -v '^ *+' conftest.er1 >conftest.err
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
7815 echo "$as_me: failed program was:" >&5
7816 sed 's/^/| /' conftest.$ac_ext >&5
7818 cat >conftest.$ac_ext <<_ACEOF
7821 cat confdefs.h >>conftest.$ac_ext
7822 cat >>conftest.$ac_ext <<_ACEOF
7823 /* end confdefs.h. */
7825 #include <sys/types.h>
7834 static struct utmp ac_aggr;
7835 if (sizeof ac_aggr.ut_exit)
7841 rm -f conftest.$ac_objext
7842 if { (ac_try="$ac_compile"
7844 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7845 *) ac_try_echo
=$ac_try;;
7847 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7848 (eval "$ac_compile") 2>conftest.er1
7850 grep -v '^ *+' conftest.er1
>conftest.err
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
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
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
7886 cat >conftest.
$ac_ext <<_ACEOF
7889 cat confdefs.h
>>conftest.
$ac_ext
7890 cat >>conftest.
$ac_ext <<_ACEOF
7891 /* end confdefs.h. */
7893 #include <sys/types.h>
7902 static struct utmp ac_aggr;
7903 if (ac_aggr.ut_time)
7909 rm -f conftest.
$ac_objext
7910 if { (ac_try
="$ac_compile"
7912 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7913 *) ac_try_echo=$ac_try;;
7915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7916 (eval "$ac_compile") 2>conftest.er1
7918 grep -v '^ *+' conftest.er1 >conftest.err
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
7928 echo "$as_me: failed program was:" >&5
7929 sed 's/^/| /' conftest.$ac_ext >&5
7931 cat >conftest.$ac_ext <<_ACEOF
7934 cat confdefs.h >>conftest.$ac_ext
7935 cat >>conftest.$ac_ext <<_ACEOF
7936 /* end confdefs.h. */
7938 #include <sys/types.h>
7947 static struct utmp ac_aggr;
7948 if (sizeof ac_aggr.ut_time)
7954 rm -f conftest.$ac_objext
7955 if { (ac_try="$ac_compile"
7957 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7958 *) ac_try_echo
=$ac_try;;
7960 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7961 (eval "$ac_compile") 2>conftest.er1
7963 grep -v '^ *+' conftest.er1
>conftest.err
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
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
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
8001 cat >conftest.
$ac_ext <<_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>
8018 static struct utmpx ac_aggr;
8019 if (ac_aggr.ut_host)
8025 rm -f conftest.
$ac_objext
8026 if { (ac_try
="$ac_compile"
8028 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8029 *) ac_try_echo=$ac_try;;
8031 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8032 (eval "$ac_compile") 2>conftest.er1
8034 grep -v '^ *+' conftest.er1 >conftest.err
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
8044 echo "$as_me: failed program was:" >&5
8045 sed 's/^/| /' conftest.$ac_ext >&5
8047 cat >conftest.$ac_ext <<_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>
8064 static struct utmpx ac_aggr;
8065 if (sizeof ac_aggr.ut_host)
8071 rm -f conftest.$ac_objext
8072 if { (ac_try="$ac_compile"
8074 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8075 *) ac_try_echo
=$ac_try;;
8077 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8078 (eval "$ac_compile") 2>conftest.er1
8080 grep -v '^ *+' conftest.er1
>conftest.err
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
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
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
8116 cat >conftest.
$ac_ext <<_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>
8133 static struct utmpx ac_aggr;
8134 if (ac_aggr.ut_syslen)
8140 rm -f conftest.
$ac_objext
8141 if { (ac_try
="$ac_compile"
8143 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8144 *) ac_try_echo=$ac_try;;
8146 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8147 (eval "$ac_compile") 2>conftest.er1
8149 grep -v '^ *+' conftest.er1 >conftest.err
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
8159 echo "$as_me: failed program was:" >&5
8160 sed 's/^/| /' conftest.$ac_ext >&5
8162 cat >conftest.$ac_ext <<_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>
8179 static struct utmpx ac_aggr;
8180 if (sizeof ac_aggr.ut_syslen)
8186 rm -f conftest.$ac_objext
8187 if { (ac_try="$ac_compile"
8189 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8190 *) ac_try_echo
=$ac_try;;
8192 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8193 (eval "$ac_compile") 2>conftest.er1
8195 grep -v '^ *+' conftest.er1
>conftest.err
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
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
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
8231 cat >conftest.
$ac_ext <<_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>
8248 static struct utmpx ac_aggr;
8249 if (ac_aggr.ut_type)
8255 rm -f conftest.
$ac_objext
8256 if { (ac_try
="$ac_compile"
8258 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8259 *) ac_try_echo=$ac_try;;
8261 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8262 (eval "$ac_compile") 2>conftest.er1
8264 grep -v '^ *+' conftest.er1 >conftest.err
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
8274 echo "$as_me: failed program was:" >&5
8275 sed 's/^/| /' conftest.$ac_ext >&5
8277 cat >conftest.$ac_ext <<_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>
8294 static struct utmpx ac_aggr;
8295 if (sizeof ac_aggr.ut_type)
8301 rm -f conftest.$ac_objext
8302 if { (ac_try="$ac_compile"
8304 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8305 *) ac_try_echo
=$ac_try;;
8307 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8308 (eval "$ac_compile") 2>conftest.er1
8310 grep -v '^ *+' conftest.er1
>conftest.err
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
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
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
8346 cat >conftest.
$ac_ext <<_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>
8363 static struct utmpx ac_aggr;
8370 rm -f conftest.
$ac_objext
8371 if { (ac_try
="$ac_compile"
8373 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8374 *) ac_try_echo=$ac_try;;
8376 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8377 (eval "$ac_compile") 2>conftest.er1
8379 grep -v '^ *+' conftest.er1 >conftest.err
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
8389 echo "$as_me: failed program was:" >&5
8390 sed 's/^/| /' conftest.$ac_ext >&5
8392 cat >conftest.$ac_ext <<_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>
8409 static struct utmpx ac_aggr;
8410 if (sizeof ac_aggr.ut_id)
8416 rm -f conftest.$ac_objext
8417 if { (ac_try="$ac_compile"
8419 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8420 *) ac_try_echo
=$ac_try;;
8422 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8423 (eval "$ac_compile") 2>conftest.er1
8425 grep -v '^ *+' conftest.er1
>conftest.err
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
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
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
8461 cat >conftest.
$ac_ext <<_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>
8478 static struct utmpx ac_aggr;
8479 if (ac_aggr.ut_addr)
8485 rm -f conftest.
$ac_objext
8486 if { (ac_try
="$ac_compile"
8488 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8489 *) ac_try_echo=$ac_try;;
8491 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8492 (eval "$ac_compile") 2>conftest.er1
8494 grep -v '^ *+' conftest.er1 >conftest.err
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
8504 echo "$as_me: failed program was:" >&5
8505 sed 's/^/| /' conftest.$ac_ext >&5
8507 cat >conftest.$ac_ext <<_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>
8524 static struct utmpx ac_aggr;
8525 if (sizeof ac_aggr.ut_addr)
8531 rm -f conftest.$ac_objext
8532 if { (ac_try="$ac_compile"
8534 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8535 *) ac_try_echo
=$ac_try;;
8537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8538 (eval "$ac_compile") 2>conftest.er1
8540 grep -v '^ *+' conftest.er1
>conftest.err
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
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
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
8576 cat >conftest.
$ac_ext <<_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>
8593 static struct utmpx ac_aggr;
8594 if (ac_aggr.ut_addr_v6)
8600 rm -f conftest.
$ac_objext
8601 if { (ac_try
="$ac_compile"
8603 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8604 *) ac_try_echo=$ac_try;;
8606 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8607 (eval "$ac_compile") 2>conftest.er1
8609 grep -v '^ *+' conftest.er1 >conftest.err
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
8619 echo "$as_me: failed program was:" >&5
8620 sed 's/^/| /' conftest.$ac_ext >&5
8622 cat >conftest.$ac_ext <<_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>
8639 static struct utmpx ac_aggr;
8640 if (sizeof ac_aggr.ut_addr_v6)
8646 rm -f conftest.$ac_objext
8647 if { (ac_try="$ac_compile"
8649 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8650 *) ac_try_echo
=$ac_try;;
8652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8653 (eval "$ac_compile") 2>conftest.er1
8655 grep -v '^ *+' conftest.er1
>conftest.err
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
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
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
8691 cat >conftest.
$ac_ext <<_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>
8708 static struct utmpx ac_aggr;
8709 if (ac_aggr.ut_time)
8715 rm -f conftest.
$ac_objext
8716 if { (ac_try
="$ac_compile"
8718 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8719 *) ac_try_echo=$ac_try;;
8721 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8722 (eval "$ac_compile") 2>conftest.er1
8724 grep -v '^ *+' conftest.er1 >conftest.err
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
8734 echo "$as_me: failed program was:" >&5
8735 sed 's/^/| /' conftest.$ac_ext >&5
8737 cat >conftest.$ac_ext <<_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>
8754 static struct utmpx ac_aggr;
8755 if (sizeof ac_aggr.ut_time)
8761 rm -f conftest.$ac_objext
8762 if { (ac_try="$ac_compile"
8764 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8765 *) ac_try_echo
=$ac_try;;
8767 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8768 (eval "$ac_compile") 2>conftest.er1
8770 grep -v '^ *+' conftest.er1
>conftest.err
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
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
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
8806 cat >conftest.
$ac_ext <<_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>
8823 static struct utmpx ac_aggr;
8830 rm -f conftest.
$ac_objext
8831 if { (ac_try
="$ac_compile"
8833 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8834 *) ac_try_echo=$ac_try;;
8836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8837 (eval "$ac_compile") 2>conftest.er1
8839 grep -v '^ *+' conftest.er1 >conftest.err
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
8849 echo "$as_me: failed program was:" >&5
8850 sed 's/^/| /' conftest.$ac_ext >&5
8852 cat >conftest.$ac_ext <<_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>
8869 static struct utmpx ac_aggr;
8870 if (sizeof ac_aggr.ut_tv)
8876 rm -f conftest.$ac_objext
8877 if { (ac_try="$ac_compile"
8879 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8880 *) ac_try_echo
=$ac_try;;
8882 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8883 (eval "$ac_compile") 2>conftest.er1
8885 grep -v '^ *+' conftest.er1
>conftest.err
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
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
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
8923 cat >conftest.
$ac_ext <<_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>
8937 static struct sockaddr_storage ac_aggr;
8938 if (ac_aggr.ss_family)
8944 rm -f conftest.
$ac_objext
8945 if { (ac_try
="$ac_compile"
8947 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8948 *) ac_try_echo=$ac_try;;
8950 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8951 (eval "$ac_compile") 2>conftest.er1
8953 grep -v '^ *+' conftest.er1 >conftest.err
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
8963 echo "$as_me: failed program was:" >&5
8964 sed 's/^/| /' conftest.$ac_ext >&5
8966 cat >conftest.$ac_ext <<_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>
8980 static struct sockaddr_storage ac_aggr;
8981 if (sizeof ac_aggr.ss_family)
8987 rm -f conftest.$ac_objext
8988 if { (ac_try="$ac_compile"
8990 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8991 *) ac_try_echo
=$ac_try;;
8993 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8994 (eval "$ac_compile") 2>conftest.er1
8996 grep -v '^ *+' conftest.er1
>conftest.err
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
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
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
9043 cat >conftest.
$ac_ext <<_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. */
9059 # include <limits.h>
9061 # include <assert.h>
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. */
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
9088 rm -f conftest.
$ac_objext conftest
$ac_exeext
9089 if { (ac_try
="$ac_link"
9091 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9092 *) ac_try_echo=$ac_try;;
9094 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9095 (eval "$ac_link") 2>conftest.er1
9097 grep -v '^ *+' conftest.er1 >conftest.err
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"
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
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
9137 cat >conftest.$ac_ext <<_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. */
9153 # include <limits.h>
9155 # include <assert.h>
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. */
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
9182 rm -f conftest.$ac_objext conftest$ac_exeext
9183 if { (ac_try="$ac_link"
9185 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9186 *) ac_try_echo
=$ac_try;;
9188 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9189 (eval "$ac_link") 2>conftest.er1
9191 grep -v '^ *+' conftest.er1
>conftest.err
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"
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
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
9235 cat >conftest.
$ac_ext <<_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. */
9251 # include <limits.h>
9253 # include <assert.h>
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. */
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
9280 rm -f conftest.
$ac_objext conftest
$ac_exeext
9281 if { (ac_try
="$ac_link"
9283 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9284 *) ac_try_echo=$ac_try;;
9286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9287 (eval "$ac_link") 2>conftest.er1
9289 grep -v '^ *+' conftest.er1 >conftest.err
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"
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
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
9330 cat >conftest.$ac_ext <<_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. */
9346 # include <limits.h>
9348 # include <assert.h>
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. */
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
9375 rm -f conftest.$ac_objext conftest$ac_exeext
9376 if { (ac_try="$ac_link"
9378 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9379 *) ac_try_echo
=$ac_try;;
9381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9382 (eval "$ac_link") 2>conftest.er1
9384 grep -v '^ *+' conftest.er1
>conftest.err
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"
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
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
9426 cat >conftest.
$ac_ext <<_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. */
9442 # include <limits.h>
9444 # include <assert.h>
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. */
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
9471 rm -f conftest.
$ac_objext conftest
$ac_exeext
9472 if { (ac_try
="$ac_link"
9474 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9475 *) ac_try_echo=$ac_try;;
9477 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9478 (eval "$ac_link") 2>conftest.er1
9480 grep -v '^ *+' conftest.er1 >conftest.err
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"
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
9512 # Check whether --enable-bundled-libtom was given.
9513 if test "${enable_bundled_libtom+set}" = set; then
9514 enableval=$enable_bundled_libtom;
9516 { echo "$as_me:$LINENO: Forcing bundled libtom*" >&5
9517 echo "$as_me: Forcing bundled libtom*" >&6;}
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
9528 ac_check_lib_save_LIBS=$LIBS
9529 LIBS="-ltomcrypt $LIBS"
9530 cat >conftest.$ac_ext <<_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. */
9543 char register_cipher ();
9547 return register_cipher ();
9552 rm -f conftest.$ac_objext conftest$ac_exeext
9553 if { (ac_try="$ac_link"
9555 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9556 *) ac_try_echo
=$ac_try;;
9558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9559 (eval "$ac_link") 2>conftest.er1
9561 grep -v '^ *+' conftest.er1
>conftest.err
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
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
9589 LIBS
="-ltomcrypt $LIBS"
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
9601 ac_check_lib_save_LIBS
=$LIBS
9602 LIBS
="-ltommath $LIBS"
9603 cat >conftest.
$ac_ext <<_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. */
9620 return mp_exptmod ();
9625 rm -f conftest.
$ac_objext conftest
$ac_exeext
9626 if { (ac_try
="$ac_link"
9628 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9629 *) ac_try_echo=$ac_try;;
9631 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9632 (eval "$ac_link") 2>conftest.er1
9634 grep -v '^ *+' conftest.er1 >conftest.err
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
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
9662 LIBS="-ltommath $LIBS"
9673 if test $BUNDLED_LIBTOM = 1 ; then
9675 cat >>confdefs.h <<\_ACEOF
9676 #define BUNDLED_LIBTOM
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
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
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
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
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
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
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
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
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
9785 ac_func_search_save_LIBS=$LIBS
9786 cat >conftest.$ac_ext <<_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. */
9808 for ac_lib in '' util bsd; do
9809 if test -z "$ac_lib"; then
9810 ac_res="none required"
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"
9818 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9819 *) ac_try_echo
=$ac_try;;
9821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9822 (eval "$ac_link") 2>conftest.er1
9824 grep -v '^ *+' conftest.er1
>conftest.err
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
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 \
9843 if test "${ac_cv_search_login+set}" = set; then
9847 if test "${ac_cv_search_login+set}" = set; then
9850 ac_cv_search_login
=no
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
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
9878 cat >conftest.
$ac_ext <<_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. */
9894 # include <limits.h>
9896 # include <assert.h>
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. */
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
9923 rm -f conftest.
$ac_objext conftest
$ac_exeext
9924 if { (ac_try
="$ac_link"
9926 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9927 *) ac_try_echo=$ac_try;;
9929 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9930 (eval "$ac_link") 2>conftest.er1
9932 grep -v '^ *+' conftest.er1 >conftest.err
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"
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
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
9971 cat confdefs.h >>conftest.$ac_ext
9972 cat >>conftest.$ac_ext <<_ACEOF
9973 /* end confdefs.h. */
9975 #include <sys/types.h>
9977 #ifdef HAVE_LASTLOG_H
9978 # include <lastlog.h>
9990 char *lastlog = LASTLOG_FILE;
9995 rm -f conftest.$ac_objext
9996 if { (ac_try="$ac_compile"
9998 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9999 *) ac_try_echo
=$ac_try;;
10001 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10002 (eval "$ac_compile") 2>conftest.er1
10004 grep -v '^ *+' conftest.er1
>conftest.err
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; }
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
10026 cat confdefs.h
>>conftest.
$ac_ext
10027 cat >>conftest.
$ac_ext <<_ACEOF
10028 /* end confdefs.h. */
10030 #include <sys/types.h>
10032 #ifdef HAVE_LASTLOG_H
10033 # include <lastlog.h>
10035 #ifdef HAVE_PATHS_H
10036 # include <paths.h>
10042 char *lastlog = _PATH_LASTLOG;
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;;
10053 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10054 (eval "$ac_compile") 2>conftest.er1
10056 grep -v '^ *+' conftest.er1 >conftest.err
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; }
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
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"
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
10111 cat confdefs.h >>conftest.$ac_ext
10112 cat >>conftest.$ac_ext <<_ACEOF
10113 /* end confdefs.h. */
10115 #include <sys/types.h>
10117 #ifdef HAVE_PATHS_H
10118 # include <paths.h>
10124 char *utmp = UTMP_FILE;
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;;
10135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10136 (eval "$ac_compile") 2>conftest.er1
10138 grep -v '^ *+' conftest.er1
>conftest.err
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; }
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
10166 if test -z "$conf_utmp_location"; then
10167 cat >>confdefs.h
<<\_ACEOF
10168 #define DISABLE_UTMP 1
10174 if test -n "$conf_utmp_location"; then
10176 cat >>confdefs.h
<<_ACEOF
10177 #define CONF_UTMP_FILE "$conf_utmp_location"
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
10187 cat confdefs.h
>>conftest.
$ac_ext
10188 cat >>conftest.
$ac_ext <<_ACEOF
10189 /* end confdefs.h. */
10191 #include <sys/types.h>
10193 #ifdef HAVE_PATHS_H
10194 # include <paths.h>
10200 char *wtmp = WTMP_FILE;
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;;
10211 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10212 (eval "$ac_compile") 2>conftest.er1
10214 grep -v '^ *+' conftest.er1 >conftest.err
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; }
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
10242 if test -z "$conf_wtmp_location"; then
10243 cat >>confdefs.h <<\_ACEOF
10244 #define DISABLE_WTMP 1
10250 if test -n "$conf_wtmp_location"; then
10252 cat >>confdefs.h <<_ACEOF
10253 #define CONF_WTMP_FILE "$conf_wtmp_location"
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
10264 cat confdefs.h >>conftest.$ac_ext
10265 cat >>conftest.$ac_ext <<_ACEOF
10266 /* end confdefs.h. */
10268 #include <sys/types.h>
10270 #ifdef HAVE_UTMPX_H
10273 #ifdef HAVE_PATHS_H
10274 # include <paths.h>
10280 char *utmpx = UTMPX_FILE;
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;;
10291 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10292 (eval "$ac_compile") 2>conftest.er1
10294 grep -v '^ *+' conftest.er1
>conftest.err
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; }
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
10324 cat >>confdefs.h
<<_ACEOF
10325 #define CONF_UTMPX_FILE "$conf_utmpx_location"
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
10335 cat confdefs.h
>>conftest.
$ac_ext
10336 cat >>conftest.
$ac_ext <<_ACEOF
10337 /* end confdefs.h. */
10339 #include <sys/types.h>
10341 #ifdef HAVE_UTMPX_H
10344 #ifdef HAVE_PATHS_H
10345 # include <paths.h>
10351 char *wtmpx = WTMPX_FILE;
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;;
10362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10363 (eval "$ac_compile") 2>conftest.er1
10365 grep -v '^ *+' conftest.er1 >conftest.err
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; }
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
10395 cat >>confdefs.h <<_ACEOF
10396 #define CONF_WTMPX_FILE "$conf_wtmpx_location"
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
10408 ac_pattern="Autoconf.*'x'"
10409 cat >conftest.$ac_ext <<_ACEOF
10412 cat confdefs.h >>conftest.$ac_ext
10413 cat >>conftest.$ac_ext <<_ACEOF
10414 /* end confdefs.h. */
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
10422 ac_cv_prog_gcc_traditional=no
10427 if test $ac_cv_prog_gcc_traditional = no; then
10428 cat >conftest.$ac_ext <<_ACEOF
10431 cat confdefs.h >>conftest.$ac_ext
10432 cat >>conftest.$ac_ext <<_ACEOF
10433 /* end confdefs.h. */
10434 #include <termio.h>
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
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
10457 if test "$cross_compiling" = yes; then
10458 ac_cv_func_memcmp_working=no
10460 cat >conftest.$ac_ext <<_ACEOF
10463 cat confdefs.h >>conftest.$ac_ext
10464 cat >>conftest.$ac_ext <<_ACEOF
10465 /* end confdefs.h. */
10466 $ac_includes_default
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)
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. */
10483 for (i = 0; i < 4; i++)
10487 strcpy (a, "--------01111111");
10488 strcpy (b, "--------10000000");
10489 if (memcmp (a, b, 16) >= 0)
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;;
10505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10506 (eval "$ac_link") 2>&5
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;;
10514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10515 (eval "$ac_try") 2>&5
10517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10518 (exit $ac_status); }; }; then
10519 ac_cv_func_memcmp_working=yes
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"
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; }
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
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>
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;;
10575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10576 (eval "$ac_compile") 2>conftest.er1
10578 grep -v '^ *+' conftest.er1
>conftest.err
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
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
10604 cat confdefs.h
>>conftest.
$ac_ext
10605 cat >>conftest.
$ac_ext <<_ACEOF
10606 /* end confdefs.h. */
10607 #include <$ac_header>
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;;
10614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10615 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10617 grep -v '^ *+' conftest.er1 >conftest.err
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
10625 ac_header_preproc=yes
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
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
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;}
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
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
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
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
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>
10701 #ifdef HAVE_SYS_SOCKET_H
10702 # include <sys/socket.h>
10708 extern int select ($ac_arg1,
10709 $ac_arg234, $ac_arg234, $ac_arg234,
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;;
10721 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10722 (eval "$ac_compile") 2>conftest.er1
10724 grep -v '^ *+' conftest.er1
>conftest.err
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
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
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'`
10755 cat >>confdefs.h
<<_ACEOF
10756 #define SELECT_TYPE_ARG1 $1
10760 cat >>confdefs.h
<<_ACEOF
10761 #define SELECT_TYPE_ARG234 ($2)
10765 cat >>confdefs.h
<<_ACEOF
10766 #define SELECT_TYPE_ARG5 ($3)
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
10776 cat >conftest.
$ac_ext <<_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>
10788 return *(signal (0, 0)) (0) == 1;
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;;
10799 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10800 (eval "$ac_compile") 2>conftest.er1
10802 grep -v '^ *+' conftest.er1 >conftest.err
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
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
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
10853 cat >conftest.$ac_ext <<_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. */
10869 # include <limits.h>
10871 # include <assert.h>
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. */
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
10893 return $ac_func ();
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;;
10904 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10905 (eval "$ac_link") 2>conftest.er1
10907 grep -v '^ *+' conftest.er1
>conftest.err
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"
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
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
10944 ac_func_search_save_LIBS
=$LIBS
10945 cat >conftest.
$ac_ext <<_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. */
10962 return basename ();
10967 for ac_lib
in '' gen
; do
10968 if test -z "$ac_lib"; then
10969 ac_res
="none required"
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;;
10980 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10981 (eval "$ac_link") 2>conftest.er1
10983 grep -v '^ *+' conftest.er1 >conftest.err
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
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 \
11002 if test "${ac_cv_search_basename+set}" = set; then
11006 if test "${ac_cv_search_basename+set}" = set; then
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
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
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
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
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
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
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
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
11098 -*) as_dir=./$as_dir;;
11100 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
11104 *\'*) as_qdir=`echo "$as_dir" |
sed "s/'/'\\\\\\\\''/g"`;; #(
11105 *) as_qdir=$as_dir;;
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 ||
11114 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11118 /^X\(\/\/\)[^/].*/{
11131 test -d "$as_dir" && break
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
11139 -*) as_dir=./$as_dir;;
11141 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
11145 *\'*) as_qdir=`echo "$as_dir" |
sed "s/'/'\\\\\\\\''/g"`;; #(
11146 *) as_qdir=$as_dir;;
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 ||
11155 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11159 /^X\(\/\/\)[^/].*/{
11172 test -d "$as_dir" && break
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
11180 -*) as_dir=./$as_dir;;
11182 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
11186 *\'*) as_qdir=`echo "$as_dir" |
sed "s/'/'\\\\\\\\''/g"`;; #(
11187 *) as_qdir=$as_dir;;
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 ||
11196 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11200 /^X\(\/\/\)[^/].*/{
11213 test -d "$as_dir" && break
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
11221 -*) as_dir=./$as_dir;;
11223 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
11227 *\'*) as_qdir=`echo "$as_dir" |
sed "s/'/'\\\\\\\\''/g"`;; #(
11228 *) as_qdir=$as_dir;;
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 ||
11237 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11241 /^X\(\/\/\)[^/].*/{
11254 test -d "$as_dir" && break
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
11262 -*) as_dir=./$as_dir;;
11264 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
11268 *\'*) as_qdir=`echo "$as_dir" |
sed "s/'/'\\\\\\\\''/g"`;; #(
11269 *) as_qdir=$as_dir;;
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 ||
11278 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11282 /^X\(\/\/\)[^/].*/{
11295 test -d "$as_dir" && break
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
11303 -*) as_dir=./$as_dir;;
11305 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
11309 *\'*) as_qdir=`echo "$as_dir" |
sed "s/'/'\\\\\\\\''/g"`;; #(
11310 *) as_qdir=$as_dir;;
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 ||
11319 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11323 /^X\(\/\/\)[^/].*/{
11336 test -d "$as_dir" && break
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
11344 -*) as_dir=./$as_dir;;
11346 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
11350 *\'*) as_qdir=`echo "$as_dir" |
sed "s/'/'\\\\\\\\''/g"`;; #(
11351 *) as_qdir=$as_dir;;
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 ||
11360 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11364 /^X\(\/\/\)[^/].*/{
11377 test -d "$as_dir" && break
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
11385 -*) as_dir=./$as_dir;;
11387 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
11391 *\'*) as_qdir=`echo "$as_dir" |
sed "s/'/'\\\\\\\\''/g"`;; #(
11392 *) as_qdir=$as_dir;;
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 ||
11401 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11405 /^X\(\/\/\)[^/].*/{
11418 test -d "$as_dir" && break
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
11426 -*) as_dir=./$as_dir;;
11428 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
11432 *\'*) as_qdir=`echo "$as_dir" |
sed "s/'/'\\\\\\\\''/g"`;; #(
11433 *) as_qdir=$as_dir;;
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 ||
11442 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11446 /^X\(\/\/\)[^/].*/{
11459 test -d "$as_dir" && break
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
11467 -*) as_dir=./$as_dir;;
11469 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
11473 *\'*) as_qdir=`echo "$as_dir" |
sed "s/'/'\\\\\\\\''/g"`;; #(
11474 *) as_qdir=$as_dir;;
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 ||
11483 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11487 /^X\(\/\/\)[^/].*/{
11500 test -d "$as_dir" && break
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
11508 -*) as_dir=./$as_dir;;
11510 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
11514 *\'*) as_qdir=`echo "$as_dir" |
sed "s/'/'\\\\\\\\''/g"`;; #(
11515 *) as_qdir=$as_dir;;
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 ||
11524 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11528 /^X\(\/\/\)[^/].*/{
11541 test -d "$as_dir" && break
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
11549 -*) as_dir=./$as_dir;;
11551 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
11555 *\'*) as_qdir=`echo "$as_dir" |
sed "s/'/'\\\\\\\\''/g"`;; #(
11556 *) as_qdir=$as_dir;;
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 ||
11565 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11569 /^X\(\/\/\)[^/].*/{
11582 test -d "$as_dir" && break
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
11590 -*) as_dir=./$as_dir;;
11592 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
11596 *\'*) as_qdir=`echo "$as_dir" |
sed "s/'/'\\\\\\\\''/g"`;; #(
11597 *) as_qdir=$as_dir;;
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 ||
11606 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11610 /^X\(\/\/\)[^/].*/{
11623 test -d "$as_dir" && break
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
11631 -*) as_dir=./$as_dir;;
11633 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
11637 *\'*) as_qdir=`echo "$as_dir" |
sed "s/'/'\\\\\\\\''/g"`;; #(
11638 *) as_qdir=$as_dir;;
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 ||
11647 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11651 /^X\(\/\/\)[^/].*/{
11664 test -d "$as_dir" && break
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
11672 -*) as_dir=./$as_dir;;
11674 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
11678 *\'*) as_qdir=`echo "$as_dir" |
sed "s/'/'\\\\\\\\''/g"`;; #(
11679 *) as_qdir=$as_dir;;
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 ||
11688 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11692 /^X\(\/\/\)[^/].*/{
11705 test -d "$as_dir" && break
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
11713 -*) as_dir=./$as_dir;;
11715 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
11719 *\'*) as_qdir=`echo "$as_dir" |
sed "s/'/'\\\\\\\\''/g"`;; #(
11720 *) as_qdir=$as_dir;;
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 ||
11729 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11733 /^X\(\/\/\)[^/].*/{
11746 test -d "$as_dir" && break
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
11754 -*) as_dir=./$as_dir;;
11756 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
11760 *\'*) as_qdir=`echo "$as_dir" |
sed "s/'/'\\\\\\\\''/g"`;; #(
11761 *) as_qdir=$as_dir;;
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 ||
11770 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11774 /^X\(\/\/\)[^/].*/{
11787 test -d "$as_dir" && break
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
11795 -*) as_dir=./$as_dir;;
11797 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
11801 *\'*) as_qdir=`echo "$as_dir" |
sed "s/'/'\\\\\\\\''/g"`;; #(
11802 *) as_qdir=$as_dir;;
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 ||
11811 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11815 /^X\(\/\/\)[^/].*/{
11828 test -d "$as_dir" && break
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
11836 -*) as_dir=./$as_dir;;
11838 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
11842 *\'*) as_qdir=`echo "$as_dir" |
sed "s/'/'\\\\\\\\''/g"`;; #(
11843 *) as_qdir=$as_dir;;
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 ||
11852 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11856 /^X\(\/\/\)[^/].*/{
11869 test -d "$as_dir" && break
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
11877 -*) as_dir=./$as_dir;;
11879 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
11883 *\'*) as_qdir=`echo "$as_dir" |
sed "s/'/'\\\\\\\\''/g"`;; #(
11884 *) as_qdir=$as_dir;;
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 ||
11893 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11897 /^X\(\/\/\)[^/].*/{
11910 test -d "$as_dir" && break
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
11918 -*) as_dir=./$as_dir;;
11920 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
11924 *\'*) as_qdir=`echo "$as_dir" |
sed "s/'/'\\\\\\\\''/g"`;; #(
11925 *) as_qdir=$as_dir;;
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 ||
11934 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11938 /^X\(\/\/\)[^/].*/{
11951 test -d "$as_dir" && break
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
11959 -*) as_dir=./$as_dir;;
11961 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
11965 *\'*) as_qdir=`echo "$as_dir" |
sed "s/'/'\\\\\\\\''/g"`;; #(
11966 *) as_qdir=$as_dir;;
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 ||
11975 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11979 /^X\(\/\/\)[^/].*/{
11992 test -d "$as_dir" && break
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
12000 -*) as_dir=./$as_dir;;
12002 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
12006 *\'*) as_qdir=`echo "$as_dir" |
sed "s/'/'\\\\\\\\''/g"`;; #(
12007 *) as_qdir=$as_dir;;
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 ||
12016 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12020 /^X\(\/\/\)[^/].*/{
12033 test -d "$as_dir" && break
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
12041 -*) as_dir=./$as_dir;;
12043 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
12047 *\'*) as_qdir=`echo "$as_dir" |
sed "s/'/'\\\\\\\\''/g"`;; #(
12048 *) as_qdir=$as_dir;;
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 ||
12057 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12061 /^X\(\/\/\)[^/].*/{
12074 test -d "$as_dir" && break
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
12082 -*) as_dir=./$as_dir;;
12084 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
12088 *\'*) as_qdir=`echo "$as_dir" |
sed "s/'/'\\\\\\\\''/g"`;; #(
12089 *) as_qdir=$as_dir;;
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 ||
12098 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12102 /^X\(\/\/\)[^/].*/{
12115 test -d "$as_dir" && break
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
12123 -*) as_dir=./$as_dir;;
12125 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
12129 *\'*) as_qdir=`echo "$as_dir" |
sed "s/'/'\\\\\\\\''/g"`;; #(
12130 *) as_qdir=$as_dir;;
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 ||
12139 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12143 /^X\(\/\/\)[^/].*/{
12156 test -d "$as_dir" && break
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
12164 -*) as_dir=./$as_dir;;
12166 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
12170 *\'*) as_qdir=`echo "$as_dir" |
sed "s/'/'\\\\\\\\''/g"`;; #(
12171 *) as_qdir=$as_dir;;
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 ||
12180 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12184 /^X\(\/\/\)[^/].*/{
12197 test -d "$as_dir" && break
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
12205 -*) as_dir=./$as_dir;;
12207 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
12211 *\'*) as_qdir=`echo "$as_dir" |
sed "s/'/'\\\\\\\\''/g"`;; #(
12212 *) as_qdir=$as_dir;;
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 ||
12221 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12225 /^X\(\/\/\)[^/].*/{
12238 test -d "$as_dir" && break
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
12246 -*) as_dir=./$as_dir;;
12248 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
12252 *\'*) as_qdir=`echo "$as_dir" |
sed "s/'/'\\\\\\\\''/g"`;; #(
12253 *) as_qdir=$as_dir;;
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 ||
12262 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12266 /^X\(\/\/\)[^/].*/{
12279 test -d "$as_dir" && break
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
12287 -*) as_dir=./$as_dir;;
12289 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
12293 *\'*) as_qdir=`echo "$as_dir" |
sed "s/'/'\\\\\\\\''/g"`;; #(
12294 *) as_qdir=$as_dir;;
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 ||
12303 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12307 /^X\(\/\/\)[^/].*/{
12320 test -d "$as_dir" && break
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
12328 -*) as_dir=./$as_dir;;
12330 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
12334 *\'*) as_qdir=`echo "$as_dir" |
sed "s/'/'\\\\\\\\''/g"`;; #(
12335 *) as_qdir=$as_dir;;
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 ||
12344 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12348 /^X\(\/\/\)[^/].*/{
12361 test -d "$as_dir" && break
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
12369 -*) as_dir=./$as_dir;;
12371 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
12375 *\'*) as_qdir=`echo "$as_dir" |
sed "s/'/'\\\\\\\\''/g"`;; #(
12376 *) as_qdir=$as_dir;;
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 ||
12385 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12389 /^X\(\/\/\)[^/].*/{
12402 test -d "$as_dir" && break
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
12410 -*) as_dir=./$as_dir;;
12412 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
12416 *\'*) as_qdir=`echo "$as_dir" |
sed "s/'/'\\\\\\\\''/g"`;; #(
12417 *) as_qdir=$as_dir;;
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 ||
12426 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12430 /^X\(\/\/\)[^/].*/{
12443 test -d "$as_dir" && break
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
12451 -*) as_dir=./$as_dir;;
12453 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
12457 *\'*) as_qdir=`echo "$as_dir" |
sed "s/'/'\\\\\\\\''/g"`;; #(
12458 *) as_qdir=$as_dir;;
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 ||
12467 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12471 /^X\(\/\/\)[^/].*/{
12484 test -d "$as_dir" && break
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
12492 -*) as_dir=./$as_dir;;
12494 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
12498 *\'*) as_qdir=`echo "$as_dir" |
sed "s/'/'\\\\\\\\''/g"`;; #(
12499 *) as_qdir=$as_dir;;
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 ||
12508 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12512 /^X\(\/\/\)[^/].*/{
12525 test -d "$as_dir" && break
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
12533 -*) as_dir=./$as_dir;;
12535 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
12539 *\'*) as_qdir=`echo "$as_dir" |
sed "s/'/'\\\\\\\\''/g"`;; #(
12540 *) as_qdir=$as_dir;;
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 ||
12549 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12553 /^X\(\/\/\)[^/].*/{
12566 test -d "$as_dir" && break
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
12574 -*) as_dir=./$as_dir;;
12576 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
12580 *\'*) as_qdir=`echo "$as_dir" |
sed "s/'/'\\\\\\\\''/g"`;; #(
12581 *) as_qdir=$as_dir;;
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 ||
12590 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12594 /^X\(\/\/\)[^/].*/{
12607 test -d "$as_dir" && break
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
12615 -*) as_dir=./$as_dir;;
12617 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
12621 *\'*) as_qdir=`echo "$as_dir" |
sed "s/'/'\\\\\\\\''/g"`;; #(
12622 *) as_qdir=$as_dir;;
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 ||
12631 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12635 /^X\(\/\/\)[^/].*/{
12648 test -d "$as_dir" && break
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
12656 -*) as_dir=./$as_dir;;
12658 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
12662 *\'*) as_qdir=`echo "$as_dir" |
sed "s/'/'\\\\\\\\''/g"`;; #(
12663 *) as_qdir=$as_dir;;
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 ||
12672 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12676 /^X\(\/\/\)[^/].*/{
12689 test -d "$as_dir" && break
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
12697 -*) as_dir=./$as_dir;;
12699 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
12703 *\'*) as_qdir=`echo "$as_dir" |
sed "s/'/'\\\\\\\\''/g"`;; #(
12704 *) as_qdir=$as_dir;;
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 ||
12713 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12717 /^X\(\/\/\)[^/].*/{
12730 test -d "$as_dir" && break
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
12738 -*) as_dir=./$as_dir;;
12740 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
12744 *\'*) as_qdir=`echo "$as_dir" |
sed "s/'/'\\\\\\\\''/g"`;; #(
12745 *) as_qdir=$as_dir;;
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 ||
12754 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12758 /^X\(\/\/\)[^/].*/{
12771 test -d "$as_dir" && break
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
12779 -*) as_dir=./$as_dir;;
12781 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
12785 *\'*) as_qdir=`echo "$as_dir" |
sed "s/'/'\\\\\\\\''/g"`;; #(
12786 *) as_qdir=$as_dir;;
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 ||
12795 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12799 /^X\(\/\/\)[^/].*/{
12812 test -d "$as_dir" && break
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
12820 -*) as_dir=./$as_dir;;
12822 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
12826 *\'*) as_qdir=`echo "$as_dir" |
sed "s/'/'\\\\\\\\''/g"`;; #(
12827 *) as_qdir=$as_dir;;
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 ||
12836 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12840 /^X\(\/\/\)[^/].*/{
12853 test -d "$as_dir" && break
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
12861 -*) as_dir=./$as_dir;;
12863 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
12867 *\'*) as_qdir=`echo "$as_dir" |
sed "s/'/'\\\\\\\\''/g"`;; #(
12868 *) as_qdir=$as_dir;;
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 ||
12877 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12881 /^X\(\/\/\)[^/].*/{
12894 test -d "$as_dir" && break
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
12902 -*) as_dir=./$as_dir;;
12904 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
12908 *\'*) as_qdir=`echo "$as_dir" |
sed "s/'/'\\\\\\\\''/g"`;; #(
12909 *) as_qdir=$as_dir;;
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 ||
12918 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12922 /^X\(\/\/\)[^/].*/{
12935 test -d "$as_dir" && break
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
12943 -*) as_dir=./$as_dir;;
12945 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
12949 *\'*) as_qdir=`echo "$as_dir" |
sed "s/'/'\\\\\\\\''/g"`;; #(
12950 *) as_qdir=$as_dir;;
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 ||
12959 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12963 /^X\(\/\/\)[^/].*/{
12976 test -d "$as_dir" && break
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.
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
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;} ;;
13017 _ | IFS | as_nl
) ;; #(
13018 *) $as_unset $ac_var ;;
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 \).
13030 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13033 # `set' quotes correctly as required by POSIX, so do not add quotes.
13034 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13043 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13045 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
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
13054 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
13055 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
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
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'
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
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.
13096 ac_cs_recheck=false
13098 SHELL=\${CONFIG_SHELL-$SHELL}
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
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
13116 case `(set -o) 2>/dev/null` in
13117 *posix
*) set -o posix
;;
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
13138 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
13146 # Support unset when possible.
13147 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
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.)
13163 # Find who we are. Look in the path if we contain no directory separator.
13165 *[\\/]* ) as_myself
=$0 ;;
13166 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13167 for as_dir
in $PATH
13170 test -z "$as_dir" && as_dir
=.
13171 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
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
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
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
13204 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
13208 # Required to use basename.
13209 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
13210 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
13216 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
13217 as_basename
=basename
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 ||
13229 sed '/^.*\/\([^/][^/]*\)\/*$/{
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. :-)
13274 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
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.
13291 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
13297 ECHO_C
= ECHO_N
= ECHO_T
=
13298 case `echo -n x` in
13300 case `echo 'x\c'` in
13301 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
13308 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
13309 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
13315 rm -f conf$$ conf$$.exe conf$$.
file
13316 if test -d conf$$.dir
; then
13317 rm -f conf$$.dir
/conf$$.
file
13323 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
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 ||
13331 elif ln conf$$.
file conf$$
2>/dev
/null
; then
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
13342 test -d .
/-p && rmdir .
/-p
13346 if test -x / >/dev
/null
2>&1; then
13347 as_test_x
='test -x'
13349 if ls -dL / >/dev
/null
2>&1; then
13356 if test -d "$1"; then
13362 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
13363 ???[sx]*):;;*)false;;esac;fi
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'"
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.
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
13391 on `(hostname || uname -n) 2>/dev/null | sed 1q`
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"
13403 cat >>$CONFIG_STATUS <<\_ACEOF
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:
13423 Configuration headers:
13426 Report bugs to <bug-autoconf@gnu.org>."
13429 cat >>$CONFIG_STATUS <<_ACEOF
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."
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.
13451 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
13452 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
13463 # Handling of the options.
13464 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
13466 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
13467 echo "$ac_cs_version"; exit ;;
13468 --debug |
--debu |
--deb |
--de |
--d |
-d )
13470 --file |
--fil |
--fi |
--f )
13472 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
13473 ac_need_defaults
=false
;;
13474 --header |
--heade |
--head |
--hea )
13476 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
13477 ac_need_defaults
=false
;;
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)
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
;;
13501 ac_configure_extra_args
=
13503 if $ac_cs_silent; then
13505 ac_configure_extra_args
="$ac_configure_extra_args --silent"
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
13518 cat >>$CONFIG_STATUS <<\_ACEOF
13522 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13523 ## Running $as_me. ##
13529 cat >>$CONFIG_STATUS <<_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; }; };;
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'.
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"
13578 tmp
=.
/conf$$
-$RANDOM
13579 (umask 077 && mkdir
"$tmp")
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
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
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
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
13656 RANLIB!$RANLIB$ac_delim
13657 STRIP!$STRIP$ac_delim
13658 INSTALL!$INSTALL$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
13668 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 65; then
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; }; }
13675 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
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
13690 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
13691 s/^/s,@/; s/!/@,|#_!!_#|/
13694 s/'"$ac_delim"'$/,g/; t
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
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}:*/:/
13715 s/^\([^=]*=[ ]*\):*/\1/
13721 cat >>$CONFIG_STATUS <<\_ACEOF
13722 fi # test -n "$CONFIG_FILES"
13725 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS
13728 :[FHLC
]) ac_mode
=$ac_tag; continue;;
13730 case $ac_mode$ac_tag in
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;;
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 `:'.
13760 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
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; }; };;
13766 ac_file_inputs
="$ac_file_inputs $ac_f"
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;}
13781 *:-:* |
*:-) cat >"$tmp/stdin";;
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 ||
13792 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13796 /^X\(\/\/\)[^/].*/{
13811 -*) as_dir
=.
/$as_dir;;
13813 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
13817 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
13818 *) as_qdir
=$as_dir;;
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 ||
13827 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13831 /^X\(\/\/\)[^/].*/{
13844 test -d "$as_dir" && break
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; }; }; }
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/ ;;
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
13869 .
) # We are building in place.
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 ;;
13882 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
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/ {
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;}
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' ;;
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
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;}
13956 -) cat "$tmp/out"; rm -f "$tmp/out";;
13957 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
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'
13990 s/^[ ]*#[ ]*define[ ][ ]*//
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.)
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"
14014 ac_in
='$ac_file_inputs'
14015 ac_out
='"$tmp/out1"'
14016 ac_nxt
='"$tmp/out2"'
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
14029 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
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
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;}
14050 mv "$tmp/config.h" $ac_file
14053 echo "/* $configure_input */"
14065 { (exit 0); exit 0; }
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
14081 ac_config_status_args
=
14082 test "$silent" = yes &&
14083 ac_config_status_args
="$ac_config_status_args --quiet"
14085 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
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.
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
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;} ;;
14125 _ | IFS | as_nl
) ;; #(
14126 *) $as_unset $ac_var ;;
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 \).
14138 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14141 # `set' quotes correctly as required by POSIX, so do not add quotes.
14142 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14151 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14153 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
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
14162 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
14163 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
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
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'
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
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.
14204 ac_cs_recheck=false
14206 SHELL=\${CONFIG_SHELL-$SHELL}
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
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
14224 case `(set -o) 2>/dev/null` in
14225 *posix
*) set -o posix
;;
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
14246 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
14254 # Support unset when possible.
14255 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
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.)
14271 # Find who we are. Look in the path if we contain no directory separator.
14273 *[\\/]* ) as_myself
=$0 ;;
14274 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14275 for as_dir
in $PATH
14278 test -z "$as_dir" && as_dir
=.
14279 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
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
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
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
14312 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
14316 # Required to use basename.
14317 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
14318 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
14324 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
14325 as_basename
=basename
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 ||
14337 sed '/^.*\/\([^/][^/]*\)\/*$/{
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. :-)
14382 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
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.
14399 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
14405 ECHO_C
= ECHO_N
= ECHO_T
=
14406 case `echo -n x` in
14408 case `echo 'x\c'` in
14409 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
14416 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
14417 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
14423 rm -f conf$$ conf$$.exe conf$$.
file
14424 if test -d conf$$.dir
; then
14425 rm -f conf$$.dir
/conf$$.
file
14431 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
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 ||
14439 elif ln conf$$.
file conf$$
2>/dev
/null
; then
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
14450 test -d .
/-p && rmdir .
/-p
14454 if test -x / >/dev
/null
2>&1; then
14455 as_test_x
='test -x'
14457 if ls -dL / >/dev
/null
2>&1; then
14464 if test -d "$1"; then
14470 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
14471 ???[sx]*):;;*)false;;esac;fi
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'"
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.
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
14499 on `(hostname || uname -n) 2>/dev/null | sed 1q`
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"
14511 cat >>$CONFIG_STATUS <<\_ACEOF
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:
14531 Configuration headers:
14534 Report bugs to <bug-autoconf@gnu.org>."
14537 cat >>$CONFIG_STATUS <<_ACEOF
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."
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.
14559 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
14560 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
14571 # Handling of the options.
14572 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
14574 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
14575 echo "$ac_cs_version"; exit ;;
14576 --debug |
--debu |
--deb |
--de |
--d |
-d )
14578 --file |
--fil |
--fi |
--f )
14580 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
14581 ac_need_defaults
=false
;;
14582 --header |
--heade |
--head |
--hea )
14584 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
14585 ac_need_defaults
=false
;;
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)
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
;;
14609 ac_configure_extra_args
=
14611 if $ac_cs_silent; then
14613 ac_configure_extra_args
="$ac_configure_extra_args --silent"
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
14626 cat >>$CONFIG_STATUS <<\_ACEOF
14630 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
14631 ## Running $as_me. ##
14637 cat >>$CONFIG_STATUS <<_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; }; };;
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'.
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"
14687 tmp
=.
/conf$$
-$RANDOM
14688 (umask 077 && mkdir
"$tmp")
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
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
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
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
14765 RANLIB!$RANLIB$ac_delim
14766 STRIP!$STRIP$ac_delim
14767 INSTALL!$INSTALL$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
14777 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 65; then
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; }; }
14784 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
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
14799 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
14800 s/^/s,@/; s/!/@,|#_!!_#|/
14803 s/'"$ac_delim"'$/,g/; t
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
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}:*/:/
14824 s/^\([^=]*=[ ]*\):*/\1/
14830 cat >>$CONFIG_STATUS <<\_ACEOF
14831 fi # test -n "$CONFIG_FILES"
14834 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS
14837 :[FHLC
]) ac_mode
=$ac_tag; continue;;
14839 case $ac_mode$ac_tag in
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;;
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 `:'.
14869 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
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; }; };;
14875 ac_file_inputs
="$ac_file_inputs $ac_f"
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;}
14890 *:-:* |
*:-) cat >"$tmp/stdin";;
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 ||
14901 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14905 /^X\(\/\/\)[^/].*/{
14920 -*) as_dir
=.
/$as_dir;;
14922 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
14926 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
14927 *) as_qdir
=$as_dir;;
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 ||
14936 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14940 /^X\(\/\/\)[^/].*/{
14953 test -d "$as_dir" && break
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; }; }; }
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/ ;;
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
14978 .
) # We are building in place.
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 ;;
14991 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
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/ {
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;}
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' ;;
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
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;}
15065 -) cat "$tmp/out"; rm -f "$tmp/out";;
15066 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
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'
15099 s/^[ ]*#[ ]*define[ ][ ]*//
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.)
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"
15123 ac_in
='$ac_file_inputs'
15124 ac_out
='"$tmp/out1"'
15125 ac_nxt
='"$tmp/out2"'
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
15138 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
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
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;}
15159 mv "$tmp/config.h" $ac_file
15162 echo "/* $configure_input */"
15174 { (exit 0); exit 0; }
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
15190 ac_config_status_args
=
15191 test "$silent" = yes &&
15192 ac_config_status_args
="$ac_config_status_args --quiet"
15194 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
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.
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
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;} ;;
15234 _ | IFS | as_nl
) ;; #(
15235 *) $as_unset $ac_var ;;
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 \).
15247 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15250 # `set' quotes correctly as required by POSIX, so do not add quotes.
15251 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15260 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15262 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
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
15271 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
15272 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
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
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'
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
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.
15313 ac_cs_recheck=false
15315 SHELL=\${CONFIG_SHELL-$SHELL}
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
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
15333 case `(set -o) 2>/dev/null` in
15334 *posix
*) set -o posix
;;
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
15355 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
15363 # Support unset when possible.
15364 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
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.)
15380 # Find who we are. Look in the path if we contain no directory separator.
15382 *[\\/]* ) as_myself
=$0 ;;
15383 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15384 for as_dir
in $PATH
15387 test -z "$as_dir" && as_dir
=.
15388 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
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
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
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
15421 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
15425 # Required to use basename.
15426 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
15427 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
15433 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15434 as_basename
=basename
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 ||
15446 sed '/^.*\/\([^/][^/]*\)\/*$/{
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. :-)
15491 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
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.
15508 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
15514 ECHO_C
= ECHO_N
= ECHO_T
=
15515 case `echo -n x` in
15517 case `echo 'x\c'` in
15518 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
15525 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
15526 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
15532 rm -f conf$$ conf$$.exe conf$$.
file
15533 if test -d conf$$.dir
; then
15534 rm -f conf$$.dir
/conf$$.
file
15540 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
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 ||
15548 elif ln conf$$.
file conf$$
2>/dev
/null
; then
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
15559 test -d .
/-p && rmdir .
/-p
15563 if test -x / >/dev
/null
2>&1; then
15564 as_test_x
='test -x'
15566 if ls -dL / >/dev
/null
2>&1; then
15573 if test -d "$1"; then
15579 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
15580 ???[sx]*):;;*)false;;esac;fi
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'"
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.
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
15608 on `(hostname || uname -n) 2>/dev/null | sed 1q`
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"
15620 cat >>$CONFIG_STATUS <<\_ACEOF
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:
15640 Configuration headers:
15643 Report bugs to <bug-autoconf@gnu.org>."
15646 cat >>$CONFIG_STATUS <<_ACEOF
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."
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.
15668 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15669 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
15680 # Handling of the options.
15681 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
15683 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
15684 echo "$ac_cs_version"; exit ;;
15685 --debug |
--debu |
--deb |
--de |
--d |
-d )
15687 --file |
--fil |
--fi |
--f )
15689 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
15690 ac_need_defaults
=false
;;
15691 --header |
--heade |
--head |
--hea )
15693 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
15694 ac_need_defaults
=false
;;
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)
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
;;
15718 ac_configure_extra_args
=
15720 if $ac_cs_silent; then
15722 ac_configure_extra_args
="$ac_configure_extra_args --silent"
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
15735 cat >>$CONFIG_STATUS <<\_ACEOF
15739 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15740 ## Running $as_me. ##
15746 cat >>$CONFIG_STATUS <<_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; }; };;
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'.
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"
15797 tmp
=.
/conf$$
-$RANDOM
15798 (umask 077 && mkdir
"$tmp")
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
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
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
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
15875 RANLIB!$RANLIB$ac_delim
15876 STRIP!$STRIP$ac_delim
15877 INSTALL!$INSTALL$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
15887 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 65; then
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; }; }
15894 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
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
15909 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
15910 s/^/s,@/; s/!/@,|#_!!_#|/
15913 s/'"$ac_delim"'$/,g/; t
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
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}:*/:/
15934 s/^\([^=]*=[ ]*\):*/\1/
15940 cat >>$CONFIG_STATUS <<\_ACEOF
15941 fi # test -n "$CONFIG_FILES"
15944 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS
15947 :[FHLC
]) ac_mode
=$ac_tag; continue;;
15949 case $ac_mode$ac_tag in
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;;
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 `:'.
15979 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
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; }; };;
15985 ac_file_inputs
="$ac_file_inputs $ac_f"
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;}
16000 *:-:* |
*:-) cat >"$tmp/stdin";;
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 ||
16011 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16015 /^X\(\/\/\)[^/].*/{
16030 -*) as_dir
=.
/$as_dir;;
16032 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
16036 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
16037 *) as_qdir
=$as_dir;;
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 ||
16046 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16050 /^X\(\/\/\)[^/].*/{
16063 test -d "$as_dir" && break
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; }; }; }
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/ ;;
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
16088 .
) # We are building in place.
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 ;;
16101 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
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/ {
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;}
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' ;;
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
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;}
16175 -) cat "$tmp/out"; rm -f "$tmp/out";;
16176 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
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'
16209 s/^[ ]*#[ ]*define[ ][ ]*//
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.)
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"
16233 ac_in
='$ac_file_inputs'
16234 ac_out
='"$tmp/out1"'
16235 ac_nxt
='"$tmp/out2"'
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
16248 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
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
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;}
16269 mv "$tmp/config.h" $ac_file
16272 echo "/* $configure_input */"
16284 { (exit 0); exit 0; }
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
16300 ac_config_status_args
=
16301 test "$silent" = yes &&
16302 ac_config_status_args
="$ac_config_status_args --quiet"
16304 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
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;}
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;}