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
680 ac_precious_vars
='build_alias
691 # Initialize some variables set by options.
693 ac_init_version
=false
694 # The variables have the same names as the options, with
695 # dashes changed to underlines.
703 program_transform_name
=s
,x
,x
,
711 # Installation directory options.
712 # These are left unexpanded so users can "make install exec_prefix=/foo"
713 # and all the variables that are supposed to be based on exec_prefix
714 # by default will actually change.
715 # Use braces instead of parens because sh, perl, etc. also accept them.
716 # (The list follows the same order as the GNU Coding Standards.)
717 bindir
='${exec_prefix}/bin'
718 sbindir
='${exec_prefix}/sbin'
719 libexecdir
='${exec_prefix}/libexec'
720 datarootdir
='${prefix}/share'
721 datadir
='${datarootdir}'
722 sysconfdir
='${prefix}/etc'
723 sharedstatedir
='${prefix}/com'
724 localstatedir
='${prefix}/var'
725 includedir
='${prefix}/include'
726 oldincludedir
='/usr/include'
727 docdir
='${datarootdir}/doc/${PACKAGE}'
728 infodir
='${datarootdir}/info'
733 libdir
='${exec_prefix}/lib'
734 localedir
='${datarootdir}/locale'
735 mandir
='${datarootdir}/man'
741 # If the previous option needs an argument, assign it.
742 if test -n "$ac_prev"; then
743 eval $ac_prev=\
$ac_option
749 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
753 # Accept the important Cygnus configure options, so we can diagnose typos.
755 case $ac_dashdash$ac_option in
759 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
761 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
764 -build |
--build |
--buil |
--bui |
--bu)
765 ac_prev
=build_alias
;;
766 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
767 build_alias
=$ac_optarg ;;
769 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
770 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
771 ac_prev
=cache_file
;;
772 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
773 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
774 cache_file
=$ac_optarg ;;
777 cache_file
=config.cache
;;
779 -datadir |
--datadir |
--datadi |
--datad)
781 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
782 datadir
=$ac_optarg ;;
784 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
785 |
--dataroo |
--dataro |
--datar)
786 ac_prev
=datarootdir
;;
787 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
788 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
789 datarootdir
=$ac_optarg ;;
791 -disable-* |
--disable-*)
792 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
793 # Reject names that are not valid shell variable names.
794 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
795 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
796 { (exit 1); exit 1; }; }
797 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
798 eval enable_
$ac_feature=no
;;
800 -docdir |
--docdir |
--docdi |
--doc |
--do)
802 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
805 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
807 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
810 -enable-* |
--enable-*)
811 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
812 # Reject names that are not valid shell variable names.
813 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
814 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
815 { (exit 1); exit 1; }; }
816 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
817 eval enable_
$ac_feature=\
$ac_optarg ;;
819 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
820 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
821 |
--exec |
--exe |
--ex)
822 ac_prev
=exec_prefix
;;
823 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
824 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
825 |
--exec=* |
--exe=* |
--ex=*)
826 exec_prefix
=$ac_optarg ;;
828 -gas |
--gas |
--ga |
--g)
829 # Obsolete; use --with-gas.
832 -help |
--help |
--hel |
--he |
-h)
834 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
835 ac_init_help
=recursive
;;
836 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
837 ac_init_help
=short
;;
839 -host |
--host |
--hos |
--ho)
840 ac_prev
=host_alias
;;
841 -host=* |
--host=* |
--hos=* |
--ho=*)
842 host_alias
=$ac_optarg ;;
844 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
846 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
848 htmldir
=$ac_optarg ;;
850 -includedir |
--includedir |
--includedi |
--included |
--include \
851 |
--includ |
--inclu |
--incl |
--inc)
852 ac_prev
=includedir
;;
853 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
854 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
855 includedir
=$ac_optarg ;;
857 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
859 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
860 infodir
=$ac_optarg ;;
862 -libdir |
--libdir |
--libdi |
--libd)
864 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
867 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
868 |
--libexe |
--libex |
--libe)
869 ac_prev
=libexecdir
;;
870 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
871 |
--libexe=* |
--libex=* |
--libe=*)
872 libexecdir
=$ac_optarg ;;
874 -localedir |
--localedir |
--localedi |
--localed |
--locale)
876 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
877 localedir
=$ac_optarg ;;
879 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
880 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
881 ac_prev
=localstatedir
;;
882 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
883 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
884 localstatedir
=$ac_optarg ;;
886 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
888 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
892 # Obsolete; use --without-fp.
895 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
896 |
--no-cr |
--no-c |
-n)
899 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
900 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
903 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
904 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
905 |
--oldin |
--oldi |
--old |
--ol |
--o)
906 ac_prev
=oldincludedir
;;
907 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
908 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
909 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
910 oldincludedir
=$ac_optarg ;;
912 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
914 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
917 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
918 |
--program-pre |
--program-pr |
--program-p)
919 ac_prev
=program_prefix
;;
920 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
921 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
922 program_prefix
=$ac_optarg ;;
924 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
925 |
--program-suf |
--program-su |
--program-s)
926 ac_prev
=program_suffix
;;
927 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
928 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
929 program_suffix
=$ac_optarg ;;
931 -program-transform-name |
--program-transform-name \
932 |
--program-transform-nam |
--program-transform-na \
933 |
--program-transform-n |
--program-transform- \
934 |
--program-transform |
--program-transfor \
935 |
--program-transfo |
--program-transf \
936 |
--program-trans |
--program-tran \
937 |
--progr-tra |
--program-tr |
--program-t)
938 ac_prev
=program_transform_name
;;
939 -program-transform-name=* |
--program-transform-name=* \
940 |
--program-transform-nam=* |
--program-transform-na=* \
941 |
--program-transform-n=* |
--program-transform-=* \
942 |
--program-transform=* |
--program-transfor=* \
943 |
--program-transfo=* |
--program-transf=* \
944 |
--program-trans=* |
--program-tran=* \
945 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
946 program_transform_name
=$ac_optarg ;;
948 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
950 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
953 -psdir |
--psdir |
--psdi |
--psd |
--ps)
955 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
958 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
959 |
-silent |
--silent |
--silen |
--sile |
--sil)
962 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
964 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
966 sbindir
=$ac_optarg ;;
968 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
969 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
970 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
972 ac_prev
=sharedstatedir
;;
973 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
974 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
975 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
977 sharedstatedir
=$ac_optarg ;;
979 -site |
--site |
--sit)
981 -site=* |
--site=* |
--sit=*)
984 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
986 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
989 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
990 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
991 ac_prev
=sysconfdir
;;
992 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
993 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
994 sysconfdir
=$ac_optarg ;;
996 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
997 ac_prev
=target_alias
;;
998 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
999 target_alias
=$ac_optarg ;;
1001 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1004 -version |
--version |
--versio |
--versi |
--vers |
-V)
1005 ac_init_version
=: ;;
1008 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1009 # Reject names that are not valid shell variable names.
1010 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1011 { echo "$as_me: error: invalid package name: $ac_package" >&2
1012 { (exit 1); exit 1; }; }
1013 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1014 eval with_
$ac_package=\
$ac_optarg ;;
1016 -without-* |
--without-*)
1017 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1018 # Reject names that are not valid shell variable names.
1019 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1020 { echo "$as_me: error: invalid package name: $ac_package" >&2
1021 { (exit 1); exit 1; }; }
1022 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1023 eval with_
$ac_package=no
;;
1026 # Obsolete; use --with-x.
1029 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1030 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1031 ac_prev
=x_includes
;;
1032 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1033 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1034 x_includes
=$ac_optarg ;;
1036 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1037 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1038 ac_prev
=x_libraries
;;
1039 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1040 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1041 x_libraries
=$ac_optarg ;;
1043 -*) { echo "$as_me: error: unrecognized option: $ac_option
1044 Try \`$0 --help' for more information." >&2
1045 { (exit 1); exit 1; }; }
1049 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1050 # Reject names that are not valid shell variable names.
1051 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1052 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1053 { (exit 1); exit 1; }; }
1054 eval $ac_envvar=\
$ac_optarg
1055 export $ac_envvar ;;
1058 # FIXME: should be removed in autoconf 3.0.
1059 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1060 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1061 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1062 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1068 if test -n "$ac_prev"; then
1069 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1070 { echo "$as_me: error: missing argument to $ac_option" >&2
1071 { (exit 1); exit 1; }; }
1074 # Be sure to have absolute directory names.
1075 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1076 datadir sysconfdir sharedstatedir localstatedir includedir \
1077 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1078 libdir localedir mandir
1080 eval ac_val
=\$
$ac_var
1082 [\\/$
]* | ?
:[\\/]* ) continue;;
1083 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1085 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1086 { (exit 1); exit 1; }; }
1089 # There might be people who depend on the old broken behavior: `$host'
1090 # used to hold the argument of --host etc.
1091 # FIXME: To remove some day.
1094 target
=$target_alias
1096 # FIXME: To remove some day.
1097 if test "x$host_alias" != x
; then
1098 if test "x$build_alias" = x
; then
1099 cross_compiling
=maybe
1100 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1101 If a cross compiler is detected then cross compile mode will be used." >&2
1102 elif test "x$build_alias" != "x$host_alias"; then
1108 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1110 test "$silent" = yes && exec 6>/dev
/null
1113 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1114 ac_ls_di
=`ls -di .` &&
1115 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1116 { echo "$as_me: error: Working directory cannot be determined" >&2
1117 { (exit 1); exit 1; }; }
1118 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1119 { echo "$as_me: error: pwd does not report name of working directory" >&2
1120 { (exit 1); exit 1; }; }
1123 # Find the source files, if location was not specified.
1124 if test -z "$srcdir"; then
1125 ac_srcdir_defaulted
=yes
1126 # Try the directory containing this script, then the parent directory.
1127 ac_confdir
=`$as_dirname -- "$0" ||
1128 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1129 X"$0" : 'X\(//\)[^/]' \| \
1130 X"$0" : 'X\(//\)$' \| \
1131 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1133 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1151 if test ! -r "$srcdir/$ac_unique_file"; then
1155 ac_srcdir_defaulted
=no
1157 if test ! -r "$srcdir/$ac_unique_file"; then
1158 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1159 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1160 { (exit 1); exit 1; }; }
1162 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1164 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1165 { (exit 1); exit 1; }; }
1167 # When building in place, set srcdir=.
1168 if test "$ac_abs_confdir" = "$ac_pwd"; then
1171 # Remove unnecessary trailing slashes from srcdir.
1172 # Double slashes in file names in object file debugging info
1173 # mess up M-x gdb in Emacs.
1175 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1177 for ac_var
in $ac_precious_vars; do
1178 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1179 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1180 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1181 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1185 # Report the --help message.
1187 if test "$ac_init_help" = "long"; then
1188 # Omit some internal or obsolete options to make the list less imposing.
1189 # This message is too long to be a string in the A/UX 3.1 sh.
1191 \`configure' configures this package to adapt to many kinds of systems.
1193 Usage: $0 [OPTION]... [VAR=VALUE]...
1195 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1196 VAR=VALUE. See below for descriptions of some of the useful variables.
1198 Defaults for the options are specified in brackets.
1201 -h, --help display this help and exit
1202 --help=short display options specific to this package
1203 --help=recursive display the short help of all the included packages
1204 -V, --version display version information and exit
1205 -q, --quiet, --silent do not print \`checking...' messages
1206 --cache-file=FILE cache test results in FILE [disabled]
1207 -C, --config-cache alias for \`--cache-file=config.cache'
1208 -n, --no-create do not create output files
1209 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1211 Installation directories:
1212 --prefix=PREFIX install architecture-independent files in PREFIX
1213 [$ac_default_prefix]
1214 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1217 By default, \`make install' will install all the files in
1218 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1219 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1220 for instance \`--prefix=\$HOME'.
1222 For better control, use the options below.
1224 Fine tuning of the installation directories:
1225 --bindir=DIR user executables [EPREFIX/bin]
1226 --sbindir=DIR system admin executables [EPREFIX/sbin]
1227 --libexecdir=DIR program executables [EPREFIX/libexec]
1228 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1229 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1230 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1231 --libdir=DIR object code libraries [EPREFIX/lib]
1232 --includedir=DIR C header files [PREFIX/include]
1233 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1234 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1235 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1236 --infodir=DIR info documentation [DATAROOTDIR/info]
1237 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1238 --mandir=DIR man documentation [DATAROOTDIR/man]
1239 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1240 --htmldir=DIR html documentation [DOCDIR]
1241 --dvidir=DIR dvi documentation [DOCDIR]
1242 --pdfdir=DIR pdf documentation [DOCDIR]
1243 --psdir=DIR ps documentation [DOCDIR]
1249 --build=BUILD configure
for building on BUILD
[guessed
]
1250 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1254 if test -n "$ac_init_help"; then
1259 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1260 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1261 --disable-largefile omit support
for large files
1262 --disable-zlib Don
't include zlib support
1263 --enable-pam Try to include PAM support
1264 --disable-openpty Don't use openpty
, use alternative method
1265 --disable-syslog Don
't include syslog support
1266 --disable-shadow Don't use shadow passwords
(if available
)
1267 --disable-lastlog Disable use of lastlog even
if detected no
1268 --disable-utmp Disable use of utmp even
if detected no
1269 --disable-utmpx Disable use of utmpx even
if detected no
1270 --disable-wtmp Disable use of wtmp even
if detected no
1271 --disable-wtmpx Disable use of wtmpx even
if detected no
1272 --disable-loginfunc Disable use of login
() etc. no
1273 --disable-pututline Disable use of pututline
() etc.
(uwtmp
) no
1274 --disable-pututxline Disable use of pututxline
() etc.
(uwtmpx
) no
1277 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1278 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1279 --with-zlib=PATH Use zlib
in PATH
1280 --with-pam=PATH Use pam
in PATH
1281 --with-lastlog=FILE|DIR specify lastlog location common locations
1283 Some influential environment variables
:
1284 CC C compiler
command
1285 CFLAGS C compiler flags
1286 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1287 nonstandard directory
<lib dir
>
1288 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1289 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1290 you have headers
in a nonstandard directory
<include dir
>
1293 Use these variables to override the choices made by
`configure' or to help
1294 it to find libraries and programs with nonstandard names/locations.
1300 if test "$ac_init_help" = "recursive"; then
1301 # If there are subdirs, report their specific --help.
1302 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1303 test -d "$ac_dir" || continue
1307 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1309 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
1310 # A ".." for each directory in $ac_dir_suffix.
1311 ac_top_builddir_sub=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,/..,g;s,/,,'`
1312 case $ac_top_builddir_sub in
1313 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1314 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1317 ac_abs_top_builddir=$ac_pwd
1318 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1319 # for backward compatibility:
1320 ac_top_builddir=$ac_top_build_prefix
1323 .) # We are building in place.
1325 ac_top_srcdir=$ac_top_builddir_sub
1326 ac_abs_top_srcdir=$ac_pwd ;;
1327 [\\/]* | ?:[\\/]* ) # Absolute name.
1328 ac_srcdir=$srcdir$ac_dir_suffix;
1329 ac_top_srcdir=$srcdir
1330 ac_abs_top_srcdir=$srcdir ;;
1332 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1333 ac_top_srcdir=$ac_top_build_prefix$srcdir
1334 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1336 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1338 cd "$ac_dir" || { ac_status=$?; continue; }
1339 # Check for guested configure.
1340 if test -f "$ac_srcdir/configure.gnu"; then
1342 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1343 elif test -f "$ac_srcdir/configure"; then
1345 $SHELL "$ac_srcdir/configure" --help=recursive
1347 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1349 cd "$ac_pwd" || { ac_status=$?; break; }
1353 test -n "$ac_init_help" && exit $ac_status
1354 if $ac_init_version; then
1357 generated by GNU Autoconf 2.61
1359 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1360 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1361 This configure script is free software; the Free Software Foundation
1362 gives unlimited permission to copy, distribute and modify it.
1366 cat >config.log <<_ACEOF
1367 This file contains any messages produced by compilers while
1368 running configure, to aid debugging if configure makes a mistake.
1370 It was created by $as_me, which was
1371 generated by GNU Autoconf 2.61. Invocation command line was
1383 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1384 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1385 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1386 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1387 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1389 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1390 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1392 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1393 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1394 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1395 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1396 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1397 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1398 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1402 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1406 test -z "$as_dir" && as_dir=.
1407 echo "PATH: $as_dir"
1423 # Keep a trace of the command line.
1424 # Strip out --no-create and --no-recursion so they do not pile up.
1425 # Strip out --silent because we don't want to record it for future runs.
1426 # Also quote any args containing shell meta-characters.
1427 # Make two passes to allow for proper duplicate-argument suppression.
1431 ac_must_keep_next=false
1437 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1438 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1439 | -silent | --silent | --silen | --sile | --sil)
1442 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1445 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1447 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1448 if test $ac_must_keep_next = true; then
1449 ac_must_keep_next=false # Got value, back to normal.
1452 *=* | --config-cache | -C | -disable-* | --disable-* \
1453 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1454 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1455 | -with-* | --with-* | -without-* | --without-* | --x)
1456 case "$ac_configure_args0 " in
1457 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1460 -* ) ac_must_keep_next=true ;;
1463 ac_configure_args="$ac_configure_args '$ac_arg'"
1468 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1469 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1471 # When interrupted or exit'd, cleanup temporary files, and complete
1472 # config.log. We remove comments because anyway the quotes in there
1473 # would cause problems or look ugly.
1474 # WARNING: Use '\'' to represent an apostrophe within the trap.
1475 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1476 trap 'exit_status=$?
1477 # Save into config.log some information that might help in debugging.
1482 ## ---------------- ##
1483 ## Cache variables. ##
1484 ## ---------------- ##
1487 # The following way of writing the cache mishandles newlines in values,
1489 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1490 eval ac_val=\$$ac_var
1494 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1495 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1498 _ | IFS | as_nl) ;; #(
1499 *) $as_unset $ac_var ;;
1504 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1505 *${as_nl}ac_space=\ *)
1507 "s/'\''/'\''\\\\'\'''\''/g;
1508 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1511 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1519 ## ----------------- ##
1520 ## Output variables. ##
1521 ## ----------------- ##
1524 for ac_var in $ac_subst_vars
1526 eval ac_val=\$$ac_var
1528 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1530 echo "$ac_var='\''$ac_val'\''"
1534 if test -n "$ac_subst_files"; then
1536 ## ------------------- ##
1537 ## File substitutions. ##
1538 ## ------------------- ##
1541 for ac_var in $ac_subst_files
1543 eval ac_val=\$$ac_var
1545 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1547 echo "$ac_var='\''$ac_val'\''"
1552 if test -s confdefs.h; then
1562 test "$ac_signal" != 0 &&
1563 echo "$as_me: caught signal $ac_signal"
1564 echo "$as_me: exit $exit_status"
1566 rm -f core *.core core.conftest.* &&
1567 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1570 for ac_signal in 1 2 13 15; do
1571 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1575 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1576 rm -f -r conftest* confdefs.h
1578 # Predefined preprocessor variables.
1580 cat >>confdefs.h <<_ACEOF
1581 #define PACKAGE_NAME "$PACKAGE_NAME"
1585 cat >>confdefs.h <<_ACEOF
1586 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1590 cat >>confdefs.h <<_ACEOF
1591 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1595 cat >>confdefs.h <<_ACEOF
1596 #define PACKAGE_STRING "$PACKAGE_STRING"
1600 cat >>confdefs.h <<_ACEOF
1601 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1605 # Let the site file select an alternate cache file if it wants to.
1606 # Prefer explicitly selected file to automatically selected ones.
1607 if test -n "$CONFIG_SITE"; then
1608 set x "$CONFIG_SITE"
1609 elif test "x$prefix" != xNONE; then
1610 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1612 set x "$ac_default_prefix/share/config.site" \
1613 "$ac_default_prefix/etc/config.site"
1618 if test -r "$ac_site_file"; then
1619 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1620 echo "$as_me: loading site script $ac_site_file" >&6;}
1621 sed 's/^/| /' "$ac_site_file" >&5
1626 if test -r "$cache_file"; then
1627 # Some versions of bash will fail to source /dev/null (special
1628 # files actually), so we avoid doing that.
1629 if test -f "$cache_file"; then
1630 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1631 echo "$as_me: loading cache $cache_file" >&6;}
1633 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1634 *) . "./$cache_file";;
1638 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1639 echo "$as_me: creating cache $cache_file" >&6;}
1643 # Check that the precious variables saved in the cache have kept the same
1645 ac_cache_corrupted=false
1646 for ac_var in $ac_precious_vars; do
1647 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1648 eval ac_new_set=\$ac_env_${ac_var}_set
1649 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1650 eval ac_new_val=\$ac_env_${ac_var}_value
1651 case $ac_old_set,$ac_new_set in
1653 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1654 echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1655 ac_cache_corrupted=: ;;
1657 { echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
1658 echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1659 ac_cache_corrupted=: ;;
1662 if test "x$ac_old_val" != "x$ac_new_val"; then
1663 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1664 echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1665 { echo "$as_me:$LINENO: former value
: $ac_old_val" >&5
1666 echo "$as_me: former value
: $ac_old_val" >&2;}
1667 { echo "$as_me:$LINENO: current value
: $ac_new_val" >&5
1668 echo "$as_me: current value
: $ac_new_val" >&2;}
1669 ac_cache_corrupted=:
1672 # Pass precious variables to config.status.
1673 if test "$ac_new_set" = set; then
1675 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1676 *) ac_arg=$ac_var=$ac_new_val ;;
1678 case " $ac_configure_args " in
1679 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1680 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1684 if $ac_cache_corrupted; then
1685 { echo "$as_me:$LINENO: error
: changes
in the environment can compromise the build
" >&5
1686 echo "$as_me: error
: changes
in the environment can compromise the build
" >&2;}
1687 { { echo "$as_me:$LINENO: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&5
1688 echo "$as_me: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&2;}
1689 { (exit 1); exit 1; }; }
1709 ac_cpp='$CPP $CPPFLAGS'
1710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1717 # Checks for programs.
1719 ac_cpp='$CPP $CPPFLAGS'
1720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1723 if test -n "$ac_tool_prefix"; then
1724 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1725 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1726 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1727 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1728 if test "${ac_cv_prog_CC+set}" = set; then
1729 echo $ECHO_N "(cached) $ECHO_C" >&6
1731 if test -n "$CC"; then
1732 ac_cv_prog_CC="$CC" # Let the user override the test.
1734 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1738 test -z "$as_dir" && as_dir=.
1739 for ac_exec_ext in '' $ac_executable_extensions; do
1740 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1741 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1742 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1752 if test -n "$CC"; then
1753 { echo "$as_me:$LINENO: result: $CC" >&5
1754 echo "${ECHO_T}$CC" >&6; }
1756 { echo "$as_me:$LINENO: result: no" >&5
1757 echo "${ECHO_T}no" >&6; }
1762 if test -z "$ac_cv_prog_CC"; then
1764 # Extract the first word of "gcc", so it can be a program name with args.
1765 set dummy gcc; ac_word=$2
1766 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1767 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1768 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1769 echo $ECHO_N "(cached) $ECHO_C" >&6
1771 if test -n "$ac_ct_CC"; then
1772 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1774 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1778 test -z "$as_dir" && as_dir=.
1779 for ac_exec_ext in '' $ac_executable_extensions; do
1780 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1781 ac_cv_prog_ac_ct_CC="gcc"
1782 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1791 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1792 if test -n "$ac_ct_CC"; then
1793 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1794 echo "${ECHO_T}$ac_ct_CC" >&6; }
1796 { echo "$as_me:$LINENO: result: no" >&5
1797 echo "${ECHO_T}no" >&6; }
1800 if test "x$ac_ct_CC" = x; then
1803 case $cross_compiling:$ac_tool_warned in
1805 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
1806 whose name does not start with the host triplet. If you think this
1807 configuration is useful to you, please write to autoconf@gnu.org." >&5
1808 echo "$as_me: 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." >&2;}
1811 ac_tool_warned=yes ;;
1819 if test -z "$CC"; then
1820 if test -n "$ac_tool_prefix"; then
1821 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1822 set dummy ${ac_tool_prefix}cc; ac_word=$2
1823 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1824 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1825 if test "${ac_cv_prog_CC+set}" = set; then
1826 echo $ECHO_N "(cached) $ECHO_C" >&6
1828 if test -n "$CC"; then
1829 ac_cv_prog_CC="$CC" # Let the user override the test.
1831 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1835 test -z "$as_dir" && as_dir=.
1836 for ac_exec_ext in '' $ac_executable_extensions; do
1837 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1838 ac_cv_prog_CC="${ac_tool_prefix}cc"
1839 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1849 if test -n "$CC"; then
1850 { echo "$as_me:$LINENO: result: $CC" >&5
1851 echo "${ECHO_T}$CC" >&6; }
1853 { echo "$as_me:$LINENO: result: no" >&5
1854 echo "${ECHO_T}no" >&6; }
1860 if test -z "$CC"; then
1861 # Extract the first word of "cc", so it can be a program name with args.
1862 set dummy cc; ac_word=$2
1863 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1864 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1865 if test "${ac_cv_prog_CC+set}" = set; then
1866 echo $ECHO_N "(cached) $ECHO_C" >&6
1868 if test -n "$CC"; then
1869 ac_cv_prog_CC="$CC" # Let the user override the test.
1872 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1876 test -z "$as_dir" && as_dir=.
1877 for ac_exec_ext in '' $ac_executable_extensions; do
1878 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1879 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1880 ac_prog_rejected=yes
1884 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1891 if test $ac_prog_rejected = yes; then
1892 # We found a bogon in the path, so make sure we never use it.
1893 set dummy $ac_cv_prog_CC
1895 if test $# != 0; then
1896 # We chose a different compiler from the bogus one.
1897 # However, it has the same basename, so the bogon will be chosen
1898 # first if we set CC to just the basename; use the full file name.
1900 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1906 if test -n "$CC"; then
1907 { echo "$as_me:$LINENO: result: $CC" >&5
1908 echo "${ECHO_T}$CC" >&6; }
1910 { echo "$as_me:$LINENO: result: no" >&5
1911 echo "${ECHO_T}no" >&6; }
1916 if test -z "$CC"; then
1917 if test -n "$ac_tool_prefix"; then
1918 for ac_prog in cl.exe
1920 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1921 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1922 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1923 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1924 if test "${ac_cv_prog_CC+set}" = set; then
1925 echo $ECHO_N "(cached) $ECHO_C" >&6
1927 if test -n "$CC"; then
1928 ac_cv_prog_CC="$CC" # Let the user override the test.
1930 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1934 test -z "$as_dir" && as_dir=.
1935 for ac_exec_ext in '' $ac_executable_extensions; do
1936 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1937 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1938 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1948 if test -n "$CC"; then
1949 { echo "$as_me:$LINENO: result: $CC" >&5
1950 echo "${ECHO_T}$CC" >&6; }
1952 { echo "$as_me:$LINENO: result: no" >&5
1953 echo "${ECHO_T}no" >&6; }
1957 test -n "$CC" && break
1960 if test -z "$CC"; then
1962 for ac_prog in cl.exe
1964 # Extract the first word of "$ac_prog", so it can be a program name with args.
1965 set dummy $ac_prog; ac_word=$2
1966 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1967 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1968 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1969 echo $ECHO_N "(cached) $ECHO_C" >&6
1971 if test -n "$ac_ct_CC"; then
1972 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1974 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1978 test -z "$as_dir" && as_dir=.
1979 for ac_exec_ext in '' $ac_executable_extensions; do
1980 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1981 ac_cv_prog_ac_ct_CC="$ac_prog"
1982 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1991 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1992 if test -n "$ac_ct_CC"; then
1993 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1994 echo "${ECHO_T}$ac_ct_CC" >&6; }
1996 { echo "$as_me:$LINENO: result: no" >&5
1997 echo "${ECHO_T}no" >&6; }
2001 test -n "$ac_ct_CC" && break
2004 if test "x$ac_ct_CC" = x; then
2007 case $cross_compiling:$ac_tool_warned in
2009 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2010 whose name does not start with the host triplet. If you think this
2011 configuration is useful to you, please write to autoconf@gnu.org." >&5
2012 echo "$as_me: 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." >&2;}
2015 ac_tool_warned=yes ;;
2024 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2025 See \`config.log
' for more details." >&5
2026 echo "$as_me: error: no acceptable C compiler found in \$PATH
2027 See \`config.log' for more details.
" >&2;}
2028 { (exit 1); exit 1; }; }
2030 # Provide some information about the compiler.
2031 echo "$as_me:$LINENO: checking
for C compiler version
" >&5
2032 ac_compiler=`set X $ac_compile; echo $2`
2033 { (ac_try="$ac_compiler --version >&5"
2035 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2036 *) ac_try_echo=$ac_try;;
2038 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2039 (eval "$ac_compiler --version >&5") 2>&5
2041 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2042 (exit $ac_status); }
2043 { (ac_try="$ac_compiler -v >&5"
2045 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2046 *) ac_try_echo=$ac_try;;
2048 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2049 (eval "$ac_compiler -v >&5") 2>&5
2051 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2052 (exit $ac_status); }
2053 { (ac_try="$ac_compiler -V >&5"
2055 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2056 *) ac_try_echo=$ac_try;;
2058 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2059 (eval "$ac_compiler -V >&5") 2>&5
2061 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2062 (exit $ac_status); }
2064 cat >conftest.$ac_ext <<_ACEOF
2067 cat confdefs.h >>conftest.$ac_ext
2068 cat >>conftest.$ac_ext <<_ACEOF
2069 /* end confdefs.h. */
2079 ac_clean_files_save=$ac_clean_files
2080 ac_clean_files="$ac_clean_files a.out a.exe b.out
"
2081 # Try to create an executable without -o first, disregard a.out.
2082 # It will help us diagnose broken compilers, and finding out an intuition
2084 { echo "$as_me:$LINENO: checking
for C compiler default output
file name
" >&5
2085 echo $ECHO_N "checking
for C compiler default output
file name...
$ECHO_C" >&6; }
2086 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2088 # List of possible output files, starting from the most likely.
2089 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2090 # only as a last resort. b.out is created by i960 compilers.
2091 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2093 # The IRIX 6 linker writes into existing files which may not be
2094 # executable, retaining their permissions. Remove them first so a
2095 # subsequent execution test works.
2097 for ac_file in $ac_files
2100 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2101 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2106 if { (ac_try="$ac_link_default"
2108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2109 *) ac_try_echo=$ac_try;;
2111 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2112 (eval "$ac_link_default") 2>&5
2114 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2115 (exit $ac_status); }; then
2116 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2117 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2118 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2119 # so that the user can short-circuit this test for compilers unknown to
2121 for ac_file in $ac_files ''
2123 test -f "$ac_file" || continue
2125 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2128 # We found the default executable, but exeext='' is most
2132 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2134 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2136 # We set ac_cv_exeext here because the later test for it is not
2137 # safe: cross compilers may not add the suffix if given an `-o'
2138 # argument, so we may need to know it at that point already.
2139 # Even if this section looks crufty: it has the advantage of
2146 test "$ac_cv_exeext" = no && ac_cv_exeext=
2152 { echo "$as_me:$LINENO: result
: $ac_file" >&5
2153 echo "${ECHO_T}$ac_file" >&6; }
2154 if test -z "$ac_file"; then
2155 echo "$as_me: failed program was
:" >&5
2156 sed 's/^/| /' conftest.$ac_ext >&5
2158 { { echo "$as_me:$LINENO: error
: C compiler cannot create executables
2159 See \
`config.log' for more details." >&5
2160 echo "$as_me: error: C compiler cannot create executables
2161 See \`config.log
' for more details." >&2;}
2162 { (exit 77); exit 77; }; }
2165 ac_exeext=$ac_cv_exeext
2167 # Check that the compiler produces executables we can run. If not, either
2168 # the compiler is broken, or we cross compile.
2169 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2170 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2171 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2172 # If not cross compiling, check that we can run a simple program.
2173 if test "$cross_compiling" != yes; then
2174 if { ac_try='.
/$ac_file'
2175 { (case "(($ac_try" in
2176 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2177 *) ac_try_echo=$ac_try;;
2179 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2180 (eval "$ac_try") 2>&5
2182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2183 (exit $ac_status); }; }; then
2186 if test "$cross_compiling" = maybe; then
2189 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2190 If you meant to cross compile, use \`--host'.
2191 See \
`config.log' for more details." >&5
2192 echo "$as_me: error: cannot run C compiled programs.
2193 If you meant to cross compile, use \`--host'.
2194 See \`config.log' for more details.
" >&2;}
2195 { (exit 1); exit 1; }; }
2199 { echo "$as_me:$LINENO: result
: yes" >&5
2200 echo "${ECHO_T}yes" >&6; }
2202 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2203 ac_clean_files=$ac_clean_files_save
2204 # Check that the compiler produces executables we can run. If not, either
2205 # the compiler is broken, or we cross compile.
2206 { echo "$as_me:$LINENO: checking whether we are cross compiling
" >&5
2207 echo $ECHO_N "checking whether we are cross compiling...
$ECHO_C" >&6; }
2208 { echo "$as_me:$LINENO: result
: $cross_compiling" >&5
2209 echo "${ECHO_T}$cross_compiling" >&6; }
2211 { echo "$as_me:$LINENO: checking
for suffix of executables
" >&5
2212 echo $ECHO_N "checking
for suffix of executables...
$ECHO_C" >&6; }
2213 if { (ac_try="$ac_link"
2215 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2216 *) ac_try_echo=$ac_try;;
2218 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2219 (eval "$ac_link") 2>&5
2221 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2222 (exit $ac_status); }; then
2223 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2224 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2225 # work properly (i.e., refer to `conftest.exe'), while it won't with
2227 for ac_file in conftest.exe conftest conftest.*; do
2228 test -f "$ac_file" || continue
2230 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2231 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2237 { { echo "$as_me:$LINENO: error
: cannot compute suffix of executables
: cannot compile and link
2238 See \
`config.log' for more details." >&5
2239 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2240 See \`config.log
' for more details." >&2;}
2241 { (exit 1); exit 1; }; }
2244 rm -f conftest$ac_cv_exeext
2245 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2246 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2248 rm -f conftest.$ac_ext
2249 EXEEXT=$ac_cv_exeext
2251 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2252 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2253 if test "${ac_cv_objext+set}" = set; then
2254 echo $ECHO_N "(cached) $ECHO_C" >&6
2256 cat >conftest.$ac_ext <<_ACEOF
2259 cat confdefs.h >>conftest.$ac_ext
2260 cat >>conftest.$ac_ext <<_ACEOF
2261 /* end confdefs.h. */
2271 rm -f conftest.o conftest.obj
2272 if { (ac_try="$ac_compile"
2274 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2275 *) ac_try_echo=$ac_try;;
2277 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2278 (eval "$ac_compile") 2>&5
2280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2281 (exit $ac_status); }; then
2282 for ac_file in conftest.o conftest.obj conftest.*; do
2283 test -f "$ac_file" || continue;
2285 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2286 *) ac_cv_objext=`expr "$ac_file" : '.
*\.\
(.
*\
)'`
2291 echo "$as_me: failed program was:" >&5
2292 sed 's
/^
/|
/' conftest.$ac_ext >&5
2294 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2295 See \`config.log' for more details.
" >&5
2296 echo "$as_me: error
: cannot compute suffix of object files
: cannot compile
2297 See \
`config.log' for more details." >&2;}
2298 { (exit 1); exit 1; }; }
2301 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2303 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2304 echo "${ECHO_T}$ac_cv_objext" >&6; }
2305 OBJEXT=$ac_cv_objext
2307 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2308 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2309 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2310 echo $ECHO_N "(cached) $ECHO_C" >&6
2312 cat >conftest.$ac_ext <<_ACEOF
2315 cat confdefs.h >>conftest.$ac_ext
2316 cat >>conftest.$ac_ext <<_ACEOF
2317 /* end confdefs.h. */
2330 rm -f conftest.$ac_objext
2331 if { (ac_try="$ac_compile"
2333 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2334 *) ac_try_echo
=$ac_try;;
2336 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2337 (eval "$ac_compile") 2>conftest.er1
2339 grep -v '^ *+' conftest.er1
>conftest.err
2341 cat conftest.err
>&5
2342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2343 (exit $ac_status); } && {
2344 test -z "$ac_c_werror_flag" ||
2345 test ! -s conftest.err
2346 } && test -s conftest.
$ac_objext; then
2349 echo "$as_me: failed program was:" >&5
2350 sed 's/^/| /' conftest.
$ac_ext >&5
2355 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2356 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2359 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2360 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2361 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2362 ac_test_CFLAGS
=${CFLAGS+set}
2363 ac_save_CFLAGS
=$CFLAGS
2364 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2365 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2366 if test "${ac_cv_prog_cc_g+set}" = set; then
2367 echo $ECHO_N "(cached) $ECHO_C" >&6
2369 ac_save_c_werror_flag
=$ac_c_werror_flag
2370 ac_c_werror_flag
=yes
2373 cat >conftest.
$ac_ext <<_ACEOF
2376 cat confdefs.h
>>conftest.
$ac_ext
2377 cat >>conftest.
$ac_ext <<_ACEOF
2378 /* end confdefs.h. */
2388 rm -f conftest.
$ac_objext
2389 if { (ac_try
="$ac_compile"
2391 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2392 *) ac_try_echo=$ac_try;;
2394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2395 (eval "$ac_compile") 2>conftest.er1
2397 grep -v '^ *+' conftest.er1 >conftest.err
2399 cat conftest.err >&5
2400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2401 (exit $ac_status); } && {
2402 test -z "$ac_c_werror_flag" ||
2403 test ! -s conftest.err
2404 } && test -s conftest.$ac_objext; then
2407 echo "$as_me: failed program was:" >&5
2408 sed 's/^/| /' conftest.$ac_ext >&5
2411 cat >conftest.$ac_ext <<_ACEOF
2414 cat confdefs.h >>conftest.$ac_ext
2415 cat >>conftest.$ac_ext <<_ACEOF
2416 /* end confdefs.h. */
2426 rm -f conftest.$ac_objext
2427 if { (ac_try="$ac_compile"
2429 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2430 *) ac_try_echo
=$ac_try;;
2432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2433 (eval "$ac_compile") 2>conftest.er1
2435 grep -v '^ *+' conftest.er1
>conftest.err
2437 cat conftest.err
>&5
2438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2439 (exit $ac_status); } && {
2440 test -z "$ac_c_werror_flag" ||
2441 test ! -s conftest.err
2442 } && test -s conftest.
$ac_objext; then
2445 echo "$as_me: failed program was:" >&5
2446 sed 's/^/| /' conftest.
$ac_ext >&5
2448 ac_c_werror_flag
=$ac_save_c_werror_flag
2450 cat >conftest.
$ac_ext <<_ACEOF
2453 cat confdefs.h
>>conftest.
$ac_ext
2454 cat >>conftest.
$ac_ext <<_ACEOF
2455 /* end confdefs.h. */
2465 rm -f conftest.
$ac_objext
2466 if { (ac_try
="$ac_compile"
2468 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2469 *) ac_try_echo=$ac_try;;
2471 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2472 (eval "$ac_compile") 2>conftest.er1
2474 grep -v '^ *+' conftest.er1 >conftest.err
2476 cat conftest.err >&5
2477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2478 (exit $ac_status); } && {
2479 test -z "$ac_c_werror_flag" ||
2480 test ! -s conftest.err
2481 } && test -s conftest.$ac_objext; then
2484 echo "$as_me: failed program was:" >&5
2485 sed 's/^/| /' conftest.$ac_ext >&5
2490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2497 ac_c_werror_flag=$ac_save_c_werror_flag
2499 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2500 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2501 if test "$ac_test_CFLAGS" = set; then
2502 CFLAGS=$ac_save_CFLAGS
2503 elif test $ac_cv_prog_cc_g = yes; then
2504 if test "$GCC" = yes; then
2510 if test "$GCC" = yes; then
2516 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2517 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2518 if test "${ac_cv_prog_cc_c89+set}" = set; then
2519 echo $ECHO_N "(cached) $ECHO_C" >&6
2521 ac_cv_prog_cc_c89=no
2523 cat >conftest.$ac_ext <<_ACEOF
2526 cat confdefs.h >>conftest.$ac_ext
2527 cat >>conftest.$ac_ext <<_ACEOF
2528 /* end confdefs.h. */
2531 #include <sys/types.h>
2532 #include <sys/stat.h>
2533 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2534 struct buf { int x; };
2535 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2536 static char *e (p, i)
2542 static char *f (char * (*g) (char **, int), char **p, ...)
2547 s = g (p, va_arg (v,int));
2552 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2553 function prototypes and stuff, but not '\xHH' hex character constants.
2554 These don't provoke an error unfortunately, instead are silently treated
2555 as 'x'. The following induces an error, until -std is added to get
2556 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2557 array size at least. It's necessary to write '\x00'==0 to get something
2558 that's true only with -std. */
2559 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2561 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2562 inside strings and character constants. */
2564 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2566 int test (int i, double x);
2567 struct s1 {int (*f) (int a);};
2568 struct s2 {int (*f) (double a);};
2569 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2575 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2580 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2581 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2583 CC="$ac_save_CC $ac_arg"
2584 rm -f conftest.$ac_objext
2585 if { (ac_try="$ac_compile"
2587 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2588 *) ac_try_echo
=$ac_try;;
2590 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2591 (eval "$ac_compile") 2>conftest.er1
2593 grep -v '^ *+' conftest.er1
>conftest.err
2595 cat conftest.err
>&5
2596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2597 (exit $ac_status); } && {
2598 test -z "$ac_c_werror_flag" ||
2599 test ! -s conftest.err
2600 } && test -s conftest.
$ac_objext; then
2601 ac_cv_prog_cc_c89
=$ac_arg
2603 echo "$as_me: failed program was:" >&5
2604 sed 's/^/| /' conftest.
$ac_ext >&5
2609 rm -f core conftest.err conftest.
$ac_objext
2610 test "x$ac_cv_prog_cc_c89" != "xno" && break
2612 rm -f conftest.
$ac_ext
2617 case "x$ac_cv_prog_cc_c89" in
2619 { echo "$as_me:$LINENO: result: none needed" >&5
2620 echo "${ECHO_T}none needed" >&6; } ;;
2622 { echo "$as_me:$LINENO: result: unsupported" >&5
2623 echo "${ECHO_T}unsupported" >&6; } ;;
2625 CC
="$CC $ac_cv_prog_cc_c89"
2626 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2627 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2632 ac_cpp
='$CPP $CPPFLAGS'
2633 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2634 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2635 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2637 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2638 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2639 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2640 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2641 echo $ECHO_N "(cached) $ECHO_C" >&6
2643 cat >conftest.
make <<\_ACEOF
2646 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2648 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2649 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2651 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2653 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2657 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2658 { echo "$as_me:$LINENO: result: yes" >&5
2659 echo "${ECHO_T}yes" >&6; }
2662 { echo "$as_me:$LINENO: result: no" >&5
2663 echo "${ECHO_T}no" >&6; }
2664 SET_MAKE
="MAKE=${MAKE-make}"
2668 if test -z "$LD" ; then
2673 if test -z "$OLDCFLAGS" && test "$GCC" = "yes"; then
2674 { echo "$as_me:$LINENO: No \$CFLAGS set... using \"-Os -W -Wall\" for GCC" >&5
2675 echo "$as_me: No \$CFLAGS set... using \"-Os -W -Wall\" for GCC" >&6;}
2676 CFLAGS
="-Os -W -Wall"
2679 # large file support is useful for scp
2681 # Check whether --enable-largefile was given.
2682 if test "${enable_largefile+set}" = set; then
2683 enableval
=$enable_largefile;
2686 if test "$enable_largefile" != no
; then
2688 { echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5
2689 echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6; }
2690 if test "${ac_cv_sys_largefile_CC+set}" = set; then
2691 echo $ECHO_N "(cached) $ECHO_C" >&6
2693 ac_cv_sys_largefile_CC
=no
2694 if test "$GCC" != yes; then
2697 # IRIX 6.2 and later do not support large files by default,
2698 # so use the C compiler's -n32 option if that helps.
2699 cat >conftest.
$ac_ext <<_ACEOF
2702 cat confdefs.h
>>conftest.
$ac_ext
2703 cat >>conftest.
$ac_ext <<_ACEOF
2704 /* end confdefs.h. */
2705 #include <sys/types.h>
2706 /* Check that off_t can represent 2**63 - 1 correctly.
2707 We can't simply define LARGE_OFF_T to be 9223372036854775807,
2708 since some C++ compilers masquerading as C compilers
2709 incorrectly reject 9223372036854775807. */
2710 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
2711 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
2712 && LARGE_OFF_T % 2147483647 == 1)
2722 rm -f conftest.
$ac_objext
2723 if { (ac_try
="$ac_compile"
2725 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2726 *) ac_try_echo=$ac_try;;
2728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2729 (eval "$ac_compile") 2>conftest.er1
2731 grep -v '^ *+' conftest.er1 >conftest.err
2733 cat conftest.err >&5
2734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2735 (exit $ac_status); } && {
2736 test -z "$ac_c_werror_flag" ||
2737 test ! -s conftest.err
2738 } && test -s conftest.$ac_objext; then
2741 echo "$as_me: failed program was:" >&5
2742 sed 's/^/| /' conftest.$ac_ext >&5
2747 rm -f core conftest.err conftest.$ac_objext
2749 rm -f conftest.$ac_objext
2750 if { (ac_try="$ac_compile"
2752 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2753 *) ac_try_echo
=$ac_try;;
2755 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2756 (eval "$ac_compile") 2>conftest.er1
2758 grep -v '^ *+' conftest.er1
>conftest.err
2760 cat conftest.err
>&5
2761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2762 (exit $ac_status); } && {
2763 test -z "$ac_c_werror_flag" ||
2764 test ! -s conftest.err
2765 } && test -s conftest.
$ac_objext; then
2766 ac_cv_sys_largefile_CC
=' -n32'; break
2768 echo "$as_me: failed program was:" >&5
2769 sed 's/^/| /' conftest.
$ac_ext >&5
2774 rm -f core conftest.err conftest.
$ac_objext
2778 rm -f conftest.
$ac_ext
2781 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5
2782 echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6; }
2783 if test "$ac_cv_sys_largefile_CC" != no
; then
2784 CC
=$CC$ac_cv_sys_largefile_CC
2787 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
2788 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
2789 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
2790 echo $ECHO_N "(cached) $ECHO_C" >&6
2793 cat >conftest.
$ac_ext <<_ACEOF
2796 cat confdefs.h
>>conftest.
$ac_ext
2797 cat >>conftest.
$ac_ext <<_ACEOF
2798 /* end confdefs.h. */
2799 #include <sys/types.h>
2800 /* Check that off_t can represent 2**63 - 1 correctly.
2801 We can't simply define LARGE_OFF_T to be 9223372036854775807,
2802 since some C++ compilers masquerading as C compilers
2803 incorrectly reject 9223372036854775807. */
2804 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
2805 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
2806 && LARGE_OFF_T % 2147483647 == 1)
2816 rm -f conftest.
$ac_objext
2817 if { (ac_try
="$ac_compile"
2819 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2820 *) ac_try_echo=$ac_try;;
2822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2823 (eval "$ac_compile") 2>conftest.er1
2825 grep -v '^ *+' conftest.er1 >conftest.err
2827 cat conftest.err >&5
2828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2829 (exit $ac_status); } && {
2830 test -z "$ac_c_werror_flag" ||
2831 test ! -s conftest.err
2832 } && test -s conftest.$ac_objext; then
2833 ac_cv_sys_file_offset_bits=no; break
2835 echo "$as_me: failed program was:" >&5
2836 sed 's/^/| /' conftest.$ac_ext >&5
2841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2842 cat >conftest.$ac_ext <<_ACEOF
2845 cat confdefs.h >>conftest.$ac_ext
2846 cat >>conftest.$ac_ext <<_ACEOF
2847 /* end confdefs.h. */
2848 #define _FILE_OFFSET_BITS 64
2849 #include <sys/types.h>
2850 /* Check that off_t can represent 2**63 - 1 correctly.
2851 We can't simply define LARGE_OFF_T to be 9223372036854775807,
2852 since some C++ compilers masquerading as C compilers
2853 incorrectly reject 9223372036854775807. */
2854 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
2855 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
2856 && LARGE_OFF_T % 2147483647 == 1)
2866 rm -f conftest.$ac_objext
2867 if { (ac_try="$ac_compile"
2869 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2870 *) ac_try_echo
=$ac_try;;
2872 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2873 (eval "$ac_compile") 2>conftest.er1
2875 grep -v '^ *+' conftest.er1
>conftest.err
2877 cat conftest.err
>&5
2878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2879 (exit $ac_status); } && {
2880 test -z "$ac_c_werror_flag" ||
2881 test ! -s conftest.err
2882 } && test -s conftest.
$ac_objext; then
2883 ac_cv_sys_file_offset_bits
=64; break
2885 echo "$as_me: failed program was:" >&5
2886 sed 's/^/| /' conftest.
$ac_ext >&5
2891 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2892 ac_cv_sys_file_offset_bits
=unknown
2896 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
2897 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
2898 case $ac_cv_sys_file_offset_bits in #(
2901 cat >>confdefs.h
<<_ACEOF
2902 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
2907 if test $ac_cv_sys_file_offset_bits = unknown
; then
2908 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
2909 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
2910 if test "${ac_cv_sys_large_files+set}" = set; then
2911 echo $ECHO_N "(cached) $ECHO_C" >&6
2914 cat >conftest.
$ac_ext <<_ACEOF
2917 cat confdefs.h
>>conftest.
$ac_ext
2918 cat >>conftest.
$ac_ext <<_ACEOF
2919 /* end confdefs.h. */
2920 #include <sys/types.h>
2921 /* Check that off_t can represent 2**63 - 1 correctly.
2922 We can't simply define LARGE_OFF_T to be 9223372036854775807,
2923 since some C++ compilers masquerading as C compilers
2924 incorrectly reject 9223372036854775807. */
2925 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
2926 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
2927 && LARGE_OFF_T % 2147483647 == 1)
2937 rm -f conftest.
$ac_objext
2938 if { (ac_try
="$ac_compile"
2940 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2941 *) ac_try_echo=$ac_try;;
2943 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2944 (eval "$ac_compile") 2>conftest.er1
2946 grep -v '^ *+' conftest.er1 >conftest.err
2948 cat conftest.err >&5
2949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2950 (exit $ac_status); } && {
2951 test -z "$ac_c_werror_flag" ||
2952 test ! -s conftest.err
2953 } && test -s conftest.$ac_objext; then
2954 ac_cv_sys_large_files=no; break
2956 echo "$as_me: failed program was:" >&5
2957 sed 's/^/| /' conftest.$ac_ext >&5
2962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2963 cat >conftest.$ac_ext <<_ACEOF
2966 cat confdefs.h >>conftest.$ac_ext
2967 cat >>conftest.$ac_ext <<_ACEOF
2968 /* end confdefs.h. */
2969 #define _LARGE_FILES 1
2970 #include <sys/types.h>
2971 /* Check that off_t can represent 2**63 - 1 correctly.
2972 We can't simply define LARGE_OFF_T to be 9223372036854775807,
2973 since some C++ compilers masquerading as C compilers
2974 incorrectly reject 9223372036854775807. */
2975 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
2976 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
2977 && LARGE_OFF_T % 2147483647 == 1)
2987 rm -f conftest.$ac_objext
2988 if { (ac_try="$ac_compile"
2990 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2991 *) ac_try_echo
=$ac_try;;
2993 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2994 (eval "$ac_compile") 2>conftest.er1
2996 grep -v '^ *+' conftest.er1
>conftest.err
2998 cat conftest.err
>&5
2999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3000 (exit $ac_status); } && {
3001 test -z "$ac_c_werror_flag" ||
3002 test ! -s conftest.err
3003 } && test -s conftest.
$ac_objext; then
3004 ac_cv_sys_large_files
=1; break
3006 echo "$as_me: failed program was:" >&5
3007 sed 's/^/| /' conftest.
$ac_ext >&5
3012 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3013 ac_cv_sys_large_files
=unknown
3017 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
3018 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
3019 case $ac_cv_sys_large_files in #(
3022 cat >>confdefs.h
<<_ACEOF
3023 #define _LARGE_FILES $ac_cv_sys_large_files
3032 # Host specific options
3033 # this isn't a definitive list of hosts, they are just added as required
3035 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3036 if test -f "$ac_dir/install-sh"; then
3038 ac_install_sh
="$ac_aux_dir/install-sh -c"
3040 elif test -f "$ac_dir/install.sh"; then
3042 ac_install_sh
="$ac_aux_dir/install.sh -c"
3044 elif test -f "$ac_dir/shtool"; then
3046 ac_install_sh
="$ac_aux_dir/shtool install -c"
3050 if test -z "$ac_aux_dir"; then
3051 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
3052 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
3053 { (exit 1); exit 1; }; }
3056 # These three variables are undocumented and unsupported,
3057 # and are intended to be withdrawn in a future Autoconf release.
3058 # They can cause serious problems if a builder's source tree is in a directory
3059 # whose full name contains unusual characters.
3060 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3061 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3062 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3065 # Make sure we can run config.sub.
3066 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3067 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
3068 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
3069 { (exit 1); exit 1; }; }
3071 { echo "$as_me:$LINENO: checking build system type" >&5
3072 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
3073 if test "${ac_cv_build+set}" = set; then
3074 echo $ECHO_N "(cached) $ECHO_C" >&6
3076 ac_build_alias
=$build_alias
3077 test "x$ac_build_alias" = x
&&
3078 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3079 test "x$ac_build_alias" = x
&&
3080 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
3081 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
3082 { (exit 1); exit 1; }; }
3083 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3084 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
3085 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
3086 { (exit 1); exit 1; }; }
3089 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
3090 echo "${ECHO_T}$ac_cv_build" >&6; }
3091 case $ac_cv_build in
3093 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
3094 echo "$as_me: error: invalid value of canonical build" >&2;}
3095 { (exit 1); exit 1; }; };;
3098 ac_save_IFS
=$IFS; IFS
='-'
3104 # Remember, the first character of IFS is used to create $*,
3105 # except with old shells:
3108 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3111 { echo "$as_me:$LINENO: checking host system type" >&5
3112 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
3113 if test "${ac_cv_host+set}" = set; then
3114 echo $ECHO_N "(cached) $ECHO_C" >&6
3116 if test "x$host_alias" = x
; then
3117 ac_cv_host
=$ac_cv_build
3119 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3120 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
3121 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
3122 { (exit 1); exit 1; }; }
3126 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
3127 echo "${ECHO_T}$ac_cv_host" >&6; }
3130 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
3131 echo "$as_me: error: invalid value of canonical host" >&2;}
3132 { (exit 1); exit 1; }; };;
3135 ac_save_IFS
=$IFS; IFS
='-'
3141 # Remember, the first character of IFS is used to create $*,
3142 # except with old shells:
3145 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3156 CFLAGS
="$CFLAGS -I/usr/local/include"
3157 LDFLAGS
="$LDFLAGS -L/usr/local/lib -R/usr/local/lib"
3158 conf_lastlog_location
="/var/adm/lastlog"
3159 { echo "$as_me:$LINENO: checking for obsolete utmp and wtmp in solaris2.x" >&5
3160 echo $ECHO_N "checking for obsolete utmp and wtmp in solaris2.x... $ECHO_C" >&6; }
3161 sol2ver
=`echo "$host"| sed -e 's/.*[0-9]\.//'`
3162 if test "$sol2ver" -ge 8; then
3163 { echo "$as_me:$LINENO: result: yes" >&5
3164 echo "${ECHO_T}yes" >&6; }
3166 cat >>confdefs.h
<<\_ACEOF
3167 #define DISABLE_UTMP
3171 cat >>confdefs.h
<<\_ACEOF
3172 #define DISABLE_WTMP
3176 { echo "$as_me:$LINENO: result: no" >&5
3177 echo "${ECHO_T}no" >&6; }
3179 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
3180 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
3181 if test "${ac_cv_lib_socket_socket+set}" = set; then
3182 echo $ECHO_N "(cached) $ECHO_C" >&6
3184 ac_check_lib_save_LIBS
=$LIBS
3185 LIBS
="-lsocket $LIBS"
3186 cat >conftest.
$ac_ext <<_ACEOF
3189 cat confdefs.h
>>conftest.
$ac_ext
3190 cat >>conftest.
$ac_ext <<_ACEOF
3191 /* end confdefs.h. */
3193 /* Override any GCC internal prototype to avoid an error.
3194 Use char because int might match the return type of a GCC
3195 builtin and then its argument prototype would still apply. */
3208 rm -f conftest.
$ac_objext conftest
$ac_exeext
3209 if { (ac_try
="$ac_link"
3211 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3212 *) ac_try_echo=$ac_try;;
3214 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3215 (eval "$ac_link") 2>conftest.er1
3217 grep -v '^ *+' conftest.er1 >conftest.err
3219 cat conftest.err >&5
3220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3221 (exit $ac_status); } && {
3222 test -z "$ac_c_werror_flag" ||
3223 test ! -s conftest.err
3224 } && test -s conftest$ac_exeext &&
3225 $as_test_x conftest$ac_exeext; then
3226 ac_cv_lib_socket_socket=yes
3228 echo "$as_me: failed program was:" >&5
3229 sed 's/^/| /' conftest.$ac_ext >&5
3231 ac_cv_lib_socket_socket=no
3234 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3235 conftest$ac_exeext conftest.$ac_ext
3236 LIBS=$ac_check_lib_save_LIBS
3238 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
3239 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
3240 if test $ac_cv_lib_socket_socket = yes; then
3241 LIBS="$LIBS -lsocket"
3244 { echo "$as_me:$LINENO: checking for yp_match in -lnsl" >&5
3245 echo $ECHO_N "checking for yp_match in -lnsl... $ECHO_C" >&6; }
3246 if test "${ac_cv_lib_nsl_yp_match+set}" = set; then
3247 echo $ECHO_N "(cached) $ECHO_C" >&6
3249 ac_check_lib_save_LIBS=$LIBS
3251 cat >conftest.$ac_ext <<_ACEOF
3254 cat confdefs.h >>conftest.$ac_ext
3255 cat >>conftest.$ac_ext <<_ACEOF
3256 /* end confdefs.h. */
3258 /* Override any GCC internal prototype to avoid an error.
3259 Use char because int might match the return type of a GCC
3260 builtin and then its argument prototype would still apply. */
3273 rm -f conftest.$ac_objext conftest$ac_exeext
3274 if { (ac_try="$ac_link"
3276 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3277 *) ac_try_echo
=$ac_try;;
3279 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3280 (eval "$ac_link") 2>conftest.er1
3282 grep -v '^ *+' conftest.er1
>conftest.err
3284 cat conftest.err
>&5
3285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3286 (exit $ac_status); } && {
3287 test -z "$ac_c_werror_flag" ||
3288 test ! -s conftest.err
3289 } && test -s conftest
$ac_exeext &&
3290 $as_test_x conftest
$ac_exeext; then
3291 ac_cv_lib_nsl_yp_match
=yes
3293 echo "$as_me: failed program was:" >&5
3294 sed 's/^/| /' conftest.
$ac_ext >&5
3296 ac_cv_lib_nsl_yp_match
=no
3299 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
3300 conftest
$ac_exeext conftest.
$ac_ext
3301 LIBS
=$ac_check_lib_save_LIBS
3303 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_yp_match" >&5
3304 echo "${ECHO_T}$ac_cv_lib_nsl_yp_match" >&6; }
3305 if test $ac_cv_lib_nsl_yp_match = yes; then
3313 cat >>confdefs.h
<<\_ACEOF
3317 # OpenSSH thinks it's broken. If it isn't, let me know.
3319 cat >>confdefs.h
<<\_ACEOF
3320 #define BROKEN_GETADDRINFO
3327 # It's probably broken.
3329 cat >>confdefs.h
<<\_ACEOF
3330 #define BROKEN_GETADDRINFO
3336 cat >>confdefs.h
<<\_ACEOF
3337 #define BROKEN_GETADDRINFO
3343 if test -n "$ac_tool_prefix"; then
3344 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3345 set dummy
${ac_tool_prefix}ar; ac_word
=$2
3346 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3347 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3348 if test "${ac_cv_prog_AR+set}" = set; then
3349 echo $ECHO_N "(cached) $ECHO_C" >&6
3351 if test -n "$AR"; then
3352 ac_cv_prog_AR
="$AR" # Let the user override the test.
3354 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3358 test -z "$as_dir" && as_dir
=.
3359 for ac_exec_ext
in '' $ac_executable_extensions; do
3360 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3361 ac_cv_prog_AR
="${ac_tool_prefix}ar"
3362 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3372 if test -n "$AR"; then
3373 { echo "$as_me:$LINENO: result: $AR" >&5
3374 echo "${ECHO_T}$AR" >&6; }
3376 { echo "$as_me:$LINENO: result: no" >&5
3377 echo "${ECHO_T}no" >&6; }
3382 if test -z "$ac_cv_prog_AR"; then
3384 # Extract the first word of "ar", so it can be a program name with args.
3385 set dummy
ar; ac_word
=$2
3386 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3387 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3388 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3389 echo $ECHO_N "(cached) $ECHO_C" >&6
3391 if test -n "$ac_ct_AR"; then
3392 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
3394 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3398 test -z "$as_dir" && as_dir
=.
3399 for ac_exec_ext
in '' $ac_executable_extensions; do
3400 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3401 ac_cv_prog_ac_ct_AR
="ar"
3402 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3411 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
3412 if test -n "$ac_ct_AR"; then
3413 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3414 echo "${ECHO_T}$ac_ct_AR" >&6; }
3416 { echo "$as_me:$LINENO: result: no" >&5
3417 echo "${ECHO_T}no" >&6; }
3420 if test "x$ac_ct_AR" = x
; then
3423 case $cross_compiling:$ac_tool_warned in
3425 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3426 whose name does not start with the host triplet. If you think this
3427 configuration is useful to you, please write to autoconf@gnu.org." >&5
3428 echo "$as_me: 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." >&2;}
3431 ac_tool_warned
=yes ;;
3439 if test -n "$ac_tool_prefix"; then
3440 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3441 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3442 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3443 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3444 if test "${ac_cv_prog_RANLIB+set}" = set; then
3445 echo $ECHO_N "(cached) $ECHO_C" >&6
3447 if test -n "$RANLIB"; then
3448 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3450 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3454 test -z "$as_dir" && as_dir
=.
3455 for ac_exec_ext
in '' $ac_executable_extensions; do
3456 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3457 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
3458 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3467 RANLIB
=$ac_cv_prog_RANLIB
3468 if test -n "$RANLIB"; then
3469 { echo "$as_me:$LINENO: result: $RANLIB" >&5
3470 echo "${ECHO_T}$RANLIB" >&6; }
3472 { echo "$as_me:$LINENO: result: no" >&5
3473 echo "${ECHO_T}no" >&6; }
3478 if test -z "$ac_cv_prog_RANLIB"; then
3479 ac_ct_RANLIB
=$RANLIB
3480 # Extract the first word of "ranlib", so it can be a program name with args.
3481 set dummy ranlib
; ac_word
=$2
3482 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3483 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3484 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3485 echo $ECHO_N "(cached) $ECHO_C" >&6
3487 if test -n "$ac_ct_RANLIB"; then
3488 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
3490 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3494 test -z "$as_dir" && as_dir
=.
3495 for ac_exec_ext
in '' $ac_executable_extensions; do
3496 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3497 ac_cv_prog_ac_ct_RANLIB
="ranlib"
3498 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3507 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
3508 if test -n "$ac_ct_RANLIB"; then
3509 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3510 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
3512 { echo "$as_me:$LINENO: result: no" >&5
3513 echo "${ECHO_T}no" >&6; }
3516 if test "x$ac_ct_RANLIB" = x
; then
3519 case $cross_compiling:$ac_tool_warned in
3521 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3522 whose name does not start with the host triplet. If you think this
3523 configuration is useful to you, please write to autoconf@gnu.org." >&5
3524 echo "$as_me: 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." >&2;}
3527 ac_tool_warned
=yes ;;
3529 RANLIB
=$ac_ct_RANLIB
3532 RANLIB
="$ac_cv_prog_RANLIB"
3535 if test -n "$ac_tool_prefix"; then
3536 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3537 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
3538 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3539 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3540 if test "${ac_cv_prog_STRIP+set}" = set; then
3541 echo $ECHO_N "(cached) $ECHO_C" >&6
3543 if test -n "$STRIP"; then
3544 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
3546 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3550 test -z "$as_dir" && as_dir
=.
3551 for ac_exec_ext
in '' $ac_executable_extensions; do
3552 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3553 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
3554 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3563 STRIP
=$ac_cv_prog_STRIP
3564 if test -n "$STRIP"; then
3565 { echo "$as_me:$LINENO: result: $STRIP" >&5
3566 echo "${ECHO_T}$STRIP" >&6; }
3568 { echo "$as_me:$LINENO: result: no" >&5
3569 echo "${ECHO_T}no" >&6; }
3574 if test -z "$ac_cv_prog_STRIP"; then
3576 # Extract the first word of "strip", so it can be a program name with args.
3577 set dummy strip
; ac_word
=$2
3578 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3579 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3580 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
3581 echo $ECHO_N "(cached) $ECHO_C" >&6
3583 if test -n "$ac_ct_STRIP"; then
3584 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3586 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3590 test -z "$as_dir" && as_dir
=.
3591 for ac_exec_ext
in '' $ac_executable_extensions; do
3592 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3593 ac_cv_prog_ac_ct_STRIP
="strip"
3594 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3603 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3604 if test -n "$ac_ct_STRIP"; then
3605 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
3606 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
3608 { echo "$as_me:$LINENO: result: no" >&5
3609 echo "${ECHO_T}no" >&6; }
3612 if test "x$ac_ct_STRIP" = x
; then
3615 case $cross_compiling:$ac_tool_warned in
3617 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3618 whose name does not start with the host triplet. If you think this
3619 configuration is useful to you, please write to autoconf@gnu.org." >&5
3620 echo "$as_me: 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." >&2;}
3623 ac_tool_warned
=yes ;;
3628 STRIP
="$ac_cv_prog_STRIP"
3631 if test -n "$ac_tool_prefix"; then
3632 # Extract the first word of "${ac_tool_prefix}install", so it can be a program name with args.
3633 set dummy
${ac_tool_prefix}install; ac_word
=$2
3634 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3635 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3636 if test "${ac_cv_prog_INSTALL+set}" = set; then
3637 echo $ECHO_N "(cached) $ECHO_C" >&6
3639 if test -n "$INSTALL"; then
3640 ac_cv_prog_INSTALL
="$INSTALL" # Let the user override the test.
3642 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3646 test -z "$as_dir" && as_dir
=.
3647 for ac_exec_ext
in '' $ac_executable_extensions; do
3648 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3649 ac_cv_prog_INSTALL
="${ac_tool_prefix}install"
3650 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3659 INSTALL
=$ac_cv_prog_INSTALL
3660 if test -n "$INSTALL"; then
3661 { echo "$as_me:$LINENO: result: $INSTALL" >&5
3662 echo "${ECHO_T}$INSTALL" >&6; }
3664 { echo "$as_me:$LINENO: result: no" >&5
3665 echo "${ECHO_T}no" >&6; }
3670 if test -z "$ac_cv_prog_INSTALL"; then
3671 ac_ct_INSTALL
=$INSTALL
3672 # Extract the first word of "install", so it can be a program name with args.
3673 set dummy
install; ac_word
=$2
3674 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3675 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3676 if test "${ac_cv_prog_ac_ct_INSTALL+set}" = set; then
3677 echo $ECHO_N "(cached) $ECHO_C" >&6
3679 if test -n "$ac_ct_INSTALL"; then
3680 ac_cv_prog_ac_ct_INSTALL
="$ac_ct_INSTALL" # Let the user override the test.
3682 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3686 test -z "$as_dir" && as_dir
=.
3687 for ac_exec_ext
in '' $ac_executable_extensions; do
3688 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3689 ac_cv_prog_ac_ct_INSTALL
="install"
3690 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3699 ac_ct_INSTALL
=$ac_cv_prog_ac_ct_INSTALL
3700 if test -n "$ac_ct_INSTALL"; then
3701 { echo "$as_me:$LINENO: result: $ac_ct_INSTALL" >&5
3702 echo "${ECHO_T}$ac_ct_INSTALL" >&6; }
3704 { echo "$as_me:$LINENO: result: no" >&5
3705 echo "${ECHO_T}no" >&6; }
3708 if test "x$ac_ct_INSTALL" = x
; then
3711 case $cross_compiling:$ac_tool_warned in
3713 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3714 whose name does not start with the host triplet. If you think this
3715 configuration is useful to you, please write to autoconf@gnu.org." >&5
3716 echo "$as_me: 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." >&2;}
3719 ac_tool_warned
=yes ;;
3721 INSTALL
=$ac_ct_INSTALL
3724 INSTALL
="$ac_cv_prog_INSTALL"
3729 ac_cpp
='$CPP $CPPFLAGS'
3730 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3731 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3732 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3733 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3734 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3735 # On Suns, sometimes $CPP names a directory.
3736 if test -n "$CPP" && test -d "$CPP"; then
3739 if test -z "$CPP"; then
3740 if test "${ac_cv_prog_CPP+set}" = set; then
3741 echo $ECHO_N "(cached) $ECHO_C" >&6
3743 # Double quotes because CPP needs to be expanded
3744 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3747 for ac_c_preproc_warn_flag
in '' yes
3749 # Use a header file that comes with gcc, so configuring glibc
3750 # with a fresh cross-compiler works.
3751 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3752 # <limits.h> exists even on freestanding compilers.
3753 # On the NeXT, cc -E runs the code through the compiler's parser,
3754 # not just through cpp. "Syntax error" is here to catch this case.
3755 cat >conftest.
$ac_ext <<_ACEOF
3758 cat confdefs.h
>>conftest.
$ac_ext
3759 cat >>conftest.
$ac_ext <<_ACEOF
3760 /* end confdefs.h. */
3762 # include <limits.h>
3764 # include <assert.h>
3768 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3770 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3771 *) ac_try_echo=$ac_try;;
3773 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3774 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3776 grep -v '^ *+' conftest.er1 >conftest.err
3778 cat conftest.err >&5
3779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3780 (exit $ac_status); } >/dev/null && {
3781 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3782 test ! -s conftest.err
3786 echo "$as_me: failed program was:" >&5
3787 sed 's/^/| /' conftest.$ac_ext >&5
3789 # Broken: fails on valid input.
3793 rm -f conftest.err conftest.$ac_ext
3795 # OK, works on sane cases. Now check whether nonexistent headers
3796 # can be detected and how.
3797 cat >conftest.$ac_ext <<_ACEOF
3800 cat confdefs.h >>conftest.$ac_ext
3801 cat >>conftest.$ac_ext <<_ACEOF
3802 /* end confdefs.h. */
3803 #include <ac_nonexistent.h>
3805 if { (ac_try="$ac_cpp conftest.$ac_ext"
3807 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3808 *) ac_try_echo
=$ac_try;;
3810 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3811 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3813 grep -v '^ *+' conftest.er1
>conftest.err
3815 cat conftest.err
>&5
3816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3817 (exit $ac_status); } >/dev
/null
&& {
3818 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3819 test ! -s conftest.err
3821 # Broken: success on invalid input.
3824 echo "$as_me: failed program was:" >&5
3825 sed 's/^/| /' conftest.
$ac_ext >&5
3827 # Passes both tests.
3832 rm -f conftest.err conftest.
$ac_ext
3835 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3836 rm -f conftest.err conftest.
$ac_ext
3837 if $ac_preproc_ok; then
3849 { echo "$as_me:$LINENO: result: $CPP" >&5
3850 echo "${ECHO_T}$CPP" >&6; }
3852 for ac_c_preproc_warn_flag
in '' yes
3854 # Use a header file that comes with gcc, so configuring glibc
3855 # with a fresh cross-compiler works.
3856 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3857 # <limits.h> exists even on freestanding compilers.
3858 # On the NeXT, cc -E runs the code through the compiler's parser,
3859 # not just through cpp. "Syntax error" is here to catch this case.
3860 cat >conftest.
$ac_ext <<_ACEOF
3863 cat confdefs.h
>>conftest.
$ac_ext
3864 cat >>conftest.
$ac_ext <<_ACEOF
3865 /* end confdefs.h. */
3867 # include <limits.h>
3869 # include <assert.h>
3873 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3875 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3876 *) ac_try_echo=$ac_try;;
3878 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3879 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3881 grep -v '^ *+' conftest.er1 >conftest.err
3883 cat conftest.err >&5
3884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3885 (exit $ac_status); } >/dev/null && {
3886 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3887 test ! -s conftest.err
3891 echo "$as_me: failed program was:" >&5
3892 sed 's/^/| /' conftest.$ac_ext >&5
3894 # Broken: fails on valid input.
3898 rm -f conftest.err conftest.$ac_ext
3900 # OK, works on sane cases. Now check whether nonexistent headers
3901 # can be detected and how.
3902 cat >conftest.$ac_ext <<_ACEOF
3905 cat confdefs.h >>conftest.$ac_ext
3906 cat >>conftest.$ac_ext <<_ACEOF
3907 /* end confdefs.h. */
3908 #include <ac_nonexistent.h>
3910 if { (ac_try="$ac_cpp conftest.$ac_ext"
3912 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3913 *) ac_try_echo
=$ac_try;;
3915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3916 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3918 grep -v '^ *+' conftest.er1
>conftest.err
3920 cat conftest.err
>&5
3921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3922 (exit $ac_status); } >/dev
/null
&& {
3923 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3924 test ! -s conftest.err
3926 # Broken: success on invalid input.
3929 echo "$as_me: failed program was:" >&5
3930 sed 's/^/| /' conftest.
$ac_ext >&5
3932 # Passes both tests.
3937 rm -f conftest.err conftest.
$ac_ext
3940 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3941 rm -f conftest.err conftest.
$ac_ext
3942 if $ac_preproc_ok; then
3945 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3946 See \`config.log' for more details." >&5
3947 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3948 See \`config.log' for more details." >&2;}
3949 { (exit 1); exit 1; }; }
3953 ac_cpp
='$CPP $CPPFLAGS'
3954 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3955 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3956 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3959 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3960 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3961 if test "${ac_cv_path_GREP+set}" = set; then
3962 echo $ECHO_N "(cached) $ECHO_C" >&6
3964 # Extract the first word of "grep ggrep" to use in msg output
3965 if test -z "$GREP"; then
3966 set dummy
grep ggrep
; ac_prog_name
=$2
3967 if test "${ac_cv_path_GREP+set}" = set; then
3968 echo $ECHO_N "(cached) $ECHO_C" >&6
3970 ac_path_GREP_found
=false
3971 # Loop through the user's path and test for each of PROGNAME-LIST
3972 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3973 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3976 test -z "$as_dir" && as_dir
=.
3977 for ac_prog
in grep ggrep
; do
3978 for ac_exec_ext
in '' $ac_executable_extensions; do
3979 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3980 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
3981 # Check for GNU ac_path_GREP and select it if it is found.
3982 # Check for GNU $ac_path_GREP
3983 case `"$ac_path_GREP" --version 2>&1` in
3985 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3988 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3991 cat "conftest.in" "conftest.in" >"conftest.tmp"
3992 mv "conftest.tmp" "conftest.in"
3993 cp "conftest.in" "conftest.nl"
3994 echo 'GREP' >> "conftest.nl"
3995 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3996 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3997 ac_count
=`expr $ac_count + 1`
3998 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3999 # Best one so far, save it but keep looking for a better one
4000 ac_cv_path_GREP
="$ac_path_GREP"
4001 ac_path_GREP_max
=$ac_count
4003 # 10*(2^10) chars as input seems more than enough
4004 test $ac_count -gt 10 && break
4006 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4010 $ac_path_GREP_found && break 3
4020 GREP
="$ac_cv_path_GREP"
4021 if test -z "$GREP"; then
4022 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4023 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4024 { (exit 1); exit 1; }; }
4028 ac_cv_path_GREP
=$GREP
4033 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4034 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
4035 GREP
="$ac_cv_path_GREP"
4038 { echo "$as_me:$LINENO: checking for egrep" >&5
4039 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
4040 if test "${ac_cv_path_EGREP+set}" = set; then
4041 echo $ECHO_N "(cached) $ECHO_C" >&6
4043 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4044 then ac_cv_path_EGREP
="$GREP -E"
4046 # Extract the first word of "egrep" to use in msg output
4047 if test -z "$EGREP"; then
4048 set dummy
egrep; ac_prog_name
=$2
4049 if test "${ac_cv_path_EGREP+set}" = set; then
4050 echo $ECHO_N "(cached) $ECHO_C" >&6
4052 ac_path_EGREP_found
=false
4053 # Loop through the user's path and test for each of PROGNAME-LIST
4054 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4055 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4058 test -z "$as_dir" && as_dir
=.
4059 for ac_prog
in egrep; do
4060 for ac_exec_ext
in '' $ac_executable_extensions; do
4061 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4062 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
4063 # Check for GNU ac_path_EGREP and select it if it is found.
4064 # Check for GNU $ac_path_EGREP
4065 case `"$ac_path_EGREP" --version 2>&1` in
4067 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4070 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4073 cat "conftest.in" "conftest.in" >"conftest.tmp"
4074 mv "conftest.tmp" "conftest.in"
4075 cp "conftest.in" "conftest.nl"
4076 echo 'EGREP' >> "conftest.nl"
4077 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4078 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4079 ac_count
=`expr $ac_count + 1`
4080 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4081 # Best one so far, save it but keep looking for a better one
4082 ac_cv_path_EGREP
="$ac_path_EGREP"
4083 ac_path_EGREP_max
=$ac_count
4085 # 10*(2^10) chars as input seems more than enough
4086 test $ac_count -gt 10 && break
4088 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4092 $ac_path_EGREP_found && break 3
4102 EGREP
="$ac_cv_path_EGREP"
4103 if test -z "$EGREP"; then
4104 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4105 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4106 { (exit 1); exit 1; }; }
4110 ac_cv_path_EGREP
=$EGREP
4116 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4117 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
4118 EGREP
="$ac_cv_path_EGREP"
4121 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4122 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
4123 if test "${ac_cv_header_stdc+set}" = set; then
4124 echo $ECHO_N "(cached) $ECHO_C" >&6
4126 cat >conftest.
$ac_ext <<_ACEOF
4129 cat confdefs.h
>>conftest.
$ac_ext
4130 cat >>conftest.
$ac_ext <<_ACEOF
4131 /* end confdefs.h. */
4145 rm -f conftest.
$ac_objext
4146 if { (ac_try
="$ac_compile"
4148 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4149 *) ac_try_echo=$ac_try;;
4151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4152 (eval "$ac_compile") 2>conftest.er1
4154 grep -v '^ *+' conftest.er1 >conftest.err
4156 cat conftest.err >&5
4157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4158 (exit $ac_status); } && {
4159 test -z "$ac_c_werror_flag" ||
4160 test ! -s conftest.err
4161 } && test -s conftest.$ac_objext; then
4162 ac_cv_header_stdc=yes
4164 echo "$as_me: failed program was:" >&5
4165 sed 's/^/| /' conftest.$ac_ext >&5
4167 ac_cv_header_stdc=no
4170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4172 if test $ac_cv_header_stdc = yes; then
4173 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4174 cat >conftest.$ac_ext <<_ACEOF
4177 cat confdefs.h >>conftest.$ac_ext
4178 cat >>conftest.$ac_ext <<_ACEOF
4179 /* end confdefs.h. */
4183 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4184 $EGREP "memchr" >/dev/null 2>&1; then
4187 ac_cv_header_stdc=no
4193 if test $ac_cv_header_stdc = yes; then
4194 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4195 cat >conftest.$ac_ext <<_ACEOF
4198 cat confdefs.h >>conftest.$ac_ext
4199 cat >>conftest.$ac_ext <<_ACEOF
4200 /* end confdefs.h. */
4204 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4205 $EGREP "free" >/dev/null 2>&1; then
4208 ac_cv_header_stdc=no
4214 if test $ac_cv_header_stdc = yes; then
4215 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4216 if test "$cross_compiling" = yes; then
4219 cat >conftest.$ac_ext <<_ACEOF
4222 cat confdefs.h >>conftest.$ac_ext
4223 cat >>conftest.$ac_ext <<_ACEOF
4224 /* end confdefs.h. */
4227 #if ((' ' & 0x0FF) == 0x020)
4228 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4229 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4231 # define ISLOWER(c) \
4232 (('a' <= (c) && (c) <= 'i') \
4233 || ('j' <= (c) && (c) <= 'r') \
4234 || ('s' <= (c) && (c) <= 'z'))
4235 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4238 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4243 for (i = 0; i < 256; i++)
4244 if (XOR (islower (i), ISLOWER (i))
4245 || toupper (i) != TOUPPER (i))
4250 rm -f conftest$ac_exeext
4251 if { (ac_try="$ac_link"
4253 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4254 *) ac_try_echo
=$ac_try;;
4256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4257 (eval "$ac_link") 2>&5
4259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4260 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4261 { (case "(($ac_try" in
4262 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4263 *) ac_try_echo=$ac_try;;
4265 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4266 (eval "$ac_try") 2>&5
4268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4269 (exit $ac_status); }; }; then
4272 echo "$as_me: program exited with status $ac_status" >&5
4273 echo "$as_me: failed program was:" >&5
4274 sed 's/^/| /' conftest.$ac_ext >&5
4277 ac_cv_header_stdc=no
4279 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4285 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4286 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
4287 if test $ac_cv_header_stdc = yes; then
4289 cat >>confdefs.h <<\_ACEOF
4290 #define STDC_HEADERS 1
4295 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4305 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4306 inttypes.h stdint.h unistd.h
4308 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
4309 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4310 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4311 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4312 echo $ECHO_N "(cached) $ECHO_C" >&6
4314 cat >conftest.$ac_ext <<_ACEOF
4317 cat confdefs.h >>conftest.$ac_ext
4318 cat >>conftest.$ac_ext <<_ACEOF
4319 /* end confdefs.h. */
4320 $ac_includes_default
4322 #include <$ac_header>
4324 rm -f conftest.$ac_objext
4325 if { (ac_try="$ac_compile"
4327 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4328 *) ac_try_echo
=$ac_try;;
4330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4331 (eval "$ac_compile") 2>conftest.er1
4333 grep -v '^ *+' conftest.er1
>conftest.err
4335 cat conftest.err
>&5
4336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4337 (exit $ac_status); } && {
4338 test -z "$ac_c_werror_flag" ||
4339 test ! -s conftest.err
4340 } && test -s conftest.
$ac_objext; then
4341 eval "$as_ac_Header=yes"
4343 echo "$as_me: failed program was:" >&5
4344 sed 's/^/| /' conftest.
$ac_ext >&5
4346 eval "$as_ac_Header=no"
4349 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4351 ac_res
=`eval echo '${'$as_ac_Header'}'`
4352 { echo "$as_me:$LINENO: result: $ac_res" >&5
4353 echo "${ECHO_T}$ac_res" >&6; }
4354 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4355 cat >>confdefs.h
<<_ACEOF
4356 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4364 { echo "$as_me:$LINENO: checking whether __UCLIBC__ is declared" >&5
4365 echo $ECHO_N "checking whether __UCLIBC__ is declared... $ECHO_C" >&6; }
4366 if test "${ac_cv_have_decl___UCLIBC__+set}" = set; then
4367 echo $ECHO_N "(cached) $ECHO_C" >&6
4369 cat >conftest.
$ac_ext <<_ACEOF
4372 cat confdefs.h
>>conftest.
$ac_ext
4373 cat >>conftest.
$ac_ext <<_ACEOF
4374 /* end confdefs.h. */
4375 $ac_includes_default
4387 rm -f conftest.
$ac_objext
4388 if { (ac_try
="$ac_compile"
4390 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4391 *) ac_try_echo=$ac_try;;
4393 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4394 (eval "$ac_compile") 2>conftest.er1
4396 grep -v '^ *+' conftest.er1 >conftest.err
4398 cat conftest.err >&5
4399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4400 (exit $ac_status); } && {
4401 test -z "$ac_c_werror_flag" ||
4402 test ! -s conftest.err
4403 } && test -s conftest.$ac_objext; then
4404 ac_cv_have_decl___UCLIBC__=yes
4406 echo "$as_me: failed program was:" >&5
4407 sed 's/^/| /' conftest.$ac_ext >&5
4409 ac_cv_have_decl___UCLIBC__=no
4412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4414 { echo "$as_me:$LINENO: result: $ac_cv_have_decl___UCLIBC__" >&5
4415 echo "${ECHO_T}$ac_cv_have_decl___UCLIBC__" >&6; }
4416 if test $ac_cv_have_decl___UCLIBC__ = yes; then
4418 no_loginfunc_check=1
4419 { echo "$as_me:$LINENO: Using uClibc - login() and logout() probably don't work, so we won't use them." >&5
4420 echo "$as_me: Using uClibc - login() and logout() probably don't work, so we won't use them." >&6;}
4425 # Checks for libraries.
4426 { echo "$as_me:$LINENO: checking for crypt in -lcrypt" >&5
4427 echo $ECHO_N "checking for crypt in -lcrypt... $ECHO_C" >&6; }
4428 if test "${ac_cv_lib_crypt_crypt+set}" = set; then
4429 echo $ECHO_N "(cached) $ECHO_C" >&6
4431 ac_check_lib_save_LIBS=$LIBS
4432 LIBS="-lcrypt $LIBS"
4433 cat >conftest.$ac_ext <<_ACEOF
4436 cat confdefs.h >>conftest.$ac_ext
4437 cat >>conftest.$ac_ext <<_ACEOF
4438 /* end confdefs.h. */
4440 /* Override any GCC internal prototype to avoid an error.
4441 Use char because int might match the return type of a GCC
4442 builtin and then its argument prototype would still apply. */
4455 rm -f conftest.$ac_objext conftest$ac_exeext
4456 if { (ac_try="$ac_link"
4458 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4459 *) ac_try_echo
=$ac_try;;
4461 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4462 (eval "$ac_link") 2>conftest.er1
4464 grep -v '^ *+' conftest.er1
>conftest.err
4466 cat conftest.err
>&5
4467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4468 (exit $ac_status); } && {
4469 test -z "$ac_c_werror_flag" ||
4470 test ! -s conftest.err
4471 } && test -s conftest
$ac_exeext &&
4472 $as_test_x conftest
$ac_exeext; then
4473 ac_cv_lib_crypt_crypt
=yes
4475 echo "$as_me: failed program was:" >&5
4476 sed 's/^/| /' conftest.
$ac_ext >&5
4478 ac_cv_lib_crypt_crypt
=no
4481 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4482 conftest
$ac_exeext conftest.
$ac_ext
4483 LIBS
=$ac_check_lib_save_LIBS
4485 { echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_crypt" >&5
4486 echo "${ECHO_T}$ac_cv_lib_crypt_crypt" >&6; }
4487 if test $ac_cv_lib_crypt_crypt = yes; then
4488 LIBS
="$LIBS -lcrypt"
4492 # Check if zlib is needed
4494 # Check whether --with-zlib was given.
4495 if test "${with_zlib+set}" = set; then
4498 if test -d "$withval/lib"; then
4499 LDFLAGS
="-L${withval}/lib ${LDFLAGS}"
4501 LDFLAGS
="-L${withval} ${LDFLAGS}"
4503 if test -d "$withval/include"; then
4504 CPPFLAGS
="-I${withval}/include ${CPPFLAGS}"
4506 CPPFLAGS
="-I${withval} ${CPPFLAGS}"
4513 # Check whether --enable-zlib was given.
4514 if test "${enable_zlib+set}" = set; then
4515 enableval
=$enable_zlib;
4516 if test "x$enableval" = "xno"; then
4518 cat >>confdefs.h
<<\_ACEOF
4519 #define DISABLE_ZLIB
4522 { echo "$as_me:$LINENO: Disabling zlib" >&5
4523 echo "$as_me: Disabling zlib" >&6;}
4526 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
4527 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
4528 if test "${ac_cv_lib_z_deflate+set}" = set; then
4529 echo $ECHO_N "(cached) $ECHO_C" >&6
4531 ac_check_lib_save_LIBS
=$LIBS
4533 cat >conftest.
$ac_ext <<_ACEOF
4536 cat confdefs.h
>>conftest.
$ac_ext
4537 cat >>conftest.
$ac_ext <<_ACEOF
4538 /* end confdefs.h. */
4540 /* Override any GCC internal prototype to avoid an error.
4541 Use char because int might match the return type of a GCC
4542 builtin and then its argument prototype would still apply. */
4555 rm -f conftest.
$ac_objext conftest
$ac_exeext
4556 if { (ac_try
="$ac_link"
4558 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4559 *) ac_try_echo=$ac_try;;
4561 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4562 (eval "$ac_link") 2>conftest.er1
4564 grep -v '^ *+' conftest.er1 >conftest.err
4566 cat conftest.err >&5
4567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4568 (exit $ac_status); } && {
4569 test -z "$ac_c_werror_flag" ||
4570 test ! -s conftest.err
4571 } && test -s conftest$ac_exeext &&
4572 $as_test_x conftest$ac_exeext; then
4573 ac_cv_lib_z_deflate=yes
4575 echo "$as_me: failed program was:" >&5
4576 sed 's/^/| /' conftest.$ac_ext >&5
4578 ac_cv_lib_z_deflate=no
4581 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4582 conftest$ac_exeext conftest.$ac_ext
4583 LIBS=$ac_check_lib_save_LIBS
4585 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
4586 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
4587 if test $ac_cv_lib_z_deflate = yes; then
4588 cat >>confdefs.h <<_ACEOF
4595 { { echo "$as_me:$LINENO: error: *** zlib missing - install first or check config.log ***" >&5
4596 echo "$as_me: error: *** zlib missing - install first or check config.log ***" >&2;}
4597 { (exit 1); exit 1; }; }
4600 { echo "$as_me:$LINENO: Enabling zlib" >&5
4601 echo "$as_me: Enabling zlib" >&6;}
4606 # if not disabled, check for zlib
4608 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
4609 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
4610 if test "${ac_cv_lib_z_deflate+set}" = set; then
4611 echo $ECHO_N "(cached) $ECHO_C" >&6
4613 ac_check_lib_save_LIBS=$LIBS
4615 cat >conftest.$ac_ext <<_ACEOF
4618 cat confdefs.h >>conftest.$ac_ext
4619 cat >>conftest.$ac_ext <<_ACEOF
4620 /* end confdefs.h. */
4622 /* Override any GCC internal prototype to avoid an error.
4623 Use char because int might match the return type of a GCC
4624 builtin and then its argument prototype would still apply. */
4637 rm -f conftest.$ac_objext conftest$ac_exeext
4638 if { (ac_try="$ac_link"
4640 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4641 *) ac_try_echo
=$ac_try;;
4643 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4644 (eval "$ac_link") 2>conftest.er1
4646 grep -v '^ *+' conftest.er1
>conftest.err
4648 cat conftest.err
>&5
4649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4650 (exit $ac_status); } && {
4651 test -z "$ac_c_werror_flag" ||
4652 test ! -s conftest.err
4653 } && test -s conftest
$ac_exeext &&
4654 $as_test_x conftest
$ac_exeext; then
4655 ac_cv_lib_z_deflate
=yes
4657 echo "$as_me: failed program was:" >&5
4658 sed 's/^/| /' conftest.
$ac_ext >&5
4660 ac_cv_lib_z_deflate
=no
4663 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4664 conftest
$ac_exeext conftest.
$ac_ext
4665 LIBS
=$ac_check_lib_save_LIBS
4667 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
4668 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
4669 if test $ac_cv_lib_z_deflate = yes; then
4670 cat >>confdefs.h
<<_ACEOF
4677 { { echo "$as_me:$LINENO: error: *** zlib missing - install first or check config.log ***" >&5
4678 echo "$as_me: error: *** zlib missing - install first or check config.log ***" >&2;}
4679 { (exit 1); exit 1; }; }
4682 { echo "$as_me:$LINENO: Enabling zlib" >&5
4683 echo "$as_me: Enabling zlib" >&6;}
4689 # Check if pam is needed
4691 # Check whether --with-pam was given.
4692 if test "${with_pam+set}" = set; then
4695 if test -d "$withval/lib"; then
4696 LDFLAGS
="-L${withval}/lib ${LDFLAGS}"
4698 LDFLAGS
="-L${withval} ${LDFLAGS}"
4700 if test -d "$withval/include"; then
4701 CPPFLAGS
="-I${withval}/include ${CPPFLAGS}"
4703 CPPFLAGS
="-I${withval} ${CPPFLAGS}"
4711 # Check whether --enable-pam was given.
4712 if test "${enable_pam+set}" = set; then
4713 enableval
=$enable_pam;
4714 if test "x$enableval" = "xyes"; then
4716 { echo "$as_me:$LINENO: checking for pam_authenticate in -lpam" >&5
4717 echo $ECHO_N "checking for pam_authenticate in -lpam... $ECHO_C" >&6; }
4718 if test "${ac_cv_lib_pam_pam_authenticate+set}" = set; then
4719 echo $ECHO_N "(cached) $ECHO_C" >&6
4721 ac_check_lib_save_LIBS
=$LIBS
4723 cat >conftest.
$ac_ext <<_ACEOF
4726 cat confdefs.h
>>conftest.
$ac_ext
4727 cat >>conftest.
$ac_ext <<_ACEOF
4728 /* end confdefs.h. */
4730 /* Override any GCC internal prototype to avoid an error.
4731 Use char because int might match the return type of a GCC
4732 builtin and then its argument prototype would still apply. */
4736 char pam_authenticate ();
4740 return pam_authenticate ();
4745 rm -f conftest.
$ac_objext conftest
$ac_exeext
4746 if { (ac_try
="$ac_link"
4748 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4749 *) ac_try_echo=$ac_try;;
4751 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4752 (eval "$ac_link") 2>conftest.er1
4754 grep -v '^ *+' conftest.er1 >conftest.err
4756 cat conftest.err >&5
4757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4758 (exit $ac_status); } && {
4759 test -z "$ac_c_werror_flag" ||
4760 test ! -s conftest.err
4761 } && test -s conftest$ac_exeext &&
4762 $as_test_x conftest$ac_exeext; then
4763 ac_cv_lib_pam_pam_authenticate=yes
4765 echo "$as_me: failed program was:" >&5
4766 sed 's/^/| /' conftest.$ac_ext >&5
4768 ac_cv_lib_pam_pam_authenticate=no
4771 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4772 conftest$ac_exeext conftest.$ac_ext
4773 LIBS=$ac_check_lib_save_LIBS
4775 { echo "$as_me:$LINENO: result: $ac_cv_lib_pam_pam_authenticate" >&5
4776 echo "${ECHO_T}$ac_cv_lib_pam_pam_authenticate" >&6; }
4777 if test $ac_cv_lib_pam_pam_authenticate = yes; then
4778 cat >>confdefs.h <<_ACEOF
4779 #define HAVE_LIBPAM 1
4785 { { echo "$as_me:$LINENO: error: *** PAM missing - install first or check config.log ***" >&5
4786 echo "$as_me: error: *** PAM missing - install first or check config.log ***" >&2;}
4787 { (exit 1); exit 1; }; }
4790 { echo "$as_me:$LINENO: Enabling PAM" >&5
4791 echo "$as_me: Enabling PAM" >&6;}
4794 cat >>confdefs.h <<\_ACEOF
4798 { echo "$as_me:$LINENO: Disabling PAM" >&5
4799 echo "$as_me: Disabling PAM" >&6;}
4804 # disable it by default
4806 cat >>confdefs.h <<\_ACEOF
4810 { echo "$as_me:$LINENO: Disabling PAM" >&5
4811 echo "$as_me: Disabling PAM" >&6;}
4817 # Check whether --enable-openpty was given.
4818 if test "${enable_openpty+set}" = set; then
4819 enableval=$enable_openpty;
4820 if test "x$enableval" = "xno"; then
4821 { echo "$as_me:$LINENO: Not using openpty" >&5
4822 echo "$as_me: Not using openpty" >&6;}
4824 { echo "$as_me:$LINENO: Using openpty if available" >&5
4825 echo "$as_me: Using openpty if available" >&6;}
4826 { echo "$as_me:$LINENO: checking for library containing openpty" >&5
4827 echo $ECHO_N "checking for library containing openpty... $ECHO_C" >&6; }
4828 if test "${ac_cv_search_openpty+set}" = set; then
4829 echo $ECHO_N "(cached) $ECHO_C" >&6
4831 ac_func_search_save_LIBS=$LIBS
4832 cat >conftest.$ac_ext <<_ACEOF
4835 cat confdefs.h >>conftest.$ac_ext
4836 cat >>conftest.$ac_ext <<_ACEOF
4837 /* end confdefs.h. */
4839 /* Override any GCC internal prototype to avoid an error.
4840 Use char because int might match the return type of a GCC
4841 builtin and then its argument prototype would still apply. */
4854 for ac_lib in '' util; do
4855 if test -z "$ac_lib"; then
4856 ac_res="none required"
4859 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
4861 rm -f conftest.$ac_objext conftest$ac_exeext
4862 if { (ac_try="$ac_link"
4864 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4865 *) ac_try_echo
=$ac_try;;
4867 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4868 (eval "$ac_link") 2>conftest.er1
4870 grep -v '^ *+' conftest.er1
>conftest.err
4872 cat conftest.err
>&5
4873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4874 (exit $ac_status); } && {
4875 test -z "$ac_c_werror_flag" ||
4876 test ! -s conftest.err
4877 } && test -s conftest
$ac_exeext &&
4878 $as_test_x conftest
$ac_exeext; then
4879 ac_cv_search_openpty
=$ac_res
4881 echo "$as_me: failed program was:" >&5
4882 sed 's/^/| /' conftest.
$ac_ext >&5
4887 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4889 if test "${ac_cv_search_openpty+set}" = set; then
4893 if test "${ac_cv_search_openpty+set}" = set; then
4896 ac_cv_search_openpty
=no
4899 LIBS
=$ac_func_search_save_LIBS
4901 { echo "$as_me:$LINENO: result: $ac_cv_search_openpty" >&5
4902 echo "${ECHO_T}$ac_cv_search_openpty" >&6; }
4903 ac_res
=$ac_cv_search_openpty
4904 if test "$ac_res" != no
; then
4905 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
4907 cat >>confdefs.h
<<\_ACEOF
4908 #define HAVE_OPENPTY
4917 { echo "$as_me:$LINENO: Using openpty if available" >&5
4918 echo "$as_me: Using openpty if available" >&6;}
4919 { echo "$as_me:$LINENO: checking for library containing openpty" >&5
4920 echo $ECHO_N "checking for library containing openpty... $ECHO_C" >&6; }
4921 if test "${ac_cv_search_openpty+set}" = set; then
4922 echo $ECHO_N "(cached) $ECHO_C" >&6
4924 ac_func_search_save_LIBS
=$LIBS
4925 cat >conftest.
$ac_ext <<_ACEOF
4928 cat confdefs.h
>>conftest.
$ac_ext
4929 cat >>conftest.
$ac_ext <<_ACEOF
4930 /* end confdefs.h. */
4932 /* Override any GCC internal prototype to avoid an error.
4933 Use char because int might match the return type of a GCC
4934 builtin and then its argument prototype would still apply. */
4947 for ac_lib
in '' util
; do
4948 if test -z "$ac_lib"; then
4949 ac_res
="none required"
4952 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
4954 rm -f conftest.
$ac_objext conftest
$ac_exeext
4955 if { (ac_try
="$ac_link"
4957 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4958 *) ac_try_echo=$ac_try;;
4960 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4961 (eval "$ac_link") 2>conftest.er1
4963 grep -v '^ *+' conftest.er1 >conftest.err
4965 cat conftest.err >&5
4966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4967 (exit $ac_status); } && {
4968 test -z "$ac_c_werror_flag" ||
4969 test ! -s conftest.err
4970 } && test -s conftest$ac_exeext &&
4971 $as_test_x conftest$ac_exeext; then
4972 ac_cv_search_openpty=$ac_res
4974 echo "$as_me: failed program was:" >&5
4975 sed 's/^/| /' conftest.$ac_ext >&5
4980 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4982 if test "${ac_cv_search_openpty+set}" = set; then
4986 if test "${ac_cv_search_openpty+set}" = set; then
4989 ac_cv_search_openpty=no
4992 LIBS=$ac_func_search_save_LIBS
4994 { echo "$as_me:$LINENO: result: $ac_cv_search_openpty" >&5
4995 echo "${ECHO_T}$ac_cv_search_openpty" >&6; }
4996 ac_res=$ac_cv_search_openpty
4997 if test "$ac_res" != no; then
4998 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4999 cat >>confdefs.h <<\_ACEOF
5000 #define HAVE_OPENPTY 1
5011 # Check whether --enable-syslog was given.
5012 if test "${enable_syslog+set}" = set; then
5013 enableval=$enable_syslog;
5014 if test "x$enableval" = "xno"; then
5016 cat >>confdefs.h <<\_ACEOF
5017 #define DISABLE_SYSLOG
5020 { echo "$as_me:$LINENO: Disabling syslog" >&5
5021 echo "$as_me: Disabling syslog" >&6;}
5023 { echo "$as_me:$LINENO: Enabling syslog" >&5
5024 echo "$as_me: Enabling syslog" >&6;}
5029 { echo "$as_me:$LINENO: Enabling syslog" >&5
5030 echo "$as_me: Enabling syslog" >&6;}
5036 # Check whether --enable-shadow was given.
5037 if test "${enable_shadow+set}" = set; then
5038 enableval=$enable_shadow;
5039 if test "x$enableval" = "xno"; then
5040 { echo "$as_me:$LINENO: Not using shadow passwords" >&5
5041 echo "$as_me: Not using shadow passwords" >&6;}
5044 for ac_header in shadow.h
5046 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
5047 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5048 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5049 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5050 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5051 echo $ECHO_N "(cached) $ECHO_C" >&6
5053 ac_res=`eval echo '${'$as_ac_Header'}'`
5054 { echo "$as_me:$LINENO: result: $ac_res" >&5
5055 echo "${ECHO_T}$ac_res" >&6; }
5057 # Is the header compilable?
5058 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
5059 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5060 cat >conftest.$ac_ext <<_ACEOF
5063 cat confdefs.h >>conftest.$ac_ext
5064 cat >>conftest.$ac_ext <<_ACEOF
5065 /* end confdefs.h. */
5066 $ac_includes_default
5067 #include <$ac_header>
5069 rm -f conftest.$ac_objext
5070 if { (ac_try="$ac_compile"
5072 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5073 *) ac_try_echo
=$ac_try;;
5075 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5076 (eval "$ac_compile") 2>conftest.er1
5078 grep -v '^ *+' conftest.er1
>conftest.err
5080 cat conftest.err
>&5
5081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5082 (exit $ac_status); } && {
5083 test -z "$ac_c_werror_flag" ||
5084 test ! -s conftest.err
5085 } && test -s conftest.
$ac_objext; then
5086 ac_header_compiler
=yes
5088 echo "$as_me: failed program was:" >&5
5089 sed 's/^/| /' conftest.
$ac_ext >&5
5091 ac_header_compiler
=no
5094 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5095 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5096 echo "${ECHO_T}$ac_header_compiler" >&6; }
5098 # Is the header present?
5099 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
5100 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5101 cat >conftest.
$ac_ext <<_ACEOF
5104 cat confdefs.h
>>conftest.
$ac_ext
5105 cat >>conftest.
$ac_ext <<_ACEOF
5106 /* end confdefs.h. */
5107 #include <$ac_header>
5109 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5111 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5112 *) ac_try_echo=$ac_try;;
5114 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5115 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5117 grep -v '^ *+' conftest.er1 >conftest.err
5119 cat conftest.err >&5
5120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5121 (exit $ac_status); } >/dev/null && {
5122 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5123 test ! -s conftest.err
5125 ac_header_preproc=yes
5127 echo "$as_me: failed program was:" >&5
5128 sed 's/^/| /' conftest.$ac_ext >&5
5130 ac_header_preproc=no
5133 rm -f conftest.err conftest.$ac_ext
5134 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5135 echo "${ECHO_T}$ac_header_preproc" >&6; }
5137 # So? What about this header?
5138 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5140 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5141 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5142 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5143 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5144 ac_header_preproc=yes
5147 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5148 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5149 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5150 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5151 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5152 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5153 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5154 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5155 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5156 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5157 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5158 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5162 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5163 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5164 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5165 echo $ECHO_N "(cached) $ECHO_C" >&6
5167 eval "$as_ac_Header=\$ac_header_preproc"
5169 ac_res=`eval echo '${'$as_ac_Header'}'`
5170 { echo "$as_me:$LINENO: result: $ac_res" >&5
5171 echo "${ECHO_T}$ac_res" >&6; }
5174 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5175 cat >>confdefs.h <<_ACEOF
5176 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
5183 { echo "$as_me:$LINENO: Using shadow passwords if available" >&5
5184 echo "$as_me: Using shadow passwords if available" >&6;}
5190 for ac_header in shadow.h
5192 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
5193 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5194 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5195 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5196 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5197 echo $ECHO_N "(cached) $ECHO_C" >&6
5199 ac_res=`eval echo '${'$as_ac_Header'}'`
5200 { echo "$as_me:$LINENO: result: $ac_res" >&5
5201 echo "${ECHO_T}$ac_res" >&6; }
5203 # Is the header compilable?
5204 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
5205 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5206 cat >conftest.$ac_ext <<_ACEOF
5209 cat confdefs.h >>conftest.$ac_ext
5210 cat >>conftest.$ac_ext <<_ACEOF
5211 /* end confdefs.h. */
5212 $ac_includes_default
5213 #include <$ac_header>
5215 rm -f conftest.$ac_objext
5216 if { (ac_try="$ac_compile"
5218 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5219 *) ac_try_echo
=$ac_try;;
5221 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5222 (eval "$ac_compile") 2>conftest.er1
5224 grep -v '^ *+' conftest.er1
>conftest.err
5226 cat conftest.err
>&5
5227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5228 (exit $ac_status); } && {
5229 test -z "$ac_c_werror_flag" ||
5230 test ! -s conftest.err
5231 } && test -s conftest.
$ac_objext; then
5232 ac_header_compiler
=yes
5234 echo "$as_me: failed program was:" >&5
5235 sed 's/^/| /' conftest.
$ac_ext >&5
5237 ac_header_compiler
=no
5240 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5241 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5242 echo "${ECHO_T}$ac_header_compiler" >&6; }
5244 # Is the header present?
5245 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
5246 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5247 cat >conftest.
$ac_ext <<_ACEOF
5250 cat confdefs.h
>>conftest.
$ac_ext
5251 cat >>conftest.
$ac_ext <<_ACEOF
5252 /* end confdefs.h. */
5253 #include <$ac_header>
5255 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5257 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5258 *) ac_try_echo=$ac_try;;
5260 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5261 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5263 grep -v '^ *+' conftest.er1 >conftest.err
5265 cat conftest.err >&5
5266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5267 (exit $ac_status); } >/dev/null && {
5268 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5269 test ! -s conftest.err
5271 ac_header_preproc=yes
5273 echo "$as_me: failed program was:" >&5
5274 sed 's/^/| /' conftest.$ac_ext >&5
5276 ac_header_preproc=no
5279 rm -f conftest.err conftest.$ac_ext
5280 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5281 echo "${ECHO_T}$ac_header_preproc" >&6; }
5283 # So? What about this header?
5284 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5286 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5287 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5288 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5289 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5290 ac_header_preproc=yes
5293 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5294 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5295 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5296 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5297 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5298 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5299 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5300 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5301 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5302 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5303 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5304 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5308 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5309 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5310 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5311 echo $ECHO_N "(cached) $ECHO_C" >&6
5313 eval "$as_ac_Header=\$ac_header_preproc"
5315 ac_res=`eval echo '${'$as_ac_Header'}'`
5316 { echo "$as_me:$LINENO: result: $ac_res" >&5
5317 echo "${ECHO_T}$ac_res" >&6; }
5320 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5321 cat >>confdefs.h <<_ACEOF
5322 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
5329 { echo "$as_me:$LINENO: Using shadow passwords if available" >&5
5330 echo "$as_me: Using shadow passwords if available" >&6;}
5337 # Checks for header files.
5338 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5339 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
5340 if test "${ac_cv_header_stdc+set}" = set; then
5341 echo $ECHO_N "(cached) $ECHO_C" >&6
5343 cat >conftest.$ac_ext <<_ACEOF
5346 cat confdefs.h >>conftest.$ac_ext
5347 cat >>conftest.$ac_ext <<_ACEOF
5348 /* end confdefs.h. */
5362 rm -f conftest.$ac_objext
5363 if { (ac_try="$ac_compile"
5365 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5366 *) ac_try_echo
=$ac_try;;
5368 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5369 (eval "$ac_compile") 2>conftest.er1
5371 grep -v '^ *+' conftest.er1
>conftest.err
5373 cat conftest.err
>&5
5374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5375 (exit $ac_status); } && {
5376 test -z "$ac_c_werror_flag" ||
5377 test ! -s conftest.err
5378 } && test -s conftest.
$ac_objext; then
5379 ac_cv_header_stdc
=yes
5381 echo "$as_me: failed program was:" >&5
5382 sed 's/^/| /' conftest.
$ac_ext >&5
5384 ac_cv_header_stdc
=no
5387 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5389 if test $ac_cv_header_stdc = yes; then
5390 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5391 cat >conftest.
$ac_ext <<_ACEOF
5394 cat confdefs.h
>>conftest.
$ac_ext
5395 cat >>conftest.
$ac_ext <<_ACEOF
5396 /* end confdefs.h. */
5400 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5401 $EGREP "memchr" >/dev
/null
2>&1; then
5404 ac_cv_header_stdc
=no
5410 if test $ac_cv_header_stdc = yes; then
5411 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5412 cat >conftest.
$ac_ext <<_ACEOF
5415 cat confdefs.h
>>conftest.
$ac_ext
5416 cat >>conftest.
$ac_ext <<_ACEOF
5417 /* end confdefs.h. */
5421 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5422 $EGREP "free" >/dev
/null
2>&1; then
5425 ac_cv_header_stdc
=no
5431 if test $ac_cv_header_stdc = yes; then
5432 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5433 if test "$cross_compiling" = yes; then
5436 cat >conftest.
$ac_ext <<_ACEOF
5439 cat confdefs.h
>>conftest.
$ac_ext
5440 cat >>conftest.
$ac_ext <<_ACEOF
5441 /* end confdefs.h. */
5444 #if ((' ' & 0x0FF) == 0x020)
5445 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5446 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5448 # define ISLOWER(c) \
5449 (('a' <= (c) && (c) <= 'i') \
5450 || ('j' <= (c) && (c) <= 'r') \
5451 || ('s' <= (c) && (c) <= 'z'))
5452 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5455 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5460 for (i = 0; i < 256; i++)
5461 if (XOR (islower (i), ISLOWER (i))
5462 || toupper (i) != TOUPPER (i))
5467 rm -f conftest
$ac_exeext
5468 if { (ac_try
="$ac_link"
5470 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5471 *) ac_try_echo=$ac_try;;
5473 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5474 (eval "$ac_link") 2>&5
5476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5477 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5478 { (case "(($ac_try" in
5479 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5480 *) ac_try_echo
=$ac_try;;
5482 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5483 (eval "$ac_try") 2>&5
5485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5486 (exit $ac_status); }; }; then
5489 echo "$as_me: program exited with status $ac_status" >&5
5490 echo "$as_me: failed program was:" >&5
5491 sed 's/^/| /' conftest.
$ac_ext >&5
5494 ac_cv_header_stdc
=no
5496 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5502 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5503 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
5504 if test $ac_cv_header_stdc = yes; then
5506 cat >>confdefs.h
<<\_ACEOF
5507 #define STDC_HEADERS 1
5512 { echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
5513 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6; }
5514 if test "${ac_cv_header_sys_wait_h+set}" = set; then
5515 echo $ECHO_N "(cached) $ECHO_C" >&6
5517 cat >conftest.
$ac_ext <<_ACEOF
5520 cat confdefs.h
>>conftest.
$ac_ext
5521 cat >>conftest.
$ac_ext <<_ACEOF
5522 /* end confdefs.h. */
5523 #include <sys/types.h>
5524 #include <sys/wait.h>
5526 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
5529 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
5537 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
5542 rm -f conftest.
$ac_objext
5543 if { (ac_try
="$ac_compile"
5545 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5546 *) ac_try_echo=$ac_try;;
5548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5549 (eval "$ac_compile") 2>conftest.er1
5551 grep -v '^ *+' conftest.er1 >conftest.err
5553 cat conftest.err >&5
5554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5555 (exit $ac_status); } && {
5556 test -z "$ac_c_werror_flag" ||
5557 test ! -s conftest.err
5558 } && test -s conftest.$ac_objext; then
5559 ac_cv_header_sys_wait_h=yes
5561 echo "$as_me: failed program was:" >&5
5562 sed 's/^/| /' conftest.$ac_ext >&5
5564 ac_cv_header_sys_wait_h=no
5567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5569 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
5570 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6; }
5571 if test $ac_cv_header_sys_wait_h = yes; then
5573 cat >>confdefs.h <<\_ACEOF
5574 #define HAVE_SYS_WAIT_H 1
5605 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
5607 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
5608 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5609 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5610 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5611 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5612 echo $ECHO_N "(cached) $ECHO_C" >&6
5614 ac_res=`eval echo '${'$as_ac_Header'}'`
5615 { echo "$as_me:$LINENO: result: $ac_res" >&5
5616 echo "${ECHO_T}$ac_res" >&6; }
5618 # Is the header compilable?
5619 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
5620 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5621 cat >conftest.$ac_ext <<_ACEOF
5624 cat confdefs.h >>conftest.$ac_ext
5625 cat >>conftest.$ac_ext <<_ACEOF
5626 /* end confdefs.h. */
5627 $ac_includes_default
5628 #include <$ac_header>
5630 rm -f conftest.$ac_objext
5631 if { (ac_try="$ac_compile"
5633 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5634 *) ac_try_echo
=$ac_try;;
5636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5637 (eval "$ac_compile") 2>conftest.er1
5639 grep -v '^ *+' conftest.er1
>conftest.err
5641 cat conftest.err
>&5
5642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5643 (exit $ac_status); } && {
5644 test -z "$ac_c_werror_flag" ||
5645 test ! -s conftest.err
5646 } && test -s conftest.
$ac_objext; then
5647 ac_header_compiler
=yes
5649 echo "$as_me: failed program was:" >&5
5650 sed 's/^/| /' conftest.
$ac_ext >&5
5652 ac_header_compiler
=no
5655 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5656 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5657 echo "${ECHO_T}$ac_header_compiler" >&6; }
5659 # Is the header present?
5660 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
5661 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5662 cat >conftest.
$ac_ext <<_ACEOF
5665 cat confdefs.h
>>conftest.
$ac_ext
5666 cat >>conftest.
$ac_ext <<_ACEOF
5667 /* end confdefs.h. */
5668 #include <$ac_header>
5670 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5672 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5673 *) ac_try_echo=$ac_try;;
5675 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5676 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5678 grep -v '^ *+' conftest.er1 >conftest.err
5680 cat conftest.err >&5
5681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5682 (exit $ac_status); } >/dev/null && {
5683 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5684 test ! -s conftest.err
5686 ac_header_preproc=yes
5688 echo "$as_me: failed program was:" >&5
5689 sed 's/^/| /' conftest.$ac_ext >&5
5691 ac_header_preproc=no
5694 rm -f conftest.err conftest.$ac_ext
5695 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5696 echo "${ECHO_T}$ac_header_preproc" >&6; }
5698 # So? What about this header?
5699 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5701 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5702 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5703 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5704 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5705 ac_header_preproc=yes
5708 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5709 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5710 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5711 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5712 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5713 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5714 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5715 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5716 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5717 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5718 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5719 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5723 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5724 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5725 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5726 echo $ECHO_N "(cached) $ECHO_C" >&6
5728 eval "$as_ac_Header=\$ac_header_preproc"
5730 ac_res=`eval echo '${'$as_ac_Header'}'`
5731 { echo "$as_me:$LINENO: result: $ac_res" >&5
5732 echo "${ECHO_T}$ac_res" >&6; }
5735 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5736 cat >>confdefs.h <<_ACEOF
5737 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
5745 # Checks for typedefs, structures, and compiler characteristics.
5746 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
5747 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
5748 if test "${ac_cv_c_const+set}" = set; then
5749 echo $ECHO_N "(cached) $ECHO_C" >&6
5751 cat >conftest.$ac_ext <<_ACEOF
5754 cat confdefs.h >>conftest.$ac_ext
5755 cat >>conftest.$ac_ext <<_ACEOF
5756 /* end confdefs.h. */
5761 /* FIXME: Include the comments suggested by Paul. */
5763 /* Ultrix mips cc rejects this. */
5764 typedef int charset[2];
5766 /* SunOS 4.1.1 cc rejects this. */
5767 char const *const *pcpcc;
5769 /* NEC SVR4.0.2 mips cc rejects this. */
5770 struct point {int x, y;};
5771 static struct point const zero = {0,0};
5772 /* AIX XL C 1.02.0.0 rejects this.
5773 It does not let you subtract one const X* pointer from another in
5774 an arm of an if-expression whose if-part is not a constant
5776 const char *g = "string";
5777 pcpcc = &g + (g ? g-g : 0);
5778 /* HPUX 7.0 cc rejects these. */
5780 ppc = (char**) pcpcc;
5781 pcpcc = (char const *const *) ppc;
5782 { /* SCO 3.2v4 cc rejects this. */
5784 char const *s = 0 ? (char *) 0 : (char const *) 0;
5789 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
5791 const int *foo = &x[0];
5794 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
5795 typedef const int *iptr;
5799 { /* AIX XL C 1.02.0.0 rejects this saying
5800 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
5801 struct s { int j; const int *ap[3]; };
5802 struct s *b; b->j = 5;
5804 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
5808 return !cs[0] && !zero.x;
5815 rm -f conftest.$ac_objext
5816 if { (ac_try="$ac_compile"
5818 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5819 *) ac_try_echo
=$ac_try;;
5821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5822 (eval "$ac_compile") 2>conftest.er1
5824 grep -v '^ *+' conftest.er1
>conftest.err
5826 cat conftest.err
>&5
5827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5828 (exit $ac_status); } && {
5829 test -z "$ac_c_werror_flag" ||
5830 test ! -s conftest.err
5831 } && test -s conftest.
$ac_objext; then
5834 echo "$as_me: failed program was:" >&5
5835 sed 's/^/| /' conftest.
$ac_ext >&5
5840 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5842 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
5843 echo "${ECHO_T}$ac_cv_c_const" >&6; }
5844 if test $ac_cv_c_const = no
; then
5846 cat >>confdefs.h
<<\_ACEOF
5852 { echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
5853 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6; }
5854 if test "${ac_cv_type_uid_t+set}" = set; then
5855 echo $ECHO_N "(cached) $ECHO_C" >&6
5857 cat >conftest.
$ac_ext <<_ACEOF
5860 cat confdefs.h
>>conftest.
$ac_ext
5861 cat >>conftest.
$ac_ext <<_ACEOF
5862 /* end confdefs.h. */
5863 #include <sys/types.h>
5866 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5867 $EGREP "uid_t" >/dev
/null
2>&1; then
5868 ac_cv_type_uid_t
=yes
5875 { echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
5876 echo "${ECHO_T}$ac_cv_type_uid_t" >&6; }
5877 if test $ac_cv_type_uid_t = no
; then
5879 cat >>confdefs.h
<<\_ACEOF
5884 cat >>confdefs.h
<<\_ACEOF
5890 { echo "$as_me:$LINENO: checking for mode_t" >&5
5891 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
5892 if test "${ac_cv_type_mode_t+set}" = set; then
5893 echo $ECHO_N "(cached) $ECHO_C" >&6
5895 cat >conftest.
$ac_ext <<_ACEOF
5898 cat confdefs.h
>>conftest.
$ac_ext
5899 cat >>conftest.
$ac_ext <<_ACEOF
5900 /* end confdefs.h. */
5901 $ac_includes_default
5902 typedef mode_t ac__type_new_;
5906 if ((ac__type_new_ *) 0)
5908 if (sizeof (ac__type_new_))
5914 rm -f conftest.
$ac_objext
5915 if { (ac_try
="$ac_compile"
5917 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5918 *) ac_try_echo=$ac_try;;
5920 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5921 (eval "$ac_compile") 2>conftest.er1
5923 grep -v '^ *+' conftest.er1 >conftest.err
5925 cat conftest.err >&5
5926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5927 (exit $ac_status); } && {
5928 test -z "$ac_c_werror_flag" ||
5929 test ! -s conftest.err
5930 } && test -s conftest.$ac_objext; then
5931 ac_cv_type_mode_t=yes
5933 echo "$as_me: failed program was:" >&5
5934 sed 's/^/| /' conftest.$ac_ext >&5
5936 ac_cv_type_mode_t=no
5939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5941 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
5942 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
5943 if test $ac_cv_type_mode_t = yes; then
5947 cat >>confdefs.h <<_ACEOF
5953 { echo "$as_me:$LINENO: checking for pid_t" >&5
5954 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
5955 if test "${ac_cv_type_pid_t+set}" = set; then
5956 echo $ECHO_N "(cached) $ECHO_C" >&6
5958 cat >conftest.$ac_ext <<_ACEOF
5961 cat confdefs.h >>conftest.$ac_ext
5962 cat >>conftest.$ac_ext <<_ACEOF
5963 /* end confdefs.h. */
5964 $ac_includes_default
5965 typedef pid_t ac__type_new_;
5969 if ((ac__type_new_ *) 0)
5971 if (sizeof (ac__type_new_))
5977 rm -f conftest.$ac_objext
5978 if { (ac_try="$ac_compile"
5980 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5981 *) ac_try_echo
=$ac_try;;
5983 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5984 (eval "$ac_compile") 2>conftest.er1
5986 grep -v '^ *+' conftest.er1
>conftest.err
5988 cat conftest.err
>&5
5989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5990 (exit $ac_status); } && {
5991 test -z "$ac_c_werror_flag" ||
5992 test ! -s conftest.err
5993 } && test -s conftest.
$ac_objext; then
5994 ac_cv_type_pid_t
=yes
5996 echo "$as_me: failed program was:" >&5
5997 sed 's/^/| /' conftest.
$ac_ext >&5
6002 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6004 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
6005 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
6006 if test $ac_cv_type_pid_t = yes; then
6010 cat >>confdefs.h
<<_ACEOF
6016 { echo "$as_me:$LINENO: checking for size_t" >&5
6017 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
6018 if test "${ac_cv_type_size_t+set}" = set; then
6019 echo $ECHO_N "(cached) $ECHO_C" >&6
6021 cat >conftest.
$ac_ext <<_ACEOF
6024 cat confdefs.h
>>conftest.
$ac_ext
6025 cat >>conftest.
$ac_ext <<_ACEOF
6026 /* end confdefs.h. */
6027 $ac_includes_default
6028 typedef size_t ac__type_new_;
6032 if ((ac__type_new_ *) 0)
6034 if (sizeof (ac__type_new_))
6040 rm -f conftest.
$ac_objext
6041 if { (ac_try
="$ac_compile"
6043 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6044 *) ac_try_echo=$ac_try;;
6046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6047 (eval "$ac_compile") 2>conftest.er1
6049 grep -v '^ *+' conftest.er1 >conftest.err
6051 cat conftest.err >&5
6052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6053 (exit $ac_status); } && {
6054 test -z "$ac_c_werror_flag" ||
6055 test ! -s conftest.err
6056 } && test -s conftest.$ac_objext; then
6057 ac_cv_type_size_t=yes
6059 echo "$as_me: failed program was:" >&5
6060 sed 's/^/| /' conftest.$ac_ext >&5
6062 ac_cv_type_size_t=no
6065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6067 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
6068 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
6069 if test $ac_cv_type_size_t = yes; then
6073 cat >>confdefs.h <<_ACEOF
6074 #define size_t unsigned int
6079 { echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
6080 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; }
6081 if test "${ac_cv_header_time+set}" = set; then
6082 echo $ECHO_N "(cached) $ECHO_C" >&6
6084 cat >conftest.$ac_ext <<_ACEOF
6087 cat confdefs.h >>conftest.$ac_ext
6088 cat >>conftest.$ac_ext <<_ACEOF
6089 /* end confdefs.h. */
6090 #include <sys/types.h>
6091 #include <sys/time.h>
6097 if ((struct tm *) 0)
6103 rm -f conftest.$ac_objext
6104 if { (ac_try="$ac_compile"
6106 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6107 *) ac_try_echo
=$ac_try;;
6109 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6110 (eval "$ac_compile") 2>conftest.er1
6112 grep -v '^ *+' conftest.er1
>conftest.err
6114 cat conftest.err
>&5
6115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6116 (exit $ac_status); } && {
6117 test -z "$ac_c_werror_flag" ||
6118 test ! -s conftest.err
6119 } && test -s conftest.
$ac_objext; then
6120 ac_cv_header_time
=yes
6122 echo "$as_me: failed program was:" >&5
6123 sed 's/^/| /' conftest.
$ac_ext >&5
6125 ac_cv_header_time
=no
6128 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6130 { echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
6131 echo "${ECHO_T}$ac_cv_header_time" >&6; }
6132 if test $ac_cv_header_time = yes; then
6134 cat >>confdefs.h
<<\_ACEOF
6135 #define TIME_WITH_SYS_TIME 1
6141 { echo "$as_me:$LINENO: checking for uint16_t" >&5
6142 echo $ECHO_N "checking for uint16_t... $ECHO_C" >&6; }
6143 if test "${ac_cv_type_uint16_t+set}" = set; then
6144 echo $ECHO_N "(cached) $ECHO_C" >&6
6146 cat >conftest.
$ac_ext <<_ACEOF
6149 cat confdefs.h
>>conftest.
$ac_ext
6150 cat >>conftest.
$ac_ext <<_ACEOF
6151 /* end confdefs.h. */
6152 $ac_includes_default
6153 typedef uint16_t ac__type_new_;
6157 if ((ac__type_new_ *) 0)
6159 if (sizeof (ac__type_new_))
6165 rm -f conftest.
$ac_objext
6166 if { (ac_try
="$ac_compile"
6168 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6169 *) ac_try_echo=$ac_try;;
6171 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6172 (eval "$ac_compile") 2>conftest.er1
6174 grep -v '^ *+' conftest.er1 >conftest.err
6176 cat conftest.err >&5
6177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6178 (exit $ac_status); } && {
6179 test -z "$ac_c_werror_flag" ||
6180 test ! -s conftest.err
6181 } && test -s conftest.$ac_objext; then
6182 ac_cv_type_uint16_t=yes
6184 echo "$as_me: failed program was:" >&5
6185 sed 's/^/| /' conftest.$ac_ext >&5
6187 ac_cv_type_uint16_t=no
6190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6192 { echo "$as_me:$LINENO: result: $ac_cv_type_uint16_t" >&5
6193 echo "${ECHO_T}$ac_cv_type_uint16_t" >&6; }
6194 if test $ac_cv_type_uint16_t = yes; then
6196 cat >>confdefs.h <<_ACEOF
6197 #define HAVE_UINT16_T 1
6202 { echo "$as_me:$LINENO: checking for u_int16_t" >&5
6203 echo $ECHO_N "checking for u_int16_t... $ECHO_C" >&6; }
6204 if test "${ac_cv_type_u_int16_t+set}" = set; then
6205 echo $ECHO_N "(cached) $ECHO_C" >&6
6207 cat >conftest.$ac_ext <<_ACEOF
6210 cat confdefs.h >>conftest.$ac_ext
6211 cat >>conftest.$ac_ext <<_ACEOF
6212 /* end confdefs.h. */
6213 $ac_includes_default
6214 typedef u_int16_t ac__type_new_;
6218 if ((ac__type_new_ *) 0)
6220 if (sizeof (ac__type_new_))
6226 rm -f conftest.$ac_objext
6227 if { (ac_try="$ac_compile"
6229 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6230 *) ac_try_echo
=$ac_try;;
6232 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6233 (eval "$ac_compile") 2>conftest.er1
6235 grep -v '^ *+' conftest.er1
>conftest.err
6237 cat conftest.err
>&5
6238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6239 (exit $ac_status); } && {
6240 test -z "$ac_c_werror_flag" ||
6241 test ! -s conftest.err
6242 } && test -s conftest.
$ac_objext; then
6243 ac_cv_type_u_int16_t
=yes
6245 echo "$as_me: failed program was:" >&5
6246 sed 's/^/| /' conftest.
$ac_ext >&5
6248 ac_cv_type_u_int16_t
=no
6251 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6253 { echo "$as_me:$LINENO: result: $ac_cv_type_u_int16_t" >&5
6254 echo "${ECHO_T}$ac_cv_type_u_int16_t" >&6; }
6255 if test $ac_cv_type_u_int16_t = yes; then
6257 cat >>confdefs.h
<<_ACEOF
6258 #define HAVE_U_INT16_T 1
6263 { echo "$as_me:$LINENO: checking for struct sockaddr_storage" >&5
6264 echo $ECHO_N "checking for struct sockaddr_storage... $ECHO_C" >&6; }
6265 if test "${ac_cv_type_struct_sockaddr_storage+set}" = set; then
6266 echo $ECHO_N "(cached) $ECHO_C" >&6
6268 cat >conftest.
$ac_ext <<_ACEOF
6271 cat confdefs.h
>>conftest.
$ac_ext
6272 cat >>conftest.
$ac_ext <<_ACEOF
6273 /* end confdefs.h. */
6274 $ac_includes_default
6275 typedef struct sockaddr_storage ac__type_new_;
6279 if ((ac__type_new_ *) 0)
6281 if (sizeof (ac__type_new_))
6287 rm -f conftest.
$ac_objext
6288 if { (ac_try
="$ac_compile"
6290 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6291 *) ac_try_echo=$ac_try;;
6293 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6294 (eval "$ac_compile") 2>conftest.er1
6296 grep -v '^ *+' conftest.er1 >conftest.err
6298 cat conftest.err >&5
6299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6300 (exit $ac_status); } && {
6301 test -z "$ac_c_werror_flag" ||
6302 test ! -s conftest.err
6303 } && test -s conftest.$ac_objext; then
6304 ac_cv_type_struct_sockaddr_storage=yes
6306 echo "$as_me: failed program was:" >&5
6307 sed 's/^/| /' conftest.$ac_ext >&5
6309 ac_cv_type_struct_sockaddr_storage=no
6312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6314 { echo "$as_me:$LINENO: result: $ac_cv_type_struct_sockaddr_storage" >&5
6315 echo "${ECHO_T}$ac_cv_type_struct_sockaddr_storage" >&6; }
6316 if test $ac_cv_type_struct_sockaddr_storage = yes; then
6318 cat >>confdefs.h <<_ACEOF
6319 #define HAVE_STRUCT_SOCKADDR_STORAGE 1
6325 { echo "$as_me:$LINENO: checking for socklen_t" >&5
6326 echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6; }
6327 if test "${ac_cv_type_socklen_t+set}" = set; then
6328 echo $ECHO_N "(cached) $ECHO_C" >&6
6330 cat >conftest.$ac_ext <<_ACEOF
6333 cat confdefs.h >>conftest.$ac_ext
6334 cat >>conftest.$ac_ext <<_ACEOF
6335 /* end confdefs.h. */
6336 #include <sys/types.h>
6337 #include <sys/socket.h>
6339 typedef socklen_t ac__type_new_;
6343 if ((ac__type_new_ *) 0)
6345 if (sizeof (ac__type_new_))
6351 rm -f conftest.$ac_objext
6352 if { (ac_try="$ac_compile"
6354 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6355 *) ac_try_echo
=$ac_try;;
6357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6358 (eval "$ac_compile") 2>conftest.er1
6360 grep -v '^ *+' conftest.er1
>conftest.err
6362 cat conftest.err
>&5
6363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6364 (exit $ac_status); } && {
6365 test -z "$ac_c_werror_flag" ||
6366 test ! -s conftest.err
6367 } && test -s conftest.
$ac_objext; then
6368 ac_cv_type_socklen_t
=yes
6370 echo "$as_me: failed program was:" >&5
6371 sed 's/^/| /' conftest.
$ac_ext >&5
6373 ac_cv_type_socklen_t
=no
6376 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6378 { echo "$as_me:$LINENO: result: $ac_cv_type_socklen_t" >&5
6379 echo "${ECHO_T}$ac_cv_type_socklen_t" >&6; }
6380 if test $ac_cv_type_socklen_t = yes; then
6384 { echo "$as_me:$LINENO: checking for socklen_t equivalent" >&5
6385 echo $ECHO_N "checking for socklen_t equivalent... $ECHO_C" >&6; }
6386 if test "${curl_cv_socklen_t_equiv+set}" = set; then
6387 echo $ECHO_N "(cached) $ECHO_C" >&6
6390 # Systems have either "struct sockaddr *" or
6391 # "void *" as the second argument to getpeername
6392 curl_cv_socklen_t_equiv
=
6393 for arg2
in "struct sockaddr" void
; do
6394 for t
in int size_t unsigned long
"unsigned long"; do
6395 cat >conftest.
$ac_ext <<_ACEOF
6398 cat confdefs.h
>>conftest.
$ac_ext
6399 cat >>conftest.
$ac_ext <<_ACEOF
6400 /* end confdefs.h. */
6402 #include <sys/types.h>
6403 #include <sys/socket.h>
6405 int getpeername (int, $arg2 *, $t *);
6412 getpeername(0,0,&len);
6418 rm -f conftest.
$ac_objext
6419 if { (ac_try
="$ac_compile"
6421 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6422 *) ac_try_echo=$ac_try;;
6424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6425 (eval "$ac_compile") 2>conftest.er1
6427 grep -v '^ *+' conftest.er1 >conftest.err
6429 cat conftest.err >&5
6430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6431 (exit $ac_status); } && {
6432 test -z "$ac_c_werror_flag" ||
6433 test ! -s conftest.err
6434 } && test -s conftest.$ac_objext; then
6436 curl_cv_socklen_t_equiv="$t"
6440 echo "$as_me: failed program was:" >&5
6441 sed 's/^/| /' conftest.$ac_ext >&5
6446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6450 if test "x$curl_cv_socklen_t_equiv" = x; then
6451 { { echo "$as_me:$LINENO: error: Cannot find a type to use in place of socklen_t" >&5
6452 echo "$as_me: error: Cannot find a type to use in place of socklen_t" >&2;}
6453 { (exit 1); exit 1; }; }
6458 { echo "$as_me:$LINENO: result: $curl_cv_socklen_t_equiv" >&5
6459 echo "${ECHO_T}$curl_cv_socklen_t_equiv" >&6; }
6461 cat >>confdefs.h <<_ACEOF
6462 #define socklen_t $curl_cv_socklen_t_equiv
6468 # for the fake-rfc2553 stuff - straight from OpenSSH
6470 { echo "$as_me:$LINENO: checking for struct sockaddr_storage" >&5
6471 echo $ECHO_N "checking for struct sockaddr_storage... $ECHO_C" >&6; }
6472 if test "${ac_cv_have_struct_sockaddr_storage+set}" = set; then
6473 echo $ECHO_N "(cached) $ECHO_C" >&6
6476 cat >conftest.$ac_ext <<_ACEOF
6479 cat confdefs.h >>conftest.$ac_ext
6480 cat >>conftest.$ac_ext <<_ACEOF
6481 /* end confdefs.h. */
6483 #include <sys/types.h>
6484 #include <sys/socket.h>
6489 struct sockaddr_storage s;
6494 rm -f conftest.$ac_objext
6495 if { (ac_try="$ac_compile"
6497 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6498 *) ac_try_echo
=$ac_try;;
6500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6501 (eval "$ac_compile") 2>conftest.er1
6503 grep -v '^ *+' conftest.er1
>conftest.err
6505 cat conftest.err
>&5
6506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6507 (exit $ac_status); } && {
6508 test -z "$ac_c_werror_flag" ||
6509 test ! -s conftest.err
6510 } && test -s conftest.
$ac_objext; then
6511 ac_cv_have_struct_sockaddr_storage
="yes"
6513 echo "$as_me: failed program was:" >&5
6514 sed 's/^/| /' conftest.
$ac_ext >&5
6516 ac_cv_have_struct_sockaddr_storage
="no"
6520 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6523 { echo "$as_me:$LINENO: result: $ac_cv_have_struct_sockaddr_storage" >&5
6524 echo "${ECHO_T}$ac_cv_have_struct_sockaddr_storage" >&6; }
6525 if test "x$ac_cv_have_struct_sockaddr_storage" = "xyes" ; then
6526 cat >>confdefs.h
<<\_ACEOF
6527 #define HAVE_STRUCT_SOCKADDR_STORAGE 1
6532 { echo "$as_me:$LINENO: checking for struct sockaddr_in6" >&5
6533 echo $ECHO_N "checking for struct sockaddr_in6... $ECHO_C" >&6; }
6534 if test "${ac_cv_have_struct_sockaddr_in6+set}" = set; then
6535 echo $ECHO_N "(cached) $ECHO_C" >&6
6538 cat >conftest.
$ac_ext <<_ACEOF
6541 cat confdefs.h
>>conftest.
$ac_ext
6542 cat >>conftest.
$ac_ext <<_ACEOF
6543 /* end confdefs.h. */
6545 #include <sys/types.h>
6546 #include <netinet/in.h>
6551 struct sockaddr_in6 s; s.sin6_family = 0;
6556 rm -f conftest.
$ac_objext
6557 if { (ac_try
="$ac_compile"
6559 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6560 *) ac_try_echo=$ac_try;;
6562 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6563 (eval "$ac_compile") 2>conftest.er1
6565 grep -v '^ *+' conftest.er1 >conftest.err
6567 cat conftest.err >&5
6568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6569 (exit $ac_status); } && {
6570 test -z "$ac_c_werror_flag" ||
6571 test ! -s conftest.err
6572 } && test -s conftest.$ac_objext; then
6573 ac_cv_have_struct_sockaddr_in6="yes"
6575 echo "$as_me: failed program was:" >&5
6576 sed 's/^/| /' conftest.$ac_ext >&5
6578 ac_cv_have_struct_sockaddr_in6="no"
6582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6585 { echo "$as_me:$LINENO: result: $ac_cv_have_struct_sockaddr_in6" >&5
6586 echo "${ECHO_T}$ac_cv_have_struct_sockaddr_in6" >&6; }
6587 if test "x$ac_cv_have_struct_sockaddr_in6" = "xyes" ; then
6589 cat >>confdefs.h <<\_ACEOF
6590 #define HAVE_STRUCT_SOCKADDR_IN6
6595 { echo "$as_me:$LINENO: checking for struct in6_addr" >&5
6596 echo $ECHO_N "checking for struct in6_addr... $ECHO_C" >&6; }
6597 if test "${ac_cv_have_struct_in6_addr+set}" = set; then
6598 echo $ECHO_N "(cached) $ECHO_C" >&6
6601 cat >conftest.$ac_ext <<_ACEOF
6604 cat confdefs.h >>conftest.$ac_ext
6605 cat >>conftest.$ac_ext <<_ACEOF
6606 /* end confdefs.h. */
6608 #include <sys/types.h>
6609 #include <netinet/in.h>
6614 struct in6_addr s; s.s6_addr[0] = 0;
6619 rm -f conftest.$ac_objext
6620 if { (ac_try="$ac_compile"
6622 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6623 *) ac_try_echo
=$ac_try;;
6625 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6626 (eval "$ac_compile") 2>conftest.er1
6628 grep -v '^ *+' conftest.er1
>conftest.err
6630 cat conftest.err
>&5
6631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6632 (exit $ac_status); } && {
6633 test -z "$ac_c_werror_flag" ||
6634 test ! -s conftest.err
6635 } && test -s conftest.
$ac_objext; then
6636 ac_cv_have_struct_in6_addr
="yes"
6638 echo "$as_me: failed program was:" >&5
6639 sed 's/^/| /' conftest.
$ac_ext >&5
6641 ac_cv_have_struct_in6_addr
="no"
6645 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6648 { echo "$as_me:$LINENO: result: $ac_cv_have_struct_in6_addr" >&5
6649 echo "${ECHO_T}$ac_cv_have_struct_in6_addr" >&6; }
6650 if test "x$ac_cv_have_struct_in6_addr" = "xyes" ; then
6652 cat >>confdefs.h
<<\_ACEOF
6653 #define HAVE_STRUCT_IN6_ADDR
6658 { echo "$as_me:$LINENO: checking for struct addrinfo" >&5
6659 echo $ECHO_N "checking for struct addrinfo... $ECHO_C" >&6; }
6660 if test "${ac_cv_have_struct_addrinfo+set}" = set; then
6661 echo $ECHO_N "(cached) $ECHO_C" >&6
6664 cat >conftest.
$ac_ext <<_ACEOF
6667 cat confdefs.h
>>conftest.
$ac_ext
6668 cat >>conftest.
$ac_ext <<_ACEOF
6669 /* end confdefs.h. */
6671 #include <sys/types.h>
6672 #include <sys/socket.h>
6678 struct addrinfo s; s.ai_flags = AI_PASSIVE;
6683 rm -f conftest.
$ac_objext
6684 if { (ac_try
="$ac_compile"
6686 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6687 *) ac_try_echo=$ac_try;;
6689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6690 (eval "$ac_compile") 2>conftest.er1
6692 grep -v '^ *+' conftest.er1 >conftest.err
6694 cat conftest.err >&5
6695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6696 (exit $ac_status); } && {
6697 test -z "$ac_c_werror_flag" ||
6698 test ! -s conftest.err
6699 } && test -s conftest.$ac_objext; then
6700 ac_cv_have_struct_addrinfo="yes"
6702 echo "$as_me: failed program was:" >&5
6703 sed 's/^/| /' conftest.$ac_ext >&5
6705 ac_cv_have_struct_addrinfo="no"
6709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6712 { echo "$as_me:$LINENO: result: $ac_cv_have_struct_addrinfo" >&5
6713 echo "${ECHO_T}$ac_cv_have_struct_addrinfo" >&6; }
6714 if test "x$ac_cv_have_struct_addrinfo" = "xyes" ; then
6716 cat >>confdefs.h <<\_ACEOF
6717 #define HAVE_STRUCT_ADDRINFO
6723 # IRIX has a const char return value for gai_strerror()
6725 for ac_func in gai_strerror
6727 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
6728 { echo "$as_me:$LINENO: checking for $ac_func" >&5
6729 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
6730 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6731 echo $ECHO_N "(cached) $ECHO_C" >&6
6733 cat >conftest.$ac_ext <<_ACEOF
6736 cat confdefs.h >>conftest.$ac_ext
6737 cat >>conftest.$ac_ext <<_ACEOF
6738 /* end confdefs.h. */
6739 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6740 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6741 #define $ac_func innocuous_$ac_func
6743 /* System header to define __stub macros and hopefully few prototypes,
6744 which can conflict with char $ac_func (); below.
6745 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6746 <limits.h> exists even on freestanding compilers. */
6749 # include <limits.h>
6751 # include <assert.h>
6756 /* Override any GCC internal prototype to avoid an error.
6757 Use char because int might match the return type of a GCC
6758 builtin and then its argument prototype would still apply. */
6763 /* The GNU C library defines this for functions which it implements
6764 to always fail with ENOSYS. Some functions are actually named
6765 something starting with __ and the normal name is an alias. */
6766 #if defined __stub_$ac_func || defined __stub___$ac_func
6778 rm -f conftest.$ac_objext conftest$ac_exeext
6779 if { (ac_try="$ac_link"
6781 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6782 *) ac_try_echo
=$ac_try;;
6784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6785 (eval "$ac_link") 2>conftest.er1
6787 grep -v '^ *+' conftest.er1
>conftest.err
6789 cat conftest.err
>&5
6790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6791 (exit $ac_status); } && {
6792 test -z "$ac_c_werror_flag" ||
6793 test ! -s conftest.err
6794 } && test -s conftest
$ac_exeext &&
6795 $as_test_x conftest
$ac_exeext; then
6796 eval "$as_ac_var=yes"
6798 echo "$as_me: failed program was:" >&5
6799 sed 's/^/| /' conftest.
$ac_ext >&5
6801 eval "$as_ac_var=no"
6804 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
6805 conftest
$ac_exeext conftest.
$ac_ext
6807 ac_res
=`eval echo '${'$as_ac_var'}'`
6808 { echo "$as_me:$LINENO: result: $ac_res" >&5
6809 echo "${ECHO_T}$ac_res" >&6; }
6810 if test `eval echo '${'$as_ac_var'}'` = yes; then
6811 cat >>confdefs.h
<<_ACEOF
6812 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6815 cat >>confdefs.h
<<\_ACEOF
6816 #define HAVE_GAI_STRERROR 1
6819 cat >conftest.
$ac_ext <<_ACEOF
6822 cat confdefs.h
>>conftest.
$ac_ext
6823 cat >>conftest.
$ac_ext <<_ACEOF
6824 /* end confdefs.h. */
6826 #include <sys/types.h>
6827 #include <sys/socket.h>
6830 const char *gai_strerror(int);
6837 str = gai_strerror(0);
6842 rm -f conftest.
$ac_objext
6843 if { (ac_try
="$ac_compile"
6845 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6846 *) ac_try_echo=$ac_try;;
6848 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6849 (eval "$ac_compile") 2>conftest.er1
6851 grep -v '^ *+' conftest.er1 >conftest.err
6853 cat conftest.err >&5
6854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6855 (exit $ac_status); } && {
6856 test -z "$ac_c_werror_flag" ||
6857 test ! -s conftest.err
6858 } && test -s conftest.$ac_objext; then
6861 cat >>confdefs.h <<\_ACEOF
6862 #define HAVE_CONST_GAI_STRERROR_PROTO 1
6866 echo "$as_me: failed program was:" >&5
6867 sed 's/^/| /' conftest.$ac_ext >&5
6872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6879 { echo "$as_me:$LINENO: checking for struct utmp.ut_host" >&5
6880 echo $ECHO_N "checking for struct utmp.ut_host... $ECHO_C" >&6; }
6881 if test "${ac_cv_member_struct_utmp_ut_host+set}" = set; then
6882 echo $ECHO_N "(cached) $ECHO_C" >&6
6884 cat >conftest.$ac_ext <<_ACEOF
6887 cat confdefs.h >>conftest.$ac_ext
6888 cat >>conftest.$ac_ext <<_ACEOF
6889 /* end confdefs.h. */
6891 #include <sys/types.h>
6900 static struct utmp ac_aggr;
6901 if (ac_aggr.ut_host)
6907 rm -f conftest.$ac_objext
6908 if { (ac_try="$ac_compile"
6910 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6911 *) ac_try_echo
=$ac_try;;
6913 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6914 (eval "$ac_compile") 2>conftest.er1
6916 grep -v '^ *+' conftest.er1
>conftest.err
6918 cat conftest.err
>&5
6919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6920 (exit $ac_status); } && {
6921 test -z "$ac_c_werror_flag" ||
6922 test ! -s conftest.err
6923 } && test -s conftest.
$ac_objext; then
6924 ac_cv_member_struct_utmp_ut_host
=yes
6926 echo "$as_me: failed program was:" >&5
6927 sed 's/^/| /' conftest.
$ac_ext >&5
6929 cat >conftest.
$ac_ext <<_ACEOF
6932 cat confdefs.h
>>conftest.
$ac_ext
6933 cat >>conftest.
$ac_ext <<_ACEOF
6934 /* end confdefs.h. */
6936 #include <sys/types.h>
6945 static struct utmp ac_aggr;
6946 if (sizeof ac_aggr.ut_host)
6952 rm -f conftest.
$ac_objext
6953 if { (ac_try
="$ac_compile"
6955 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6956 *) ac_try_echo=$ac_try;;
6958 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6959 (eval "$ac_compile") 2>conftest.er1
6961 grep -v '^ *+' conftest.er1 >conftest.err
6963 cat conftest.err >&5
6964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6965 (exit $ac_status); } && {
6966 test -z "$ac_c_werror_flag" ||
6967 test ! -s conftest.err
6968 } && test -s conftest.$ac_objext; then
6969 ac_cv_member_struct_utmp_ut_host=yes
6971 echo "$as_me: failed program was:" >&5
6972 sed 's/^/| /' conftest.$ac_ext >&5
6974 ac_cv_member_struct_utmp_ut_host=no
6977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6982 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_utmp_ut_host" >&5
6983 echo "${ECHO_T}$ac_cv_member_struct_utmp_ut_host" >&6; }
6984 if test $ac_cv_member_struct_utmp_ut_host = yes; then
6986 cat >>confdefs.h <<_ACEOF
6987 #define HAVE_STRUCT_UTMP_UT_HOST 1
6992 { echo "$as_me:$LINENO: checking for struct utmp.ut_pid" >&5
6993 echo $ECHO_N "checking for struct utmp.ut_pid... $ECHO_C" >&6; }
6994 if test "${ac_cv_member_struct_utmp_ut_pid+set}" = set; then
6995 echo $ECHO_N "(cached) $ECHO_C" >&6
6997 cat >conftest.$ac_ext <<_ACEOF
7000 cat confdefs.h >>conftest.$ac_ext
7001 cat >>conftest.$ac_ext <<_ACEOF
7002 /* end confdefs.h. */
7004 #include <sys/types.h>
7013 static struct utmp ac_aggr;
7020 rm -f conftest.$ac_objext
7021 if { (ac_try="$ac_compile"
7023 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7024 *) ac_try_echo
=$ac_try;;
7026 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7027 (eval "$ac_compile") 2>conftest.er1
7029 grep -v '^ *+' conftest.er1
>conftest.err
7031 cat conftest.err
>&5
7032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7033 (exit $ac_status); } && {
7034 test -z "$ac_c_werror_flag" ||
7035 test ! -s conftest.err
7036 } && test -s conftest.
$ac_objext; then
7037 ac_cv_member_struct_utmp_ut_pid
=yes
7039 echo "$as_me: failed program was:" >&5
7040 sed 's/^/| /' conftest.
$ac_ext >&5
7042 cat >conftest.
$ac_ext <<_ACEOF
7045 cat confdefs.h
>>conftest.
$ac_ext
7046 cat >>conftest.
$ac_ext <<_ACEOF
7047 /* end confdefs.h. */
7049 #include <sys/types.h>
7058 static struct utmp ac_aggr;
7059 if (sizeof ac_aggr.ut_pid)
7065 rm -f conftest.
$ac_objext
7066 if { (ac_try
="$ac_compile"
7068 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7069 *) ac_try_echo=$ac_try;;
7071 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7072 (eval "$ac_compile") 2>conftest.er1
7074 grep -v '^ *+' conftest.er1 >conftest.err
7076 cat conftest.err >&5
7077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7078 (exit $ac_status); } && {
7079 test -z "$ac_c_werror_flag" ||
7080 test ! -s conftest.err
7081 } && test -s conftest.$ac_objext; then
7082 ac_cv_member_struct_utmp_ut_pid=yes
7084 echo "$as_me: failed program was:" >&5
7085 sed 's/^/| /' conftest.$ac_ext >&5
7087 ac_cv_member_struct_utmp_ut_pid=no
7090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7095 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_utmp_ut_pid" >&5
7096 echo "${ECHO_T}$ac_cv_member_struct_utmp_ut_pid" >&6; }
7097 if test $ac_cv_member_struct_utmp_ut_pid = yes; then
7099 cat >>confdefs.h <<_ACEOF
7100 #define HAVE_STRUCT_UTMP_UT_PID 1
7105 { echo "$as_me:$LINENO: checking for struct utmp.ut_type" >&5
7106 echo $ECHO_N "checking for struct utmp.ut_type... $ECHO_C" >&6; }
7107 if test "${ac_cv_member_struct_utmp_ut_type+set}" = set; then
7108 echo $ECHO_N "(cached) $ECHO_C" >&6
7110 cat >conftest.$ac_ext <<_ACEOF
7113 cat confdefs.h >>conftest.$ac_ext
7114 cat >>conftest.$ac_ext <<_ACEOF
7115 /* end confdefs.h. */
7117 #include <sys/types.h>
7126 static struct utmp ac_aggr;
7127 if (ac_aggr.ut_type)
7133 rm -f conftest.$ac_objext
7134 if { (ac_try="$ac_compile"
7136 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7137 *) ac_try_echo
=$ac_try;;
7139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7140 (eval "$ac_compile") 2>conftest.er1
7142 grep -v '^ *+' conftest.er1
>conftest.err
7144 cat conftest.err
>&5
7145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7146 (exit $ac_status); } && {
7147 test -z "$ac_c_werror_flag" ||
7148 test ! -s conftest.err
7149 } && test -s conftest.
$ac_objext; then
7150 ac_cv_member_struct_utmp_ut_type
=yes
7152 echo "$as_me: failed program was:" >&5
7153 sed 's/^/| /' conftest.
$ac_ext >&5
7155 cat >conftest.
$ac_ext <<_ACEOF
7158 cat confdefs.h
>>conftest.
$ac_ext
7159 cat >>conftest.
$ac_ext <<_ACEOF
7160 /* end confdefs.h. */
7162 #include <sys/types.h>
7171 static struct utmp ac_aggr;
7172 if (sizeof ac_aggr.ut_type)
7178 rm -f conftest.
$ac_objext
7179 if { (ac_try
="$ac_compile"
7181 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7182 *) ac_try_echo=$ac_try;;
7184 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7185 (eval "$ac_compile") 2>conftest.er1
7187 grep -v '^ *+' conftest.er1 >conftest.err
7189 cat conftest.err >&5
7190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7191 (exit $ac_status); } && {
7192 test -z "$ac_c_werror_flag" ||
7193 test ! -s conftest.err
7194 } && test -s conftest.$ac_objext; then
7195 ac_cv_member_struct_utmp_ut_type=yes
7197 echo "$as_me: failed program was:" >&5
7198 sed 's/^/| /' conftest.$ac_ext >&5
7200 ac_cv_member_struct_utmp_ut_type=no
7203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7208 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_utmp_ut_type" >&5
7209 echo "${ECHO_T}$ac_cv_member_struct_utmp_ut_type" >&6; }
7210 if test $ac_cv_member_struct_utmp_ut_type = yes; then
7212 cat >>confdefs.h <<_ACEOF
7213 #define HAVE_STRUCT_UTMP_UT_TYPE 1
7218 { echo "$as_me:$LINENO: checking for struct utmp.ut_tv" >&5
7219 echo $ECHO_N "checking for struct utmp.ut_tv... $ECHO_C" >&6; }
7220 if test "${ac_cv_member_struct_utmp_ut_tv+set}" = set; then
7221 echo $ECHO_N "(cached) $ECHO_C" >&6
7223 cat >conftest.$ac_ext <<_ACEOF
7226 cat confdefs.h >>conftest.$ac_ext
7227 cat >>conftest.$ac_ext <<_ACEOF
7228 /* end confdefs.h. */
7230 #include <sys/types.h>
7239 static struct utmp ac_aggr;
7246 rm -f conftest.$ac_objext
7247 if { (ac_try="$ac_compile"
7249 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7250 *) ac_try_echo
=$ac_try;;
7252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7253 (eval "$ac_compile") 2>conftest.er1
7255 grep -v '^ *+' conftest.er1
>conftest.err
7257 cat conftest.err
>&5
7258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7259 (exit $ac_status); } && {
7260 test -z "$ac_c_werror_flag" ||
7261 test ! -s conftest.err
7262 } && test -s conftest.
$ac_objext; then
7263 ac_cv_member_struct_utmp_ut_tv
=yes
7265 echo "$as_me: failed program was:" >&5
7266 sed 's/^/| /' conftest.
$ac_ext >&5
7268 cat >conftest.
$ac_ext <<_ACEOF
7271 cat confdefs.h
>>conftest.
$ac_ext
7272 cat >>conftest.
$ac_ext <<_ACEOF
7273 /* end confdefs.h. */
7275 #include <sys/types.h>
7284 static struct utmp ac_aggr;
7285 if (sizeof ac_aggr.ut_tv)
7291 rm -f conftest.
$ac_objext
7292 if { (ac_try
="$ac_compile"
7294 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7295 *) ac_try_echo=$ac_try;;
7297 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7298 (eval "$ac_compile") 2>conftest.er1
7300 grep -v '^ *+' conftest.er1 >conftest.err
7302 cat conftest.err >&5
7303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7304 (exit $ac_status); } && {
7305 test -z "$ac_c_werror_flag" ||
7306 test ! -s conftest.err
7307 } && test -s conftest.$ac_objext; then
7308 ac_cv_member_struct_utmp_ut_tv=yes
7310 echo "$as_me: failed program was:" >&5
7311 sed 's/^/| /' conftest.$ac_ext >&5
7313 ac_cv_member_struct_utmp_ut_tv=no
7316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7321 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_utmp_ut_tv" >&5
7322 echo "${ECHO_T}$ac_cv_member_struct_utmp_ut_tv" >&6; }
7323 if test $ac_cv_member_struct_utmp_ut_tv = yes; then
7325 cat >>confdefs.h <<_ACEOF
7326 #define HAVE_STRUCT_UTMP_UT_TV 1
7331 { echo "$as_me:$LINENO: checking for struct utmp.ut_id" >&5
7332 echo $ECHO_N "checking for struct utmp.ut_id... $ECHO_C" >&6; }
7333 if test "${ac_cv_member_struct_utmp_ut_id+set}" = set; then
7334 echo $ECHO_N "(cached) $ECHO_C" >&6
7336 cat >conftest.$ac_ext <<_ACEOF
7339 cat confdefs.h >>conftest.$ac_ext
7340 cat >>conftest.$ac_ext <<_ACEOF
7341 /* end confdefs.h. */
7343 #include <sys/types.h>
7352 static struct utmp ac_aggr;
7359 rm -f conftest.$ac_objext
7360 if { (ac_try="$ac_compile"
7362 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7363 *) ac_try_echo
=$ac_try;;
7365 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7366 (eval "$ac_compile") 2>conftest.er1
7368 grep -v '^ *+' conftest.er1
>conftest.err
7370 cat conftest.err
>&5
7371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7372 (exit $ac_status); } && {
7373 test -z "$ac_c_werror_flag" ||
7374 test ! -s conftest.err
7375 } && test -s conftest.
$ac_objext; then
7376 ac_cv_member_struct_utmp_ut_id
=yes
7378 echo "$as_me: failed program was:" >&5
7379 sed 's/^/| /' conftest.
$ac_ext >&5
7381 cat >conftest.
$ac_ext <<_ACEOF
7384 cat confdefs.h
>>conftest.
$ac_ext
7385 cat >>conftest.
$ac_ext <<_ACEOF
7386 /* end confdefs.h. */
7388 #include <sys/types.h>
7397 static struct utmp ac_aggr;
7398 if (sizeof ac_aggr.ut_id)
7404 rm -f conftest.
$ac_objext
7405 if { (ac_try
="$ac_compile"
7407 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7408 *) ac_try_echo=$ac_try;;
7410 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7411 (eval "$ac_compile") 2>conftest.er1
7413 grep -v '^ *+' conftest.er1 >conftest.err
7415 cat conftest.err >&5
7416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7417 (exit $ac_status); } && {
7418 test -z "$ac_c_werror_flag" ||
7419 test ! -s conftest.err
7420 } && test -s conftest.$ac_objext; then
7421 ac_cv_member_struct_utmp_ut_id=yes
7423 echo "$as_me: failed program was:" >&5
7424 sed 's/^/| /' conftest.$ac_ext >&5
7426 ac_cv_member_struct_utmp_ut_id=no
7429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7434 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_utmp_ut_id" >&5
7435 echo "${ECHO_T}$ac_cv_member_struct_utmp_ut_id" >&6; }
7436 if test $ac_cv_member_struct_utmp_ut_id = yes; then
7438 cat >>confdefs.h <<_ACEOF
7439 #define HAVE_STRUCT_UTMP_UT_ID 1
7444 { echo "$as_me:$LINENO: checking for struct utmp.ut_addr" >&5
7445 echo $ECHO_N "checking for struct utmp.ut_addr... $ECHO_C" >&6; }
7446 if test "${ac_cv_member_struct_utmp_ut_addr+set}" = set; then
7447 echo $ECHO_N "(cached) $ECHO_C" >&6
7449 cat >conftest.$ac_ext <<_ACEOF
7452 cat confdefs.h >>conftest.$ac_ext
7453 cat >>conftest.$ac_ext <<_ACEOF
7454 /* end confdefs.h. */
7456 #include <sys/types.h>
7465 static struct utmp ac_aggr;
7466 if (ac_aggr.ut_addr)
7472 rm -f conftest.$ac_objext
7473 if { (ac_try="$ac_compile"
7475 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7476 *) ac_try_echo
=$ac_try;;
7478 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7479 (eval "$ac_compile") 2>conftest.er1
7481 grep -v '^ *+' conftest.er1
>conftest.err
7483 cat conftest.err
>&5
7484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7485 (exit $ac_status); } && {
7486 test -z "$ac_c_werror_flag" ||
7487 test ! -s conftest.err
7488 } && test -s conftest.
$ac_objext; then
7489 ac_cv_member_struct_utmp_ut_addr
=yes
7491 echo "$as_me: failed program was:" >&5
7492 sed 's/^/| /' conftest.
$ac_ext >&5
7494 cat >conftest.
$ac_ext <<_ACEOF
7497 cat confdefs.h
>>conftest.
$ac_ext
7498 cat >>conftest.
$ac_ext <<_ACEOF
7499 /* end confdefs.h. */
7501 #include <sys/types.h>
7510 static struct utmp ac_aggr;
7511 if (sizeof ac_aggr.ut_addr)
7517 rm -f conftest.
$ac_objext
7518 if { (ac_try
="$ac_compile"
7520 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7521 *) ac_try_echo=$ac_try;;
7523 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7524 (eval "$ac_compile") 2>conftest.er1
7526 grep -v '^ *+' conftest.er1 >conftest.err
7528 cat conftest.err >&5
7529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7530 (exit $ac_status); } && {
7531 test -z "$ac_c_werror_flag" ||
7532 test ! -s conftest.err
7533 } && test -s conftest.$ac_objext; then
7534 ac_cv_member_struct_utmp_ut_addr=yes
7536 echo "$as_me: failed program was:" >&5
7537 sed 's/^/| /' conftest.$ac_ext >&5
7539 ac_cv_member_struct_utmp_ut_addr=no
7542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7547 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_utmp_ut_addr" >&5
7548 echo "${ECHO_T}$ac_cv_member_struct_utmp_ut_addr" >&6; }
7549 if test $ac_cv_member_struct_utmp_ut_addr = yes; then
7551 cat >>confdefs.h <<_ACEOF
7552 #define HAVE_STRUCT_UTMP_UT_ADDR 1
7557 { echo "$as_me:$LINENO: checking for struct utmp.ut_addr_v6" >&5
7558 echo $ECHO_N "checking for struct utmp.ut_addr_v6... $ECHO_C" >&6; }
7559 if test "${ac_cv_member_struct_utmp_ut_addr_v6+set}" = set; then
7560 echo $ECHO_N "(cached) $ECHO_C" >&6
7562 cat >conftest.$ac_ext <<_ACEOF
7565 cat confdefs.h >>conftest.$ac_ext
7566 cat >>conftest.$ac_ext <<_ACEOF
7567 /* end confdefs.h. */
7569 #include <sys/types.h>
7578 static struct utmp ac_aggr;
7579 if (ac_aggr.ut_addr_v6)
7585 rm -f conftest.$ac_objext
7586 if { (ac_try="$ac_compile"
7588 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7589 *) ac_try_echo
=$ac_try;;
7591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7592 (eval "$ac_compile") 2>conftest.er1
7594 grep -v '^ *+' conftest.er1
>conftest.err
7596 cat conftest.err
>&5
7597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7598 (exit $ac_status); } && {
7599 test -z "$ac_c_werror_flag" ||
7600 test ! -s conftest.err
7601 } && test -s conftest.
$ac_objext; then
7602 ac_cv_member_struct_utmp_ut_addr_v6
=yes
7604 echo "$as_me: failed program was:" >&5
7605 sed 's/^/| /' conftest.
$ac_ext >&5
7607 cat >conftest.
$ac_ext <<_ACEOF
7610 cat confdefs.h
>>conftest.
$ac_ext
7611 cat >>conftest.
$ac_ext <<_ACEOF
7612 /* end confdefs.h. */
7614 #include <sys/types.h>
7623 static struct utmp ac_aggr;
7624 if (sizeof ac_aggr.ut_addr_v6)
7630 rm -f conftest.
$ac_objext
7631 if { (ac_try
="$ac_compile"
7633 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7634 *) ac_try_echo=$ac_try;;
7636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7637 (eval "$ac_compile") 2>conftest.er1
7639 grep -v '^ *+' conftest.er1 >conftest.err
7641 cat conftest.err >&5
7642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7643 (exit $ac_status); } && {
7644 test -z "$ac_c_werror_flag" ||
7645 test ! -s conftest.err
7646 } && test -s conftest.$ac_objext; then
7647 ac_cv_member_struct_utmp_ut_addr_v6=yes
7649 echo "$as_me: failed program was:" >&5
7650 sed 's/^/| /' conftest.$ac_ext >&5
7652 ac_cv_member_struct_utmp_ut_addr_v6=no
7655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7660 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_utmp_ut_addr_v6" >&5
7661 echo "${ECHO_T}$ac_cv_member_struct_utmp_ut_addr_v6" >&6; }
7662 if test $ac_cv_member_struct_utmp_ut_addr_v6 = yes; then
7664 cat >>confdefs.h <<_ACEOF
7665 #define HAVE_STRUCT_UTMP_UT_ADDR_V6 1
7670 { echo "$as_me:$LINENO: checking for struct utmp.ut_exit" >&5
7671 echo $ECHO_N "checking for struct utmp.ut_exit... $ECHO_C" >&6; }
7672 if test "${ac_cv_member_struct_utmp_ut_exit+set}" = set; then
7673 echo $ECHO_N "(cached) $ECHO_C" >&6
7675 cat >conftest.$ac_ext <<_ACEOF
7678 cat confdefs.h >>conftest.$ac_ext
7679 cat >>conftest.$ac_ext <<_ACEOF
7680 /* end confdefs.h. */
7682 #include <sys/types.h>
7691 static struct utmp ac_aggr;
7692 if (ac_aggr.ut_exit)
7698 rm -f conftest.$ac_objext
7699 if { (ac_try="$ac_compile"
7701 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7702 *) ac_try_echo
=$ac_try;;
7704 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7705 (eval "$ac_compile") 2>conftest.er1
7707 grep -v '^ *+' conftest.er1
>conftest.err
7709 cat conftest.err
>&5
7710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7711 (exit $ac_status); } && {
7712 test -z "$ac_c_werror_flag" ||
7713 test ! -s conftest.err
7714 } && test -s conftest.
$ac_objext; then
7715 ac_cv_member_struct_utmp_ut_exit
=yes
7717 echo "$as_me: failed program was:" >&5
7718 sed 's/^/| /' conftest.
$ac_ext >&5
7720 cat >conftest.
$ac_ext <<_ACEOF
7723 cat confdefs.h
>>conftest.
$ac_ext
7724 cat >>conftest.
$ac_ext <<_ACEOF
7725 /* end confdefs.h. */
7727 #include <sys/types.h>
7736 static struct utmp ac_aggr;
7737 if (sizeof ac_aggr.ut_exit)
7743 rm -f conftest.
$ac_objext
7744 if { (ac_try
="$ac_compile"
7746 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7747 *) ac_try_echo=$ac_try;;
7749 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7750 (eval "$ac_compile") 2>conftest.er1
7752 grep -v '^ *+' conftest.er1 >conftest.err
7754 cat conftest.err >&5
7755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7756 (exit $ac_status); } && {
7757 test -z "$ac_c_werror_flag" ||
7758 test ! -s conftest.err
7759 } && test -s conftest.$ac_objext; then
7760 ac_cv_member_struct_utmp_ut_exit=yes
7762 echo "$as_me: failed program was:" >&5
7763 sed 's/^/| /' conftest.$ac_ext >&5
7765 ac_cv_member_struct_utmp_ut_exit=no
7768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7773 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_utmp_ut_exit" >&5
7774 echo "${ECHO_T}$ac_cv_member_struct_utmp_ut_exit" >&6; }
7775 if test $ac_cv_member_struct_utmp_ut_exit = yes; then
7777 cat >>confdefs.h <<_ACEOF
7778 #define HAVE_STRUCT_UTMP_UT_EXIT 1
7783 { echo "$as_me:$LINENO: checking for struct utmp.ut_time" >&5
7784 echo $ECHO_N "checking for struct utmp.ut_time... $ECHO_C" >&6; }
7785 if test "${ac_cv_member_struct_utmp_ut_time+set}" = set; then
7786 echo $ECHO_N "(cached) $ECHO_C" >&6
7788 cat >conftest.$ac_ext <<_ACEOF
7791 cat confdefs.h >>conftest.$ac_ext
7792 cat >>conftest.$ac_ext <<_ACEOF
7793 /* end confdefs.h. */
7795 #include <sys/types.h>
7804 static struct utmp ac_aggr;
7805 if (ac_aggr.ut_time)
7811 rm -f conftest.$ac_objext
7812 if { (ac_try="$ac_compile"
7814 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7815 *) ac_try_echo
=$ac_try;;
7817 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7818 (eval "$ac_compile") 2>conftest.er1
7820 grep -v '^ *+' conftest.er1
>conftest.err
7822 cat conftest.err
>&5
7823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7824 (exit $ac_status); } && {
7825 test -z "$ac_c_werror_flag" ||
7826 test ! -s conftest.err
7827 } && test -s conftest.
$ac_objext; then
7828 ac_cv_member_struct_utmp_ut_time
=yes
7830 echo "$as_me: failed program was:" >&5
7831 sed 's/^/| /' conftest.
$ac_ext >&5
7833 cat >conftest.
$ac_ext <<_ACEOF
7836 cat confdefs.h
>>conftest.
$ac_ext
7837 cat >>conftest.
$ac_ext <<_ACEOF
7838 /* end confdefs.h. */
7840 #include <sys/types.h>
7849 static struct utmp ac_aggr;
7850 if (sizeof ac_aggr.ut_time)
7856 rm -f conftest.
$ac_objext
7857 if { (ac_try
="$ac_compile"
7859 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7860 *) ac_try_echo=$ac_try;;
7862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7863 (eval "$ac_compile") 2>conftest.er1
7865 grep -v '^ *+' conftest.er1 >conftest.err
7867 cat conftest.err >&5
7868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7869 (exit $ac_status); } && {
7870 test -z "$ac_c_werror_flag" ||
7871 test ! -s conftest.err
7872 } && test -s conftest.$ac_objext; then
7873 ac_cv_member_struct_utmp_ut_time=yes
7875 echo "$as_me: failed program was:" >&5
7876 sed 's/^/| /' conftest.$ac_ext >&5
7878 ac_cv_member_struct_utmp_ut_time=no
7881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7886 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_utmp_ut_time" >&5
7887 echo "${ECHO_T}$ac_cv_member_struct_utmp_ut_time" >&6; }
7888 if test $ac_cv_member_struct_utmp_ut_time = yes; then
7890 cat >>confdefs.h <<_ACEOF
7891 #define HAVE_STRUCT_UTMP_UT_TIME 1
7898 { echo "$as_me:$LINENO: checking for struct utmpx.ut_host" >&5
7899 echo $ECHO_N "checking for struct utmpx.ut_host... $ECHO_C" >&6; }
7900 if test "${ac_cv_member_struct_utmpx_ut_host+set}" = set; then
7901 echo $ECHO_N "(cached) $ECHO_C" >&6
7903 cat >conftest.$ac_ext <<_ACEOF
7906 cat confdefs.h >>conftest.$ac_ext
7907 cat >>conftest.$ac_ext <<_ACEOF
7908 /* end confdefs.h. */
7910 #include <sys/types.h>
7911 #include <sys/socket.h>
7920 static struct utmpx ac_aggr;
7921 if (ac_aggr.ut_host)
7927 rm -f conftest.$ac_objext
7928 if { (ac_try="$ac_compile"
7930 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7931 *) ac_try_echo
=$ac_try;;
7933 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7934 (eval "$ac_compile") 2>conftest.er1
7936 grep -v '^ *+' conftest.er1
>conftest.err
7938 cat conftest.err
>&5
7939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7940 (exit $ac_status); } && {
7941 test -z "$ac_c_werror_flag" ||
7942 test ! -s conftest.err
7943 } && test -s conftest.
$ac_objext; then
7944 ac_cv_member_struct_utmpx_ut_host
=yes
7946 echo "$as_me: failed program was:" >&5
7947 sed 's/^/| /' conftest.
$ac_ext >&5
7949 cat >conftest.
$ac_ext <<_ACEOF
7952 cat confdefs.h
>>conftest.
$ac_ext
7953 cat >>conftest.
$ac_ext <<_ACEOF
7954 /* end confdefs.h. */
7956 #include <sys/types.h>
7957 #include <sys/socket.h>
7966 static struct utmpx ac_aggr;
7967 if (sizeof ac_aggr.ut_host)
7973 rm -f conftest.
$ac_objext
7974 if { (ac_try
="$ac_compile"
7976 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7977 *) ac_try_echo=$ac_try;;
7979 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7980 (eval "$ac_compile") 2>conftest.er1
7982 grep -v '^ *+' conftest.er1 >conftest.err
7984 cat conftest.err >&5
7985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7986 (exit $ac_status); } && {
7987 test -z "$ac_c_werror_flag" ||
7988 test ! -s conftest.err
7989 } && test -s conftest.$ac_objext; then
7990 ac_cv_member_struct_utmpx_ut_host=yes
7992 echo "$as_me: failed program was:" >&5
7993 sed 's/^/| /' conftest.$ac_ext >&5
7995 ac_cv_member_struct_utmpx_ut_host=no
7998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8003 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_utmpx_ut_host" >&5
8004 echo "${ECHO_T}$ac_cv_member_struct_utmpx_ut_host" >&6; }
8005 if test $ac_cv_member_struct_utmpx_ut_host = yes; then
8007 cat >>confdefs.h <<_ACEOF
8008 #define HAVE_STRUCT_UTMPX_UT_HOST 1
8013 { echo "$as_me:$LINENO: checking for struct utmpx.ut_syslen" >&5
8014 echo $ECHO_N "checking for struct utmpx.ut_syslen... $ECHO_C" >&6; }
8015 if test "${ac_cv_member_struct_utmpx_ut_syslen+set}" = set; then
8016 echo $ECHO_N "(cached) $ECHO_C" >&6
8018 cat >conftest.$ac_ext <<_ACEOF
8021 cat confdefs.h >>conftest.$ac_ext
8022 cat >>conftest.$ac_ext <<_ACEOF
8023 /* end confdefs.h. */
8025 #include <sys/types.h>
8026 #include <sys/socket.h>
8035 static struct utmpx ac_aggr;
8036 if (ac_aggr.ut_syslen)
8042 rm -f conftest.$ac_objext
8043 if { (ac_try="$ac_compile"
8045 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8046 *) ac_try_echo
=$ac_try;;
8048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8049 (eval "$ac_compile") 2>conftest.er1
8051 grep -v '^ *+' conftest.er1
>conftest.err
8053 cat conftest.err
>&5
8054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8055 (exit $ac_status); } && {
8056 test -z "$ac_c_werror_flag" ||
8057 test ! -s conftest.err
8058 } && test -s conftest.
$ac_objext; then
8059 ac_cv_member_struct_utmpx_ut_syslen
=yes
8061 echo "$as_me: failed program was:" >&5
8062 sed 's/^/| /' conftest.
$ac_ext >&5
8064 cat >conftest.
$ac_ext <<_ACEOF
8067 cat confdefs.h
>>conftest.
$ac_ext
8068 cat >>conftest.
$ac_ext <<_ACEOF
8069 /* end confdefs.h. */
8071 #include <sys/types.h>
8072 #include <sys/socket.h>
8081 static struct utmpx ac_aggr;
8082 if (sizeof ac_aggr.ut_syslen)
8088 rm -f conftest.
$ac_objext
8089 if { (ac_try
="$ac_compile"
8091 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8092 *) ac_try_echo=$ac_try;;
8094 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8095 (eval "$ac_compile") 2>conftest.er1
8097 grep -v '^ *+' conftest.er1 >conftest.err
8099 cat conftest.err >&5
8100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8101 (exit $ac_status); } && {
8102 test -z "$ac_c_werror_flag" ||
8103 test ! -s conftest.err
8104 } && test -s conftest.$ac_objext; then
8105 ac_cv_member_struct_utmpx_ut_syslen=yes
8107 echo "$as_me: failed program was:" >&5
8108 sed 's/^/| /' conftest.$ac_ext >&5
8110 ac_cv_member_struct_utmpx_ut_syslen=no
8113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8118 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_utmpx_ut_syslen" >&5
8119 echo "${ECHO_T}$ac_cv_member_struct_utmpx_ut_syslen" >&6; }
8120 if test $ac_cv_member_struct_utmpx_ut_syslen = yes; then
8122 cat >>confdefs.h <<_ACEOF
8123 #define HAVE_STRUCT_UTMPX_UT_SYSLEN 1
8128 { echo "$as_me:$LINENO: checking for struct utmpx.ut_type" >&5
8129 echo $ECHO_N "checking for struct utmpx.ut_type... $ECHO_C" >&6; }
8130 if test "${ac_cv_member_struct_utmpx_ut_type+set}" = set; then
8131 echo $ECHO_N "(cached) $ECHO_C" >&6
8133 cat >conftest.$ac_ext <<_ACEOF
8136 cat confdefs.h >>conftest.$ac_ext
8137 cat >>conftest.$ac_ext <<_ACEOF
8138 /* end confdefs.h. */
8140 #include <sys/types.h>
8141 #include <sys/socket.h>
8150 static struct utmpx ac_aggr;
8151 if (ac_aggr.ut_type)
8157 rm -f conftest.$ac_objext
8158 if { (ac_try="$ac_compile"
8160 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8161 *) ac_try_echo
=$ac_try;;
8163 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8164 (eval "$ac_compile") 2>conftest.er1
8166 grep -v '^ *+' conftest.er1
>conftest.err
8168 cat conftest.err
>&5
8169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8170 (exit $ac_status); } && {
8171 test -z "$ac_c_werror_flag" ||
8172 test ! -s conftest.err
8173 } && test -s conftest.
$ac_objext; then
8174 ac_cv_member_struct_utmpx_ut_type
=yes
8176 echo "$as_me: failed program was:" >&5
8177 sed 's/^/| /' conftest.
$ac_ext >&5
8179 cat >conftest.
$ac_ext <<_ACEOF
8182 cat confdefs.h
>>conftest.
$ac_ext
8183 cat >>conftest.
$ac_ext <<_ACEOF
8184 /* end confdefs.h. */
8186 #include <sys/types.h>
8187 #include <sys/socket.h>
8196 static struct utmpx ac_aggr;
8197 if (sizeof ac_aggr.ut_type)
8203 rm -f conftest.
$ac_objext
8204 if { (ac_try
="$ac_compile"
8206 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8207 *) ac_try_echo=$ac_try;;
8209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8210 (eval "$ac_compile") 2>conftest.er1
8212 grep -v '^ *+' conftest.er1 >conftest.err
8214 cat conftest.err >&5
8215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8216 (exit $ac_status); } && {
8217 test -z "$ac_c_werror_flag" ||
8218 test ! -s conftest.err
8219 } && test -s conftest.$ac_objext; then
8220 ac_cv_member_struct_utmpx_ut_type=yes
8222 echo "$as_me: failed program was:" >&5
8223 sed 's/^/| /' conftest.$ac_ext >&5
8225 ac_cv_member_struct_utmpx_ut_type=no
8228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8233 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_utmpx_ut_type" >&5
8234 echo "${ECHO_T}$ac_cv_member_struct_utmpx_ut_type" >&6; }
8235 if test $ac_cv_member_struct_utmpx_ut_type = yes; then
8237 cat >>confdefs.h <<_ACEOF
8238 #define HAVE_STRUCT_UTMPX_UT_TYPE 1
8243 { echo "$as_me:$LINENO: checking for struct utmpx.ut_id" >&5
8244 echo $ECHO_N "checking for struct utmpx.ut_id... $ECHO_C" >&6; }
8245 if test "${ac_cv_member_struct_utmpx_ut_id+set}" = set; then
8246 echo $ECHO_N "(cached) $ECHO_C" >&6
8248 cat >conftest.$ac_ext <<_ACEOF
8251 cat confdefs.h >>conftest.$ac_ext
8252 cat >>conftest.$ac_ext <<_ACEOF
8253 /* end confdefs.h. */
8255 #include <sys/types.h>
8256 #include <sys/socket.h>
8265 static struct utmpx ac_aggr;
8272 rm -f conftest.$ac_objext
8273 if { (ac_try="$ac_compile"
8275 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8276 *) ac_try_echo
=$ac_try;;
8278 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8279 (eval "$ac_compile") 2>conftest.er1
8281 grep -v '^ *+' conftest.er1
>conftest.err
8283 cat conftest.err
>&5
8284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8285 (exit $ac_status); } && {
8286 test -z "$ac_c_werror_flag" ||
8287 test ! -s conftest.err
8288 } && test -s conftest.
$ac_objext; then
8289 ac_cv_member_struct_utmpx_ut_id
=yes
8291 echo "$as_me: failed program was:" >&5
8292 sed 's/^/| /' conftest.
$ac_ext >&5
8294 cat >conftest.
$ac_ext <<_ACEOF
8297 cat confdefs.h
>>conftest.
$ac_ext
8298 cat >>conftest.
$ac_ext <<_ACEOF
8299 /* end confdefs.h. */
8301 #include <sys/types.h>
8302 #include <sys/socket.h>
8311 static struct utmpx ac_aggr;
8312 if (sizeof ac_aggr.ut_id)
8318 rm -f conftest.
$ac_objext
8319 if { (ac_try
="$ac_compile"
8321 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8322 *) ac_try_echo=$ac_try;;
8324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8325 (eval "$ac_compile") 2>conftest.er1
8327 grep -v '^ *+' conftest.er1 >conftest.err
8329 cat conftest.err >&5
8330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8331 (exit $ac_status); } && {
8332 test -z "$ac_c_werror_flag" ||
8333 test ! -s conftest.err
8334 } && test -s conftest.$ac_objext; then
8335 ac_cv_member_struct_utmpx_ut_id=yes
8337 echo "$as_me: failed program was:" >&5
8338 sed 's/^/| /' conftest.$ac_ext >&5
8340 ac_cv_member_struct_utmpx_ut_id=no
8343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8348 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_utmpx_ut_id" >&5
8349 echo "${ECHO_T}$ac_cv_member_struct_utmpx_ut_id" >&6; }
8350 if test $ac_cv_member_struct_utmpx_ut_id = yes; then
8352 cat >>confdefs.h <<_ACEOF
8353 #define HAVE_STRUCT_UTMPX_UT_ID 1
8358 { echo "$as_me:$LINENO: checking for struct utmpx.ut_addr" >&5
8359 echo $ECHO_N "checking for struct utmpx.ut_addr... $ECHO_C" >&6; }
8360 if test "${ac_cv_member_struct_utmpx_ut_addr+set}" = set; then
8361 echo $ECHO_N "(cached) $ECHO_C" >&6
8363 cat >conftest.$ac_ext <<_ACEOF
8366 cat confdefs.h >>conftest.$ac_ext
8367 cat >>conftest.$ac_ext <<_ACEOF
8368 /* end confdefs.h. */
8370 #include <sys/types.h>
8371 #include <sys/socket.h>
8380 static struct utmpx ac_aggr;
8381 if (ac_aggr.ut_addr)
8387 rm -f conftest.$ac_objext
8388 if { (ac_try="$ac_compile"
8390 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8391 *) ac_try_echo
=$ac_try;;
8393 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8394 (eval "$ac_compile") 2>conftest.er1
8396 grep -v '^ *+' conftest.er1
>conftest.err
8398 cat conftest.err
>&5
8399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8400 (exit $ac_status); } && {
8401 test -z "$ac_c_werror_flag" ||
8402 test ! -s conftest.err
8403 } && test -s conftest.
$ac_objext; then
8404 ac_cv_member_struct_utmpx_ut_addr
=yes
8406 echo "$as_me: failed program was:" >&5
8407 sed 's/^/| /' conftest.
$ac_ext >&5
8409 cat >conftest.
$ac_ext <<_ACEOF
8412 cat confdefs.h
>>conftest.
$ac_ext
8413 cat >>conftest.
$ac_ext <<_ACEOF
8414 /* end confdefs.h. */
8416 #include <sys/types.h>
8417 #include <sys/socket.h>
8426 static struct utmpx ac_aggr;
8427 if (sizeof ac_aggr.ut_addr)
8433 rm -f conftest.
$ac_objext
8434 if { (ac_try
="$ac_compile"
8436 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8437 *) ac_try_echo=$ac_try;;
8439 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8440 (eval "$ac_compile") 2>conftest.er1
8442 grep -v '^ *+' conftest.er1 >conftest.err
8444 cat conftest.err >&5
8445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8446 (exit $ac_status); } && {
8447 test -z "$ac_c_werror_flag" ||
8448 test ! -s conftest.err
8449 } && test -s conftest.$ac_objext; then
8450 ac_cv_member_struct_utmpx_ut_addr=yes
8452 echo "$as_me: failed program was:" >&5
8453 sed 's/^/| /' conftest.$ac_ext >&5
8455 ac_cv_member_struct_utmpx_ut_addr=no
8458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8463 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_utmpx_ut_addr" >&5
8464 echo "${ECHO_T}$ac_cv_member_struct_utmpx_ut_addr" >&6; }
8465 if test $ac_cv_member_struct_utmpx_ut_addr = yes; then
8467 cat >>confdefs.h <<_ACEOF
8468 #define HAVE_STRUCT_UTMPX_UT_ADDR 1
8473 { echo "$as_me:$LINENO: checking for struct utmpx.ut_addr_v6" >&5
8474 echo $ECHO_N "checking for struct utmpx.ut_addr_v6... $ECHO_C" >&6; }
8475 if test "${ac_cv_member_struct_utmpx_ut_addr_v6+set}" = set; then
8476 echo $ECHO_N "(cached) $ECHO_C" >&6
8478 cat >conftest.$ac_ext <<_ACEOF
8481 cat confdefs.h >>conftest.$ac_ext
8482 cat >>conftest.$ac_ext <<_ACEOF
8483 /* end confdefs.h. */
8485 #include <sys/types.h>
8486 #include <sys/socket.h>
8495 static struct utmpx ac_aggr;
8496 if (ac_aggr.ut_addr_v6)
8502 rm -f conftest.$ac_objext
8503 if { (ac_try="$ac_compile"
8505 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8506 *) ac_try_echo
=$ac_try;;
8508 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8509 (eval "$ac_compile") 2>conftest.er1
8511 grep -v '^ *+' conftest.er1
>conftest.err
8513 cat conftest.err
>&5
8514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8515 (exit $ac_status); } && {
8516 test -z "$ac_c_werror_flag" ||
8517 test ! -s conftest.err
8518 } && test -s conftest.
$ac_objext; then
8519 ac_cv_member_struct_utmpx_ut_addr_v6
=yes
8521 echo "$as_me: failed program was:" >&5
8522 sed 's/^/| /' conftest.
$ac_ext >&5
8524 cat >conftest.
$ac_ext <<_ACEOF
8527 cat confdefs.h
>>conftest.
$ac_ext
8528 cat >>conftest.
$ac_ext <<_ACEOF
8529 /* end confdefs.h. */
8531 #include <sys/types.h>
8532 #include <sys/socket.h>
8541 static struct utmpx ac_aggr;
8542 if (sizeof ac_aggr.ut_addr_v6)
8548 rm -f conftest.
$ac_objext
8549 if { (ac_try
="$ac_compile"
8551 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8552 *) ac_try_echo=$ac_try;;
8554 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8555 (eval "$ac_compile") 2>conftest.er1
8557 grep -v '^ *+' conftest.er1 >conftest.err
8559 cat conftest.err >&5
8560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8561 (exit $ac_status); } && {
8562 test -z "$ac_c_werror_flag" ||
8563 test ! -s conftest.err
8564 } && test -s conftest.$ac_objext; then
8565 ac_cv_member_struct_utmpx_ut_addr_v6=yes
8567 echo "$as_me: failed program was:" >&5
8568 sed 's/^/| /' conftest.$ac_ext >&5
8570 ac_cv_member_struct_utmpx_ut_addr_v6=no
8573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8578 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_utmpx_ut_addr_v6" >&5
8579 echo "${ECHO_T}$ac_cv_member_struct_utmpx_ut_addr_v6" >&6; }
8580 if test $ac_cv_member_struct_utmpx_ut_addr_v6 = yes; then
8582 cat >>confdefs.h <<_ACEOF
8583 #define HAVE_STRUCT_UTMPX_UT_ADDR_V6 1
8588 { echo "$as_me:$LINENO: checking for struct utmpx.ut_time" >&5
8589 echo $ECHO_N "checking for struct utmpx.ut_time... $ECHO_C" >&6; }
8590 if test "${ac_cv_member_struct_utmpx_ut_time+set}" = set; then
8591 echo $ECHO_N "(cached) $ECHO_C" >&6
8593 cat >conftest.$ac_ext <<_ACEOF
8596 cat confdefs.h >>conftest.$ac_ext
8597 cat >>conftest.$ac_ext <<_ACEOF
8598 /* end confdefs.h. */
8600 #include <sys/types.h>
8601 #include <sys/socket.h>
8610 static struct utmpx ac_aggr;
8611 if (ac_aggr.ut_time)
8617 rm -f conftest.$ac_objext
8618 if { (ac_try="$ac_compile"
8620 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8621 *) ac_try_echo
=$ac_try;;
8623 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8624 (eval "$ac_compile") 2>conftest.er1
8626 grep -v '^ *+' conftest.er1
>conftest.err
8628 cat conftest.err
>&5
8629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8630 (exit $ac_status); } && {
8631 test -z "$ac_c_werror_flag" ||
8632 test ! -s conftest.err
8633 } && test -s conftest.
$ac_objext; then
8634 ac_cv_member_struct_utmpx_ut_time
=yes
8636 echo "$as_me: failed program was:" >&5
8637 sed 's/^/| /' conftest.
$ac_ext >&5
8639 cat >conftest.
$ac_ext <<_ACEOF
8642 cat confdefs.h
>>conftest.
$ac_ext
8643 cat >>conftest.
$ac_ext <<_ACEOF
8644 /* end confdefs.h. */
8646 #include <sys/types.h>
8647 #include <sys/socket.h>
8656 static struct utmpx ac_aggr;
8657 if (sizeof ac_aggr.ut_time)
8663 rm -f conftest.
$ac_objext
8664 if { (ac_try
="$ac_compile"
8666 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8667 *) ac_try_echo=$ac_try;;
8669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8670 (eval "$ac_compile") 2>conftest.er1
8672 grep -v '^ *+' conftest.er1 >conftest.err
8674 cat conftest.err >&5
8675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8676 (exit $ac_status); } && {
8677 test -z "$ac_c_werror_flag" ||
8678 test ! -s conftest.err
8679 } && test -s conftest.$ac_objext; then
8680 ac_cv_member_struct_utmpx_ut_time=yes
8682 echo "$as_me: failed program was:" >&5
8683 sed 's/^/| /' conftest.$ac_ext >&5
8685 ac_cv_member_struct_utmpx_ut_time=no
8688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8693 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_utmpx_ut_time" >&5
8694 echo "${ECHO_T}$ac_cv_member_struct_utmpx_ut_time" >&6; }
8695 if test $ac_cv_member_struct_utmpx_ut_time = yes; then
8697 cat >>confdefs.h <<_ACEOF
8698 #define HAVE_STRUCT_UTMPX_UT_TIME 1
8703 { echo "$as_me:$LINENO: checking for struct utmpx.ut_tv" >&5
8704 echo $ECHO_N "checking for struct utmpx.ut_tv... $ECHO_C" >&6; }
8705 if test "${ac_cv_member_struct_utmpx_ut_tv+set}" = set; then
8706 echo $ECHO_N "(cached) $ECHO_C" >&6
8708 cat >conftest.$ac_ext <<_ACEOF
8711 cat confdefs.h >>conftest.$ac_ext
8712 cat >>conftest.$ac_ext <<_ACEOF
8713 /* end confdefs.h. */
8715 #include <sys/types.h>
8716 #include <sys/socket.h>
8725 static struct utmpx ac_aggr;
8732 rm -f conftest.$ac_objext
8733 if { (ac_try="$ac_compile"
8735 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8736 *) ac_try_echo
=$ac_try;;
8738 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8739 (eval "$ac_compile") 2>conftest.er1
8741 grep -v '^ *+' conftest.er1
>conftest.err
8743 cat conftest.err
>&5
8744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8745 (exit $ac_status); } && {
8746 test -z "$ac_c_werror_flag" ||
8747 test ! -s conftest.err
8748 } && test -s conftest.
$ac_objext; then
8749 ac_cv_member_struct_utmpx_ut_tv
=yes
8751 echo "$as_me: failed program was:" >&5
8752 sed 's/^/| /' conftest.
$ac_ext >&5
8754 cat >conftest.
$ac_ext <<_ACEOF
8757 cat confdefs.h
>>conftest.
$ac_ext
8758 cat >>conftest.
$ac_ext <<_ACEOF
8759 /* end confdefs.h. */
8761 #include <sys/types.h>
8762 #include <sys/socket.h>
8771 static struct utmpx ac_aggr;
8772 if (sizeof ac_aggr.ut_tv)
8778 rm -f conftest.
$ac_objext
8779 if { (ac_try
="$ac_compile"
8781 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8782 *) ac_try_echo=$ac_try;;
8784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8785 (eval "$ac_compile") 2>conftest.er1
8787 grep -v '^ *+' conftest.er1 >conftest.err
8789 cat conftest.err >&5
8790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8791 (exit $ac_status); } && {
8792 test -z "$ac_c_werror_flag" ||
8793 test ! -s conftest.err
8794 } && test -s conftest.$ac_objext; then
8795 ac_cv_member_struct_utmpx_ut_tv=yes
8797 echo "$as_me: failed program was:" >&5
8798 sed 's/^/| /' conftest.$ac_ext >&5
8800 ac_cv_member_struct_utmpx_ut_tv=no
8803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8808 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_utmpx_ut_tv" >&5
8809 echo "${ECHO_T}$ac_cv_member_struct_utmpx_ut_tv" >&6; }
8810 if test $ac_cv_member_struct_utmpx_ut_tv = yes; then
8812 cat >>confdefs.h <<_ACEOF
8813 #define HAVE_STRUCT_UTMPX_UT_TV 1
8820 { echo "$as_me:$LINENO: checking for struct sockaddr_storage.ss_family" >&5
8821 echo $ECHO_N "checking for struct sockaddr_storage.ss_family... $ECHO_C" >&6; }
8822 if test "${ac_cv_member_struct_sockaddr_storage_ss_family+set}" = set; then
8823 echo $ECHO_N "(cached) $ECHO_C" >&6
8825 cat >conftest.$ac_ext <<_ACEOF
8828 cat confdefs.h >>conftest.$ac_ext
8829 cat >>conftest.$ac_ext <<_ACEOF
8830 /* end confdefs.h. */
8832 #include <sys/types.h>
8833 #include <sys/socket.h>
8839 static struct sockaddr_storage ac_aggr;
8840 if (ac_aggr.ss_family)
8846 rm -f conftest.$ac_objext
8847 if { (ac_try="$ac_compile"
8849 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8850 *) ac_try_echo
=$ac_try;;
8852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8853 (eval "$ac_compile") 2>conftest.er1
8855 grep -v '^ *+' conftest.er1
>conftest.err
8857 cat conftest.err
>&5
8858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8859 (exit $ac_status); } && {
8860 test -z "$ac_c_werror_flag" ||
8861 test ! -s conftest.err
8862 } && test -s conftest.
$ac_objext; then
8863 ac_cv_member_struct_sockaddr_storage_ss_family
=yes
8865 echo "$as_me: failed program was:" >&5
8866 sed 's/^/| /' conftest.
$ac_ext >&5
8868 cat >conftest.
$ac_ext <<_ACEOF
8871 cat confdefs.h
>>conftest.
$ac_ext
8872 cat >>conftest.
$ac_ext <<_ACEOF
8873 /* end confdefs.h. */
8875 #include <sys/types.h>
8876 #include <sys/socket.h>
8882 static struct sockaddr_storage ac_aggr;
8883 if (sizeof ac_aggr.ss_family)
8889 rm -f conftest.
$ac_objext
8890 if { (ac_try
="$ac_compile"
8892 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8893 *) ac_try_echo=$ac_try;;
8895 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8896 (eval "$ac_compile") 2>conftest.er1
8898 grep -v '^ *+' conftest.er1 >conftest.err
8900 cat conftest.err >&5
8901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8902 (exit $ac_status); } && {
8903 test -z "$ac_c_werror_flag" ||
8904 test ! -s conftest.err
8905 } && test -s conftest.$ac_objext; then
8906 ac_cv_member_struct_sockaddr_storage_ss_family=yes
8908 echo "$as_me: failed program was:" >&5
8909 sed 's/^/| /' conftest.$ac_ext >&5
8911 ac_cv_member_struct_sockaddr_storage_ss_family=no
8914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8919 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_storage_ss_family" >&5
8920 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_storage_ss_family" >&6; }
8921 if test $ac_cv_member_struct_sockaddr_storage_ss_family = yes; then
8923 cat >>confdefs.h <<_ACEOF
8924 #define HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY 1
8937 for ac_func in endutent getutent getutid getutline pututline setutent
8939 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
8940 { echo "$as_me:$LINENO: checking for $ac_func" >&5
8941 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
8942 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8943 echo $ECHO_N "(cached) $ECHO_C" >&6
8945 cat >conftest.$ac_ext <<_ACEOF
8948 cat confdefs.h >>conftest.$ac_ext
8949 cat >>conftest.$ac_ext <<_ACEOF
8950 /* end confdefs.h. */
8951 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8952 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8953 #define $ac_func innocuous_$ac_func
8955 /* System header to define __stub macros and hopefully few prototypes,
8956 which can conflict with char $ac_func (); below.
8957 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8958 <limits.h> exists even on freestanding compilers. */
8961 # include <limits.h>
8963 # include <assert.h>
8968 /* Override any GCC internal prototype to avoid an error.
8969 Use char because int might match the return type of a GCC
8970 builtin and then its argument prototype would still apply. */
8975 /* The GNU C library defines this for functions which it implements
8976 to always fail with ENOSYS. Some functions are actually named
8977 something starting with __ and the normal name is an alias. */
8978 #if defined __stub_$ac_func || defined __stub___$ac_func
8990 rm -f conftest.$ac_objext conftest$ac_exeext
8991 if { (ac_try="$ac_link"
8993 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8994 *) ac_try_echo
=$ac_try;;
8996 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8997 (eval "$ac_link") 2>conftest.er1
8999 grep -v '^ *+' conftest.er1
>conftest.err
9001 cat conftest.err
>&5
9002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9003 (exit $ac_status); } && {
9004 test -z "$ac_c_werror_flag" ||
9005 test ! -s conftest.err
9006 } && test -s conftest
$ac_exeext &&
9007 $as_test_x conftest
$ac_exeext; then
9008 eval "$as_ac_var=yes"
9010 echo "$as_me: failed program was:" >&5
9011 sed 's/^/| /' conftest.
$ac_ext >&5
9013 eval "$as_ac_var=no"
9016 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9017 conftest
$ac_exeext conftest.
$ac_ext
9019 ac_res
=`eval echo '${'$as_ac_var'}'`
9020 { echo "$as_me:$LINENO: result: $ac_res" >&5
9021 echo "${ECHO_T}$ac_res" >&6; }
9022 if test `eval echo '${'$as_ac_var'}'` = yes; then
9023 cat >>confdefs.h
<<_ACEOF
9024 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9031 for ac_func
in utmpname
9033 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9034 { echo "$as_me:$LINENO: checking for $ac_func" >&5
9035 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
9036 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
9037 echo $ECHO_N "(cached) $ECHO_C" >&6
9039 cat >conftest.
$ac_ext <<_ACEOF
9042 cat confdefs.h
>>conftest.
$ac_ext
9043 cat >>conftest.
$ac_ext <<_ACEOF
9044 /* end confdefs.h. */
9045 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9046 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9047 #define $ac_func innocuous_$ac_func
9049 /* System header to define __stub macros and hopefully few prototypes,
9050 which can conflict with char $ac_func (); below.
9051 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9052 <limits.h> exists even on freestanding compilers. */
9055 # include <limits.h>
9057 # include <assert.h>
9062 /* Override any GCC internal prototype to avoid an error.
9063 Use char because int might match the return type of a GCC
9064 builtin and then its argument prototype would still apply. */
9069 /* The GNU C library defines this for functions which it implements
9070 to always fail with ENOSYS. Some functions are actually named
9071 something starting with __ and the normal name is an alias. */
9072 #if defined __stub_$ac_func || defined __stub___$ac_func
9084 rm -f conftest.
$ac_objext conftest
$ac_exeext
9085 if { (ac_try
="$ac_link"
9087 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9088 *) ac_try_echo=$ac_try;;
9090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9091 (eval "$ac_link") 2>conftest.er1
9093 grep -v '^ *+' conftest.er1 >conftest.err
9095 cat conftest.err >&5
9096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9097 (exit $ac_status); } && {
9098 test -z "$ac_c_werror_flag" ||
9099 test ! -s conftest.err
9100 } && test -s conftest$ac_exeext &&
9101 $as_test_x conftest$ac_exeext; then
9102 eval "$as_ac_var=yes"
9104 echo "$as_me: failed program was:" >&5
9105 sed 's/^/| /' conftest.$ac_ext >&5
9107 eval "$as_ac_var=no"
9110 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9111 conftest$ac_exeext conftest.$ac_ext
9113 ac_res=`eval echo '${'$as_ac_var'}'`
9114 { echo "$as_me:$LINENO: result: $ac_res" >&5
9115 echo "${ECHO_T}$ac_res" >&6; }
9116 if test `eval echo '${'$as_ac_var'}'` = yes; then
9117 cat >>confdefs.h <<_ACEOF
9118 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
9129 for ac_func in endutxent getutxent getutxid getutxline pututxline
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
9224 for ac_func
in setutxent utmpxname
9226 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9227 { echo "$as_me:$LINENO: checking for $ac_func" >&5
9228 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
9229 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
9230 echo $ECHO_N "(cached) $ECHO_C" >&6
9232 cat >conftest.
$ac_ext <<_ACEOF
9235 cat confdefs.h
>>conftest.
$ac_ext
9236 cat >>conftest.
$ac_ext <<_ACEOF
9237 /* end confdefs.h. */
9238 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9239 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9240 #define $ac_func innocuous_$ac_func
9242 /* System header to define __stub macros and hopefully few prototypes,
9243 which can conflict with char $ac_func (); below.
9244 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9245 <limits.h> exists even on freestanding compilers. */
9248 # include <limits.h>
9250 # include <assert.h>
9255 /* Override any GCC internal prototype to avoid an error.
9256 Use char because int might match the return type of a GCC
9257 builtin and then its argument prototype would still apply. */
9262 /* The GNU C library defines this for functions which it implements
9263 to always fail with ENOSYS. Some functions are actually named
9264 something starting with __ and the normal name is an alias. */
9265 #if defined __stub_$ac_func || defined __stub___$ac_func
9277 rm -f conftest.
$ac_objext conftest
$ac_exeext
9278 if { (ac_try
="$ac_link"
9280 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9281 *) ac_try_echo=$ac_try;;
9283 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9284 (eval "$ac_link") 2>conftest.er1
9286 grep -v '^ *+' conftest.er1 >conftest.err
9288 cat conftest.err >&5
9289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9290 (exit $ac_status); } && {
9291 test -z "$ac_c_werror_flag" ||
9292 test ! -s conftest.err
9293 } && test -s conftest$ac_exeext &&
9294 $as_test_x conftest$ac_exeext; then
9295 eval "$as_ac_var=yes"
9297 echo "$as_me: failed program was:" >&5
9298 sed 's/^/| /' conftest.$ac_ext >&5
9300 eval "$as_ac_var=no"
9303 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9304 conftest$ac_exeext conftest.$ac_ext
9306 ac_res=`eval echo '${'$as_ac_var'}'`
9307 { echo "$as_me:$LINENO: result: $ac_res" >&5
9308 echo "${ECHO_T}$ac_res" >&6; }
9309 if test `eval echo '${'$as_ac_var'}'` = yes; then
9310 cat >>confdefs.h <<_ACEOF
9311 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
9320 for ac_func in logout updwtmp logwtmp
9322 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
9323 { echo "$as_me:$LINENO: checking for $ac_func" >&5
9324 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
9325 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
9326 echo $ECHO_N "(cached) $ECHO_C" >&6
9328 cat >conftest.$ac_ext <<_ACEOF
9331 cat confdefs.h >>conftest.$ac_ext
9332 cat >>conftest.$ac_ext <<_ACEOF
9333 /* end confdefs.h. */
9334 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9335 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9336 #define $ac_func innocuous_$ac_func
9338 /* System header to define __stub macros and hopefully few prototypes,
9339 which can conflict with char $ac_func (); below.
9340 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9341 <limits.h> exists even on freestanding compilers. */
9344 # include <limits.h>
9346 # include <assert.h>
9351 /* Override any GCC internal prototype to avoid an error.
9352 Use char because int might match the return type of a GCC
9353 builtin and then its argument prototype would still apply. */
9358 /* The GNU C library defines this for functions which it implements
9359 to always fail with ENOSYS. Some functions are actually named
9360 something starting with __ and the normal name is an alias. */
9361 #if defined __stub_$ac_func || defined __stub___$ac_func
9373 rm -f conftest.$ac_objext conftest$ac_exeext
9374 if { (ac_try="$ac_link"
9376 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9377 *) ac_try_echo
=$ac_try;;
9379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9380 (eval "$ac_link") 2>conftest.er1
9382 grep -v '^ *+' conftest.er1
>conftest.err
9384 cat conftest.err
>&5
9385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9386 (exit $ac_status); } && {
9387 test -z "$ac_c_werror_flag" ||
9388 test ! -s conftest.err
9389 } && test -s conftest
$ac_exeext &&
9390 $as_test_x conftest
$ac_exeext; then
9391 eval "$as_ac_var=yes"
9393 echo "$as_me: failed program was:" >&5
9394 sed 's/^/| /' conftest.
$ac_ext >&5
9396 eval "$as_ac_var=no"
9399 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9400 conftest
$ac_exeext conftest.
$ac_ext
9402 ac_res
=`eval echo '${'$as_ac_var'}'`
9403 { echo "$as_me:$LINENO: result: $ac_res" >&5
9404 echo "${ECHO_T}$ac_res" >&6; }
9405 if test `eval echo '${'$as_ac_var'}'` = yes; then
9406 cat >>confdefs.h
<<_ACEOF
9407 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9415 # Check whether --enable-lastlog was given.
9416 if test "${enable_lastlog+set}" = set; then
9417 enableval
=$enable_lastlog;
9418 cat >>confdefs.h
<<\_ACEOF
9419 #define DISABLE_LASTLOG
9425 # Check whether --enable-utmp was given.
9426 if test "${enable_utmp+set}" = set; then
9427 enableval
=$enable_utmp;
9428 cat >>confdefs.h
<<\_ACEOF
9429 #define DISABLE_UTMP
9435 # Check whether --enable-utmpx was given.
9436 if test "${enable_utmpx+set}" = set; then
9437 enableval
=$enable_utmpx;
9438 cat >>confdefs.h
<<\_ACEOF
9439 #define DISABLE_UTMPX
9445 # Check whether --enable-wtmp was given.
9446 if test "${enable_wtmp+set}" = set; then
9447 enableval
=$enable_wtmp;
9448 cat >>confdefs.h
<<\_ACEOF
9449 #define DISABLE_WTMP
9455 # Check whether --enable-wtmpx was given.
9456 if test "${enable_wtmpx+set}" = set; then
9457 enableval
=$enable_wtmpx;
9458 cat >>confdefs.h
<<\_ACEOF
9459 #define DISABLE_WTMPX
9465 # Check whether --enable-loginfunc was given.
9466 if test "${enable_loginfunc+set}" = set; then
9467 enableval
=$enable_loginfunc; no_loginfunc_check
=1
9468 { echo "$as_me:$LINENO: Not using login() etc" >&5
9469 echo "$as_me: Not using login() etc" >&6;}
9473 # Check whether --enable-pututline was given.
9474 if test "${enable_pututline+set}" = set; then
9475 enableval
=$enable_pututline;
9476 cat >>confdefs.h
<<\_ACEOF
9477 #define DISABLE_PUTUTLINE
9483 # Check whether --enable-pututxline was given.
9484 if test "${enable_pututxline+set}" = set; then
9485 enableval
=$enable_pututxline;
9486 cat >>confdefs.h
<<\_ACEOF
9487 #define DISABLE_PUTUTXLINE
9494 # Check whether --with-lastlog was given.
9495 if test "${with_lastlog+set}" = set; then
9496 withval
=$with_lastlog;
9497 if test "x$withval" = "xno" ; then
9498 cat >>confdefs.h
<<\_ACEOF
9499 #define DISABLE_LASTLOG 1
9503 conf_lastlog_location
=$withval
9510 if test -z "$no_loginfunc_check"; then
9511 { echo "$as_me:$LINENO: checking for library containing login" >&5
9512 echo $ECHO_N "checking for library containing login... $ECHO_C" >&6; }
9513 if test "${ac_cv_search_login+set}" = set; then
9514 echo $ECHO_N "(cached) $ECHO_C" >&6
9516 ac_func_search_save_LIBS
=$LIBS
9517 cat >conftest.
$ac_ext <<_ACEOF
9520 cat confdefs.h
>>conftest.
$ac_ext
9521 cat >>conftest.
$ac_ext <<_ACEOF
9522 /* end confdefs.h. */
9524 /* Override any GCC internal prototype to avoid an error.
9525 Use char because int might match the return type of a GCC
9526 builtin and then its argument prototype would still apply. */
9539 for ac_lib
in '' util bsd
; do
9540 if test -z "$ac_lib"; then
9541 ac_res
="none required"
9544 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
9546 rm -f conftest.
$ac_objext conftest
$ac_exeext
9547 if { (ac_try
="$ac_link"
9549 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9550 *) ac_try_echo=$ac_try;;
9552 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9553 (eval "$ac_link") 2>conftest.er1
9555 grep -v '^ *+' conftest.er1 >conftest.err
9557 cat conftest.err >&5
9558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9559 (exit $ac_status); } && {
9560 test -z "$ac_c_werror_flag" ||
9561 test ! -s conftest.err
9562 } && test -s conftest$ac_exeext &&
9563 $as_test_x conftest$ac_exeext; then
9564 ac_cv_search_login=$ac_res
9566 echo "$as_me: failed program was:" >&5
9567 sed 's/^/| /' conftest.$ac_ext >&5
9572 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9574 if test "${ac_cv_search_login+set}" = set; then
9578 if test "${ac_cv_search_login+set}" = set; then
9581 ac_cv_search_login=no
9584 LIBS=$ac_func_search_save_LIBS
9586 { echo "$as_me:$LINENO: result: $ac_cv_search_login" >&5
9587 echo "${ECHO_T}$ac_cv_search_login" >&6; }
9588 ac_res=$ac_cv_search_login
9589 if test "$ac_res" != no; then
9590 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
9592 cat >>confdefs.h <<\_ACEOF
9601 for ac_func in logout updwtmp logwtmp
9603 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
9604 { echo "$as_me:$LINENO: checking for $ac_func" >&5
9605 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
9606 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
9607 echo $ECHO_N "(cached) $ECHO_C" >&6
9609 cat >conftest.$ac_ext <<_ACEOF
9612 cat confdefs.h >>conftest.$ac_ext
9613 cat >>conftest.$ac_ext <<_ACEOF
9614 /* end confdefs.h. */
9615 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9616 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9617 #define $ac_func innocuous_$ac_func
9619 /* System header to define __stub macros and hopefully few prototypes,
9620 which can conflict with char $ac_func (); below.
9621 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9622 <limits.h> exists even on freestanding compilers. */
9625 # include <limits.h>
9627 # include <assert.h>
9632 /* Override any GCC internal prototype to avoid an error.
9633 Use char because int might match the return type of a GCC
9634 builtin and then its argument prototype would still apply. */
9639 /* The GNU C library defines this for functions which it implements
9640 to always fail with ENOSYS. Some functions are actually named
9641 something starting with __ and the normal name is an alias. */
9642 #if defined __stub_$ac_func || defined __stub___$ac_func
9654 rm -f conftest.$ac_objext conftest$ac_exeext
9655 if { (ac_try="$ac_link"
9657 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9658 *) ac_try_echo
=$ac_try;;
9660 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9661 (eval "$ac_link") 2>conftest.er1
9663 grep -v '^ *+' conftest.er1
>conftest.err
9665 cat conftest.err
>&5
9666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9667 (exit $ac_status); } && {
9668 test -z "$ac_c_werror_flag" ||
9669 test ! -s conftest.err
9670 } && test -s conftest
$ac_exeext &&
9671 $as_test_x conftest
$ac_exeext; then
9672 eval "$as_ac_var=yes"
9674 echo "$as_me: failed program was:" >&5
9675 sed 's/^/| /' conftest.
$ac_ext >&5
9677 eval "$as_ac_var=no"
9680 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9681 conftest
$ac_exeext conftest.
$ac_ext
9683 ac_res
=`eval echo '${'$as_ac_var'}'`
9684 { echo "$as_me:$LINENO: result: $ac_res" >&5
9685 echo "${ECHO_T}$ac_res" >&6; }
9686 if test `eval echo '${'$as_ac_var'}'` = yes; then
9687 cat >>confdefs.h
<<_ACEOF
9688 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9697 { echo "$as_me:$LINENO: checking if your system defines LASTLOG_FILE" >&5
9698 echo $ECHO_N "checking if your system defines LASTLOG_FILE... $ECHO_C" >&6; }
9699 cat >conftest.
$ac_ext <<_ACEOF
9702 cat confdefs.h
>>conftest.
$ac_ext
9703 cat >>conftest.
$ac_ext <<_ACEOF
9704 /* end confdefs.h. */
9706 #include <sys/types.h>
9708 #ifdef HAVE_LASTLOG_H
9709 # include <lastlog.h>
9721 char *lastlog = LASTLOG_FILE;
9726 rm -f conftest.
$ac_objext
9727 if { (ac_try
="$ac_compile"
9729 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9730 *) ac_try_echo=$ac_try;;
9732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9733 (eval "$ac_compile") 2>conftest.er1
9735 grep -v '^ *+' conftest.er1 >conftest.err
9737 cat conftest.err >&5
9738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9739 (exit $ac_status); } && {
9740 test -z "$ac_c_werror_flag" ||
9741 test ! -s conftest.err
9742 } && test -s conftest.$ac_objext; then
9743 { echo "$as_me:$LINENO: result: yes" >&5
9744 echo "${ECHO_T}yes" >&6; }
9746 echo "$as_me: failed program was:" >&5
9747 sed 's/^/| /' conftest.$ac_ext >&5
9750 { echo "$as_me:$LINENO: result: no" >&5
9751 echo "${ECHO_T}no" >&6; }
9752 { echo "$as_me:$LINENO: checking if your system defines _PATH_LASTLOG" >&5
9753 echo $ECHO_N "checking if your system defines _PATH_LASTLOG... $ECHO_C" >&6; }
9754 cat >conftest.$ac_ext <<_ACEOF
9757 cat confdefs.h >>conftest.$ac_ext
9758 cat >>conftest.$ac_ext <<_ACEOF
9759 /* end confdefs.h. */
9761 #include <sys/types.h>
9763 #ifdef HAVE_LASTLOG_H
9764 # include <lastlog.h>
9773 char *lastlog = _PATH_LASTLOG;
9778 rm -f conftest.$ac_objext
9779 if { (ac_try="$ac_compile"
9781 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9782 *) ac_try_echo
=$ac_try;;
9784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9785 (eval "$ac_compile") 2>conftest.er1
9787 grep -v '^ *+' conftest.er1
>conftest.err
9789 cat conftest.err
>&5
9790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9791 (exit $ac_status); } && {
9792 test -z "$ac_c_werror_flag" ||
9793 test ! -s conftest.err
9794 } && test -s conftest.
$ac_objext; then
9795 { echo "$as_me:$LINENO: result: yes" >&5
9796 echo "${ECHO_T}yes" >&6; }
9798 echo "$as_me: failed program was:" >&5
9799 sed 's/^/| /' conftest.
$ac_ext >&5
9802 { echo "$as_me:$LINENO: result: no" >&5
9803 echo "${ECHO_T}no" >&6; }
9804 system_lastlog_path
=no
9808 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9813 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9815 if test -z "$conf_lastlog_location"; then
9816 if test x
"$system_lastlog_path" = x
"no" ; then
9817 for f
in /var
/log
/lastlog
/usr
/adm
/lastlog
/var
/adm
/lastlog
/etc
/security
/lastlog
; do
9818 if (test -d "$f" ||
test -f "$f") ; then
9819 conf_lastlog_location
=$f
9822 if test -z "$conf_lastlog_location"; then
9823 { echo "$as_me:$LINENO: WARNING: ** Cannot find lastlog **" >&5
9824 echo "$as_me: WARNING: ** Cannot find lastlog **" >&2;}
9829 if test -n "$conf_lastlog_location"; then
9831 cat >>confdefs.h
<<_ACEOF
9832 #define CONF_LASTLOG_FILE "$conf_lastlog_location"
9837 { echo "$as_me:$LINENO: checking if your system defines UTMP_FILE" >&5
9838 echo $ECHO_N "checking if your system defines UTMP_FILE... $ECHO_C" >&6; }
9839 cat >conftest.
$ac_ext <<_ACEOF
9842 cat confdefs.h
>>conftest.
$ac_ext
9843 cat >>conftest.
$ac_ext <<_ACEOF
9844 /* end confdefs.h. */
9846 #include <sys/types.h>
9855 char *utmp = UTMP_FILE;
9860 rm -f conftest.
$ac_objext
9861 if { (ac_try
="$ac_compile"
9863 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9864 *) ac_try_echo=$ac_try;;
9866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9867 (eval "$ac_compile") 2>conftest.er1
9869 grep -v '^ *+' conftest.er1 >conftest.err
9871 cat conftest.err >&5
9872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9873 (exit $ac_status); } && {
9874 test -z "$ac_c_werror_flag" ||
9875 test ! -s conftest.err
9876 } && test -s conftest.$ac_objext; then
9877 { echo "$as_me:$LINENO: result: yes" >&5
9878 echo "${ECHO_T}yes" >&6; }
9880 echo "$as_me: failed program was:" >&5
9881 sed 's/^/| /' conftest.$ac_ext >&5
9883 { echo "$as_me:$LINENO: result: no" >&5
9884 echo "${ECHO_T}no" >&6; }
9889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9890 if test -z "$conf_utmp_location"; then
9891 if test x"$system_utmp_path" = x"no" ; then
9892 for f in /etc/utmp /usr/adm/utmp /var/run/utmp; do
9893 if test -f $f ; then
9894 conf_utmp_location=$f
9897 if test -z "$conf_utmp_location"; then
9898 cat >>confdefs.h <<\_ACEOF
9899 #define DISABLE_UTMP 1
9905 if test -n "$conf_utmp_location"; then
9907 cat >>confdefs.h <<_ACEOF
9908 #define CONF_UTMP_FILE "$conf_utmp_location"
9913 { echo "$as_me:$LINENO: checking if your system defines WTMP_FILE" >&5
9914 echo $ECHO_N "checking if your system defines WTMP_FILE... $ECHO_C" >&6; }
9915 cat >conftest.$ac_ext <<_ACEOF
9918 cat confdefs.h >>conftest.$ac_ext
9919 cat >>conftest.$ac_ext <<_ACEOF
9920 /* end confdefs.h. */
9922 #include <sys/types.h>
9931 char *wtmp = WTMP_FILE;
9936 rm -f conftest.$ac_objext
9937 if { (ac_try="$ac_compile"
9939 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9940 *) ac_try_echo
=$ac_try;;
9942 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9943 (eval "$ac_compile") 2>conftest.er1
9945 grep -v '^ *+' conftest.er1
>conftest.err
9947 cat conftest.err
>&5
9948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9949 (exit $ac_status); } && {
9950 test -z "$ac_c_werror_flag" ||
9951 test ! -s conftest.err
9952 } && test -s conftest.
$ac_objext; then
9953 { echo "$as_me:$LINENO: result: yes" >&5
9954 echo "${ECHO_T}yes" >&6; }
9956 echo "$as_me: failed program was:" >&5
9957 sed 's/^/| /' conftest.
$ac_ext >&5
9959 { echo "$as_me:$LINENO: result: no" >&5
9960 echo "${ECHO_T}no" >&6; }
9965 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9966 if test -z "$conf_wtmp_location"; then
9967 if test x
"$system_wtmp_path" = x
"no" ; then
9968 for f
in /usr
/adm
/wtmp
/var
/log
/wtmp
; do
9969 if test -f $f ; then
9970 conf_wtmp_location
=$f
9973 if test -z "$conf_wtmp_location"; then
9974 cat >>confdefs.h
<<\_ACEOF
9975 #define DISABLE_WTMP 1
9981 if test -n "$conf_wtmp_location"; then
9983 cat >>confdefs.h
<<_ACEOF
9984 #define CONF_WTMP_FILE "$conf_wtmp_location"
9990 { echo "$as_me:$LINENO: checking if your system defines UTMPX_FILE" >&5
9991 echo $ECHO_N "checking if your system defines UTMPX_FILE... $ECHO_C" >&6; }
9992 cat >conftest.
$ac_ext <<_ACEOF
9995 cat confdefs.h
>>conftest.
$ac_ext
9996 cat >>conftest.
$ac_ext <<_ACEOF
9997 /* end confdefs.h. */
9999 #include <sys/types.h>
10001 #ifdef HAVE_UTMPX_H
10004 #ifdef HAVE_PATHS_H
10005 # include <paths.h>
10011 char *utmpx = UTMPX_FILE;
10016 rm -f conftest.
$ac_objext
10017 if { (ac_try
="$ac_compile"
10018 case "(($ac_try" in
10019 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10020 *) ac_try_echo=$ac_try;;
10022 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10023 (eval "$ac_compile") 2>conftest.er1
10025 grep -v '^ *+' conftest.er1 >conftest.err
10027 cat conftest.err >&5
10028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10029 (exit $ac_status); } && {
10030 test -z "$ac_c_werror_flag" ||
10031 test ! -s conftest.err
10032 } && test -s conftest.$ac_objext; then
10033 { echo "$as_me:$LINENO: result: yes" >&5
10034 echo "${ECHO_T}yes" >&6; }
10036 echo "$as_me: failed program was:" >&5
10037 sed 's/^/| /' conftest.$ac_ext >&5
10039 { echo "$as_me:$LINENO: result: no" >&5
10040 echo "${ECHO_T}no" >&6; }
10041 system_utmpx_path=no
10045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10046 if test -z "$conf_utmpx_location"; then
10047 if test x"$system_utmpx_path" = x"no" ; then
10048 cat >>confdefs.h <<\_ACEOF
10049 #define DISABLE_UTMPX 1
10055 cat >>confdefs.h <<_ACEOF
10056 #define CONF_UTMPX_FILE "$conf_utmpx_location"
10061 { echo "$as_me:$LINENO: checking if your system defines WTMPX_FILE" >&5
10062 echo $ECHO_N "checking if your system defines WTMPX_FILE... $ECHO_C" >&6; }
10063 cat >conftest.$ac_ext <<_ACEOF
10066 cat confdefs.h >>conftest.$ac_ext
10067 cat >>conftest.$ac_ext <<_ACEOF
10068 /* end confdefs.h. */
10070 #include <sys/types.h>
10072 #ifdef HAVE_UTMPX_H
10075 #ifdef HAVE_PATHS_H
10076 # include <paths.h>
10082 char *wtmpx = WTMPX_FILE;
10087 rm -f conftest.$ac_objext
10088 if { (ac_try="$ac_compile"
10089 case "(($ac_try" in
10090 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10091 *) ac_try_echo
=$ac_try;;
10093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10094 (eval "$ac_compile") 2>conftest.er1
10096 grep -v '^ *+' conftest.er1
>conftest.err
10098 cat conftest.err
>&5
10099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10100 (exit $ac_status); } && {
10101 test -z "$ac_c_werror_flag" ||
10102 test ! -s conftest.err
10103 } && test -s conftest.
$ac_objext; then
10104 { echo "$as_me:$LINENO: result: yes" >&5
10105 echo "${ECHO_T}yes" >&6; }
10107 echo "$as_me: failed program was:" >&5
10108 sed 's/^/| /' conftest.
$ac_ext >&5
10110 { echo "$as_me:$LINENO: result: no" >&5
10111 echo "${ECHO_T}no" >&6; }
10112 system_wtmpx_path
=no
10116 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10117 if test -z "$conf_wtmpx_location"; then
10118 if test x
"$system_wtmpx_path" = x
"no" ; then
10119 cat >>confdefs.h
<<\_ACEOF
10120 #define DISABLE_WTMPX 1
10126 cat >>confdefs.h
<<_ACEOF
10127 #define CONF_WTMPX_FILE "$conf_wtmpx_location"
10132 # Checks for library functions.
10133 if test $ac_cv_c_compiler_gnu = yes; then
10134 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
10135 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
10136 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
10137 echo $ECHO_N "(cached) $ECHO_C" >&6
10139 ac_pattern
="Autoconf.*'x'"
10140 cat >conftest.
$ac_ext <<_ACEOF
10143 cat confdefs.h
>>conftest.
$ac_ext
10144 cat >>conftest.
$ac_ext <<_ACEOF
10145 /* end confdefs.h. */
10149 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10150 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
10151 ac_cv_prog_gcc_traditional
=yes
10153 ac_cv_prog_gcc_traditional
=no
10158 if test $ac_cv_prog_gcc_traditional = no
; then
10159 cat >conftest.
$ac_ext <<_ACEOF
10162 cat confdefs.h
>>conftest.
$ac_ext
10163 cat >>conftest.
$ac_ext <<_ACEOF
10164 /* end confdefs.h. */
10165 #include <termio.h>
10168 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10169 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
10170 ac_cv_prog_gcc_traditional
=yes
10176 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
10177 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
10178 if test $ac_cv_prog_gcc_traditional = yes; then
10179 CC
="$CC -traditional"
10183 { echo "$as_me:$LINENO: checking for working memcmp" >&5
10184 echo $ECHO_N "checking for working memcmp... $ECHO_C" >&6; }
10185 if test "${ac_cv_func_memcmp_working+set}" = set; then
10186 echo $ECHO_N "(cached) $ECHO_C" >&6
10188 if test "$cross_compiling" = yes; then
10189 ac_cv_func_memcmp_working
=no
10191 cat >conftest.
$ac_ext <<_ACEOF
10194 cat confdefs.h
>>conftest.
$ac_ext
10195 cat >>conftest.
$ac_ext <<_ACEOF
10196 /* end confdefs.h. */
10197 $ac_includes_default
10202 /* Some versions of memcmp are not 8-bit clean. */
10203 char c0 = '\100', c1 = '\200', c2 = '\201';
10204 if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
10207 /* The Next x86 OpenStep bug shows up only when comparing 16 bytes
10208 or more and with at least one buffer not starting on a 4-byte boundary.
10209 William Lewis provided this test program. */
10214 for (i = 0; i < 4; i++)
10218 strcpy (a, "--------01111111");
10219 strcpy (b, "--------10000000");
10220 if (memcmp (a, b, 16) >= 0)
10230 rm -f conftest
$ac_exeext
10231 if { (ac_try
="$ac_link"
10232 case "(($ac_try" in
10233 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10234 *) ac_try_echo=$ac_try;;
10236 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10237 (eval "$ac_link") 2>&5
10239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10240 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
10241 { (case "(($ac_try" in
10242 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10243 *) ac_try_echo
=$ac_try;;
10245 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10246 (eval "$ac_try") 2>&5
10248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10249 (exit $ac_status); }; }; then
10250 ac_cv_func_memcmp_working
=yes
10252 echo "$as_me: program exited with status $ac_status" >&5
10253 echo "$as_me: failed program was:" >&5
10254 sed 's/^/| /' conftest.
$ac_ext >&5
10256 ( exit $ac_status )
10257 ac_cv_func_memcmp_working
=no
10259 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
10264 { echo "$as_me:$LINENO: result: $ac_cv_func_memcmp_working" >&5
10265 echo "${ECHO_T}$ac_cv_func_memcmp_working" >&6; }
10266 test $ac_cv_func_memcmp_working = no
&& case " $LIBOBJS " in
10267 *" memcmp.$ac_objext "* ) ;;
10268 *) LIBOBJS
="$LIBOBJS memcmp.$ac_objext"
10275 for ac_header
in sys
/select.h sys
/socket.h
10277 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10278 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10279 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10280 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10281 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10282 echo $ECHO_N "(cached) $ECHO_C" >&6
10284 ac_res
=`eval echo '${'$as_ac_Header'}'`
10285 { echo "$as_me:$LINENO: result: $ac_res" >&5
10286 echo "${ECHO_T}$ac_res" >&6; }
10288 # Is the header compilable?
10289 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
10290 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10291 cat >conftest.
$ac_ext <<_ACEOF
10294 cat confdefs.h
>>conftest.
$ac_ext
10295 cat >>conftest.
$ac_ext <<_ACEOF
10296 /* end confdefs.h. */
10297 $ac_includes_default
10298 #include <$ac_header>
10300 rm -f conftest.
$ac_objext
10301 if { (ac_try
="$ac_compile"
10302 case "(($ac_try" in
10303 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10304 *) ac_try_echo=$ac_try;;
10306 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10307 (eval "$ac_compile") 2>conftest.er1
10309 grep -v '^ *+' conftest.er1 >conftest.err
10311 cat conftest.err >&5
10312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10313 (exit $ac_status); } && {
10314 test -z "$ac_c_werror_flag" ||
10315 test ! -s conftest.err
10316 } && test -s conftest.$ac_objext; then
10317 ac_header_compiler=yes
10319 echo "$as_me: failed program was:" >&5
10320 sed 's/^/| /' conftest.$ac_ext >&5
10322 ac_header_compiler=no
10325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10326 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10327 echo "${ECHO_T}$ac_header_compiler" >&6; }
10329 # Is the header present?
10330 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
10331 echo $ECHO_N "checking $ac_header presence... $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. */
10338 #include <$ac_header>
10340 if { (ac_try="$ac_cpp conftest.$ac_ext"
10341 case "(($ac_try" in
10342 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10343 *) ac_try_echo
=$ac_try;;
10345 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10346 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10348 grep -v '^ *+' conftest.er1
>conftest.err
10350 cat conftest.err
>&5
10351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10352 (exit $ac_status); } >/dev
/null
&& {
10353 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10354 test ! -s conftest.err
10356 ac_header_preproc
=yes
10358 echo "$as_me: failed program was:" >&5
10359 sed 's/^/| /' conftest.
$ac_ext >&5
10361 ac_header_preproc
=no
10364 rm -f conftest.err conftest.
$ac_ext
10365 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10366 echo "${ECHO_T}$ac_header_preproc" >&6; }
10368 # So? What about this header?
10369 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10371 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10372 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10373 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10374 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10375 ac_header_preproc
=yes
10378 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10379 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10380 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10381 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10382 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10383 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10384 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10385 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10386 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10387 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10388 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10389 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10393 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10394 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10395 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10396 echo $ECHO_N "(cached) $ECHO_C" >&6
10398 eval "$as_ac_Header=\$ac_header_preproc"
10400 ac_res
=`eval echo '${'$as_ac_Header'}'`
10401 { echo "$as_me:$LINENO: result: $ac_res" >&5
10402 echo "${ECHO_T}$ac_res" >&6; }
10405 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10406 cat >>confdefs.h
<<_ACEOF
10407 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10414 { echo "$as_me:$LINENO: checking types of arguments for select" >&5
10415 echo $ECHO_N "checking types of arguments for select... $ECHO_C" >&6; }
10416 if test "${ac_cv_func_select_args+set}" = set; then
10417 echo $ECHO_N "(cached) $ECHO_C" >&6
10419 for ac_arg234
in 'fd_set *' 'int *' 'void *'; do
10420 for ac_arg1
in 'int' 'size_t' 'unsigned long int' 'unsigned int'; do
10421 for ac_arg5
in 'struct timeval *' 'const struct timeval *'; do
10422 cat >conftest.
$ac_ext <<_ACEOF
10425 cat confdefs.h
>>conftest.
$ac_ext
10426 cat >>conftest.
$ac_ext <<_ACEOF
10427 /* end confdefs.h. */
10428 $ac_includes_default
10429 #ifdef HAVE_SYS_SELECT_H
10430 # include <sys/select.h>
10432 #ifdef HAVE_SYS_SOCKET_H
10433 # include <sys/socket.h>
10439 extern int select ($ac_arg1,
10440 $ac_arg234, $ac_arg234, $ac_arg234,
10446 rm -f conftest.
$ac_objext
10447 if { (ac_try
="$ac_compile"
10448 case "(($ac_try" in
10449 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10450 *) ac_try_echo=$ac_try;;
10452 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10453 (eval "$ac_compile") 2>conftest.er1
10455 grep -v '^ *+' conftest.er1 >conftest.err
10457 cat conftest.err >&5
10458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10459 (exit $ac_status); } && {
10460 test -z "$ac_c_werror_flag" ||
10461 test ! -s conftest.err
10462 } && test -s conftest.$ac_objext; then
10463 ac_cv_func_select_args="$ac_arg1,$ac_arg234,$ac_arg5"; break 3
10465 echo "$as_me: failed program was:" >&5
10466 sed 's/^/| /' conftest.$ac_ext >&5
10471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10475 # Provide a safe default value.
10476 : ${ac_cv_func_select_args='int,int *,struct timeval *'}
10479 { echo "$as_me:$LINENO: result: $ac_cv_func_select_args" >&5
10480 echo "${ECHO_T}$ac_cv_func_select_args" >&6; }
10481 ac_save_IFS=$IFS; IFS=','
10482 set dummy `echo "$ac_cv_func_select_args" |
sed 's/\*/\*/g'`
10486 cat >>confdefs.h <<_ACEOF
10487 #define SELECT_TYPE_ARG1 $1
10491 cat >>confdefs.h <<_ACEOF
10492 #define SELECT_TYPE_ARG234 ($2)
10496 cat >>confdefs.h <<_ACEOF
10497 #define SELECT_TYPE_ARG5 ($3)
10502 { echo "$as_me:$LINENO: checking return type of signal handlers" >&5
10503 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6; }
10504 if test "${ac_cv_type_signal+set}" = set; then
10505 echo $ECHO_N "(cached) $ECHO_C" >&6
10507 cat >conftest.$ac_ext <<_ACEOF
10510 cat confdefs.h >>conftest.$ac_ext
10511 cat >>conftest.$ac_ext <<_ACEOF
10512 /* end confdefs.h. */
10513 #include <sys/types.h>
10514 #include <signal.h>
10519 return *(signal (0, 0)) (0) == 1;
10524 rm -f conftest.$ac_objext
10525 if { (ac_try="$ac_compile"
10526 case "(($ac_try" in
10527 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10528 *) ac_try_echo
=$ac_try;;
10530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10531 (eval "$ac_compile") 2>conftest.er1
10533 grep -v '^ *+' conftest.er1
>conftest.err
10535 cat conftest.err
>&5
10536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10537 (exit $ac_status); } && {
10538 test -z "$ac_c_werror_flag" ||
10539 test ! -s conftest.err
10540 } && test -s conftest.
$ac_objext; then
10541 ac_cv_type_signal
=int
10543 echo "$as_me: failed program was:" >&5
10544 sed 's/^/| /' conftest.
$ac_ext >&5
10546 ac_cv_type_signal
=void
10549 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10551 { echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
10552 echo "${ECHO_T}$ac_cv_type_signal" >&6; }
10554 cat >>confdefs.h
<<_ACEOF
10555 #define RETSIGTYPE $ac_cv_type_signal
10576 for ac_func
in dup2 getspnam getusershell memset putenv
select socket strdup clearenv strlcpy strlcat daemon
basename _getpty getaddrinfo freeaddrinfo getnameinfo
10578 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10579 { echo "$as_me:$LINENO: checking for $ac_func" >&5
10580 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
10581 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
10582 echo $ECHO_N "(cached) $ECHO_C" >&6
10584 cat >conftest.
$ac_ext <<_ACEOF
10587 cat confdefs.h
>>conftest.
$ac_ext
10588 cat >>conftest.
$ac_ext <<_ACEOF
10589 /* end confdefs.h. */
10590 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10591 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10592 #define $ac_func innocuous_$ac_func
10594 /* System header to define __stub macros and hopefully few prototypes,
10595 which can conflict with char $ac_func (); below.
10596 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10597 <limits.h> exists even on freestanding compilers. */
10600 # include <limits.h>
10602 # include <assert.h>
10607 /* Override any GCC internal prototype to avoid an error.
10608 Use char because int might match the return type of a GCC
10609 builtin and then its argument prototype would still apply. */
10614 /* The GNU C library defines this for functions which it implements
10615 to always fail with ENOSYS. Some functions are actually named
10616 something starting with __ and the normal name is an alias. */
10617 #if defined __stub_$ac_func || defined __stub___$ac_func
10624 return $ac_func ();
10629 rm -f conftest.
$ac_objext conftest
$ac_exeext
10630 if { (ac_try
="$ac_link"
10631 case "(($ac_try" in
10632 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10633 *) ac_try_echo=$ac_try;;
10635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10636 (eval "$ac_link") 2>conftest.er1
10638 grep -v '^ *+' conftest.er1 >conftest.err
10640 cat conftest.err >&5
10641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10642 (exit $ac_status); } && {
10643 test -z "$ac_c_werror_flag" ||
10644 test ! -s conftest.err
10645 } && test -s conftest$ac_exeext &&
10646 $as_test_x conftest$ac_exeext; then
10647 eval "$as_ac_var=yes"
10649 echo "$as_me: failed program was:" >&5
10650 sed 's/^/| /' conftest.$ac_ext >&5
10652 eval "$as_ac_var=no"
10655 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10656 conftest$ac_exeext conftest.$ac_ext
10658 ac_res=`eval echo '${'$as_ac_var'}'`
10659 { echo "$as_me:$LINENO: result: $ac_res" >&5
10660 echo "${ECHO_T}$ac_res" >&6; }
10661 if test `eval echo '${'$as_ac_var'}'` = yes; then
10662 cat >>confdefs.h <<_ACEOF
10663 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
10670 { echo "$as_me:$LINENO: checking for library containing basename" >&5
10671 echo $ECHO_N "checking for library containing basename... $ECHO_C" >&6; }
10672 if test "${ac_cv_search_basename+set}" = set; then
10673 echo $ECHO_N "(cached) $ECHO_C" >&6
10675 ac_func_search_save_LIBS=$LIBS
10676 cat >conftest.$ac_ext <<_ACEOF
10679 cat confdefs.h >>conftest.$ac_ext
10680 cat >>conftest.$ac_ext <<_ACEOF
10681 /* end confdefs.h. */
10683 /* Override any GCC internal prototype to avoid an error.
10684 Use char because int might match the return type of a GCC
10685 builtin and then its argument prototype would still apply. */
10693 return basename ();
10698 for ac_lib in '' gen; do
10699 if test -z "$ac_lib"; then
10700 ac_res="none required"
10703 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
10705 rm -f conftest.$ac_objext conftest$ac_exeext
10706 if { (ac_try="$ac_link"
10707 case "(($ac_try" in
10708 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10709 *) ac_try_echo
=$ac_try;;
10711 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10712 (eval "$ac_link") 2>conftest.er1
10714 grep -v '^ *+' conftest.er1
>conftest.err
10716 cat conftest.err
>&5
10717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10718 (exit $ac_status); } && {
10719 test -z "$ac_c_werror_flag" ||
10720 test ! -s conftest.err
10721 } && test -s conftest
$ac_exeext &&
10722 $as_test_x conftest
$ac_exeext; then
10723 ac_cv_search_basename
=$ac_res
10725 echo "$as_me: failed program was:" >&5
10726 sed 's/^/| /' conftest.
$ac_ext >&5
10731 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10733 if test "${ac_cv_search_basename+set}" = set; then
10737 if test "${ac_cv_search_basename+set}" = set; then
10740 ac_cv_search_basename
=no
10742 rm conftest.
$ac_ext
10743 LIBS
=$ac_func_search_save_LIBS
10745 { echo "$as_me:$LINENO: result: $ac_cv_search_basename" >&5
10746 echo "${ECHO_T}$ac_cv_search_basename" >&6; }
10747 ac_res
=$ac_cv_search_basename
10748 if test "$ac_res" != no
; then
10749 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
10750 cat >>confdefs.h
<<\_ACEOF
10751 #define HAVE_BASENAME 1
10757 # Solaris needs ptmx
10758 if test -z "$no_ptmx_check" ; then
10759 if test x
"$cross_compiling" = x
"no" ; then
10760 { echo "$as_me:$LINENO: checking for \"/dev/ptmx\"" >&5
10761 echo $ECHO_N "checking for \"/dev/ptmx\"... $ECHO_C" >&6; }
10762 if test "${ac_cv_file___dev_ptmx_+set}" = set; then
10763 echo $ECHO_N "(cached) $ECHO_C" >&6
10765 test "$cross_compiling" = yes &&
10766 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
10767 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
10768 { (exit 1); exit 1; }; }
10769 if test -r ""/dev
/ptmx
""; then
10770 ac_cv_file___dev_ptmx_
=yes
10772 ac_cv_file___dev_ptmx_
=no
10775 { echo "$as_me:$LINENO: result: $ac_cv_file___dev_ptmx_" >&5
10776 echo "${ECHO_T}$ac_cv_file___dev_ptmx_" >&6; }
10777 if test $ac_cv_file___dev_ptmx_ = yes; then
10779 cat >>confdefs.h
<<\_ACEOF
10780 #define USE_DEV_PTMX
10786 { echo "$as_me:$LINENO: Not checking for /dev/ptmx, we're cross-compiling" >&5
10787 echo "$as_me: Not checking for /dev/ptmx, we're cross-compiling" >&6;}
10791 if test -z "$no_ptc_check" ; then
10792 if test x
"$cross_compiling" = x
"no" ; then
10793 { echo "$as_me:$LINENO: checking for \"/dev/ptc\"" >&5
10794 echo $ECHO_N "checking for \"/dev/ptc\"... $ECHO_C" >&6; }
10795 if test "${ac_cv_file___dev_ptc_+set}" = set; then
10796 echo $ECHO_N "(cached) $ECHO_C" >&6
10798 test "$cross_compiling" = yes &&
10799 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
10800 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
10801 { (exit 1); exit 1; }; }
10802 if test -r ""/dev
/ptc
""; then
10803 ac_cv_file___dev_ptc_
=yes
10805 ac_cv_file___dev_ptc_
=no
10808 { echo "$as_me:$LINENO: result: $ac_cv_file___dev_ptc_" >&5
10809 echo "${ECHO_T}$ac_cv_file___dev_ptc_" >&6; }
10810 if test $ac_cv_file___dev_ptc_ = yes; then
10812 cat >>confdefs.h
<<\_ACEOF
10813 #define HAVE_DEV_PTS_AND_PTC
10819 { echo "$as_me:$LINENO: Not checking for /dev/ptc & /dev/pts since we're cross-compiling" >&5
10820 echo "$as_me: Not checking for /dev/ptc & /dev/pts since we're cross-compiling" >&6;}
10826 # XXX there must be a nicer way to do this
10827 { as_dir
=libtomcrypt
/src
/ciphers
/aes
10829 -*) as_dir
=.
/$as_dir;;
10831 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
10835 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
10836 *) as_qdir
=$as_dir;;
10838 as_dirs
="'$as_qdir' $as_dirs"
10839 as_dir
=`$as_dirname -- "$as_dir" ||
10840 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10841 X"$as_dir" : 'X\(//\)[^/]' \| \
10842 X"$as_dir" : 'X\(//\)$' \| \
10843 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
10845 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10849 /^X\(\/\/\)[^/].*/{
10862 test -d "$as_dir" && break
10864 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
10865 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
10866 echo "$as_me: error: cannot create directory $as_dir" >&2;}
10867 { (exit 1); exit 1; }; }; }
10868 { as_dir
=libtomcrypt
/src
/ciphers
/safer
10870 -*) as_dir
=.
/$as_dir;;
10872 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
10876 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
10877 *) as_qdir
=$as_dir;;
10879 as_dirs
="'$as_qdir' $as_dirs"
10880 as_dir
=`$as_dirname -- "$as_dir" ||
10881 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10882 X"$as_dir" : 'X\(//\)[^/]' \| \
10883 X"$as_dir" : 'X\(//\)$' \| \
10884 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
10886 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10890 /^X\(\/\/\)[^/].*/{
10903 test -d "$as_dir" && break
10905 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
10906 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
10907 echo "$as_me: error: cannot create directory $as_dir" >&2;}
10908 { (exit 1); exit 1; }; }; }
10909 { as_dir
=libtomcrypt
/src
/ciphers
/twofish
10911 -*) as_dir
=.
/$as_dir;;
10913 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
10917 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
10918 *) as_qdir
=$as_dir;;
10920 as_dirs
="'$as_qdir' $as_dirs"
10921 as_dir
=`$as_dirname -- "$as_dir" ||
10922 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10923 X"$as_dir" : 'X\(//\)[^/]' \| \
10924 X"$as_dir" : 'X\(//\)$' \| \
10925 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
10927 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10931 /^X\(\/\/\)[^/].*/{
10944 test -d "$as_dir" && break
10946 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
10947 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
10948 echo "$as_me: error: cannot create directory $as_dir" >&2;}
10949 { (exit 1); exit 1; }; }; }
10950 { as_dir
=libtomcrypt
/src
/encauth
/ccm
10952 -*) as_dir
=.
/$as_dir;;
10954 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
10958 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
10959 *) as_qdir
=$as_dir;;
10961 as_dirs
="'$as_qdir' $as_dirs"
10962 as_dir
=`$as_dirname -- "$as_dir" ||
10963 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10964 X"$as_dir" : 'X\(//\)[^/]' \| \
10965 X"$as_dir" : 'X\(//\)$' \| \
10966 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
10968 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10972 /^X\(\/\/\)[^/].*/{
10985 test -d "$as_dir" && break
10987 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
10988 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
10989 echo "$as_me: error: cannot create directory $as_dir" >&2;}
10990 { (exit 1); exit 1; }; }; }
10991 { as_dir
=libtomcrypt
/src
/encauth
/eax
10993 -*) as_dir
=.
/$as_dir;;
10995 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
10999 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
11000 *) as_qdir
=$as_dir;;
11002 as_dirs
="'$as_qdir' $as_dirs"
11003 as_dir
=`$as_dirname -- "$as_dir" ||
11004 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11005 X"$as_dir" : 'X\(//\)[^/]' \| \
11006 X"$as_dir" : 'X\(//\)$' \| \
11007 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
11009 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11013 /^X\(\/\/\)[^/].*/{
11026 test -d "$as_dir" && break
11028 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
11029 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
11030 echo "$as_me: error: cannot create directory $as_dir" >&2;}
11031 { (exit 1); exit 1; }; }; }
11032 { as_dir
=libtomcrypt
/src
/encauth
/gcm
11034 -*) as_dir
=.
/$as_dir;;
11036 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
11040 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
11041 *) as_qdir
=$as_dir;;
11043 as_dirs
="'$as_qdir' $as_dirs"
11044 as_dir
=`$as_dirname -- "$as_dir" ||
11045 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11046 X"$as_dir" : 'X\(//\)[^/]' \| \
11047 X"$as_dir" : 'X\(//\)$' \| \
11048 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
11050 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11054 /^X\(\/\/\)[^/].*/{
11067 test -d "$as_dir" && break
11069 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
11070 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
11071 echo "$as_me: error: cannot create directory $as_dir" >&2;}
11072 { (exit 1); exit 1; }; }; }
11073 { as_dir
=libtomcrypt
/src
/encauth
/ocb
11075 -*) as_dir
=.
/$as_dir;;
11077 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
11081 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
11082 *) as_qdir
=$as_dir;;
11084 as_dirs
="'$as_qdir' $as_dirs"
11085 as_dir
=`$as_dirname -- "$as_dir" ||
11086 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11087 X"$as_dir" : 'X\(//\)[^/]' \| \
11088 X"$as_dir" : 'X\(//\)$' \| \
11089 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
11091 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11095 /^X\(\/\/\)[^/].*/{
11108 test -d "$as_dir" && break
11110 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
11111 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
11112 echo "$as_me: error: cannot create directory $as_dir" >&2;}
11113 { (exit 1); exit 1; }; }; }
11114 { as_dir
=libtomcrypt
/src
/hashes
11116 -*) as_dir
=.
/$as_dir;;
11118 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
11122 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
11123 *) as_qdir
=$as_dir;;
11125 as_dirs
="'$as_qdir' $as_dirs"
11126 as_dir
=`$as_dirname -- "$as_dir" ||
11127 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11128 X"$as_dir" : 'X\(//\)[^/]' \| \
11129 X"$as_dir" : 'X\(//\)$' \| \
11130 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
11132 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11136 /^X\(\/\/\)[^/].*/{
11149 test -d "$as_dir" && break
11151 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
11152 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
11153 echo "$as_me: error: cannot create directory $as_dir" >&2;}
11154 { (exit 1); exit 1; }; }; }
11155 { as_dir
=libtomcrypt
/src
/hashes
/chc
11157 -*) as_dir
=.
/$as_dir;;
11159 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
11163 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
11164 *) as_qdir
=$as_dir;;
11166 as_dirs
="'$as_qdir' $as_dirs"
11167 as_dir
=`$as_dirname -- "$as_dir" ||
11168 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11169 X"$as_dir" : 'X\(//\)[^/]' \| \
11170 X"$as_dir" : 'X\(//\)$' \| \
11171 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
11173 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11177 /^X\(\/\/\)[^/].*/{
11190 test -d "$as_dir" && break
11192 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
11193 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
11194 echo "$as_me: error: cannot create directory $as_dir" >&2;}
11195 { (exit 1); exit 1; }; }; }
11196 { as_dir
=libtomcrypt
/src
/hashes
/helper
11198 -*) as_dir
=.
/$as_dir;;
11200 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
11204 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
11205 *) as_qdir
=$as_dir;;
11207 as_dirs
="'$as_qdir' $as_dirs"
11208 as_dir
=`$as_dirname -- "$as_dir" ||
11209 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11210 X"$as_dir" : 'X\(//\)[^/]' \| \
11211 X"$as_dir" : 'X\(//\)$' \| \
11212 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
11214 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11218 /^X\(\/\/\)[^/].*/{
11231 test -d "$as_dir" && break
11233 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
11234 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
11235 echo "$as_me: error: cannot create directory $as_dir" >&2;}
11236 { (exit 1); exit 1; }; }; }
11237 { as_dir
=libtomcrypt
/src
/hashes
/sha2
11239 -*) as_dir
=.
/$as_dir;;
11241 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
11245 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
11246 *) as_qdir
=$as_dir;;
11248 as_dirs
="'$as_qdir' $as_dirs"
11249 as_dir
=`$as_dirname -- "$as_dir" ||
11250 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11251 X"$as_dir" : 'X\(//\)[^/]' \| \
11252 X"$as_dir" : 'X\(//\)$' \| \
11253 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
11255 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11259 /^X\(\/\/\)[^/].*/{
11272 test -d "$as_dir" && break
11274 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
11275 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
11276 echo "$as_me: error: cannot create directory $as_dir" >&2;}
11277 { (exit 1); exit 1; }; }; }
11278 { as_dir
=libtomcrypt
/src
/hashes
/whirl
11280 -*) as_dir
=.
/$as_dir;;
11282 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
11286 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
11287 *) as_qdir
=$as_dir;;
11289 as_dirs
="'$as_qdir' $as_dirs"
11290 as_dir
=`$as_dirname -- "$as_dir" ||
11291 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11292 X"$as_dir" : 'X\(//\)[^/]' \| \
11293 X"$as_dir" : 'X\(//\)$' \| \
11294 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
11296 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11300 /^X\(\/\/\)[^/].*/{
11313 test -d "$as_dir" && break
11315 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
11316 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
11317 echo "$as_me: error: cannot create directory $as_dir" >&2;}
11318 { (exit 1); exit 1; }; }; }
11319 { as_dir
=libtomcrypt
/src
/mac
/hmac
11321 -*) as_dir
=.
/$as_dir;;
11323 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
11327 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
11328 *) as_qdir
=$as_dir;;
11330 as_dirs
="'$as_qdir' $as_dirs"
11331 as_dir
=`$as_dirname -- "$as_dir" ||
11332 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11333 X"$as_dir" : 'X\(//\)[^/]' \| \
11334 X"$as_dir" : 'X\(//\)$' \| \
11335 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
11337 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11341 /^X\(\/\/\)[^/].*/{
11354 test -d "$as_dir" && break
11356 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
11357 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
11358 echo "$as_me: error: cannot create directory $as_dir" >&2;}
11359 { (exit 1); exit 1; }; }; }
11360 { as_dir
=libtomcrypt
/src
/mac
/omac
11362 -*) as_dir
=.
/$as_dir;;
11364 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
11368 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
11369 *) as_qdir
=$as_dir;;
11371 as_dirs
="'$as_qdir' $as_dirs"
11372 as_dir
=`$as_dirname -- "$as_dir" ||
11373 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11374 X"$as_dir" : 'X\(//\)[^/]' \| \
11375 X"$as_dir" : 'X\(//\)$' \| \
11376 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
11378 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11382 /^X\(\/\/\)[^/].*/{
11395 test -d "$as_dir" && break
11397 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
11398 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
11399 echo "$as_me: error: cannot create directory $as_dir" >&2;}
11400 { (exit 1); exit 1; }; }; }
11401 { as_dir
=libtomcrypt
/src
/mac
/pelican
11403 -*) as_dir
=.
/$as_dir;;
11405 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
11409 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
11410 *) as_qdir
=$as_dir;;
11412 as_dirs
="'$as_qdir' $as_dirs"
11413 as_dir
=`$as_dirname -- "$as_dir" ||
11414 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11415 X"$as_dir" : 'X\(//\)[^/]' \| \
11416 X"$as_dir" : 'X\(//\)$' \| \
11417 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
11419 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11423 /^X\(\/\/\)[^/].*/{
11436 test -d "$as_dir" && break
11438 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
11439 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
11440 echo "$as_me: error: cannot create directory $as_dir" >&2;}
11441 { (exit 1); exit 1; }; }; }
11442 { as_dir
=libtomcrypt
/src
/mac
/pmac
11444 -*) as_dir
=.
/$as_dir;;
11446 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
11450 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
11451 *) as_qdir
=$as_dir;;
11453 as_dirs
="'$as_qdir' $as_dirs"
11454 as_dir
=`$as_dirname -- "$as_dir" ||
11455 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11456 X"$as_dir" : 'X\(//\)[^/]' \| \
11457 X"$as_dir" : 'X\(//\)$' \| \
11458 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
11460 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11464 /^X\(\/\/\)[^/].*/{
11477 test -d "$as_dir" && break
11479 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
11480 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
11481 echo "$as_me: error: cannot create directory $as_dir" >&2;}
11482 { (exit 1); exit 1; }; }; }
11483 { as_dir
=libtomcrypt
/src
/mac
/f9
11485 -*) as_dir
=.
/$as_dir;;
11487 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
11491 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
11492 *) as_qdir
=$as_dir;;
11494 as_dirs
="'$as_qdir' $as_dirs"
11495 as_dir
=`$as_dirname -- "$as_dir" ||
11496 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11497 X"$as_dir" : 'X\(//\)[^/]' \| \
11498 X"$as_dir" : 'X\(//\)$' \| \
11499 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
11501 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11505 /^X\(\/\/\)[^/].*/{
11518 test -d "$as_dir" && break
11520 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
11521 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
11522 echo "$as_me: error: cannot create directory $as_dir" >&2;}
11523 { (exit 1); exit 1; }; }; }
11524 { as_dir
=libtomcrypt
/src
/mac
/xcbc
11526 -*) as_dir
=.
/$as_dir;;
11528 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
11532 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
11533 *) as_qdir
=$as_dir;;
11535 as_dirs
="'$as_qdir' $as_dirs"
11536 as_dir
=`$as_dirname -- "$as_dir" ||
11537 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11538 X"$as_dir" : 'X\(//\)[^/]' \| \
11539 X"$as_dir" : 'X\(//\)$' \| \
11540 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
11542 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11546 /^X\(\/\/\)[^/].*/{
11559 test -d "$as_dir" && break
11561 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
11562 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
11563 echo "$as_me: error: cannot create directory $as_dir" >&2;}
11564 { (exit 1); exit 1; }; }; }
11565 { as_dir
=libtomcrypt
/src
/math
/fp
11567 -*) as_dir
=.
/$as_dir;;
11569 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
11573 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
11574 *) as_qdir
=$as_dir;;
11576 as_dirs
="'$as_qdir' $as_dirs"
11577 as_dir
=`$as_dirname -- "$as_dir" ||
11578 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11579 X"$as_dir" : 'X\(//\)[^/]' \| \
11580 X"$as_dir" : 'X\(//\)$' \| \
11581 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
11583 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11587 /^X\(\/\/\)[^/].*/{
11600 test -d "$as_dir" && break
11602 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
11603 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
11604 echo "$as_me: error: cannot create directory $as_dir" >&2;}
11605 { (exit 1); exit 1; }; }; }
11606 { as_dir
=libtomcrypt
/src
/misc
/base64
11608 -*) as_dir
=.
/$as_dir;;
11610 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
11614 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
11615 *) as_qdir
=$as_dir;;
11617 as_dirs
="'$as_qdir' $as_dirs"
11618 as_dir
=`$as_dirname -- "$as_dir" ||
11619 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11620 X"$as_dir" : 'X\(//\)[^/]' \| \
11621 X"$as_dir" : 'X\(//\)$' \| \
11622 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
11624 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11628 /^X\(\/\/\)[^/].*/{
11641 test -d "$as_dir" && break
11643 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
11644 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
11645 echo "$as_me: error: cannot create directory $as_dir" >&2;}
11646 { (exit 1); exit 1; }; }; }
11647 { as_dir
=libtomcrypt
/src
/misc
/crypt
11649 -*) as_dir
=.
/$as_dir;;
11651 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
11655 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
11656 *) as_qdir
=$as_dir;;
11658 as_dirs
="'$as_qdir' $as_dirs"
11659 as_dir
=`$as_dirname -- "$as_dir" ||
11660 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11661 X"$as_dir" : 'X\(//\)[^/]' \| \
11662 X"$as_dir" : 'X\(//\)$' \| \
11663 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
11665 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11669 /^X\(\/\/\)[^/].*/{
11682 test -d "$as_dir" && break
11684 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
11685 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
11686 echo "$as_me: error: cannot create directory $as_dir" >&2;}
11687 { (exit 1); exit 1; }; }; }
11688 { as_dir
=libtomcrypt
/src
/misc
/mpi
11690 -*) as_dir
=.
/$as_dir;;
11692 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
11696 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
11697 *) as_qdir
=$as_dir;;
11699 as_dirs
="'$as_qdir' $as_dirs"
11700 as_dir
=`$as_dirname -- "$as_dir" ||
11701 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11702 X"$as_dir" : 'X\(//\)[^/]' \| \
11703 X"$as_dir" : 'X\(//\)$' \| \
11704 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
11706 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11710 /^X\(\/\/\)[^/].*/{
11723 test -d "$as_dir" && break
11725 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
11726 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
11727 echo "$as_me: error: cannot create directory $as_dir" >&2;}
11728 { (exit 1); exit 1; }; }; }
11729 { as_dir
=libtomcrypt
/src
/misc
/pkcs5
11731 -*) as_dir
=.
/$as_dir;;
11733 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
11737 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
11738 *) as_qdir
=$as_dir;;
11740 as_dirs
="'$as_qdir' $as_dirs"
11741 as_dir
=`$as_dirname -- "$as_dir" ||
11742 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11743 X"$as_dir" : 'X\(//\)[^/]' \| \
11744 X"$as_dir" : 'X\(//\)$' \| \
11745 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
11747 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11751 /^X\(\/\/\)[^/].*/{
11764 test -d "$as_dir" && break
11766 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
11767 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
11768 echo "$as_me: error: cannot create directory $as_dir" >&2;}
11769 { (exit 1); exit 1; }; }; }
11770 { as_dir
=libtomcrypt
/src
/modes
/cbc
11772 -*) as_dir
=.
/$as_dir;;
11774 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
11778 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
11779 *) as_qdir
=$as_dir;;
11781 as_dirs
="'$as_qdir' $as_dirs"
11782 as_dir
=`$as_dirname -- "$as_dir" ||
11783 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11784 X"$as_dir" : 'X\(//\)[^/]' \| \
11785 X"$as_dir" : 'X\(//\)$' \| \
11786 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
11788 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11792 /^X\(\/\/\)[^/].*/{
11805 test -d "$as_dir" && break
11807 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
11808 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
11809 echo "$as_me: error: cannot create directory $as_dir" >&2;}
11810 { (exit 1); exit 1; }; }; }
11811 { as_dir
=libtomcrypt
/src
/modes
/cfb
11813 -*) as_dir
=.
/$as_dir;;
11815 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
11819 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
11820 *) as_qdir
=$as_dir;;
11822 as_dirs
="'$as_qdir' $as_dirs"
11823 as_dir
=`$as_dirname -- "$as_dir" ||
11824 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11825 X"$as_dir" : 'X\(//\)[^/]' \| \
11826 X"$as_dir" : 'X\(//\)$' \| \
11827 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
11829 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11833 /^X\(\/\/\)[^/].*/{
11846 test -d "$as_dir" && break
11848 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
11849 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
11850 echo "$as_me: error: cannot create directory $as_dir" >&2;}
11851 { (exit 1); exit 1; }; }; }
11852 { as_dir
=libtomcrypt
/src
/modes
/ctr
11854 -*) as_dir
=.
/$as_dir;;
11856 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
11860 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
11861 *) as_qdir
=$as_dir;;
11863 as_dirs
="'$as_qdir' $as_dirs"
11864 as_dir
=`$as_dirname -- "$as_dir" ||
11865 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11866 X"$as_dir" : 'X\(//\)[^/]' \| \
11867 X"$as_dir" : 'X\(//\)$' \| \
11868 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
11870 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11874 /^X\(\/\/\)[^/].*/{
11887 test -d "$as_dir" && break
11889 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
11890 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
11891 echo "$as_me: error: cannot create directory $as_dir" >&2;}
11892 { (exit 1); exit 1; }; }; }
11893 { as_dir
=libtomcrypt
/src
/modes
/ecb
11895 -*) as_dir
=.
/$as_dir;;
11897 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
11901 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
11902 *) as_qdir
=$as_dir;;
11904 as_dirs
="'$as_qdir' $as_dirs"
11905 as_dir
=`$as_dirname -- "$as_dir" ||
11906 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11907 X"$as_dir" : 'X\(//\)[^/]' \| \
11908 X"$as_dir" : 'X\(//\)$' \| \
11909 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
11911 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11915 /^X\(\/\/\)[^/].*/{
11928 test -d "$as_dir" && break
11930 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
11931 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
11932 echo "$as_me: error: cannot create directory $as_dir" >&2;}
11933 { (exit 1); exit 1; }; }; }
11934 { as_dir
=libtomcrypt
/src
/modes
/ofb
11936 -*) as_dir
=.
/$as_dir;;
11938 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
11942 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
11943 *) as_qdir
=$as_dir;;
11945 as_dirs
="'$as_qdir' $as_dirs"
11946 as_dir
=`$as_dirname -- "$as_dir" ||
11947 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11948 X"$as_dir" : 'X\(//\)[^/]' \| \
11949 X"$as_dir" : 'X\(//\)$' \| \
11950 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
11952 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11956 /^X\(\/\/\)[^/].*/{
11969 test -d "$as_dir" && break
11971 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
11972 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
11973 echo "$as_me: error: cannot create directory $as_dir" >&2;}
11974 { (exit 1); exit 1; }; }; }
11975 { as_dir
=libtomcrypt
/src
/modes
/f8
11977 -*) as_dir
=.
/$as_dir;;
11979 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
11983 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
11984 *) as_qdir
=$as_dir;;
11986 as_dirs
="'$as_qdir' $as_dirs"
11987 as_dir
=`$as_dirname -- "$as_dir" ||
11988 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11989 X"$as_dir" : 'X\(//\)[^/]' \| \
11990 X"$as_dir" : 'X\(//\)$' \| \
11991 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
11993 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11997 /^X\(\/\/\)[^/].*/{
12010 test -d "$as_dir" && break
12012 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
12013 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
12014 echo "$as_me: error: cannot create directory $as_dir" >&2;}
12015 { (exit 1); exit 1; }; }; }
12016 { as_dir
=libtomcrypt
/src
/modes
/lrw
12018 -*) as_dir
=.
/$as_dir;;
12020 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
12024 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
12025 *) as_qdir
=$as_dir;;
12027 as_dirs
="'$as_qdir' $as_dirs"
12028 as_dir
=`$as_dirname -- "$as_dir" ||
12029 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12030 X"$as_dir" : 'X\(//\)[^/]' \| \
12031 X"$as_dir" : 'X\(//\)$' \| \
12032 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12034 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12038 /^X\(\/\/\)[^/].*/{
12051 test -d "$as_dir" && break
12053 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
12054 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
12055 echo "$as_me: error: cannot create directory $as_dir" >&2;}
12056 { (exit 1); exit 1; }; }; }
12057 { as_dir
=libtomcrypt
/src
/pk
/asn
1/der
/bit
12059 -*) as_dir
=.
/$as_dir;;
12061 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
12065 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
12066 *) as_qdir
=$as_dir;;
12068 as_dirs
="'$as_qdir' $as_dirs"
12069 as_dir
=`$as_dirname -- "$as_dir" ||
12070 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12071 X"$as_dir" : 'X\(//\)[^/]' \| \
12072 X"$as_dir" : 'X\(//\)$' \| \
12073 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12075 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12079 /^X\(\/\/\)[^/].*/{
12092 test -d "$as_dir" && break
12094 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
12095 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
12096 echo "$as_me: error: cannot create directory $as_dir" >&2;}
12097 { (exit 1); exit 1; }; }; }
12098 { as_dir
=libtomcrypt
/src
/pk
/asn
1/der
/choice
12100 -*) as_dir
=.
/$as_dir;;
12102 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
12106 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
12107 *) as_qdir
=$as_dir;;
12109 as_dirs
="'$as_qdir' $as_dirs"
12110 as_dir
=`$as_dirname -- "$as_dir" ||
12111 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12112 X"$as_dir" : 'X\(//\)[^/]' \| \
12113 X"$as_dir" : 'X\(//\)$' \| \
12114 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12116 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12120 /^X\(\/\/\)[^/].*/{
12133 test -d "$as_dir" && break
12135 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
12136 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
12137 echo "$as_me: error: cannot create directory $as_dir" >&2;}
12138 { (exit 1); exit 1; }; }; }
12139 { as_dir
=libtomcrypt
/src
/pk
/asn
1/der
/ia5
12141 -*) as_dir
=.
/$as_dir;;
12143 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
12147 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
12148 *) as_qdir
=$as_dir;;
12150 as_dirs
="'$as_qdir' $as_dirs"
12151 as_dir
=`$as_dirname -- "$as_dir" ||
12152 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12153 X"$as_dir" : 'X\(//\)[^/]' \| \
12154 X"$as_dir" : 'X\(//\)$' \| \
12155 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12157 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12161 /^X\(\/\/\)[^/].*/{
12174 test -d "$as_dir" && break
12176 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
12177 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
12178 echo "$as_me: error: cannot create directory $as_dir" >&2;}
12179 { (exit 1); exit 1; }; }; }
12180 { as_dir
=libtomcrypt
/src
/pk
/asn
1/der
/integer
12182 -*) as_dir
=.
/$as_dir;;
12184 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
12188 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
12189 *) as_qdir
=$as_dir;;
12191 as_dirs
="'$as_qdir' $as_dirs"
12192 as_dir
=`$as_dirname -- "$as_dir" ||
12193 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12194 X"$as_dir" : 'X\(//\)[^/]' \| \
12195 X"$as_dir" : 'X\(//\)$' \| \
12196 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12198 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12202 /^X\(\/\/\)[^/].*/{
12215 test -d "$as_dir" && break
12217 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
12218 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
12219 echo "$as_me: error: cannot create directory $as_dir" >&2;}
12220 { (exit 1); exit 1; }; }; }
12221 { as_dir
=libtomcrypt
/src
/pk
/asn
1/der
/object_identifier
12223 -*) as_dir
=.
/$as_dir;;
12225 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
12229 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
12230 *) as_qdir
=$as_dir;;
12232 as_dirs
="'$as_qdir' $as_dirs"
12233 as_dir
=`$as_dirname -- "$as_dir" ||
12234 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12235 X"$as_dir" : 'X\(//\)[^/]' \| \
12236 X"$as_dir" : 'X\(//\)$' \| \
12237 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12239 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12243 /^X\(\/\/\)[^/].*/{
12256 test -d "$as_dir" && break
12258 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
12259 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
12260 echo "$as_me: error: cannot create directory $as_dir" >&2;}
12261 { (exit 1); exit 1; }; }; }
12262 { as_dir
=libtomcrypt
/src
/pk
/asn
1/der
/octet
12264 -*) as_dir
=.
/$as_dir;;
12266 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
12270 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
12271 *) as_qdir
=$as_dir;;
12273 as_dirs
="'$as_qdir' $as_dirs"
12274 as_dir
=`$as_dirname -- "$as_dir" ||
12275 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12276 X"$as_dir" : 'X\(//\)[^/]' \| \
12277 X"$as_dir" : 'X\(//\)$' \| \
12278 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12280 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12284 /^X\(\/\/\)[^/].*/{
12297 test -d "$as_dir" && break
12299 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
12300 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
12301 echo "$as_me: error: cannot create directory $as_dir" >&2;}
12302 { (exit 1); exit 1; }; }; }
12303 { as_dir
=libtomcrypt
/src
/pk
/asn
1/der
/printable_string
12305 -*) as_dir
=.
/$as_dir;;
12307 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
12311 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
12312 *) as_qdir
=$as_dir;;
12314 as_dirs
="'$as_qdir' $as_dirs"
12315 as_dir
=`$as_dirname -- "$as_dir" ||
12316 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12317 X"$as_dir" : 'X\(//\)[^/]' \| \
12318 X"$as_dir" : 'X\(//\)$' \| \
12319 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12321 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12325 /^X\(\/\/\)[^/].*/{
12338 test -d "$as_dir" && break
12340 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
12341 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
12342 echo "$as_me: error: cannot create directory $as_dir" >&2;}
12343 { (exit 1); exit 1; }; }; }
12344 { as_dir
=libtomcrypt
/src
/pk
/asn
1/der
/sequence
12346 -*) as_dir
=.
/$as_dir;;
12348 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
12352 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
12353 *) as_qdir
=$as_dir;;
12355 as_dirs
="'$as_qdir' $as_dirs"
12356 as_dir
=`$as_dirname -- "$as_dir" ||
12357 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12358 X"$as_dir" : 'X\(//\)[^/]' \| \
12359 X"$as_dir" : 'X\(//\)$' \| \
12360 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12362 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12366 /^X\(\/\/\)[^/].*/{
12379 test -d "$as_dir" && break
12381 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
12382 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
12383 echo "$as_me: error: cannot create directory $as_dir" >&2;}
12384 { (exit 1); exit 1; }; }; }
12385 { as_dir
=libtomcrypt
/src
/pk
/asn
1/der
/short_integer
12387 -*) as_dir
=.
/$as_dir;;
12389 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
12393 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
12394 *) as_qdir
=$as_dir;;
12396 as_dirs
="'$as_qdir' $as_dirs"
12397 as_dir
=`$as_dirname -- "$as_dir" ||
12398 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12399 X"$as_dir" : 'X\(//\)[^/]' \| \
12400 X"$as_dir" : 'X\(//\)$' \| \
12401 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12403 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12407 /^X\(\/\/\)[^/].*/{
12420 test -d "$as_dir" && break
12422 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
12423 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
12424 echo "$as_me: error: cannot create directory $as_dir" >&2;}
12425 { (exit 1); exit 1; }; }; }
12426 { as_dir
=libtomcrypt
/src
/pk
/asn
1/der
/utctime
12428 -*) as_dir
=.
/$as_dir;;
12430 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
12434 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
12435 *) as_qdir
=$as_dir;;
12437 as_dirs
="'$as_qdir' $as_dirs"
12438 as_dir
=`$as_dirname -- "$as_dir" ||
12439 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12440 X"$as_dir" : 'X\(//\)[^/]' \| \
12441 X"$as_dir" : 'X\(//\)$' \| \
12442 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12444 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12448 /^X\(\/\/\)[^/].*/{
12461 test -d "$as_dir" && break
12463 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
12464 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
12465 echo "$as_me: error: cannot create directory $as_dir" >&2;}
12466 { (exit 1); exit 1; }; }; }
12467 { as_dir
=libtomcrypt
/src
/pk
/dh
12469 -*) as_dir
=.
/$as_dir;;
12471 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
12475 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
12476 *) as_qdir
=$as_dir;;
12478 as_dirs
="'$as_qdir' $as_dirs"
12479 as_dir
=`$as_dirname -- "$as_dir" ||
12480 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12481 X"$as_dir" : 'X\(//\)[^/]' \| \
12482 X"$as_dir" : 'X\(//\)$' \| \
12483 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12485 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12489 /^X\(\/\/\)[^/].*/{
12502 test -d "$as_dir" && break
12504 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
12505 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
12506 echo "$as_me: error: cannot create directory $as_dir" >&2;}
12507 { (exit 1); exit 1; }; }; }
12508 { as_dir
=libtomcrypt
/src
/pk
/dsa
12510 -*) as_dir
=.
/$as_dir;;
12512 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
12516 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
12517 *) as_qdir
=$as_dir;;
12519 as_dirs
="'$as_qdir' $as_dirs"
12520 as_dir
=`$as_dirname -- "$as_dir" ||
12521 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12522 X"$as_dir" : 'X\(//\)[^/]' \| \
12523 X"$as_dir" : 'X\(//\)$' \| \
12524 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12526 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12530 /^X\(\/\/\)[^/].*/{
12543 test -d "$as_dir" && break
12545 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
12546 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
12547 echo "$as_me: error: cannot create directory $as_dir" >&2;}
12548 { (exit 1); exit 1; }; }; }
12549 { as_dir
=libtomcrypt
/src
/pk
/ecc
12551 -*) as_dir
=.
/$as_dir;;
12553 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
12557 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
12558 *) as_qdir
=$as_dir;;
12560 as_dirs
="'$as_qdir' $as_dirs"
12561 as_dir
=`$as_dirname -- "$as_dir" ||
12562 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12563 X"$as_dir" : 'X\(//\)[^/]' \| \
12564 X"$as_dir" : 'X\(//\)$' \| \
12565 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12567 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12571 /^X\(\/\/\)[^/].*/{
12584 test -d "$as_dir" && break
12586 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
12587 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
12588 echo "$as_me: error: cannot create directory $as_dir" >&2;}
12589 { (exit 1); exit 1; }; }; }
12590 { as_dir
=libtomcrypt
/src
/pk
/pkcs1
12592 -*) as_dir
=.
/$as_dir;;
12594 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
12598 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
12599 *) as_qdir
=$as_dir;;
12601 as_dirs
="'$as_qdir' $as_dirs"
12602 as_dir
=`$as_dirname -- "$as_dir" ||
12603 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12604 X"$as_dir" : 'X\(//\)[^/]' \| \
12605 X"$as_dir" : 'X\(//\)$' \| \
12606 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12608 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12612 /^X\(\/\/\)[^/].*/{
12625 test -d "$as_dir" && break
12627 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
12628 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
12629 echo "$as_me: error: cannot create directory $as_dir" >&2;}
12630 { (exit 1); exit 1; }; }; }
12631 { as_dir
=libtomcrypt
/src
/pk
/rsa
12633 -*) as_dir
=.
/$as_dir;;
12635 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
12639 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
12640 *) as_qdir
=$as_dir;;
12642 as_dirs
="'$as_qdir' $as_dirs"
12643 as_dir
=`$as_dirname -- "$as_dir" ||
12644 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12645 X"$as_dir" : 'X\(//\)[^/]' \| \
12646 X"$as_dir" : 'X\(//\)$' \| \
12647 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12649 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12653 /^X\(\/\/\)[^/].*/{
12666 test -d "$as_dir" && break
12668 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
12669 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
12670 echo "$as_me: error: cannot create directory $as_dir" >&2;}
12671 { (exit 1); exit 1; }; }; }
12672 { as_dir
=libtomcrypt
/src
/prng
12674 -*) as_dir
=.
/$as_dir;;
12676 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
12680 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
12681 *) as_qdir
=$as_dir;;
12683 as_dirs
="'$as_qdir' $as_dirs"
12684 as_dir
=`$as_dirname -- "$as_dir" ||
12685 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12686 X"$as_dir" : 'X\(//\)[^/]' \| \
12687 X"$as_dir" : 'X\(//\)$' \| \
12688 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12690 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12694 /^X\(\/\/\)[^/].*/{
12707 test -d "$as_dir" && break
12709 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
12710 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
12711 echo "$as_me: error: cannot create directory $as_dir" >&2;}
12712 { (exit 1); exit 1; }; }; }
12713 ac_config_headers
="$ac_config_headers config.h"
12715 ac_config_files
="$ac_config_files Makefile"
12717 cat >confcache
<<\_ACEOF
12718 # This file is a shell script that caches the results of configure
12719 # tests run on this system so they can be shared between configure
12720 # scripts and configure runs, see configure's option --config-cache.
12721 # It is not useful on other systems. If it contains results you don't
12722 # want to keep, you may remove or edit it.
12724 # config.status only pays attention to the cache file if you give it
12725 # the --recheck option to rerun configure.
12727 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12728 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12729 # following values.
12733 # The following way of writing the cache mishandles newlines in values,
12734 # but we know of no workaround that is simple, portable, and efficient.
12735 # So, we kill variables containing newlines.
12736 # Ultrix sh set writes to stderr and can't be redirected directly,
12737 # and sets the high bit in the cache file unless we assign to the vars.
12739 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12740 eval ac_val
=\$
$ac_var
12744 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
12745 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
12748 _ | IFS | as_nl
) ;; #(
12749 *) $as_unset $ac_var ;;
12755 case $as_nl`(ac_space=' '; set) 2>&1` in #(
12756 *${as_nl}ac_space
=\
*)
12757 # `set' does not quote correctly, so add quotes (double-quote
12758 # substitution turns \\\\ into \\, and sed turns \\ into \).
12761 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12764 # `set' quotes correctly as required by POSIX, so do not add quotes.
12765 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12774 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12776 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12778 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
12779 if test -w "$cache_file"; then
12780 test "x$cache_file" != "x/dev/null" &&
12781 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
12782 echo "$as_me: updating cache $cache_file" >&6;}
12783 cat confcache
>$cache_file
12785 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
12786 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12791 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
12792 # Let make expand exec_prefix.
12793 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
12795 DEFS
=-DHAVE_CONFIG_H
12799 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
12800 # 1. Remove the extension, and $U if already installed.
12801 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
12802 ac_i
=`echo "$ac_i" | sed "$ac_script"`
12803 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
12804 # will be set to the directory where LIBOBJS objects are built.
12805 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
12806 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
12808 LIBOBJS
=$ac_libobjs
12810 LTLIBOBJS
=$ac_ltlibobjs
12814 : ${CONFIG_STATUS=./config.status}
12815 ac_clean_files_save
=$ac_clean_files
12816 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
12817 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
12818 echo "$as_me: creating $CONFIG_STATUS" >&6;}
12819 cat >$CONFIG_STATUS <<_ACEOF
12821 # Generated by $as_me.
12822 # Run this file to recreate the current configuration.
12823 # Compiler output produced by configure, useful for debugging
12824 # configure, is in config.log if it exists.
12827 ac_cs_recheck=false
12829 SHELL=\${CONFIG_SHELL-$SHELL}
12832 cat >>$CONFIG_STATUS <<\_ACEOF
12833 ## --------------------- ##
12834 ## M4sh Initialization. ##
12835 ## --------------------- ##
12837 # Be more Bourne compatible
12838 DUALCASE
=1; export DUALCASE
# for MKS sh
12839 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
12842 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
12843 # is contrary to our usage. Disable this feature.
12844 alias -g '${1+"$@"}'='"$@"'
12845 setopt NO_GLOB_SUBST
12847 case `(set -o) 2>/dev/null` in
12848 *posix
*) set -o posix
;;
12857 # Avoid depending upon Character Ranges.
12858 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
12859 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
12860 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
12861 as_cr_digits
='0123456789'
12862 as_cr_alnum
=$as_cr_Letters$as_cr_digits
12864 # The user is always right.
12865 if test "${PATH_SEPARATOR+set}" != set; then
12866 echo "#! /bin/sh" >conf$$.sh
12867 echo "exit 0" >>conf$$.sh
12869 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
12877 # Support unset when possible.
12878 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
12886 # We need space, tab and new line, in precisely that order. Quoting is
12887 # there to prevent editors from complaining about space-tab.
12888 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
12889 # splitting by setting IFS to empty value.)
12894 # Find who we are. Look in the path if we contain no directory separator.
12896 *[\\/]* ) as_myself
=$0 ;;
12897 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12898 for as_dir
in $PATH
12901 test -z "$as_dir" && as_dir
=.
12902 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
12908 # We did not find ourselves, most probably we were run as `sh COMMAND'
12909 # in which case we are not to be found in the path.
12910 if test "x$as_myself" = x
; then
12913 if test ! -f "$as_myself"; then
12914 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
12915 { (exit 1); exit 1; }
12918 # Work around bugs in pre-3.0 UWIN ksh.
12919 for as_var
in ENV MAIL MAILPATH
12920 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
12928 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
12929 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
12930 LC_TELEPHONE LC_TIME
12932 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
12933 eval $as_var=C
; export $as_var
12935 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
12939 # Required to use basename.
12940 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
12941 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
12947 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
12948 as_basename
=basename
12954 # Name of the executable.
12955 as_me
=`$as_basename -- "$0" ||
12956 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
12957 X"$0" : 'X\(//\)$' \| \
12958 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
12960 sed '/^.*\/\([^/][^/]*\)\/*$/{
12979 as_lineno_1
=$LINENO
12980 as_lineno_2
=$LINENO
12981 test "x$as_lineno_1" != "x$as_lineno_2" &&
12982 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
12984 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
12985 # uniformly replaced by the line number. The first 'sed' inserts a
12986 # line-number line after each line using $LINENO; the second 'sed'
12987 # does the real work. The second script uses 'N' to pair each
12988 # line-number line with the line containing $LINENO, and appends
12989 # trailing '-' during substitution so that $LINENO is not a special
12990 # case at line end.
12991 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
12992 # scripts with optimization help from Paolo Bonzini. Blame Lee
12993 # E. McMahon (1931-1989) for sed's syntax. :-)
13005 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
13008 ' >$as_me.lineno
&&
13009 chmod +x
"$as_me.lineno" ||
13010 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
13011 { (exit 1); exit 1; }; }
13013 # Don't try to exec as it changes $[0], causing all sort of problems
13014 # (the dirname of $[0] is not the place where we might find the
13015 # original and so on. Autoconf is especially sensitive to this).
13016 .
"./$as_me.lineno"
13017 # Exit status is that of the last command.
13022 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
13028 ECHO_C
= ECHO_N
= ECHO_T
=
13029 case `echo -n x` in
13031 case `echo 'x\c'` in
13032 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
13039 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
13040 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
13046 rm -f conf$$ conf$$.exe conf$$.
file
13047 if test -d conf$$.dir
; then
13048 rm -f conf$$.dir
/conf$$.
file
13054 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
13056 # ... but there are two gotchas:
13057 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13058 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13059 # In both cases, we have to default to `cp -p'.
13060 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
13062 elif ln conf$$.
file conf$$
2>/dev
/null
; then
13067 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
13068 rmdir conf$$.dir
2>/dev
/null
13070 if mkdir
-p .
2>/dev
/null
; then
13073 test -d .
/-p && rmdir .
/-p
13077 if test -x / >/dev
/null
2>&1; then
13078 as_test_x
='test -x'
13080 if ls -dL / >/dev
/null
2>&1; then
13087 if test -d "$1"; then
13093 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
13094 ???[sx]*):;;*)false;;esac;fi
13098 as_executable_p
=$as_test_x
13100 # Sed expression to map a string onto a valid CPP name.
13101 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13103 # Sed expression to map a string onto a valid variable name.
13104 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13109 # Save the log message, to keep $[0] and so on meaningful, and to
13110 # report actual input values of CONFIG_FILES etc. instead of their
13111 # values after options handling.
13113 This file was extended by $as_me, which was
13114 generated by GNU Autoconf 2.61. Invocation command line was
13116 CONFIG_FILES = $CONFIG_FILES
13117 CONFIG_HEADERS = $CONFIG_HEADERS
13118 CONFIG_LINKS = $CONFIG_LINKS
13119 CONFIG_COMMANDS = $CONFIG_COMMANDS
13122 on `(hostname || uname -n) 2>/dev/null | sed 1q`
13127 cat >>$CONFIG_STATUS <<_ACEOF
13128 # Files that config.status was made for.
13129 config_files="$ac_config_files"
13130 config_headers="$ac_config_headers"
13134 cat >>$CONFIG_STATUS <<\_ACEOF
13136 \`$as_me' instantiates files from templates according to the
13137 current configuration.
13139 Usage: $0 [OPTIONS] [FILE]...
13141 -h, --help print this help, then exit
13142 -V, --version print version number and configuration settings, then exit
13143 -q, --quiet do not print progress messages
13144 -d, --debug don't remove temporary files
13145 --recheck update $as_me by reconfiguring in the same conditions
13146 --file=FILE[:TEMPLATE]
13147 instantiate the configuration file FILE
13148 --header=FILE[:TEMPLATE]
13149 instantiate the configuration header FILE
13151 Configuration files:
13154 Configuration headers:
13157 Report bugs to <bug-autoconf@gnu.org>."
13160 cat >>$CONFIG_STATUS <<_ACEOF
13163 configured by $0, generated by GNU Autoconf 2.61,
13164 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
13166 Copyright (C) 2006 Free Software Foundation, Inc.
13167 This config.status script is free software; the Free Software Foundation
13168 gives unlimited permission to copy, distribute and modify it."
13174 cat >>$CONFIG_STATUS <<\_ACEOF
13175 # If no file are specified by the user, then we need to provide default
13176 # value. By we need to know if files were specified by the user.
13182 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
13183 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
13194 # Handling of the options.
13195 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
13197 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
13198 echo "$ac_cs_version"; exit ;;
13199 --debug |
--debu |
--deb |
--de |
--d |
-d )
13201 --file |
--fil |
--fi |
--f )
13203 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
13204 ac_need_defaults
=false
;;
13205 --header |
--heade |
--head |
--hea )
13207 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
13208 ac_need_defaults
=false
;;
13210 # Conflict between --help and --header
13211 { echo "$as_me: error: ambiguous option: $1
13212 Try \`$0 --help' for more information." >&2
13213 { (exit 1); exit 1; }; };;
13214 --help |
--hel |
-h )
13215 echo "$ac_cs_usage"; exit ;;
13216 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
13217 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
13220 # This is an error.
13221 -*) { echo "$as_me: error: unrecognized option: $1
13222 Try \`$0 --help' for more information." >&2
13223 { (exit 1); exit 1; }; } ;;
13225 *) ac_config_targets
="$ac_config_targets $1"
13226 ac_need_defaults
=false
;;
13232 ac_configure_extra_args
=
13234 if $ac_cs_silent; then
13236 ac_configure_extra_args
="$ac_configure_extra_args --silent"
13240 cat >>$CONFIG_STATUS <<_ACEOF
13241 if \$ac_cs_recheck; then
13242 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
13243 CONFIG_SHELL=$SHELL
13244 export CONFIG_SHELL
13245 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13249 cat >>$CONFIG_STATUS <<\_ACEOF
13253 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13254 ## Running $as_me. ##
13260 cat >>$CONFIG_STATUS <<_ACEOF
13263 cat >>$CONFIG_STATUS <<\_ACEOF
13265 # Handling of arguments.
13266 for ac_config_target
in $ac_config_targets
13268 case $ac_config_target in
13269 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
13270 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
13272 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
13273 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
13274 { (exit 1); exit 1; }; };;
13279 # If the user did not use the arguments to specify the items to instantiate,
13280 # then the envvar interface is used. Set only those that are not.
13281 # We use the long form for the default assignment because of an extremely
13282 # bizarre bug on SunOS 4.1.3.
13283 if $ac_need_defaults; then
13284 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
13285 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
13288 # Have a temporary directory for convenience. Make it in the build tree
13289 # simply because there is no reason against having it here, and in addition,
13290 # creating and moving files from /tmp can sometimes cause problems.
13291 # Hook for its removal unless debugging.
13292 # Note that there is a small window in which the directory will not be cleaned:
13293 # after its creation but before its name has been assigned to `$tmp'.
13297 trap 'exit_status=$?
13298 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
13300 trap '{ (exit 1); exit 1; }' 1 2 13 15
13302 # Create a (secure) tmp directory for tmp files.
13305 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
13306 test -n "$tmp" && test -d "$tmp"
13309 tmp
=.
/conf$$
-$RANDOM
13310 (umask 077 && mkdir
"$tmp")
13313 echo "$me: cannot create a temporary directory in ." >&2
13314 { (exit 1); exit 1; }
13318 # Set up the sed scripts for CONFIG_FILES section.
13321 # No need to generate the scripts if there are no CONFIG_FILES.
13322 # This happens for instance when ./config.status config.h
13323 if test -n "$CONFIG_FILES"; then
13330 for ac_last_try
in false false false false false
:; do
13331 cat >conf$
$subs.
sed <<_ACEOF
13332 SHELL!$SHELL$ac_delim
13333 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
13334 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
13335 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
13336 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
13337 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
13338 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
13339 exec_prefix!$exec_prefix$ac_delim
13340 prefix!$prefix$ac_delim
13341 program_transform_name!$program_transform_name$ac_delim
13342 bindir!$bindir$ac_delim
13343 sbindir!$sbindir$ac_delim
13344 libexecdir!$libexecdir$ac_delim
13345 datarootdir!$datarootdir$ac_delim
13346 datadir!$datadir$ac_delim
13347 sysconfdir!$sysconfdir$ac_delim
13348 sharedstatedir!$sharedstatedir$ac_delim
13349 localstatedir!$localstatedir$ac_delim
13350 includedir!$includedir$ac_delim
13351 oldincludedir!$oldincludedir$ac_delim
13352 docdir!$docdir$ac_delim
13353 infodir!$infodir$ac_delim
13354 htmldir!$htmldir$ac_delim
13355 dvidir!$dvidir$ac_delim
13356 pdfdir!$pdfdir$ac_delim
13357 psdir!$psdir$ac_delim
13358 libdir!$libdir$ac_delim
13359 localedir!$localedir$ac_delim
13360 mandir!$mandir$ac_delim
13361 DEFS!$DEFS$ac_delim
13362 ECHO_C!$ECHO_C$ac_delim
13363 ECHO_N!$ECHO_N$ac_delim
13364 ECHO_T!$ECHO_T$ac_delim
13365 LIBS!$LIBS$ac_delim
13366 build_alias!$build_alias$ac_delim
13367 host_alias!$host_alias$ac_delim
13368 target_alias!$target_alias$ac_delim
13370 CFLAGS!$CFLAGS$ac_delim
13371 LDFLAGS!$LDFLAGS$ac_delim
13372 CPPFLAGS!$CPPFLAGS$ac_delim
13373 ac_ct_CC!$ac_ct_CC$ac_delim
13374 EXEEXT!$EXEEXT$ac_delim
13375 OBJEXT!$OBJEXT$ac_delim
13376 SET_MAKE!$SET_MAKE$ac_delim
13378 build!$build$ac_delim
13379 build_cpu!$build_cpu$ac_delim
13380 build_vendor!$build_vendor$ac_delim
13381 build_os!$build_os$ac_delim
13382 host!$host$ac_delim
13383 host_cpu!$host_cpu$ac_delim
13384 host_vendor!$host_vendor$ac_delim
13385 host_os!$host_os$ac_delim
13387 RANLIB!$RANLIB$ac_delim
13388 STRIP!$STRIP$ac_delim
13389 INSTALL!$INSTALL$ac_delim
13391 GREP!$GREP$ac_delim
13392 EGREP!$EGREP$ac_delim
13393 LIBOBJS!$LIBOBJS$ac_delim
13394 LTLIBOBJS!$LTLIBOBJS$ac_delim
13397 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 63; then
13399 elif $ac_last_try; then
13400 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
13401 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
13402 { (exit 1); exit 1; }; }
13404 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
13408 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
13409 if test -n "$ac_eof"; then
13410 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
13411 ac_eof
=`expr $ac_eof + 1`
13414 cat >>$CONFIG_STATUS <<_ACEOF
13415 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
13416 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
13419 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
13420 s/^/s,@/; s/!/@,|#_!!_#|/
13423 s/'"$ac_delim"'$/,g/; t
13425 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
13426 ' >>$CONFIG_STATUS <conf$
$subs.
sed
13427 rm -f conf$
$subs.
sed
13428 cat >>$CONFIG_STATUS <<_ACEOF
13435 # VPATH may cause trouble with some makes, so we remove $(srcdir),
13436 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
13437 # trailing colons and then remove the whole line if VPATH becomes empty
13438 # (actually we leave an empty line to preserve line numbers).
13439 if test "x$srcdir" = x.
; then
13440 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
13441 s/:*\$(srcdir):*/:/
13442 s/:*\${srcdir}:*/:/
13444 s/^\([^=]*=[ ]*\):*/\1/
13450 cat >>$CONFIG_STATUS <<\_ACEOF
13451 fi # test -n "$CONFIG_FILES"
13454 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS
13457 :[FHLC
]) ac_mode
=$ac_tag; continue;;
13459 case $ac_mode$ac_tag in
13461 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
13462 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
13463 { (exit 1); exit 1; }; };;
13464 :[FH
]-) ac_tag
=-:-;;
13465 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
13482 -) ac_f
="$tmp/stdin";;
13483 *) # Look for the file first in the build tree, then in the source tree
13484 # (if the path is not absolute). The absolute path cannot be DOS-style,
13485 # because $ac_f cannot contain `:'.
13489 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
13491 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
13492 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
13493 { (exit 1); exit 1; }; };;
13495 ac_file_inputs
="$ac_file_inputs $ac_f"
13498 # Let's still pretend it is `configure' which instantiates (i.e., don't
13499 # use $as_me), people would be surprised to read:
13500 # /* config.h. Generated by config.status. */
13501 configure_input
="Generated from "`IFS=:
13502 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
13503 if test x
"$ac_file" != x-
; then
13504 configure_input
="$ac_file. $configure_input"
13505 { echo "$as_me:$LINENO: creating $ac_file" >&5
13506 echo "$as_me: creating $ac_file" >&6;}
13510 *:-:* |
*:-) cat >"$tmp/stdin";;
13515 ac_dir
=`$as_dirname -- "$ac_file" ||
13516 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13517 X"$ac_file" : 'X\(//\)[^/]' \| \
13518 X"$ac_file" : 'X\(//\)$' \| \
13519 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
13521 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13525 /^X\(\/\/\)[^/].*/{
13540 -*) as_dir
=.
/$as_dir;;
13542 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
13546 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
13547 *) as_qdir
=$as_dir;;
13549 as_dirs
="'$as_qdir' $as_dirs"
13550 as_dir
=`$as_dirname -- "$as_dir" ||
13551 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13552 X"$as_dir" : 'X\(//\)[^/]' \| \
13553 X"$as_dir" : 'X\(//\)$' \| \
13554 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13556 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13560 /^X\(\/\/\)[^/].*/{
13573 test -d "$as_dir" && break
13575 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
13576 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
13577 echo "$as_me: error: cannot create directory $as_dir" >&2;}
13578 { (exit 1); exit 1; }; }; }
13582 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
13584 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
13585 # A ".." for each directory in $ac_dir_suffix.
13586 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
13587 case $ac_top_builddir_sub in
13588 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
13589 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
13592 ac_abs_top_builddir
=$ac_pwd
13593 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
13594 # for backward compatibility:
13595 ac_top_builddir
=$ac_top_build_prefix
13598 .
) # We are building in place.
13600 ac_top_srcdir
=$ac_top_builddir_sub
13601 ac_abs_top_srcdir
=$ac_pwd ;;
13602 [\\/]* | ?
:[\\/]* ) # Absolute name.
13603 ac_srcdir
=$srcdir$ac_dir_suffix;
13604 ac_top_srcdir
=$srcdir
13605 ac_abs_top_srcdir
=$srcdir ;;
13606 *) # Relative name.
13607 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
13608 ac_top_srcdir
=$ac_top_build_prefix$srcdir
13609 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
13611 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
13622 cat >>$CONFIG_STATUS <<\_ACEOF
13623 # If the template does not know about datarootdir, expand it.
13624 # FIXME: This hack should be removed a few years after 2.60.
13625 ac_datarootdir_hack
=; ac_datarootdir_seen
=
13627 case `sed -n '/datarootdir/ {
13636 ' $ac_file_inputs` in
13637 *datarootdir
*) ac_datarootdir_seen
=yes;;
13638 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
13639 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
13640 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
13642 cat >>$CONFIG_STATUS <<_ACEOF
13643 ac_datarootdir_hack='
13644 s&@datadir@&$datadir&g
13645 s&@docdir@&$docdir&g
13646 s&@infodir@&$infodir&g
13647 s&@localedir@&$localedir&g
13648 s&@mandir@&$mandir&g
13649 s&\\\${datarootdir}&$datarootdir&g' ;;
13653 # Neutralize VPATH when `$srcdir' = `.'.
13654 # Shell code in configure.ac might set extrasub.
13655 # FIXME: do we really want to maintain this feature?
13656 cat >>$CONFIG_STATUS <<_ACEOF
13660 cat >>$CONFIG_STATUS <<\_ACEOF
13662 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
13663 s
&@configure_input@
&$configure_input&;t t
13664 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
13665 s
&@srcdir@
&$ac_srcdir&;t t
13666 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
13667 s
&@top_srcdir@
&$ac_top_srcdir&;t t
13668 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
13669 s
&@builddir@
&$ac_builddir&;t t
13670 s
&@abs_builddir@
&$ac_abs_builddir&;t t
13671 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
13672 $ac_datarootdir_hack
13673 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" >$tmp/out
13675 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
13676 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
13677 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
13678 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
13679 which seems to be undefined. Please make sure it is defined." >&5
13680 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
13681 which seems to be undefined. Please make sure it is defined." >&2;}
13685 -) cat "$tmp/out"; rm -f "$tmp/out";;
13686 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
13695 # Transform confdefs.h into a sed script `conftest.defines', that
13696 # substitutes the proper values into config.h.in to produce config.h.
13697 rm -f conftest.defines conftest.
tail
13698 # First, append a space to every undef/define line, to ease matching.
13699 echo 's/$/ /' >conftest.defines
13700 # Then, protect against being on the right side of a sed subst, or in
13701 # an unquoted here document, in config.status. If some macros were
13702 # called several times there might be several #defines for the same
13703 # symbol, which is useless. But do not sort them, since the last
13704 # AC_DEFINE must be honored.
13705 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
13706 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
13707 # NAME is the cpp macro being defined, VALUE is the value it is being given.
13708 # PARAMS is the parameter list in the macro definition--in most cases, it's
13709 # just an empty string.
13710 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
13711 ac_dB
='\\)[ (].*,\\1define\\2'
13719 s/^[ ]*#[ ]*define[ ][ ]*//
13724 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
13725 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
13726 ' >>conftest.defines
13728 # Remove the space that was appended to ease matching.
13729 # Then replace #undef with comments. This is necessary, for
13730 # example, in the case of _POSIX_SOURCE, which is predefined and required
13731 # on some systems where configure will not decide to define it.
13732 # (The regexp can be short, since the line contains either #define or #undef.)
13734 s,^[ #]*u.*,/* & */,' >>conftest.defines
13736 # Break up conftest.defines:
13737 ac_max_sed_lines
=50
13739 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
13740 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
13741 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
13743 ac_in
='$ac_file_inputs'
13744 ac_out
='"$tmp/out1"'
13745 ac_nxt
='"$tmp/out2"'
13749 # Write a here document:
13750 cat >>$CONFIG_STATUS <<_ACEOF
13751 # First, check the format of the line:
13752 cat >"\$tmp/defines.sed" <<\\CEOF
13753 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
13754 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
13758 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
13760 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
13761 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
13762 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
13763 grep . conftest.
tail >/dev
/null ||
break
13764 rm -f conftest.defines
13765 mv conftest.
tail conftest.defines
13767 rm -f conftest.defines conftest.
tail
13769 echo "ac_result=$ac_in" >>$CONFIG_STATUS
13770 cat >>$CONFIG_STATUS <<\_ACEOF
13771 if test x
"$ac_file" != x-
; then
13772 echo "/* $configure_input */" >"$tmp/config.h"
13773 cat "$ac_result" >>"$tmp/config.h"
13774 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
13775 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
13776 echo "$as_me: $ac_file is unchanged" >&6;}
13779 mv "$tmp/config.h" $ac_file
13782 echo "/* $configure_input */"
13794 { (exit 0); exit 0; }
13796 chmod +x
$CONFIG_STATUS
13797 ac_clean_files
=$ac_clean_files_save
13800 # configure is writing to config.log, and then calls config.status.
13801 # config.status does its own redirection, appending to config.log.
13802 # Unfortunately, on DOS this fails, as config.log is still kept open
13803 # by configure, so config.status won't be able to write to it; its
13804 # output is simply discarded. So we exec the FD to /dev/null,
13805 # effectively closing config.log, so it can be properly (re)opened and
13806 # appended to by config.status. When coming back to configure, we
13807 # need to make the FD available again.
13808 if test "$no_create" != yes; then
13810 ac_config_status_args
=
13811 test "$silent" = yes &&
13812 ac_config_status_args
="$ac_config_status_args --quiet"
13814 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
13816 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
13817 # would make configure fail if this is the last instruction.
13818 $ac_cs_success ||
{ (exit 1); exit 1; }
13821 ac_config_files
="$ac_config_files libtomcrypt/Makefile"
13823 cat >confcache
<<\_ACEOF
13824 # This file is a shell script that caches the results of configure
13825 # tests run on this system so they can be shared between configure
13826 # scripts and configure runs, see configure's option --config-cache.
13827 # It is not useful on other systems. If it contains results you don't
13828 # want to keep, you may remove or edit it.
13830 # config.status only pays attention to the cache file if you give it
13831 # the --recheck option to rerun configure.
13833 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13834 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13835 # following values.
13839 # The following way of writing the cache mishandles newlines in values,
13840 # but we know of no workaround that is simple, portable, and efficient.
13841 # So, we kill variables containing newlines.
13842 # Ultrix sh set writes to stderr and can't be redirected directly,
13843 # and sets the high bit in the cache file unless we assign to the vars.
13845 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13846 eval ac_val
=\$
$ac_var
13850 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
13851 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
13854 _ | IFS | as_nl
) ;; #(
13855 *) $as_unset $ac_var ;;
13861 case $as_nl`(ac_space=' '; set) 2>&1` in #(
13862 *${as_nl}ac_space
=\
*)
13863 # `set' does not quote correctly, so add quotes (double-quote
13864 # substitution turns \\\\ into \\, and sed turns \\ into \).
13867 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13870 # `set' quotes correctly as required by POSIX, so do not add quotes.
13871 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13880 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13882 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13884 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
13885 if test -w "$cache_file"; then
13886 test "x$cache_file" != "x/dev/null" &&
13887 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
13888 echo "$as_me: updating cache $cache_file" >&6;}
13889 cat confcache
>$cache_file
13891 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
13892 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13897 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
13898 # Let make expand exec_prefix.
13899 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
13901 DEFS
=-DHAVE_CONFIG_H
13905 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
13906 # 1. Remove the extension, and $U if already installed.
13907 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
13908 ac_i
=`echo "$ac_i" | sed "$ac_script"`
13909 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
13910 # will be set to the directory where LIBOBJS objects are built.
13911 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
13912 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
13914 LIBOBJS
=$ac_libobjs
13916 LTLIBOBJS
=$ac_ltlibobjs
13920 : ${CONFIG_STATUS=./config.status}
13921 ac_clean_files_save
=$ac_clean_files
13922 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
13923 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
13924 echo "$as_me: creating $CONFIG_STATUS" >&6;}
13925 cat >$CONFIG_STATUS <<_ACEOF
13927 # Generated by $as_me.
13928 # Run this file to recreate the current configuration.
13929 # Compiler output produced by configure, useful for debugging
13930 # configure, is in config.log if it exists.
13933 ac_cs_recheck=false
13935 SHELL=\${CONFIG_SHELL-$SHELL}
13938 cat >>$CONFIG_STATUS <<\_ACEOF
13939 ## --------------------- ##
13940 ## M4sh Initialization. ##
13941 ## --------------------- ##
13943 # Be more Bourne compatible
13944 DUALCASE
=1; export DUALCASE
# for MKS sh
13945 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
13948 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
13949 # is contrary to our usage. Disable this feature.
13950 alias -g '${1+"$@"}'='"$@"'
13951 setopt NO_GLOB_SUBST
13953 case `(set -o) 2>/dev/null` in
13954 *posix
*) set -o posix
;;
13963 # Avoid depending upon Character Ranges.
13964 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
13965 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13966 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
13967 as_cr_digits
='0123456789'
13968 as_cr_alnum
=$as_cr_Letters$as_cr_digits
13970 # The user is always right.
13971 if test "${PATH_SEPARATOR+set}" != set; then
13972 echo "#! /bin/sh" >conf$$.sh
13973 echo "exit 0" >>conf$$.sh
13975 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
13983 # Support unset when possible.
13984 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
13992 # We need space, tab and new line, in precisely that order. Quoting is
13993 # there to prevent editors from complaining about space-tab.
13994 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
13995 # splitting by setting IFS to empty value.)
14000 # Find who we are. Look in the path if we contain no directory separator.
14002 *[\\/]* ) as_myself
=$0 ;;
14003 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14004 for as_dir
in $PATH
14007 test -z "$as_dir" && as_dir
=.
14008 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
14014 # We did not find ourselves, most probably we were run as `sh COMMAND'
14015 # in which case we are not to be found in the path.
14016 if test "x$as_myself" = x
; then
14019 if test ! -f "$as_myself"; then
14020 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14021 { (exit 1); exit 1; }
14024 # Work around bugs in pre-3.0 UWIN ksh.
14025 for as_var
in ENV MAIL MAILPATH
14026 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
14034 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
14035 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
14036 LC_TELEPHONE LC_TIME
14038 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
14039 eval $as_var=C
; export $as_var
14041 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
14045 # Required to use basename.
14046 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
14047 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
14053 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
14054 as_basename
=basename
14060 # Name of the executable.
14061 as_me
=`$as_basename -- "$0" ||
14062 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14063 X"$0" : 'X\(//\)$' \| \
14064 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14066 sed '/^.*\/\([^/][^/]*\)\/*$/{
14085 as_lineno_1
=$LINENO
14086 as_lineno_2
=$LINENO
14087 test "x$as_lineno_1" != "x$as_lineno_2" &&
14088 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
14090 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
14091 # uniformly replaced by the line number. The first 'sed' inserts a
14092 # line-number line after each line using $LINENO; the second 'sed'
14093 # does the real work. The second script uses 'N' to pair each
14094 # line-number line with the line containing $LINENO, and appends
14095 # trailing '-' during substitution so that $LINENO is not a special
14096 # case at line end.
14097 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
14098 # scripts with optimization help from Paolo Bonzini. Blame Lee
14099 # E. McMahon (1931-1989) for sed's syntax. :-)
14111 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
14114 ' >$as_me.lineno
&&
14115 chmod +x
"$as_me.lineno" ||
14116 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
14117 { (exit 1); exit 1; }; }
14119 # Don't try to exec as it changes $[0], causing all sort of problems
14120 # (the dirname of $[0] is not the place where we might find the
14121 # original and so on. Autoconf is especially sensitive to this).
14122 .
"./$as_me.lineno"
14123 # Exit status is that of the last command.
14128 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
14134 ECHO_C
= ECHO_N
= ECHO_T
=
14135 case `echo -n x` in
14137 case `echo 'x\c'` in
14138 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
14145 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
14146 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
14152 rm -f conf$$ conf$$.exe conf$$.
file
14153 if test -d conf$$.dir
; then
14154 rm -f conf$$.dir
/conf$$.
file
14160 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
14162 # ... but there are two gotchas:
14163 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14164 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14165 # In both cases, we have to default to `cp -p'.
14166 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
14168 elif ln conf$$.
file conf$$
2>/dev
/null
; then
14173 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
14174 rmdir conf$$.dir
2>/dev
/null
14176 if mkdir
-p .
2>/dev
/null
; then
14179 test -d .
/-p && rmdir .
/-p
14183 if test -x / >/dev
/null
2>&1; then
14184 as_test_x
='test -x'
14186 if ls -dL / >/dev
/null
2>&1; then
14193 if test -d "$1"; then
14199 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
14200 ???[sx]*):;;*)false;;esac;fi
14204 as_executable_p
=$as_test_x
14206 # Sed expression to map a string onto a valid CPP name.
14207 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
14209 # Sed expression to map a string onto a valid variable name.
14210 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
14215 # Save the log message, to keep $[0] and so on meaningful, and to
14216 # report actual input values of CONFIG_FILES etc. instead of their
14217 # values after options handling.
14219 This file was extended by $as_me, which was
14220 generated by GNU Autoconf 2.61. Invocation command line was
14222 CONFIG_FILES = $CONFIG_FILES
14223 CONFIG_HEADERS = $CONFIG_HEADERS
14224 CONFIG_LINKS = $CONFIG_LINKS
14225 CONFIG_COMMANDS = $CONFIG_COMMANDS
14228 on `(hostname || uname -n) 2>/dev/null | sed 1q`
14233 cat >>$CONFIG_STATUS <<_ACEOF
14234 # Files that config.status was made for.
14235 config_files="$ac_config_files"
14236 config_headers="$ac_config_headers"
14240 cat >>$CONFIG_STATUS <<\_ACEOF
14242 \`$as_me' instantiates files from templates according to the
14243 current configuration.
14245 Usage: $0 [OPTIONS] [FILE]...
14247 -h, --help print this help, then exit
14248 -V, --version print version number and configuration settings, then exit
14249 -q, --quiet do not print progress messages
14250 -d, --debug don't remove temporary files
14251 --recheck update $as_me by reconfiguring in the same conditions
14252 --file=FILE[:TEMPLATE]
14253 instantiate the configuration file FILE
14254 --header=FILE[:TEMPLATE]
14255 instantiate the configuration header FILE
14257 Configuration files:
14260 Configuration headers:
14263 Report bugs to <bug-autoconf@gnu.org>."
14266 cat >>$CONFIG_STATUS <<_ACEOF
14269 configured by $0, generated by GNU Autoconf 2.61,
14270 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
14272 Copyright (C) 2006 Free Software Foundation, Inc.
14273 This config.status script is free software; the Free Software Foundation
14274 gives unlimited permission to copy, distribute and modify it."
14280 cat >>$CONFIG_STATUS <<\_ACEOF
14281 # If no file are specified by the user, then we need to provide default
14282 # value. By we need to know if files were specified by the user.
14288 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
14289 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
14300 # Handling of the options.
14301 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
14303 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
14304 echo "$ac_cs_version"; exit ;;
14305 --debug |
--debu |
--deb |
--de |
--d |
-d )
14307 --file |
--fil |
--fi |
--f )
14309 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
14310 ac_need_defaults
=false
;;
14311 --header |
--heade |
--head |
--hea )
14313 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
14314 ac_need_defaults
=false
;;
14316 # Conflict between --help and --header
14317 { echo "$as_me: error: ambiguous option: $1
14318 Try \`$0 --help' for more information." >&2
14319 { (exit 1); exit 1; }; };;
14320 --help |
--hel |
-h )
14321 echo "$ac_cs_usage"; exit ;;
14322 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
14323 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
14326 # This is an error.
14327 -*) { echo "$as_me: error: unrecognized option: $1
14328 Try \`$0 --help' for more information." >&2
14329 { (exit 1); exit 1; }; } ;;
14331 *) ac_config_targets
="$ac_config_targets $1"
14332 ac_need_defaults
=false
;;
14338 ac_configure_extra_args
=
14340 if $ac_cs_silent; then
14342 ac_configure_extra_args
="$ac_configure_extra_args --silent"
14346 cat >>$CONFIG_STATUS <<_ACEOF
14347 if \$ac_cs_recheck; then
14348 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
14349 CONFIG_SHELL=$SHELL
14350 export CONFIG_SHELL
14351 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
14355 cat >>$CONFIG_STATUS <<\_ACEOF
14359 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
14360 ## Running $as_me. ##
14366 cat >>$CONFIG_STATUS <<_ACEOF
14369 cat >>$CONFIG_STATUS <<\_ACEOF
14371 # Handling of arguments.
14372 for ac_config_target
in $ac_config_targets
14374 case $ac_config_target in
14375 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
14376 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
14377 "libtomcrypt/Makefile") CONFIG_FILES
="$CONFIG_FILES libtomcrypt/Makefile" ;;
14379 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
14380 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
14381 { (exit 1); exit 1; }; };;
14386 # If the user did not use the arguments to specify the items to instantiate,
14387 # then the envvar interface is used. Set only those that are not.
14388 # We use the long form for the default assignment because of an extremely
14389 # bizarre bug on SunOS 4.1.3.
14390 if $ac_need_defaults; then
14391 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
14392 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
14395 # Have a temporary directory for convenience. Make it in the build tree
14396 # simply because there is no reason against having it here, and in addition,
14397 # creating and moving files from /tmp can sometimes cause problems.
14398 # Hook for its removal unless debugging.
14399 # Note that there is a small window in which the directory will not be cleaned:
14400 # after its creation but before its name has been assigned to `$tmp'.
14404 trap 'exit_status=$?
14405 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
14407 trap '{ (exit 1); exit 1; }' 1 2 13 15
14409 # Create a (secure) tmp directory for tmp files.
14412 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
14413 test -n "$tmp" && test -d "$tmp"
14416 tmp
=.
/conf$$
-$RANDOM
14417 (umask 077 && mkdir
"$tmp")
14420 echo "$me: cannot create a temporary directory in ." >&2
14421 { (exit 1); exit 1; }
14425 # Set up the sed scripts for CONFIG_FILES section.
14428 # No need to generate the scripts if there are no CONFIG_FILES.
14429 # This happens for instance when ./config.status config.h
14430 if test -n "$CONFIG_FILES"; then
14437 for ac_last_try
in false false false false false
:; do
14438 cat >conf$
$subs.
sed <<_ACEOF
14439 SHELL!$SHELL$ac_delim
14440 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
14441 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
14442 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
14443 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
14444 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
14445 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
14446 exec_prefix!$exec_prefix$ac_delim
14447 prefix!$prefix$ac_delim
14448 program_transform_name!$program_transform_name$ac_delim
14449 bindir!$bindir$ac_delim
14450 sbindir!$sbindir$ac_delim
14451 libexecdir!$libexecdir$ac_delim
14452 datarootdir!$datarootdir$ac_delim
14453 datadir!$datadir$ac_delim
14454 sysconfdir!$sysconfdir$ac_delim
14455 sharedstatedir!$sharedstatedir$ac_delim
14456 localstatedir!$localstatedir$ac_delim
14457 includedir!$includedir$ac_delim
14458 oldincludedir!$oldincludedir$ac_delim
14459 docdir!$docdir$ac_delim
14460 infodir!$infodir$ac_delim
14461 htmldir!$htmldir$ac_delim
14462 dvidir!$dvidir$ac_delim
14463 pdfdir!$pdfdir$ac_delim
14464 psdir!$psdir$ac_delim
14465 libdir!$libdir$ac_delim
14466 localedir!$localedir$ac_delim
14467 mandir!$mandir$ac_delim
14468 DEFS!$DEFS$ac_delim
14469 ECHO_C!$ECHO_C$ac_delim
14470 ECHO_N!$ECHO_N$ac_delim
14471 ECHO_T!$ECHO_T$ac_delim
14472 LIBS!$LIBS$ac_delim
14473 build_alias!$build_alias$ac_delim
14474 host_alias!$host_alias$ac_delim
14475 target_alias!$target_alias$ac_delim
14477 CFLAGS!$CFLAGS$ac_delim
14478 LDFLAGS!$LDFLAGS$ac_delim
14479 CPPFLAGS!$CPPFLAGS$ac_delim
14480 ac_ct_CC!$ac_ct_CC$ac_delim
14481 EXEEXT!$EXEEXT$ac_delim
14482 OBJEXT!$OBJEXT$ac_delim
14483 SET_MAKE!$SET_MAKE$ac_delim
14485 build!$build$ac_delim
14486 build_cpu!$build_cpu$ac_delim
14487 build_vendor!$build_vendor$ac_delim
14488 build_os!$build_os$ac_delim
14489 host!$host$ac_delim
14490 host_cpu!$host_cpu$ac_delim
14491 host_vendor!$host_vendor$ac_delim
14492 host_os!$host_os$ac_delim
14494 RANLIB!$RANLIB$ac_delim
14495 STRIP!$STRIP$ac_delim
14496 INSTALL!$INSTALL$ac_delim
14498 GREP!$GREP$ac_delim
14499 EGREP!$EGREP$ac_delim
14500 LIBOBJS!$LIBOBJS$ac_delim
14501 LTLIBOBJS!$LTLIBOBJS$ac_delim
14504 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 63; then
14506 elif $ac_last_try; then
14507 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
14508 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
14509 { (exit 1); exit 1; }; }
14511 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
14515 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
14516 if test -n "$ac_eof"; then
14517 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
14518 ac_eof
=`expr $ac_eof + 1`
14521 cat >>$CONFIG_STATUS <<_ACEOF
14522 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
14523 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
14526 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
14527 s/^/s,@/; s/!/@,|#_!!_#|/
14530 s/'"$ac_delim"'$/,g/; t
14532 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
14533 ' >>$CONFIG_STATUS <conf$
$subs.
sed
14534 rm -f conf$
$subs.
sed
14535 cat >>$CONFIG_STATUS <<_ACEOF
14542 # VPATH may cause trouble with some makes, so we remove $(srcdir),
14543 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
14544 # trailing colons and then remove the whole line if VPATH becomes empty
14545 # (actually we leave an empty line to preserve line numbers).
14546 if test "x$srcdir" = x.
; then
14547 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
14548 s/:*\$(srcdir):*/:/
14549 s/:*\${srcdir}:*/:/
14551 s/^\([^=]*=[ ]*\):*/\1/
14557 cat >>$CONFIG_STATUS <<\_ACEOF
14558 fi # test -n "$CONFIG_FILES"
14561 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS
14564 :[FHLC
]) ac_mode
=$ac_tag; continue;;
14566 case $ac_mode$ac_tag in
14568 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
14569 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
14570 { (exit 1); exit 1; }; };;
14571 :[FH
]-) ac_tag
=-:-;;
14572 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
14589 -) ac_f
="$tmp/stdin";;
14590 *) # Look for the file first in the build tree, then in the source tree
14591 # (if the path is not absolute). The absolute path cannot be DOS-style,
14592 # because $ac_f cannot contain `:'.
14596 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
14598 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
14599 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
14600 { (exit 1); exit 1; }; };;
14602 ac_file_inputs
="$ac_file_inputs $ac_f"
14605 # Let's still pretend it is `configure' which instantiates (i.e., don't
14606 # use $as_me), people would be surprised to read:
14607 # /* config.h. Generated by config.status. */
14608 configure_input
="Generated from "`IFS=:
14609 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
14610 if test x
"$ac_file" != x-
; then
14611 configure_input
="$ac_file. $configure_input"
14612 { echo "$as_me:$LINENO: creating $ac_file" >&5
14613 echo "$as_me: creating $ac_file" >&6;}
14617 *:-:* |
*:-) cat >"$tmp/stdin";;
14622 ac_dir
=`$as_dirname -- "$ac_file" ||
14623 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14624 X"$ac_file" : 'X\(//\)[^/]' \| \
14625 X"$ac_file" : 'X\(//\)$' \| \
14626 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
14628 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14632 /^X\(\/\/\)[^/].*/{
14647 -*) as_dir
=.
/$as_dir;;
14649 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
14653 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
14654 *) as_qdir
=$as_dir;;
14656 as_dirs
="'$as_qdir' $as_dirs"
14657 as_dir
=`$as_dirname -- "$as_dir" ||
14658 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14659 X"$as_dir" : 'X\(//\)[^/]' \| \
14660 X"$as_dir" : 'X\(//\)$' \| \
14661 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14663 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14667 /^X\(\/\/\)[^/].*/{
14680 test -d "$as_dir" && break
14682 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
14683 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
14684 echo "$as_me: error: cannot create directory $as_dir" >&2;}
14685 { (exit 1); exit 1; }; }; }
14689 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
14691 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
14692 # A ".." for each directory in $ac_dir_suffix.
14693 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
14694 case $ac_top_builddir_sub in
14695 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
14696 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
14699 ac_abs_top_builddir
=$ac_pwd
14700 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
14701 # for backward compatibility:
14702 ac_top_builddir
=$ac_top_build_prefix
14705 .
) # We are building in place.
14707 ac_top_srcdir
=$ac_top_builddir_sub
14708 ac_abs_top_srcdir
=$ac_pwd ;;
14709 [\\/]* | ?
:[\\/]* ) # Absolute name.
14710 ac_srcdir
=$srcdir$ac_dir_suffix;
14711 ac_top_srcdir
=$srcdir
14712 ac_abs_top_srcdir
=$srcdir ;;
14713 *) # Relative name.
14714 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
14715 ac_top_srcdir
=$ac_top_build_prefix$srcdir
14716 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
14718 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
14729 cat >>$CONFIG_STATUS <<\_ACEOF
14730 # If the template does not know about datarootdir, expand it.
14731 # FIXME: This hack should be removed a few years after 2.60.
14732 ac_datarootdir_hack
=; ac_datarootdir_seen
=
14734 case `sed -n '/datarootdir/ {
14743 ' $ac_file_inputs` in
14744 *datarootdir
*) ac_datarootdir_seen
=yes;;
14745 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
14746 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
14747 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
14749 cat >>$CONFIG_STATUS <<_ACEOF
14750 ac_datarootdir_hack='
14751 s&@datadir@&$datadir&g
14752 s&@docdir@&$docdir&g
14753 s&@infodir@&$infodir&g
14754 s&@localedir@&$localedir&g
14755 s&@mandir@&$mandir&g
14756 s&\\\${datarootdir}&$datarootdir&g' ;;
14760 # Neutralize VPATH when `$srcdir' = `.'.
14761 # Shell code in configure.ac might set extrasub.
14762 # FIXME: do we really want to maintain this feature?
14763 cat >>$CONFIG_STATUS <<_ACEOF
14767 cat >>$CONFIG_STATUS <<\_ACEOF
14769 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
14770 s
&@configure_input@
&$configure_input&;t t
14771 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
14772 s
&@srcdir@
&$ac_srcdir&;t t
14773 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
14774 s
&@top_srcdir@
&$ac_top_srcdir&;t t
14775 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
14776 s
&@builddir@
&$ac_builddir&;t t
14777 s
&@abs_builddir@
&$ac_abs_builddir&;t t
14778 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
14779 $ac_datarootdir_hack
14780 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" >$tmp/out
14782 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14783 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
14784 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
14785 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
14786 which seems to be undefined. Please make sure it is defined." >&5
14787 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
14788 which seems to be undefined. Please make sure it is defined." >&2;}
14792 -) cat "$tmp/out"; rm -f "$tmp/out";;
14793 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
14802 # Transform confdefs.h into a sed script `conftest.defines', that
14803 # substitutes the proper values into config.h.in to produce config.h.
14804 rm -f conftest.defines conftest.
tail
14805 # First, append a space to every undef/define line, to ease matching.
14806 echo 's/$/ /' >conftest.defines
14807 # Then, protect against being on the right side of a sed subst, or in
14808 # an unquoted here document, in config.status. If some macros were
14809 # called several times there might be several #defines for the same
14810 # symbol, which is useless. But do not sort them, since the last
14811 # AC_DEFINE must be honored.
14812 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
14813 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
14814 # NAME is the cpp macro being defined, VALUE is the value it is being given.
14815 # PARAMS is the parameter list in the macro definition--in most cases, it's
14816 # just an empty string.
14817 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
14818 ac_dB
='\\)[ (].*,\\1define\\2'
14826 s/^[ ]*#[ ]*define[ ][ ]*//
14831 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
14832 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
14833 ' >>conftest.defines
14835 # Remove the space that was appended to ease matching.
14836 # Then replace #undef with comments. This is necessary, for
14837 # example, in the case of _POSIX_SOURCE, which is predefined and required
14838 # on some systems where configure will not decide to define it.
14839 # (The regexp can be short, since the line contains either #define or #undef.)
14841 s,^[ #]*u.*,/* & */,' >>conftest.defines
14843 # Break up conftest.defines:
14844 ac_max_sed_lines
=50
14846 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
14847 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
14848 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
14850 ac_in
='$ac_file_inputs'
14851 ac_out
='"$tmp/out1"'
14852 ac_nxt
='"$tmp/out2"'
14856 # Write a here document:
14857 cat >>$CONFIG_STATUS <<_ACEOF
14858 # First, check the format of the line:
14859 cat >"\$tmp/defines.sed" <<\\CEOF
14860 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
14861 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
14865 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
14867 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
14868 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
14869 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
14870 grep . conftest.
tail >/dev
/null ||
break
14871 rm -f conftest.defines
14872 mv conftest.
tail conftest.defines
14874 rm -f conftest.defines conftest.
tail
14876 echo "ac_result=$ac_in" >>$CONFIG_STATUS
14877 cat >>$CONFIG_STATUS <<\_ACEOF
14878 if test x
"$ac_file" != x-
; then
14879 echo "/* $configure_input */" >"$tmp/config.h"
14880 cat "$ac_result" >>"$tmp/config.h"
14881 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
14882 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
14883 echo "$as_me: $ac_file is unchanged" >&6;}
14886 mv "$tmp/config.h" $ac_file
14889 echo "/* $configure_input */"
14901 { (exit 0); exit 0; }
14903 chmod +x
$CONFIG_STATUS
14904 ac_clean_files
=$ac_clean_files_save
14907 # configure is writing to config.log, and then calls config.status.
14908 # config.status does its own redirection, appending to config.log.
14909 # Unfortunately, on DOS this fails, as config.log is still kept open
14910 # by configure, so config.status won't be able to write to it; its
14911 # output is simply discarded. So we exec the FD to /dev/null,
14912 # effectively closing config.log, so it can be properly (re)opened and
14913 # appended to by config.status. When coming back to configure, we
14914 # need to make the FD available again.
14915 if test "$no_create" != yes; then
14917 ac_config_status_args
=
14918 test "$silent" = yes &&
14919 ac_config_status_args
="$ac_config_status_args --quiet"
14921 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
14923 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
14924 # would make configure fail if this is the last instruction.
14925 $ac_cs_success ||
{ (exit 1); exit 1; }
14928 ac_config_files
="$ac_config_files libtommath/Makefile"
14930 cat >confcache
<<\_ACEOF
14931 # This file is a shell script that caches the results of configure
14932 # tests run on this system so they can be shared between configure
14933 # scripts and configure runs, see configure's option --config-cache.
14934 # It is not useful on other systems. If it contains results you don't
14935 # want to keep, you may remove or edit it.
14937 # config.status only pays attention to the cache file if you give it
14938 # the --recheck option to rerun configure.
14940 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14941 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14942 # following values.
14946 # The following way of writing the cache mishandles newlines in values,
14947 # but we know of no workaround that is simple, portable, and efficient.
14948 # So, we kill variables containing newlines.
14949 # Ultrix sh set writes to stderr and can't be redirected directly,
14950 # and sets the high bit in the cache file unless we assign to the vars.
14952 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14953 eval ac_val
=\$
$ac_var
14957 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
14958 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
14961 _ | IFS | as_nl
) ;; #(
14962 *) $as_unset $ac_var ;;
14968 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14969 *${as_nl}ac_space
=\
*)
14970 # `set' does not quote correctly, so add quotes (double-quote
14971 # substitution turns \\\\ into \\, and sed turns \\ into \).
14974 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14977 # `set' quotes correctly as required by POSIX, so do not add quotes.
14978 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14987 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14989 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14991 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
14992 if test -w "$cache_file"; then
14993 test "x$cache_file" != "x/dev/null" &&
14994 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
14995 echo "$as_me: updating cache $cache_file" >&6;}
14996 cat confcache
>$cache_file
14998 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
14999 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15004 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
15005 # Let make expand exec_prefix.
15006 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
15008 DEFS
=-DHAVE_CONFIG_H
15012 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
15013 # 1. Remove the extension, and $U if already installed.
15014 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
15015 ac_i
=`echo "$ac_i" | sed "$ac_script"`
15016 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15017 # will be set to the directory where LIBOBJS objects are built.
15018 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15019 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
15021 LIBOBJS
=$ac_libobjs
15023 LTLIBOBJS
=$ac_ltlibobjs
15027 : ${CONFIG_STATUS=./config.status}
15028 ac_clean_files_save
=$ac_clean_files
15029 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
15030 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
15031 echo "$as_me: creating $CONFIG_STATUS" >&6;}
15032 cat >$CONFIG_STATUS <<_ACEOF
15034 # Generated by $as_me.
15035 # Run this file to recreate the current configuration.
15036 # Compiler output produced by configure, useful for debugging
15037 # configure, is in config.log if it exists.
15040 ac_cs_recheck=false
15042 SHELL=\${CONFIG_SHELL-$SHELL}
15045 cat >>$CONFIG_STATUS <<\_ACEOF
15046 ## --------------------- ##
15047 ## M4sh Initialization. ##
15048 ## --------------------- ##
15050 # Be more Bourne compatible
15051 DUALCASE
=1; export DUALCASE
# for MKS sh
15052 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
15055 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
15056 # is contrary to our usage. Disable this feature.
15057 alias -g '${1+"$@"}'='"$@"'
15058 setopt NO_GLOB_SUBST
15060 case `(set -o) 2>/dev/null` in
15061 *posix
*) set -o posix
;;
15070 # Avoid depending upon Character Ranges.
15071 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
15072 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15073 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
15074 as_cr_digits
='0123456789'
15075 as_cr_alnum
=$as_cr_Letters$as_cr_digits
15077 # The user is always right.
15078 if test "${PATH_SEPARATOR+set}" != set; then
15079 echo "#! /bin/sh" >conf$$.sh
15080 echo "exit 0" >>conf$$.sh
15082 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
15090 # Support unset when possible.
15091 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
15099 # We need space, tab and new line, in precisely that order. Quoting is
15100 # there to prevent editors from complaining about space-tab.
15101 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15102 # splitting by setting IFS to empty value.)
15107 # Find who we are. Look in the path if we contain no directory separator.
15109 *[\\/]* ) as_myself
=$0 ;;
15110 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15111 for as_dir
in $PATH
15114 test -z "$as_dir" && as_dir
=.
15115 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
15121 # We did not find ourselves, most probably we were run as `sh COMMAND'
15122 # in which case we are not to be found in the path.
15123 if test "x$as_myself" = x
; then
15126 if test ! -f "$as_myself"; then
15127 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15128 { (exit 1); exit 1; }
15131 # Work around bugs in pre-3.0 UWIN ksh.
15132 for as_var
in ENV MAIL MAILPATH
15133 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
15141 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
15142 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
15143 LC_TELEPHONE LC_TIME
15145 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
15146 eval $as_var=C
; export $as_var
15148 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
15152 # Required to use basename.
15153 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
15154 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
15160 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15161 as_basename
=basename
15167 # Name of the executable.
15168 as_me
=`$as_basename -- "$0" ||
15169 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15170 X"$0" : 'X\(//\)$' \| \
15171 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15173 sed '/^.*\/\([^/][^/]*\)\/*$/{
15192 as_lineno_1
=$LINENO
15193 as_lineno_2
=$LINENO
15194 test "x$as_lineno_1" != "x$as_lineno_2" &&
15195 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
15197 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
15198 # uniformly replaced by the line number. The first 'sed' inserts a
15199 # line-number line after each line using $LINENO; the second 'sed'
15200 # does the real work. The second script uses 'N' to pair each
15201 # line-number line with the line containing $LINENO, and appends
15202 # trailing '-' during substitution so that $LINENO is not a special
15203 # case at line end.
15204 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
15205 # scripts with optimization help from Paolo Bonzini. Blame Lee
15206 # E. McMahon (1931-1989) for sed's syntax. :-)
15218 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
15221 ' >$as_me.lineno
&&
15222 chmod +x
"$as_me.lineno" ||
15223 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
15224 { (exit 1); exit 1; }; }
15226 # Don't try to exec as it changes $[0], causing all sort of problems
15227 # (the dirname of $[0] is not the place where we might find the
15228 # original and so on. Autoconf is especially sensitive to this).
15229 .
"./$as_me.lineno"
15230 # Exit status is that of the last command.
15235 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
15241 ECHO_C
= ECHO_N
= ECHO_T
=
15242 case `echo -n x` in
15244 case `echo 'x\c'` in
15245 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
15252 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
15253 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
15259 rm -f conf$$ conf$$.exe conf$$.
file
15260 if test -d conf$$.dir
; then
15261 rm -f conf$$.dir
/conf$$.
file
15267 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
15269 # ... but there are two gotchas:
15270 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15271 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15272 # In both cases, we have to default to `cp -p'.
15273 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
15275 elif ln conf$$.
file conf$$
2>/dev
/null
; then
15280 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
15281 rmdir conf$$.dir
2>/dev
/null
15283 if mkdir
-p .
2>/dev
/null
; then
15286 test -d .
/-p && rmdir .
/-p
15290 if test -x / >/dev
/null
2>&1; then
15291 as_test_x
='test -x'
15293 if ls -dL / >/dev
/null
2>&1; then
15300 if test -d "$1"; then
15306 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
15307 ???[sx]*):;;*)false;;esac;fi
15311 as_executable_p
=$as_test_x
15313 # Sed expression to map a string onto a valid CPP name.
15314 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15316 # Sed expression to map a string onto a valid variable name.
15317 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15322 # Save the log message, to keep $[0] and so on meaningful, and to
15323 # report actual input values of CONFIG_FILES etc. instead of their
15324 # values after options handling.
15326 This file was extended by $as_me, which was
15327 generated by GNU Autoconf 2.61. Invocation command line was
15329 CONFIG_FILES = $CONFIG_FILES
15330 CONFIG_HEADERS = $CONFIG_HEADERS
15331 CONFIG_LINKS = $CONFIG_LINKS
15332 CONFIG_COMMANDS = $CONFIG_COMMANDS
15335 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15340 cat >>$CONFIG_STATUS <<_ACEOF
15341 # Files that config.status was made for.
15342 config_files="$ac_config_files"
15343 config_headers="$ac_config_headers"
15347 cat >>$CONFIG_STATUS <<\_ACEOF
15349 \`$as_me' instantiates files from templates according to the
15350 current configuration.
15352 Usage: $0 [OPTIONS] [FILE]...
15354 -h, --help print this help, then exit
15355 -V, --version print version number and configuration settings, then exit
15356 -q, --quiet do not print progress messages
15357 -d, --debug don't remove temporary files
15358 --recheck update $as_me by reconfiguring in the same conditions
15359 --file=FILE[:TEMPLATE]
15360 instantiate the configuration file FILE
15361 --header=FILE[:TEMPLATE]
15362 instantiate the configuration header FILE
15364 Configuration files:
15367 Configuration headers:
15370 Report bugs to <bug-autoconf@gnu.org>."
15373 cat >>$CONFIG_STATUS <<_ACEOF
15376 configured by $0, generated by GNU Autoconf 2.61,
15377 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
15379 Copyright (C) 2006 Free Software Foundation, Inc.
15380 This config.status script is free software; the Free Software Foundation
15381 gives unlimited permission to copy, distribute and modify it."
15387 cat >>$CONFIG_STATUS <<\_ACEOF
15388 # If no file are specified by the user, then we need to provide default
15389 # value. By we need to know if files were specified by the user.
15395 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15396 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
15407 # Handling of the options.
15408 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
15410 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
15411 echo "$ac_cs_version"; exit ;;
15412 --debug |
--debu |
--deb |
--de |
--d |
-d )
15414 --file |
--fil |
--fi |
--f )
15416 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
15417 ac_need_defaults
=false
;;
15418 --header |
--heade |
--head |
--hea )
15420 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
15421 ac_need_defaults
=false
;;
15423 # Conflict between --help and --header
15424 { echo "$as_me: error: ambiguous option: $1
15425 Try \`$0 --help' for more information." >&2
15426 { (exit 1); exit 1; }; };;
15427 --help |
--hel |
-h )
15428 echo "$ac_cs_usage"; exit ;;
15429 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
15430 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
15433 # This is an error.
15434 -*) { echo "$as_me: error: unrecognized option: $1
15435 Try \`$0 --help' for more information." >&2
15436 { (exit 1); exit 1; }; } ;;
15438 *) ac_config_targets
="$ac_config_targets $1"
15439 ac_need_defaults
=false
;;
15445 ac_configure_extra_args
=
15447 if $ac_cs_silent; then
15449 ac_configure_extra_args
="$ac_configure_extra_args --silent"
15453 cat >>$CONFIG_STATUS <<_ACEOF
15454 if \$ac_cs_recheck; then
15455 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
15456 CONFIG_SHELL=$SHELL
15457 export CONFIG_SHELL
15458 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15462 cat >>$CONFIG_STATUS <<\_ACEOF
15466 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15467 ## Running $as_me. ##
15473 cat >>$CONFIG_STATUS <<_ACEOF
15476 cat >>$CONFIG_STATUS <<\_ACEOF
15478 # Handling of arguments.
15479 for ac_config_target
in $ac_config_targets
15481 case $ac_config_target in
15482 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
15483 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
15484 "libtomcrypt/Makefile") CONFIG_FILES
="$CONFIG_FILES libtomcrypt/Makefile" ;;
15485 "libtommath/Makefile") CONFIG_FILES
="$CONFIG_FILES libtommath/Makefile" ;;
15487 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
15488 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
15489 { (exit 1); exit 1; }; };;
15494 # If the user did not use the arguments to specify the items to instantiate,
15495 # then the envvar interface is used. Set only those that are not.
15496 # We use the long form for the default assignment because of an extremely
15497 # bizarre bug on SunOS 4.1.3.
15498 if $ac_need_defaults; then
15499 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
15500 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
15503 # Have a temporary directory for convenience. Make it in the build tree
15504 # simply because there is no reason against having it here, and in addition,
15505 # creating and moving files from /tmp can sometimes cause problems.
15506 # Hook for its removal unless debugging.
15507 # Note that there is a small window in which the directory will not be cleaned:
15508 # after its creation but before its name has been assigned to `$tmp'.
15512 trap 'exit_status=$?
15513 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
15515 trap '{ (exit 1); exit 1; }' 1 2 13 15
15517 # Create a (secure) tmp directory for tmp files.
15520 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15521 test -n "$tmp" && test -d "$tmp"
15524 tmp
=.
/conf$$
-$RANDOM
15525 (umask 077 && mkdir
"$tmp")
15528 echo "$me: cannot create a temporary directory in ." >&2
15529 { (exit 1); exit 1; }
15533 # Set up the sed scripts for CONFIG_FILES section.
15536 # No need to generate the scripts if there are no CONFIG_FILES.
15537 # This happens for instance when ./config.status config.h
15538 if test -n "$CONFIG_FILES"; then
15545 for ac_last_try
in false false false false false
:; do
15546 cat >conf$
$subs.
sed <<_ACEOF
15547 SHELL!$SHELL$ac_delim
15548 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
15549 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
15550 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
15551 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
15552 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
15553 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
15554 exec_prefix!$exec_prefix$ac_delim
15555 prefix!$prefix$ac_delim
15556 program_transform_name!$program_transform_name$ac_delim
15557 bindir!$bindir$ac_delim
15558 sbindir!$sbindir$ac_delim
15559 libexecdir!$libexecdir$ac_delim
15560 datarootdir!$datarootdir$ac_delim
15561 datadir!$datadir$ac_delim
15562 sysconfdir!$sysconfdir$ac_delim
15563 sharedstatedir!$sharedstatedir$ac_delim
15564 localstatedir!$localstatedir$ac_delim
15565 includedir!$includedir$ac_delim
15566 oldincludedir!$oldincludedir$ac_delim
15567 docdir!$docdir$ac_delim
15568 infodir!$infodir$ac_delim
15569 htmldir!$htmldir$ac_delim
15570 dvidir!$dvidir$ac_delim
15571 pdfdir!$pdfdir$ac_delim
15572 psdir!$psdir$ac_delim
15573 libdir!$libdir$ac_delim
15574 localedir!$localedir$ac_delim
15575 mandir!$mandir$ac_delim
15576 DEFS!$DEFS$ac_delim
15577 ECHO_C!$ECHO_C$ac_delim
15578 ECHO_N!$ECHO_N$ac_delim
15579 ECHO_T!$ECHO_T$ac_delim
15580 LIBS!$LIBS$ac_delim
15581 build_alias!$build_alias$ac_delim
15582 host_alias!$host_alias$ac_delim
15583 target_alias!$target_alias$ac_delim
15585 CFLAGS!$CFLAGS$ac_delim
15586 LDFLAGS!$LDFLAGS$ac_delim
15587 CPPFLAGS!$CPPFLAGS$ac_delim
15588 ac_ct_CC!$ac_ct_CC$ac_delim
15589 EXEEXT!$EXEEXT$ac_delim
15590 OBJEXT!$OBJEXT$ac_delim
15591 SET_MAKE!$SET_MAKE$ac_delim
15593 build!$build$ac_delim
15594 build_cpu!$build_cpu$ac_delim
15595 build_vendor!$build_vendor$ac_delim
15596 build_os!$build_os$ac_delim
15597 host!$host$ac_delim
15598 host_cpu!$host_cpu$ac_delim
15599 host_vendor!$host_vendor$ac_delim
15600 host_os!$host_os$ac_delim
15602 RANLIB!$RANLIB$ac_delim
15603 STRIP!$STRIP$ac_delim
15604 INSTALL!$INSTALL$ac_delim
15606 GREP!$GREP$ac_delim
15607 EGREP!$EGREP$ac_delim
15608 LIBOBJS!$LIBOBJS$ac_delim
15609 LTLIBOBJS!$LTLIBOBJS$ac_delim
15612 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 63; then
15614 elif $ac_last_try; then
15615 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
15616 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
15617 { (exit 1); exit 1; }; }
15619 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
15623 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
15624 if test -n "$ac_eof"; then
15625 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
15626 ac_eof
=`expr $ac_eof + 1`
15629 cat >>$CONFIG_STATUS <<_ACEOF
15630 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
15631 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
15634 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
15635 s/^/s,@/; s/!/@,|#_!!_#|/
15638 s/'"$ac_delim"'$/,g/; t
15640 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
15641 ' >>$CONFIG_STATUS <conf$
$subs.
sed
15642 rm -f conf$
$subs.
sed
15643 cat >>$CONFIG_STATUS <<_ACEOF
15650 # VPATH may cause trouble with some makes, so we remove $(srcdir),
15651 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
15652 # trailing colons and then remove the whole line if VPATH becomes empty
15653 # (actually we leave an empty line to preserve line numbers).
15654 if test "x$srcdir" = x.
; then
15655 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
15656 s/:*\$(srcdir):*/:/
15657 s/:*\${srcdir}:*/:/
15659 s/^\([^=]*=[ ]*\):*/\1/
15665 cat >>$CONFIG_STATUS <<\_ACEOF
15666 fi # test -n "$CONFIG_FILES"
15669 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS
15672 :[FHLC
]) ac_mode
=$ac_tag; continue;;
15674 case $ac_mode$ac_tag in
15676 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
15677 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
15678 { (exit 1); exit 1; }; };;
15679 :[FH
]-) ac_tag
=-:-;;
15680 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
15697 -) ac_f
="$tmp/stdin";;
15698 *) # Look for the file first in the build tree, then in the source tree
15699 # (if the path is not absolute). The absolute path cannot be DOS-style,
15700 # because $ac_f cannot contain `:'.
15704 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
15706 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
15707 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
15708 { (exit 1); exit 1; }; };;
15710 ac_file_inputs
="$ac_file_inputs $ac_f"
15713 # Let's still pretend it is `configure' which instantiates (i.e., don't
15714 # use $as_me), people would be surprised to read:
15715 # /* config.h. Generated by config.status. */
15716 configure_input
="Generated from "`IFS=:
15717 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
15718 if test x
"$ac_file" != x-
; then
15719 configure_input
="$ac_file. $configure_input"
15720 { echo "$as_me:$LINENO: creating $ac_file" >&5
15721 echo "$as_me: creating $ac_file" >&6;}
15725 *:-:* |
*:-) cat >"$tmp/stdin";;
15730 ac_dir
=`$as_dirname -- "$ac_file" ||
15731 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15732 X"$ac_file" : 'X\(//\)[^/]' \| \
15733 X"$ac_file" : 'X\(//\)$' \| \
15734 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15736 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15740 /^X\(\/\/\)[^/].*/{
15755 -*) as_dir
=.
/$as_dir;;
15757 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
15761 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
15762 *) as_qdir
=$as_dir;;
15764 as_dirs
="'$as_qdir' $as_dirs"
15765 as_dir
=`$as_dirname -- "$as_dir" ||
15766 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15767 X"$as_dir" : 'X\(//\)[^/]' \| \
15768 X"$as_dir" : 'X\(//\)$' \| \
15769 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15771 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15775 /^X\(\/\/\)[^/].*/{
15788 test -d "$as_dir" && break
15790 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
15791 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
15792 echo "$as_me: error: cannot create directory $as_dir" >&2;}
15793 { (exit 1); exit 1; }; }; }
15797 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
15799 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
15800 # A ".." for each directory in $ac_dir_suffix.
15801 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
15802 case $ac_top_builddir_sub in
15803 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
15804 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
15807 ac_abs_top_builddir
=$ac_pwd
15808 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
15809 # for backward compatibility:
15810 ac_top_builddir
=$ac_top_build_prefix
15813 .
) # We are building in place.
15815 ac_top_srcdir
=$ac_top_builddir_sub
15816 ac_abs_top_srcdir
=$ac_pwd ;;
15817 [\\/]* | ?
:[\\/]* ) # Absolute name.
15818 ac_srcdir
=$srcdir$ac_dir_suffix;
15819 ac_top_srcdir
=$srcdir
15820 ac_abs_top_srcdir
=$srcdir ;;
15821 *) # Relative name.
15822 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
15823 ac_top_srcdir
=$ac_top_build_prefix$srcdir
15824 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
15826 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
15837 cat >>$CONFIG_STATUS <<\_ACEOF
15838 # If the template does not know about datarootdir, expand it.
15839 # FIXME: This hack should be removed a few years after 2.60.
15840 ac_datarootdir_hack
=; ac_datarootdir_seen
=
15842 case `sed -n '/datarootdir/ {
15851 ' $ac_file_inputs` in
15852 *datarootdir
*) ac_datarootdir_seen
=yes;;
15853 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
15854 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
15855 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
15857 cat >>$CONFIG_STATUS <<_ACEOF
15858 ac_datarootdir_hack='
15859 s&@datadir@&$datadir&g
15860 s&@docdir@&$docdir&g
15861 s&@infodir@&$infodir&g
15862 s&@localedir@&$localedir&g
15863 s&@mandir@&$mandir&g
15864 s&\\\${datarootdir}&$datarootdir&g' ;;
15868 # Neutralize VPATH when `$srcdir' = `.'.
15869 # Shell code in configure.ac might set extrasub.
15870 # FIXME: do we really want to maintain this feature?
15871 cat >>$CONFIG_STATUS <<_ACEOF
15875 cat >>$CONFIG_STATUS <<\_ACEOF
15877 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
15878 s
&@configure_input@
&$configure_input&;t t
15879 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
15880 s
&@srcdir@
&$ac_srcdir&;t t
15881 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
15882 s
&@top_srcdir@
&$ac_top_srcdir&;t t
15883 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
15884 s
&@builddir@
&$ac_builddir&;t t
15885 s
&@abs_builddir@
&$ac_abs_builddir&;t t
15886 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
15887 $ac_datarootdir_hack
15888 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" >$tmp/out
15890 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15891 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
15892 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
15893 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
15894 which seems to be undefined. Please make sure it is defined." >&5
15895 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
15896 which seems to be undefined. Please make sure it is defined." >&2;}
15900 -) cat "$tmp/out"; rm -f "$tmp/out";;
15901 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
15910 # Transform confdefs.h into a sed script `conftest.defines', that
15911 # substitutes the proper values into config.h.in to produce config.h.
15912 rm -f conftest.defines conftest.
tail
15913 # First, append a space to every undef/define line, to ease matching.
15914 echo 's/$/ /' >conftest.defines
15915 # Then, protect against being on the right side of a sed subst, or in
15916 # an unquoted here document, in config.status. If some macros were
15917 # called several times there might be several #defines for the same
15918 # symbol, which is useless. But do not sort them, since the last
15919 # AC_DEFINE must be honored.
15920 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
15921 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
15922 # NAME is the cpp macro being defined, VALUE is the value it is being given.
15923 # PARAMS is the parameter list in the macro definition--in most cases, it's
15924 # just an empty string.
15925 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
15926 ac_dB
='\\)[ (].*,\\1define\\2'
15934 s/^[ ]*#[ ]*define[ ][ ]*//
15939 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
15940 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
15941 ' >>conftest.defines
15943 # Remove the space that was appended to ease matching.
15944 # Then replace #undef with comments. This is necessary, for
15945 # example, in the case of _POSIX_SOURCE, which is predefined and required
15946 # on some systems where configure will not decide to define it.
15947 # (The regexp can be short, since the line contains either #define or #undef.)
15949 s,^[ #]*u.*,/* & */,' >>conftest.defines
15951 # Break up conftest.defines:
15952 ac_max_sed_lines
=50
15954 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
15955 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
15956 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
15958 ac_in
='$ac_file_inputs'
15959 ac_out
='"$tmp/out1"'
15960 ac_nxt
='"$tmp/out2"'
15964 # Write a here document:
15965 cat >>$CONFIG_STATUS <<_ACEOF
15966 # First, check the format of the line:
15967 cat >"\$tmp/defines.sed" <<\\CEOF
15968 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
15969 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
15973 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
15975 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
15976 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
15977 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
15978 grep . conftest.
tail >/dev
/null ||
break
15979 rm -f conftest.defines
15980 mv conftest.
tail conftest.defines
15982 rm -f conftest.defines conftest.
tail
15984 echo "ac_result=$ac_in" >>$CONFIG_STATUS
15985 cat >>$CONFIG_STATUS <<\_ACEOF
15986 if test x
"$ac_file" != x-
; then
15987 echo "/* $configure_input */" >"$tmp/config.h"
15988 cat "$ac_result" >>"$tmp/config.h"
15989 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
15990 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
15991 echo "$as_me: $ac_file is unchanged" >&6;}
15994 mv "$tmp/config.h" $ac_file
15997 echo "/* $configure_input */"
16009 { (exit 0); exit 0; }
16011 chmod +x
$CONFIG_STATUS
16012 ac_clean_files
=$ac_clean_files_save
16015 # configure is writing to config.log, and then calls config.status.
16016 # config.status does its own redirection, appending to config.log.
16017 # Unfortunately, on DOS this fails, as config.log is still kept open
16018 # by configure, so config.status won't be able to write to it; its
16019 # output is simply discarded. So we exec the FD to /dev/null,
16020 # effectively closing config.log, so it can be properly (re)opened and
16021 # appended to by config.status. When coming back to configure, we
16022 # need to make the FD available again.
16023 if test "$no_create" != yes; then
16025 ac_config_status_args
=
16026 test "$silent" = yes &&
16027 ac_config_status_args
="$ac_config_status_args --quiet"
16029 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
16031 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16032 # would make configure fail if this is the last instruction.
16033 $ac_cs_success ||
{ (exit 1); exit 1; }
16036 { echo "$as_me:$LINENO: " >&5
16037 echo "$as_me: " >&6;}
16038 { echo "$as_me:$LINENO: Now edit options.h to choose features." >&5
16039 echo "$as_me: Now edit options.h to choose features." >&6;}