
|
if expr a : '' >/dev/null 2>&1; then
as_expr=expr else
as_expr=false fi
## --------------------- ## ## M4sh Initialization. ## ##
--------------------- ##
# Be Bourne compatible if test -n "${ZSH_VERSION+set}" && (emu-
late sh) >/dev/null 2>&1; then
emulate sh
NULLCMD=: elif test -n "${BASH_VERSION+set}" && (set -o posix)
>/dev/null 2>&1; then
set -o posix fi
# NLS nuisances. # Support unset when possible. if (FOO=FOO;
unset FOO) >/dev/null 2>&1; then
as_unset=unset else
as_unset=false fi
(set +x; test -n "`(LANG=C; export LANG) 2>&1`") &&
{ $as_unset LANG || test "${LANG+set}" != set; } ||
{ LANG=C; export LANG; } (set +x; test -n "`(LC_ALL=C; ex-
port LC_ALL) 2>&1`") &&
{ $as_unset LC_ALL || test "${LC_ALL+set}" != set; } ||
{ LC_ALL=C; export LC_ALL; } (set +x; test -n "`(LC_TIME=C;
export LC_TIME) 2>&1`") &&
{ $as_unset LC_TIME || test "${LC_TIME+set}" != set; } ||
{ LC_TIME=C; export LC_TIME; } (set +x; test -n
"`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
{ $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } ||
{ LC_CTYPE=C; export LC_CTYPE; } (set +x; test -n "`(LAN-
GUAGE=C; export LANGUAGE) 2>&1`") &&
{ $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } ||
{ LANGUAGE=C; export LANGUAGE; } (set +x; test -n
"`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
{ $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; }
||
{ LC_COLLATE=C; export LC_COLLATE; } (set +x; test -n
"`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&
{ $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; }
||
{ LC_NUMERIC=C; export LC_NUMERIC; } (set +x; test -n
"`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
{ $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set;
} ||
{ LC_MESSAGES=C; export LC_MESSAGES; }
# Name of the executable. as_me=`(basename "$0") 2>/dev/null ||
$as_expr X/"$0" : '.*//][^/]*/*$' X"$0" : 'X$' X"$0" :
'X$' . : '' 2>/dev/null || echo X/"$0" |
echo "exit 0" >>conftest.sh
chmod +x conftest.sh
if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then
PATH_SEPARATOR=';'
else
PATH_SEPARATOR=:
fi
rm -f conftest.sh fi
as_lineno_1=$LINENO
as_lineno_2=$LINENO
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
test "x$as_lineno_1" != "x$as_lineno_2" &&
test "x$as_lineno_3" = "x$as_lineno_2" || {
# Find who we are. Look in the path if we contain no path at
all
# relative or not.
case $0 in
*[\/]* ) as_myself=$0 ;;
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH
do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break done
;;
esac
# We did not find ourselves, most probably we were run as `sh
COMMAND'
# in which case we are not to be found in the path.
if test "x$as_myself" = x; then
as_myself=$0
fi
if test ! -f "$as_myself"; then
{ echo "$as_me: error: cannot find myself; rerun with an ab-
solute path" >&2
{ (exit 1); exit 1; }; }
fi
case $CONFIG_SHELL in
'')
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in
/bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for as_base in sh bash ksh sh5; do case $as_dir in
/*) if ("$as_dir/$as_base" -c '
as_lineno_1=$LINENO
as_lineno_2=$LINENO
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
test "x$as_lineno_1" != "x$as_lineno_2" &&
test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
# with the numbered line, and appends trailing '-' during
# substitution so that $LINENO is not a special case at line
end.
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
# second 'sed' script. Blame Lee E. McMahon for sed's syntax.
:-)
sed '=' <$as_myself |
sed '
N
s,$,-,
: loop
s,^$as_cr_digits']*[$]LINENO'$as_cr_alnum'_],1213,
t loop
s,-$,,
s,^['$as_cr_digits']*0,
' >$as_me.lineno &&
chmod +x $as_me.lineno ||
{ echo "$as_me: error: cannot create $as_me.lineno; rerun
with a POSIX shell" >&2
{ (exit 1); exit 1; }; }
# Don't try to exec as it changes $[0], causing all sort of
problems
# (the dirname of $[0] is not the place where we might find the
# original and so on. Autoconf is especially sensible to
this).
. ./$as_me.lineno
# Exit status is that of the last command.
exit }
case `echo "testing *c*,-n*) ECHO_N= ECHO_C='
*c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
*) ECHO_N= ECHO_C='esac
if expr a : '' >/dev/null 2>&1; then
as_expr=expr else
as_expr=false fi
rm -f conf$$ conf$$.exe conf$$.file echo >conf$$.file if ln -s
conf$$.file conf$$ 2>/dev/null; then
# We could just check for DJGPP; but this test a) works b) is
more generic
# and c) will remain valid once DJGPP supports symlinks (DJGPP
2.04).
if test -f conf$$.exe; then
# Don't use ln at all; we don't have any links
as_ln_s='cp -p'
else
as_ln_s='ln -s'
fi elif ln conf$$.file conf$$ 2>/dev/null; then
as_ln_s=ln else
# CDPATH. $as_unset CDPATH || test "${CDPATH+set}" != set || {
CDPATH=$PATH_SEPARATOR; export CDPATH; }
# Name of the host. # hostname on some systems (SVR3.2, Linux)
returns a bogus exit status, # so uname gets run too. ac_host-
name=`(hostname || uname -n) 2>/dev/null | sed 1q`
exec 6>&1
# # Initializations. # ac_default_prefix=/usr/local cross_com-
piling=no subdirs= MFLAGS= MAKEFLAGS= SHELL=${CON-
FIG_SHELL-/bin/sh}
# Maximum number of lines to put in a shell here document. #
This variable seems obsolete. It should probably be removed, and
# only ac_max_sed_lines should be used. :
${ac_max_here_lines=38}
# Identity of this package. PACKAGE_NAME= PACKAGE_TARNAME= PACK-
AGE_VERSION= PACKAGE_STRING= PACKAGE_BUGREPORT=
ac_unique_file="ssh.c" # Factoring default headers for most
tests. ac_includes_default="#include <stdio.h> #if
HAVE_SYS_TYPES_H # include <sys/types.h> #endif #if
HAVE_SYS_STAT_H # include <sys/stat.h> #endif #if STDC_HEADERS #
include <stdlib.h> # include <stddef.h> #else # if HAVE_STDLIB_H
# include <stdlib.h> # endif #endif #if HAVE_STRING_H # if
!STDC_HEADERS && HAVE_MEMORY_H # include <memory.h> # endif #
include <string.h> #endif #if HAVE_STRINGS_H # include
confdefs.h
# Predefined preprocessor variables.
cat >>confdefs.h <<_ACEOF @%:@define PACKAGE_NAME "$PACKAGE_NAME"
_ACEOF
cat >>confdefs.h <<_ACEOF @%:@define PACKAGE_TARNAME "$PACK-
AGE_TARNAME" _ACEOF
cat >>confdefs.h <<_ACEOF @%:@define PACKAGE_VERSION "$PACK-
AGE_VERSION" _ACEOF
cat >>confdefs.h <<_ACEOF @%:@define PACKAGE_STRING "$PACK-
AGE_STRING" _ACEOF
if test -r "$ac_site_file"; then
{ echo "$as_me:$LINENO: loading site script $ac_site_file"
>&5 echo "$as_me: loading site script $ac_site_file" >&6;}
sed 's/^/| /' "$ac_site_file" >&5
. "$ac_site_file"
fi done
if test -r "$cache_file"; then
# Some versions of bash will fail to source /dev/null (special
# files actually), so we avoid doing that.
if test -f "$cache_file"; then
{ echo "$as_me:$LINENO: loading cache $cache_file" >&5 echo
"$as_me: loading cache $cache_file" >&6;}
case $cache_file in
[\/]* | ?:[\/]* ) . $cache_file;;
*) . ./$cache_file;;
esac
fi else
{ echo "$as_me:$LINENO: creating cache $cache_file" >&5 echo
"$as_me: creating cache $cache_file" >&6;}
>$cache_file fi
# Check that the precious variables saved in the cache have kept
the same # value. ac_cache_corrupted=false for ac_var in `(set)
2>&1 |
sed -n 's/^ac_env_-zA-Z_0-9]*_set=.*/1/p'`; do
eval ac_old_set=c_cv_env_${ac_var}_set
eval ac_new_set=c_env_${ac_var}_set
eval ac_old_val="c_cv_env_${ac_var}_value"
eval ac_new_val="c_env_${ac_var}_value"
case $ac_old_set,$ac_new_set in
set,)
{ echo "$as_me:$LINENO: error: `$ac_var' was set to
`$ac_old_val' in the previous run" >&5 echo "$as_me: error:
`$ac_var' was set to `$ac_old_val' in the previous run" >&2;}
ac_cache_corrupted=: ;;
,set)
{ echo "$as_me:$LINENO: error: `$ac_var' was not set in the
previous run" >&5 echo "$as_me: error: `$ac_var' was not set in
the previous run" >&2;}
ac_cache_corrupted=: ;;
,);;
*)
if test "x$ac_old_val" != "x$ac_new_val"; then
{ echo "$as_me:$LINENO: error: `$ac_var' has changed
since the previous run:" >&5 echo "$as_me: error: `$ac_var' has
changed since the previous run:" >&2;}
{ echo "$as_me:$LINENO: former value: $ac_old_val" >&5
echo "$as_me: former value: $ac_old_val" >&2;}
{ echo "$as_me:$LINENO: current value: $ac_new_val" >&5
echo "$as_me: current value: $ac_new_val" >&2;}
ac_cache_corrupted=:
fi done if $ac_cache_corrupted; then
{ echo "$as_me:$LINENO: error: changes in the environment can
compromise the build" >&5 echo "$as_me: error: changes in the en-
vironment can compromise the build" >&2;}
{ { echo "$as_me:$LINENO: error: run `make distclean' and/or
`rm $cache_file' and start over" >&5 echo "$as_me: error: run
`make distclean' and/or `rm $cache_file' and start over" >&2;}
{ (exit 1); exit 1; }; } fi
ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS
$CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exe-
ext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu
ac_config_headers="$ac_config_headers config.h"
ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS
$CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exe-
ext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu if test -n "$ac_tool_pre-
fix"; then
# Extract the first word of "${ac_tool_prefix}gcc", so it can
be a program name with args. set dummy ${ac_tool_prefix}gcc;
ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo
$ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test
"${ac_cv_prog_CC+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6 else
if test -n "$CC"; then
ac_cv_prog_CC="$CC" # Let the user override the test. else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
with args. set dummy gcc; ac_word=$2 echo "$as_me:$LINENO:
checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word...
$ECHO_C" >&6 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6 else
if test -n "$ac_ct_CC"; then
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the
test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in
$PATH do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
ac_cv_prog_ac_ct_CC="gcc"
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
fi done done
fi fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 echo
"${ECHO_T}$ac_ct_CC" >&6 else
echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi
CC=$ac_ct_CC else
CC="$ac_cv_prog_CC" fi
if test -z "$CC"; then
if test -n "$ac_tool_prefix"; then
# Extract the first word of "${ac_tool_prefix}cc", so it can be
a program name with args. set dummy ${ac_tool_prefix}cc;
ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo
$ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test
"${ac_cv_prog_CC+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6 else
if test -n "$CC"; then
ac_cv_prog_CC="$CC" # Let the user override the test. else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
ac_cv_prog_CC="${ac_tool_prefix}cc"
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
fi done done
fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then
echo "$as_me:$LINENO: result: $CC" >&5 echo "${ECHO_T}$CC" >&6
else
echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi
fi if test -z "$ac_cv_prog_CC"; then
ac_ct_CC=$CC
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
fi done done
fi fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 echo
"${ECHO_T}$ac_ct_CC" >&6 else
echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi
CC=$ac_ct_CC else
CC="$ac_cv_prog_CC" fi
fi if test -z "$CC"; then
# Extract the first word of "cc", so it can be a program name
with args. set dummy cc; ac_word=$2 echo "$as_me:$LINENO: check-
ing for $ac_word" >&5 echo $ECHO_N "checking for $ac_word...
$ECHO_C" >&6 if test "${ac_cv_prog_CC+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6 else
if test -n "$CC"; then
ac_cv_prog_CC="$CC" # Let the user override the test. else
ac_prog_rejected=no as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for
as_dir in $PATH do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
ac_prog_rejected=yes
continue
fi
ac_cv_prog_CC="cc"
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
fi done done
if test $ac_prog_rejected = yes; then
# We found a bogon in the path, so make sure we never use it.
set dummy $ac_cv_prog_CC
shift
if test $@%:@ != 0; then
# We chose a different compiler from the bogus one.
# However, it has the same basename, so the bogon will be
chosen
# first if we set CC to just the basename; use the full file
name.
shift
set dummy "$as_dir/$ac_word" ${1+"$@"}
shift
ac_cv_prog_CC="$@"
fi fi fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then
echo "$as_me:$LINENO: result: $CC" >&5 echo "${ECHO_T}$CC" >&6
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
fi done done
fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then
echo "$as_me:$LINENO: result: $CC" >&5 echo "${ECHO_T}$CC" >&6
else
echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi
test -n "$CC" && break
done fi if test -z "$CC"; then
ac_ct_CC=$CC
for ac_prog in cl do
# Extract the first word of "$ac_prog", so it can be a program
name with args. set dummy $ac_prog; ac_word=$2 echo
"$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "check-
ing for $ac_word... $ECHO_C" >&6 if test
"${ac_cv_prog_ac_ct_CC+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6 else
if test -n "$ac_ct_CC"; then
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the
test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in
$PATH do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
ac_cv_prog_ac_ct_CC="$ac_prog"
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
fi done done
fi fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 echo
"${ECHO_T}$ac_ct_CC" >&6 else
echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi
test -n "$ac_ct_CC" && break done
CC=$ac_ct_CC fi
fi
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C
compiler found in ATH" >&5 echo "$as_me: error: no acceptable C
(exit $ac_status); } { (eval echo "$as_me:$LINENO:
(eval $ac_compiler -V </dev/null >&5) 2>&5
ac_status=$?
echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); }
cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" #include
"confdefs.h"
#ifdef F77_DUMMY_MAIN # ifdef __cplusplus
extern "C" # endif
int F77_DUMMY_MAIN() { return 1; } #endif int main () {
;
return 0; } _ACEOF ac_clean_files_save=$ac_clean_files
ac_clean_files="$ac_clean_files a.out a.exe" # Try to create an
executable without -o first, disregard a.out. # It will help us
diagnose broken compilers, and finding out an intuition # of exe-
ext. echo "$as_me:$LINENO: checking for C compiler default out-
put" >&5 echo $ECHO_N "checking for C compiler default output...
$ECHO_C" >&6 ac_link_default=`echo "$ac_link" | sed 's/ -o *con-
ftest[^ ]*//'` if { (eval echo "$as_me:$LINENO:
(eval $ac_link_default) 2>&5
ac_status=$?
echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); }; then
# Find the output, starting from the most likely. This scheme
is # not robust to junk in `.', hence go to wildcards (a.*) only
as a last # resort.
# Be careful to initialize this variable, since it used to be
cached. # Otherwise an old cache value of `no' led to `EXEEXT =
no' in a Makefile. ac_cv_exeext= for ac_file in `ls a_out.exe
a.exe conftest.exe 2>/dev/null;
ls a.out conftest 2>/dev/null;
ls a.* conftest.* 2>/dev/null`; do
case $ac_file in
*.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb |
*.xSYM ) ;;
a.out ) # We found the default executable, but exeext='' is
most
# certainly right.
break;;
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]**'`
# FIXME: I believe we export ac_cv_exeext for Libtool
--akim.
export ac_cv_exeext
break;;
* ) break;;
esac done else
echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5
{ { echo "$as_me:$LINENO: error: C compiler cannot create exe-
if { ac_try='./$ac_file'
{ (eval echo "$as_me:$LINENO:
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); }; }; then
cross_compiling=no
else
if test "$cross_compiling" = maybe; then cross_com-
piling=yes
else { { echo "$as_me:$LINENO: error: cannot run C
compiled programs. If you meant to cross compile, use `--host'."
>&5 echo "$as_me: error: cannot run C compiled programs. If you
meant to cross compile, use `--host'." >&2;}
{ (exit 1); exit 1; }; }
fi
fi fi echo "$as_me:$LINENO: result: yes" >&5 echo
"${ECHO_T}yes" >&6
rm -f a.out a.exe conftest$ac_cv_exeext
ac_clean_files=$ac_clean_files_save # Check the compiler produces
executables we can run. If not, either # the compiler is broken,
or we cross compile. echo "$as_me:$LINENO: checking whether we
are cross compiling" >&5 echo $ECHO_N "checking whether we are
cross compiling... $ECHO_C" >&6 echo "$as_me:$LINENO: result:
$cross_compiling" >&5 echo "${ECHO_T}$cross_compiling" >&6
echo "$as_me:$LINENO: checking for suffix of executables" >&5
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
if { (eval echo "$as_me:$LINENO:
(eval $ac_link) 2>&5
ac_status=$?
echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); }; then
# If both `conftest.exe' and `conftest' are `present' (well,
observable) # catch `conftest.exe'. For instance with Cygwin,
`ls conftest' will # work properly (i.e., refer to `con-
ftest.exe'), while it won't with # `rm'. for ac_file in `(ls
conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
case $ac_file in
*.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]**'`
export ac_cv_exeext
break;;
* ) break;;
esac done else
{ { echo "$as_me:$LINENO: error: cannot compute suffix of exe-
cutables: cannot compile and link" >&5 echo "$as_me: error: can-
not compute suffix of executables: cannot compile and link" >&2;}
{ (exit 1); exit 1; }; } fi
rm -f conftest$ac_cv_exeext echo "$as_me:$LINENO: result:
;
return 0; } _ACEOF rm -f conftest.o conftest.obj if { (eval
echo "$as_me:$LINENO:
(eval $ac_compile) 2>&5
ac_status=$?
echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); }; then
for ac_file in `(ls conftest.o conftest.obj; ls conftest.*)
2>/dev/null`; do
case $ac_file in
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;;
*) ac_cv_objext=`expr "$ac_file" : '.*.'`
break;;
esac done else
echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object
files: cannot compile" >&5 echo "$as_me: error: cannot compute
suffix of object files: cannot compile" >&2;}
{ (exit 1); exit 1; }; } fi
rm -f conftest.$ac_cv_objext conftest.$ac_ext fi echo
"$as_me:$LINENO: result: $ac_cv_objext" >&5 echo
"${ECHO_T}$ac_cv_objext" >&6 OBJEXT=$ac_cv_objext ac_objext=$OB-
JEXT echo "$as_me:$LINENO: checking whether we are using the GNU
C compiler" >&5 echo $ECHO_N "checking whether we are using the
GNU C compiler... $ECHO_C" >&6 if test "${ac_cv_c_compil-
er_gnu+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6 else
cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" #in-
clude "confdefs.h"
#ifdef F77_DUMMY_MAIN # ifdef __cplusplus
extern "C" # endif
int F77_DUMMY_MAIN() { return 1; } #endif int main () { #ifn-
def __GNUC__
choke me #endif
;
return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo
"$as_me:$LINENO:
(eval $ac_compile) 2>&5
ac_status=$?
echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext'
{ (eval echo "$as_me:$LINENO:
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); }; }; then
ac_compiler_gnu=yes else
echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5
#ifdef F77_DUMMY_MAIN # ifdef __cplusplus
extern "C" # endif
int F77_DUMMY_MAIN() { return 1; } #endif int main () {
;
return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo
"$as_me:$LINENO:
(eval $ac_compile) 2>&5
ac_status=$?
echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext'
{ (eval echo "$as_me:$LINENO:
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); }; }; then
ac_cv_prog_cc_g=yes else
echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5
ac_cv_prog_cc_g=no fi rm -f conftest.$ac_objext conftest.$ac_ext
fi echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 echo
"${ECHO_T}$ac_cv_prog_cc_g" >&6 if test "$ac_test_CFLAGS" = set;
then
CFLAGS=$ac_save_CFLAGS elif test $ac_cv_prog_cc_g = yes; then
if test "$GCC" = yes; then
CFLAGS="-g -O2"
else
CFLAGS="-g"
fi else
if test "$GCC" = yes; then
CFLAGS="-O2"
else
CFLAGS=
fi fi # Some people use a C++ compiler to compile C. Since we
use `exit', # in C++ we need to declare it. In case someone uses
the same compiler # for both compiling C and C++ we need to have
the C++ compiler decide # the declaration of exit, since it's the
most demanding environment. cat >conftest.$ac_ext <<_ACEOF
@%:@ifndef __cplusplus
choke me @%:@endif _ACEOF rm -f conftest.$ac_objext if { (eval
echo "$as_me:$LINENO:
(eval $ac_compile) 2>&5
ac_status=$?
echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext'
{ (eval echo "$as_me:$LINENO:
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); }; }; then
for ac_declaration in '' '#include <stdlib.h>' 'extern
ac_status=$?
echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext'
{ (eval echo "$as_me:$LINENO:
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); }; }; then
: else
echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5
continue fi rm -f conftest.$ac_objext conftest.$ac_ext
cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" #in-
clude "confdefs.h" $ac_declaration #ifdef F77_DUMMY_MAIN # ifdef
__cplusplus
extern "C" # endif
int F77_DUMMY_MAIN() { return 1; } #endif int main () { exit
(42);
;
return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo
"$as_me:$LINENO:
(eval $ac_compile) 2>&5
ac_status=$?
echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext'
{ (eval echo "$as_me:$LINENO:
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); }; }; then
break else
echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5
fi rm -f conftest.$ac_objext conftest.$ac_ext done rm -f con-
ftest* if test -n "$ac_declaration"; then
echo '#ifdef __cplusplus' >>confdefs.h
echo $ac_declaration >>confdefs.h
echo '#endif' >>confdefs.h fi
else
echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5
fi rm -f conftest.$ac_objext conftest.$ac_ext ac_ext=c
ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS con-
ftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS
$CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compil-
er_gnu=$ac_cv_c_compiler_gnu
ac_aux_dir= for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
if test -f $ac_dir/install-sh; then
ac_aux_dir=$ac_dir
ac_install_sh="$ac_aux_dir/install-sh -c"
break
$ac_aux_dir/config.guess" ac_config_sub="$SHELL $ac_aux_dir/con-
fig.sub" ac_configure="$SHELL $ac_aux_dir/configure" # This
should be Cygnus configure.
# Make sure we can run config.sub. $ac_config_sub sun4
>/dev/null 2>&1 ||
{ { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
echo "$as_me: error: cannot run $ac_config_sub" >&2;}
{ (exit 1); exit 1; }; }
echo "$as_me:$LINENO: checking build system type" >&5 echo
$ECHO_N "checking build system type... $ECHO_C" >&6 if test
"${ac_cv_build+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6 else
ac_cv_build_alias=$build_alias test -z "$ac_cv_build_alias" &&
ac_cv_build_alias=`$ac_config_guess` test -z
"$ac_cv_build_alias" &&
{ { echo "$as_me:$LINENO: error: cannot guess build type; you
must specify one" >&5 echo "$as_me: error: cannot guess build
type; you must specify one" >&2;}
{ (exit 1); exit 1; }; } ac_cv_build=`$ac_config_sub
$ac_cv_build_alias` ||
{ { echo "$as_me:$LINENO: error: $ac_config_sub
$ac_cv_build_alias failed" >&5 echo "$as_me: error: $ac_con-
fig_sub $ac_cv_build_alias failed" >&2;}
{ (exit 1); exit 1; }; }
fi echo "$as_me:$LINENO: result: $ac_cv_build" >&5 echo
"${ECHO_T}$ac_cv_build" >&6 build=$ac_cv_build build_cpu=`echo
$ac_cv_build | sed 's/^-]*--]*-$/1/'` build_vendor=`echo
$ac_cv_build | sed 's/^-]*--]*-$/2/'` build_os=`echo $ac_cv_build
| sed 's/^-]*--]*-$/3/'`
echo "$as_me:$LINENO: checking host system type" >&5 echo $ECHO_N
"checking host system type... $ECHO_C" >&6 if test
"${ac_cv_host+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6 else
ac_cv_host_alias=$host_alias test -z "$ac_cv_host_alias" &&
ac_cv_host_alias=$ac_cv_build_alias ac_cv_host=`$ac_config_sub
$ac_cv_host_alias` ||
{ { echo "$as_me:$LINENO: error: $ac_config_sub
$ac_cv_host_alias failed" >&5 echo "$as_me: error: $ac_config_sub
$ac_cv_host_alias failed" >&2;}
{ (exit 1); exit 1; }; }
fi echo "$as_me:$LINENO: result: $ac_cv_host" >&5 echo
"${ECHO_T}$ac_cv_host" >&6 host=$ac_cv_host host_cpu=`echo
$ac_cv_host | sed 's/^-]*--]*-$/1/'` host_vendor=`echo
$ac_cv_host | sed 's/^-]*--]*-$/2/'` host_os=`echo $ac_cv_host |
sed 's/^-]*--]*-$/3/'`
bogus endian macros #endif
;
return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo
"$as_me:$LINENO:
(eval $ac_compile) 2>&5
ac_status=$?
echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext'
{ (eval echo "$as_me:$LINENO:
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); }; }; then
# It does; now see whether it defined to BIG_ENDIAN or not.
cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" #include
"confdefs.h" #include <sys/types.h> #include <sys/param.h>
#ifdef F77_DUMMY_MAIN # ifdef __cplusplus
extern "C" # endif
int F77_DUMMY_MAIN() { return 1; } #endif int main () { #if
BYTE_ORDER != BIG_ENDIAN
not big endian #endif
;
return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo
"$as_me:$LINENO:
(eval $ac_compile) 2>&5
ac_status=$?
echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext'
{ (eval echo "$as_me:$LINENO:
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); }; }; then
ac_cv_c_bigendian=yes else
echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5
ac_cv_c_bigendian=no fi rm -f conftest.$ac_objext con-
ftest.$ac_ext else
echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5
# It does not; compile a test program. if test "$cross_compil-
ing" = yes; then
# try to guess the endianess by grep'ing values into an object
file
ac_cv_c_bigendian=unknown
cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" #in-
clude "confdefs.h" short ascii_mm[] = { 0x4249, 0x4765, 0x6E44,
0x6961, 0x6E53, 0x7953, 0 }; short ascii_ii[] = { 0x694C, 0x5454,
0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; void _ascii () { char *s =
(exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext'
{ (eval echo "$as_me:$LINENO:
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); }; }; then
if fgrep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
ac_cv_c_bigendian=yes fi if fgrep LiTTleEnDian conftest.$ac_ob-
jext >/dev/null ; then
if test "$ac_cv_c_bigendian" = unknown; then
ac_cv_c_bigendian=no
else
# finding both strings is unlikely to happen, but who knows?
ac_cv_c_bigendian=unknown
fi fi else
echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5
fi rm -f conftest.$ac_objext conftest.$ac_ext else
cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" #in-
clude "confdefs.h" int main () {
/* Are we little or big endian? From Harbison&Steele. */
union
{
long l;
char c[sizeof (long)];
} u;
u.l = 1;
exit (u.c[sizeof (long) - 1] == 1); } _ACEOF rm -f con-
ftest$ac_exeext if { (eval echo "$as_me:$LINENO:
(eval $ac_link) 2>&5
ac_status=$?
echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
{ (eval echo "$as_me:$LINENO:
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); }; }; then
ac_cv_c_bigendian=no else
echo "$as_me: program exited with status $ac_status" >&5 echo
"$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5 ( exit
$ac_status ) ac_cv_c_bigendian=yes fi rm -f core core.* *.core
conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext fi fi rm
-f conftest.$ac_objext conftest.$ac_ext fi echo "$as_me:$LINENO:
result: $ac_cv_c_bigendian" >&5 echo "${ECHO_T}$ac_cv_c_bigendi-
an" >&6 case $ac_cv_c_bigendian in
yes)
cat >>confdefs.h <<_ACEOF @%:@define WORDS_BIGENDIAN 1 _ACEOF
;;
no)
;;
On Suns, sometimes $CPP names a directory. if test -n "$CPP" &&
test -d "$CPP"; then
CPP= fi if test -z "$CPP"; then
if test "${ac_cv_prog_CPP+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6 else
# Double quotes because CPP needs to be expanded
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
do
ac_preproc_ok=false for ac_c_preproc_warn_flag in '' yes do
# Use a header file that comes with gcc, so configuring glibc
# with a fresh cross-compiler works.
# On the NeXT, cc -E runs the code through the compiler's pars-
er,
# not just through cpp. "Syntax error" is here to catch this
case.
cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" #in-
clude "confdefs.h" @%:@include <assert.h>
Syntax error _ACEOF if { (eval echo
"$as_me:$LINENO:
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
ac_status=$?
egrep -v '^ *+' conftest.er1 >conftest.err
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); } >/dev/null; then
if test -s conftest.err; then
ac_cpp_err=$ac_c_preproc_warn_flag
else
ac_cpp_err=
fi else
ac_cpp_err=yes fi if test -z "$ac_cpp_err"; then
: else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
# Broken: fails on valid input. continue fi rm -f conftest.err
conftest.$ac_ext
# OK, works on sane cases. Now check whether non-existent
headers
# can be detected and how.
cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" #in-
clude "confdefs.h" @%:@include <ac_nonexistent.h> _ACEOF if {
(eval echo "$as_me:$LINENO:
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
ac_status=$?
egrep -v '^ *+' conftest.er1 >conftest.err
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); } >/dev/null; then
if test -s conftest.err; then
break fi
done
ac_cv_prog_CPP=$CPP
fi
CPP=$ac_cv_prog_CPP else
ac_cv_prog_CPP=$CPP fi echo "$as_me:$LINENO: result: $CPP" >&5
echo "${ECHO_T}$CPP" >&6 ac_preproc_ok=false for ac_c_pre-
proc_warn_flag in '' yes do
# Use a header file that comes with gcc, so configuring glibc
# with a fresh cross-compiler works.
# On the NeXT, cc -E runs the code through the compiler's pars-
er,
# not just through cpp. "Syntax error" is here to catch this
case.
cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" #in-
clude "confdefs.h" @%:@include <assert.h>
Syntax error _ACEOF if { (eval echo
"$as_me:$LINENO:
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
ac_status=$?
egrep -v '^ *+' conftest.er1 >conftest.err
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); } >/dev/null; then
if test -s conftest.err; then
ac_cpp_err=$ac_c_preproc_warn_flag
else
ac_cpp_err=
fi else
ac_cpp_err=yes fi if test -z "$ac_cpp_err"; then
: else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
# Broken: fails on valid input. continue fi rm -f conftest.err
conftest.$ac_ext
# OK, works on sane cases. Now check whether non-existent
headers
# can be detected and how.
cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" #in-
clude "confdefs.h" @%:@include <ac_nonexistent.h> _ACEOF if {
(eval echo "$as_me:$LINENO:
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
ac_status=$?
egrep -v '^ *+' conftest.er1 >conftest.err
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); } >/dev/null; then
then
: else
{ { echo "$as_me:$LINENO: error: C preprocessor echo "$as_me:
error: C preprocessor
{ (exit 1); exit 1; }; } fi
ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS
$CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exe-
ext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu
if test -n "$ac_tool_prefix"; then
# Extract the first word of "${ac_tool_prefix}ranlib", so it
can be a program name with args. set dummy ${ac_tool_prefix}ran-
lib; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test
"${ac_cv_prog_RANLIB+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6 else
if test -n "$RANLIB"; then
ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
fi done done
fi fi RANLIB=$ac_cv_prog_RANLIB if test -n "$RANLIB"; then
echo "$as_me:$LINENO: result: $RANLIB" >&5 echo "${ECHO_T}$RAN-
LIB" >&6 else
echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi
fi if test -z "$ac_cv_prog_RANLIB"; then
ac_ct_RANLIB=$RANLIB
# Extract the first word of "ranlib", so it can be a program
name with args. set dummy ranlib; ac_word=$2 echo
"$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "check-
ing for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_ac_ct_RAN-
LIB+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6 else
if test -n "$ac_ct_RANLIB"; then
ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override
the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir
in $PATH do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
ac_cv_prog_ac_ct_RANLIB="ranlib"
# Find a good install program. We prefer a C program (faster), #
so one script is as good as another. But avoid the broken or #
incompatible versions: # SysV /etc/install, /usr/sbin/install #
SunOS /usr/etc/install # IRIX /sbin/install # AIX /bin/install #
AmigaOS /C/install, which installs bootblocks on floppy discs #
AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag #
AFS /usr/afsws/bin/install, which mishandles nonexistent args #
SVR4 /usr/ucb/install, which tries to use the nonexistent group
"staff" # ./install, which can be erroneously created by make
from ./install.sh. echo "$as_me:$LINENO: checking for a BSD-com-
patible install" >&5 echo $ECHO_N "checking for a BSD-compatible
install... $ECHO_C" >&6 if test -z "$INSTALL"; then if test
"${ac_cv_path_install+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6 else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
# Account for people who put trailing slashes in PATH elements.
case $as_dir/ in
./ | .// | /cC/* | /etc/* | /usr/sbin/* | /usr/etc/* |
/sbin/* | /usr/afsws/bin/* | /usr/ucb/* ) ;;
*)
# OSF1 and SCO ODT 3.0 have their own names for install.
# Don't use installbsd from OSF since it installs stuff as
root
# by default.
for ac_prog in ginstall scoinst install; do
for ac_exec_ext in '' $ac_executable_extensions; do
if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
if test $ac_prog = install &&
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null
2>&1; then
# AIX install. It has an incompatible calling con-
vention.
:
elif test $ac_prog = install &&
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null
2>&1; then
# program-specific install script used by HP pw-
plus--don't use.
:
else
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
break 3
fi
fi
done
done
;; esac done
fi
# It thinks the first close brace ends the variable substitution.
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
# Extract the first word of "ar", so it can be a program name
with args. set dummy ar; ac_word=$2 echo "$as_me:$LINENO: check-
ing for $ac_word" >&5 echo $ECHO_N "checking for $ac_word...
$ECHO_C" >&6 if test "${ac_cv_path_AR+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6 else
case $AR in
[\/]* | ?:[\/]*)
ac_cv_path_AR="$AR" # Let the user override the test with a
path.
;;
*)
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
ac_cv_path_AR="$as_dir/$ac_word$ac_exec_ext"
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
fi done done
;; esac fi AR=$ac_cv_path_AR
if test -n "$AR"; then
echo "$as_me:$LINENO: result: $AR" >&5 echo "${ECHO_T}$AR" >&6
else
echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi
for ac_prog in perl5 perl do
# Extract the first word of "$ac_prog", so it can be a program
name with args. set dummy $ac_prog; ac_word=$2 echo
"$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "check-
ing for $ac_word... $ECHO_C" >&6 if test "${ac_cv_path_PERL+set}"
= set; then
echo $ECHO_N "(cached) $ECHO_C" >&6 else
case $PERL in
[\/]* | ?:[\/]*)
ac_cv_path_PERL="$PERL" # Let the user override the test with a
path.
;;
*)
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
# Extract the first word of "ent", so it can be a program name
with args. set dummy ent; ac_word=$2 echo "$as_me:$LINENO:
checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word...
$ECHO_C" >&6 if test "${ac_cv_path_ENT+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6 else
case $ENT in
[\/]* | ?:[\/]*)
ac_cv_path_ENT="$ENT" # Let the user override the test with a
path.
;;
*)
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
ac_cv_path_ENT="$as_dir/$ac_word$ac_exec_ext"
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
fi done done
;; esac fi ENT=$ac_cv_path_ENT
if test -n "$ENT"; then
echo "$as_me:$LINENO: result: $ENT" >&5 echo "${ECHO_T}$ENT"
>&6 else
echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi
for ac_prog in filepriv do
# Extract the first word of "$ac_prog", so it can be a program
name with args. set dummy $ac_prog; ac_word=$2 echo
"$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "check-
ing for $ac_word... $ECHO_C" >&6 if test
"${ac_cv_path_FILEPRIV+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6 else
case $FILEPRIV in
[\/]* | ?:[\/]*)
ac_cv_path_FILEPRIV="$FILEPRIV" # Let the user override the
test with a path.
;;
*)
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR as_dum-
my="/sbin:/usr/sbin" for as_dir in $as_dummy do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
ac_cv_path_FILEPRIV="$as_dir/$ac_word$ac_exec_ext"
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
with args. set dummy bash; ac_word=$2 echo "$as_me:$LINENO:
checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word...
$ECHO_C" >&6 if test "${ac_cv_path_TEST_MINUS_S_SH+set}" = set;
then
echo $ECHO_N "(cached) $ECHO_C" >&6 else
case $TEST_MINUS_S_SH in
[\/]* | ?:[\/]*)
ac_cv_path_TEST_MINUS_S_SH="$TEST_MINUS_S_SH" # Let the user
override the test with a path.
;;
*)
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
ac_cv_path_TEST_MINUS_S_SH="$as_dir/$ac_word$ac_exec_ext"
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
fi done done
;; esac fi TEST_MINUS_S_SH=$ac_cv_path_TEST_MINUS_S_SH
if test -n "$TEST_MINUS_S_SH"; then
echo "$as_me:$LINENO: result: $TEST_MINUS_S_SH" >&5 echo
"${ECHO_T}$TEST_MINUS_S_SH" >&6 else
echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi
# Extract the first word of "ksh", so it can be a program name
with args. set dummy ksh; ac_word=$2 echo "$as_me:$LINENO:
checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word...
$ECHO_C" >&6 if test "${ac_cv_path_TEST_MINUS_S_SH+set}" = set;
then
echo $ECHO_N "(cached) $ECHO_C" >&6 else
case $TEST_MINUS_S_SH in
[\/]* | ?:[\/]*)
ac_cv_path_TEST_MINUS_S_SH="$TEST_MINUS_S_SH" # Let the user
override the test with a path.
;;
*)
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
ac_cv_path_TEST_MINUS_S_SH="$as_dir/$ac_word$ac_exec_ext"
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
fi done done
;; esac fi TEST_MINUS_S_SH=$ac_cv_path_TEST_MINUS_S_SH
override the test with a path.
;;
*)
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
ac_cv_path_TEST_MINUS_S_SH="$as_dir/$ac_word$ac_exec_ext"
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
fi done done
;; esac fi TEST_MINUS_S_SH=$ac_cv_path_TEST_MINUS_S_SH
if test -n "$TEST_MINUS_S_SH"; then
echo "$as_me:$LINENO: result: $TEST_MINUS_S_SH" >&5 echo
"${ECHO_T}$TEST_MINUS_S_SH" >&6 else
echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi
# Extract the first word of "sh", so it can be a program name
with args. set dummy sh; ac_word=$2 echo "$as_me:$LINENO: check-
ing for $ac_word" >&5 echo $ECHO_N "checking for $ac_word...
$ECHO_C" >&6 if test "${ac_cv_path_SH+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6 else
case $SH in
[\/]* | ?:[\/]*)
ac_cv_path_SH="$SH" # Let the user override the test with a
path.
;;
*)
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
ac_cv_path_SH="$as_dir/$ac_word$ac_exec_ext"
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
fi done done
;; esac fi SH=$ac_cv_path_SH
if test -n "$SH"; then
echo "$as_me:$LINENO: result: $SH" >&5 echo "${ECHO_T}$SH" >&6
else
echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi
# System features # Check whether --enable-largefile or --dis-
able-largefile was given. if test "${enable_largefile+set}" =
set; then
fault,
# so use the C compiler's -n32 option if that helps.
cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure"
#include "confdefs.h" @%:@include <sys/types.h>
/* Check that off_t can represent 2**63 - 1 correctly.
We can't simply define LARGE_OFF_T to be 9223372036854775807,
since some C++ compilers masquerading as C compilers
incorrectly reject 9223372036854775807. */ @%:@define
LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
&& LARGE_OFF_T % 2147483647 == 1)
? 1 : -1]; #ifdef F77_DUMMY_MAIN # ifdef
__cplusplus
extern "C" # endif
int F77_DUMMY_MAIN() { return 1; } #endif int main () {
;
return 0; } _ACEOF
rm -f conftest.$ac_objext if { (eval echo
"$as_me:$LINENO:
(eval $ac_compile) 2>&5
ac_status=$?
echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext'
{ (eval echo "$as_me:$LINENO:
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); }; }; then
break else
echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5
fi rm -f conftest.$ac_objext
CC="$CC -n32"
rm -f conftest.$ac_objext if { (eval echo
"$as_me:$LINENO:
(eval $ac_compile) 2>&5
ac_status=$?
echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext'
{ (eval echo "$as_me:$LINENO:
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); }; }; then
ac_cv_sys_largefile_CC=' -n32'; break else
echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5
fi rm -f conftest.$ac_objext
break
done
CC=$ac_save_CC
cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" #in-
clude "confdefs.h" @%:@include <sys/types.h>
/* Check that off_t can represent 2**63 - 1 correctly.
We can't simply define LARGE_OFF_T to be 9223372036854775807,
since some C++ compilers masquerading as C compilers
incorrectly reject 9223372036854775807. */ @%:@define
LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
&& LARGE_OFF_T % 2147483647 == 1)
? 1 : -1]; #ifdef F77_DUMMY_MAIN # ifdef
__cplusplus
extern "C" # endif
int F77_DUMMY_MAIN() { return 1; } #endif int main () {
;
return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo
"$as_me:$LINENO:
(eval $ac_compile) 2>&5
ac_status=$?
echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext'
{ (eval echo "$as_me:$LINENO:
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); }; }; then
break else
echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5
fi rm -f conftest.$ac_objext conftest.$ac_ext
cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" #in-
clude "confdefs.h" @%:@define _FILE_OFFSET_BITS 64 @%:@include
exit(2);
exit (0); } _ACEOF rm -f conftest$ac_exeext if { (eval echo
"$as_me:$LINENO:
(eval $ac_link) 2>&5
ac_status=$?
echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
{ (eval echo "$as_me:$LINENO:
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); }; }; then
: else
echo "$as_me: program exited with status $ac_status" >&5 echo
"$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5 ( exit
$ac_status ) ac_cv_header_stdc=no fi rm -f core core.* *.core
conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext fi fi fi
echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 echo
"${ECHO_T}$ac_cv_header_stdc" >&6 if test $ac_cv_header_stdc =
yes; then
cat >>confdefs.h <<_ACEOF @%:@define STDC_HEADERS 1 _ACEOF
fi
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
(eval echo "$as_me:$LINENO:
(eval $ac_compile) 2>&5
ac_status=$?
echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext'
{ (eval echo "$as_me:$LINENO:
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); }; }; then
eval "$as_ac_Header=yes" else
echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5
eval "$as_ac_Header=no" fi rm -f conftest.$ac_objext con-
ftest.$ac_ext fi echo "$as_me:$LINENO: result: `eval echo
'${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo
'${'$as_ac_Header'}'`" >&6 if test `eval echo '${'$as_ac_Head-
er'}'` = yes; then
cat >>confdefs.h <<_ACEOF @%:@define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1 _ACEOF
fi
done
for ac_header in bstring.h crypt.h endian.h floatingpoint.h
getopt.h glob.h lastlog.h limits.h login.h lo-
gin_cap.h maillock.h netdb.h netgroup.h netinet/in_systm.h
paths.h pty.h readpassphrase.h rpc/types.h security/pam_ap-
pl.h shadow.h stddef.h stdint.h strings.h sys/bitypes.h
sys/bsdtty.h sys/cdefs.h sys/mman.h sys/select.h sys/stat.h
sys/stropts.h sys/sysmacros.h sys/time.h sys/un.h time.h
ttyent.h usersec.h util.h utime.h utmp.h utmpx.h do
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` if eval
"test
echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N
"checking for $ac_header... $ECHO_C" >&6 if eval "test
echo $ECHO_N "(cached) $ECHO_C" >&6 fi echo "$as_me:$LINENO:
result: `eval echo '${'$as_ac_Header'}'`" >&5 echo
"${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 else
# Is the header compilable? echo "$as_me:$LINENO: checking
$ac_header usability" >&5 echo $ECHO_N "checking $ac_header us-
ability... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF #line
$LINENO "configure" #include "confdefs.h" $ac_includes_default
@%:@include <$ac_header> _ACEOF rm -f conftest.$ac_objext if {
(eval echo "$as_me:$LINENO:
(eval $ac_compile) 2>&5
ac_status=$?
echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext'
{ (eval echo "$as_me:$LINENO:
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); }; }; then
ac_header_compiler=yes else
echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5
ac_header_compiler=no fi rm -f conftest.$ac_objext con-
ftest.$ac_ext echo "$as_me:$LINENO: result: $ac_header_compiler"
>&5 echo "${ECHO_T}$ac_header_compiler" >&6
# Is the header present? echo "$as_me:$LINENO: checking
$ac_header presence" >&5 echo $ECHO_N "checking $ac_header pres-
ence... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF #line $LINENO
"configure" #include "confdefs.h" @%:@include <$ac_header> _ACEOF
if { (eval echo "$as_me:$LINENO:
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
ac_status=$?
egrep -v '^ *+' conftest.er1 >conftest.err
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); } >/dev/null; then
if test -s conftest.err; then
ac_cpp_err=$ac_c_preproc_warn_flag
else
compiler, rejected by the preprocessor!" >&5 echo "$as_me: WARN-
ING: $ac_header: accepted by the compiler, rejected by the pre-
processor!" >&2;}
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with
the preprocessor's result" >&5 echo "$as_me: WARNING: $ac_header:
proceeding with the preprocessor's result" >&2;};;
no:yes )
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but can-
not be compiled" >&5 echo "$as_me: WARNING: $ac_header: present
but cannot be compiled" >&2;}
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for miss-
ing prerequisite headers?" >&5 echo "$as_me: WARNING: $ac_header:
check for missing prerequisite headers?" >&2;}
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with
the preprocessor's result" >&5 echo "$as_me: WARNING: $ac_header:
proceeding with the preprocessor's result" >&2;};; esac echo
"$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N
"checking for $ac_header... $ECHO_C" >&6 if eval "test
echo $ECHO_N "(cached) $ECHO_C" >&6 else
eval "$as_ac_Header=$ac_header_preproc" fi echo
"$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
fi if test `eval echo '${'$as_ac_Header'}'` = yes; then
cat >>confdefs.h <<_ACEOF @%:@define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1 _ACEOF
fi
done
# Checks for libraries. echo "$as_me:$LINENO: checking for
yp_match" >&5 echo $ECHO_N "checking for yp_match... $ECHO_C" >&6
if test "${ac_cv_func_yp_match+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6 else
cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" #in-
clude "confdefs.h" /* System header to define __stub macros and
hopefully few prototypes,
which can conflict with char yp_match (); below. */ #include
conftest.$ac_ext <<_ACEOF #line $LINENO "configure" #include
"confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
#ifdef __cplusplus extern "C" #endif /* We use char because int
might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char innetgr (); #ifdef F77_DUMMY_MAIN # ifdef __cplusplus
extern "C" # endif
int F77_DUMMY_MAIN() { return 1; } #endif int main () { innet-
gr ();
;
return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO:
(eval $ac_link) 2>&5
ac_status=$?
echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest$ac_exeext'
{ (eval echo "$as_me:$LINENO:
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); }; }; then
ac_cv_lib_rpc_innetgr=yes else
echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5
ac_cv_lib_rpc_innetgr=no fi rm -f conftest.$ac_objext con-
ftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi
echo "$as_me:$LINENO: result: $ac_cv_lib_rpc_innetgr" >&5 echo
"${ECHO_T}$ac_cv_lib_rpc_innetgr" >&6 if test $ac_cv_lib_rpc_in-
netgr = yes; then
LIBS="-lrpc -lyp -lrpc $LIBS" fi
builtin and then its argument prototype would still apply. */
char getspnam (); char (*f) ();
#ifdef F77_DUMMY_MAIN # ifdef __cplusplus
extern "C" # endif
int F77_DUMMY_MAIN() { return 1; } #endif int main () { /* The
GNU C library defines this for functions which it implements
to always fail with ENOSYS. Some functions are actually
named
something starting with __ and the normal name is an alias.
*/ #if defined (__stub_getspnam) || defined (__stub___getspnam)
choke me #else f = getspnam; #endif
;
return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO:
(eval $ac_link) 2>&5
ac_status=$?
echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest$ac_exeext'
{ (eval echo "$as_me:$LINENO:
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); }; }; then
ac_cv_func_getspnam=yes else
echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5
ac_cv_func_getspnam=no fi rm -f conftest.$ac_objext con-
ftest$ac_exeext conftest.$ac_ext fi echo "$as_me:$LINENO: result:
$ac_cv_func_getspnam" >&5 echo "${ECHO_T}$ac_cv_func_getspnam"
>&6 if test $ac_cv_func_getspnam = yes; then
: else
echo "$as_me:$LINENO: checking for getspnam in -lgen" >&5 echo
$ECHO_N "checking for getspnam in -lgen... $ECHO_C" >&6 if test
"${ac_cv_lib_gen_getspnam+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6 else
ac_check_lib_save_LIBS=$LIBS LIBS="-lgen $LIBS" cat >con-
ftest.$ac_ext <<_ACEOF #line $LINENO "configure" #include
"confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
#ifdef __cplusplus extern "C" #endif /* We use char because int
might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char getspnam (); #ifdef F77_DUMMY_MAIN # ifdef __cplusplus
extern "C" # endif
int F77_DUMMY_MAIN() { return 1; } #endif int main () { getsp-
nam ();
;
return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO:
echo "$as_me:$LINENO: result: $ac_cv_lib_gen_getspnam" >&5 echo
"${ECHO_T}$ac_cv_lib_gen_getspnam" >&6 if test
$ac_cv_lib_gen_getspnam = yes; then
LIBS="$LIBS -lgen" fi
fi
# Check whether --with-rpath or --without-rpath was given. if
test "${with_rpath+set}" = set; then
withval="$with_rpath"
if test "x$withval" = "xno" ; then
need_dash_r="" fi
if test "x$withval" = "xyes" ; then
need_dash_r=1 fi
fi;
# Check whether --with-zlib or --without-zlib was given. if test
"${with_zlib+set}" = set; then
withval="$with_zlib"
if test "x$withval" = "xno" ; then
{ { echo "$as_me:$LINENO: error: *** zlib
is required ***" >&5 echo "$as_me: error: *** zlib is required
***" >&2;}
{ (exit 1); exit 1; }; } fi if
test -d "$withval/lib"; then if test -n
"${need_dash_r}"; then LD-
FLAGS="-L${withval}/lib -R${withval}/lib ${LDFLAGS}"
else LD-
FLAGS="-L${withval}/lib ${LDFLAGS}" fi
else if test -n
"${need_dash_r}"; then LD-
FLAGS="-L${withval} -R${withval} ${LDFLAGS}"
else LD-
FLAGS="-L${withval} ${LDFLAGS}" fi
fi if test -d "$withval/include";
then CPPFLAGS="-I${withval}/include
${CPPFLAGS}" else
CPPFLAGS="-I${withval} ${CPPFLAGS}"
fi
fi;
echo "$as_me:$LINENO: checking for deflate in -lz" >&5 echo
$ECHO_N "checking for deflate in -lz... $ECHO_C" >&6 if test
"${ac_cv_lib_z_deflate+set}" = set; then
return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO:
(eval $ac_link) 2>&5
ac_status=$?
echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest$ac_exeext'
{ (eval echo "$as_me:$LINENO:
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); }; }; then
ac_cv_lib_z_deflate=yes else
echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5
ac_cv_lib_z_deflate=no fi rm -f conftest.$ac_objext con-
ftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi
echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5 echo
"${ECHO_T}$ac_cv_lib_z_deflate" >&6 if test $ac_cv_lib_z_deflate
= yes; then
cat >>confdefs.h <<_ACEOF @%:@define HAVE_LIBZ 1 _ACEOF
LIBS="-lz $LIBS"
else
{ { echo "$as_me:$LINENO: error: *** zlib missing - please in-
stall first or check config.log ***" >&5 echo "$as_me: error: ***
zlib missing - please install first or check config.log ***"
>&2;}
{ (exit 1); exit 1; }; } fi
echo "$as_me:$LINENO: checking for strcasecmp" >&5 echo $ECHO_N
"checking for strcasecmp... $ECHO_C" >&6 if test
"${ac_cv_func_strcasecmp+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6 else
cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" #in-
clude "confdefs.h" /* System header to define __stub macros and
hopefully few prototypes,
which can conflict with char strcasecmp (); below. */ #in-
clude <assert.h> /* Override any gcc2 internal prototype to avoid
an error. */ #ifdef __cplusplus extern "C" #endif /* We use char
because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char strcasecmp (); char (*f) ();
#ifdef F77_DUMMY_MAIN # ifdef __cplusplus
extern "C" # endif
int F77_DUMMY_MAIN() { return 1; } #endif int main () { /* The
GNU C library defines this for functions which it implements
to always fail with ENOSYS. Some functions are actually
named
something starting with __ and the normal name is an alias.
echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); }; }; then
ac_cv_func_strcasecmp=yes else
echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5
ac_cv_func_strcasecmp=no fi rm -f conftest.$ac_objext con-
ftest$ac_exeext conftest.$ac_ext fi echo "$as_me:$LINENO: result:
$ac_cv_func_strcasecmp" >&5 echo "${ECHO_T}$ac_cv_func_str-
casecmp" >&6 if test $ac_cv_func_strcasecmp = yes; then
: else
echo "$as_me:$LINENO: checking for strcasecmp in -lresolv" >&5
echo $ECHO_N "checking for strcasecmp in -lresolv... $ECHO_C" >&6
if test "${ac_cv_lib_resolv_strcasecmp+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6 else
ac_check_lib_save_LIBS=$LIBS LIBS="-lresolv $LIBS" cat >con-
ftest.$ac_ext <<_ACEOF #line $LINENO "configure" #include
"confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
#ifdef __cplusplus extern "C" #endif /* We use char because int
might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char strcasecmp (); #ifdef F77_DUMMY_MAIN # ifdef __cplusplus
extern "C" # endif
int F77_DUMMY_MAIN() { return 1; } #endif int main () { str-
casecmp ();
;
return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO:
(eval $ac_link) 2>&5
ac_status=$?
echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest$ac_exeext'
{ (eval echo "$as_me:$LINENO:
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); }; }; then
ac_cv_lib_resolv_strcasecmp=yes else
echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5
ac_cv_lib_resolv_strcasecmp=no fi rm -f conftest.$ac_objext con-
ftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi
echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_strcasecmp" >&5
echo "${ECHO_T}$ac_cv_lib_resolv_strcasecmp" >&6 if test
$ac_cv_lib_resolv_strcasecmp = yes; then
LIBS="$LIBS -lresolv" fi
fi
echo "$as_me:$LINENO: checking for utimes" >&5 echo $ECHO_N
"checking for utimes... $ECHO_C" >&6 if test
int F77_DUMMY_MAIN() { return 1; } #endif int main () { /* The
GNU C library defines this for functions which it implements
to always fail with ENOSYS. Some functions are actually
named
something starting with __ and the normal name is an alias.
*/ #if defined (__stub_utimes) || defined (__stub___utimes) choke
me #else f = utimes; #endif
;
return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO:
(eval $ac_link) 2>&5
ac_status=$?
echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest$ac_exeext'
{ (eval echo "$as_me:$LINENO:
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); }; }; then
ac_cv_func_utimes=yes else
echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5
ac_cv_func_utimes=no fi rm -f conftest.$ac_objext conftest$ac_ex-
eext conftest.$ac_ext fi echo "$as_me:$LINENO: result:
$ac_cv_func_utimes" >&5 echo "${ECHO_T}$ac_cv_func_utimes" >&6 if
test $ac_cv_func_utimes = yes; then
: else
echo "$as_me:$LINENO: checking for utimes in -lc89" >&5 echo
$ECHO_N "checking for utimes in -lc89... $ECHO_C" >&6 if test
"${ac_cv_lib_c89_utimes+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6 else
ac_check_lib_save_LIBS=$LIBS LIBS="-lc89 $LIBS" cat >con-
ftest.$ac_ext <<_ACEOF #line $LINENO "configure" #include
"confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
#ifdef __cplusplus extern "C" #endif /* We use char because int
might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char utimes (); #ifdef F77_DUMMY_MAIN # ifdef __cplusplus
extern "C" # endif
int F77_DUMMY_MAIN() { return 1; } #endif int main () { utimes
();
;
return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO:
(eval $ac_link) 2>&5
ac_status=$?
echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest$ac_exeext'
fi
for ac_header in libutil.h do as_ac_Header=`echo "ac_cv_head-
er_$ac_header" | $as_tr_sh` if eval "test
echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N
"checking for $ac_header... $ECHO_C" >&6 if eval "test
echo $ECHO_N "(cached) $ECHO_C" >&6 fi echo "$as_me:$LINENO:
result: `eval echo '${'$as_ac_Header'}'`" >&5 echo
"${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 else
# Is the header compilable? echo "$as_me:$LINENO: checking
$ac_header usability" >&5 echo $ECHO_N "checking $ac_header us-
ability... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF #line
$LINENO "configure" #include "confdefs.h" $ac_includes_default
@%:@include <$ac_header> _ACEOF rm -f conftest.$ac_objext if {
(eval echo "$as_me:$LINENO:
(eval $ac_compile) 2>&5
ac_status=$?
echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext'
{ (eval echo "$as_me:$LINENO:
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); }; }; then
ac_header_compiler=yes else
echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5
ac_header_compiler=no fi rm -f conftest.$ac_objext con-
ftest.$ac_ext echo "$as_me:$LINENO: result: $ac_header_compiler"
>&5 echo "${ECHO_T}$ac_header_compiler" >&6
# Is the header present? echo "$as_me:$LINENO: checking
$ac_header presence" >&5 echo $ECHO_N "checking $ac_header pres-
ence... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF #line $LINENO
"configure" #include "confdefs.h" @%:@include <$ac_header> _ACEOF
if { (eval echo "$as_me:$LINENO:
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
ac_status=$?
egrep -v '^ *+' conftest.er1 >conftest.err
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); } >/dev/null; then
if test -s conftest.err; then
ac_cpp_err=$ac_c_preproc_warn_flag
else
ac_cpp_err=
fi else
ac_cpp_err=yes fi if test -z "$ac_cpp_err"; then
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with
the preprocessor's result" >&5 echo "$as_me: WARNING: $ac_header:
proceeding with the preprocessor's result" >&2;};;
no:yes )
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but can-
not be compiled" >&5 echo "$as_me: WARNING: $ac_header: present
but cannot be compiled" >&2;}
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for miss-
ing prerequisite headers?" >&5 echo "$as_me: WARNING: $ac_header:
check for missing prerequisite headers?" >&2;}
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with
the preprocessor's result" >&5 echo "$as_me: WARNING: $ac_header:
proceeding with the preprocessor's result" >&2;};; esac echo
"$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N
"checking for $ac_header... $ECHO_C" >&6 if eval "test
echo $ECHO_N "(cached) $ECHO_C" >&6 else
eval "$as_ac_Header=$ac_header_preproc" fi echo
"$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
fi if test `eval echo '${'$as_ac_Header'}'` = yes; then
cat >>confdefs.h <<_ACEOF @%:@define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1 _ACEOF
fi
done
echo "$as_me:$LINENO: checking for library containing login" >&5
echo $ECHO_N "checking for library containing login... $ECHO_C"
>&6 if test "${ac_cv_search_login+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6 else
ac_func_search_save_LIBS=$LIBS ac_cv_search_login=no cat >con-
ftest.$ac_ext <<_ACEOF #line $LINENO "configure" #include
"confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
#ifdef __cplusplus extern "C" #endif /* We use char because int
might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char login (); #ifdef F77_DUMMY_MAIN # ifdef __cplusplus
extern "C" # endif
int F77_DUMMY_MAIN() { return 1; } #endif int main () { login
();
;
return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO:
(eval $ac_link) 2>&5
ac_status=$?
echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest$ac_exeext'
/* Override any gcc2 internal prototype to avoid an error. */
#ifdef __cplusplus extern "C" #endif /* We use char because int
might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char login (); #ifdef F77_DUMMY_MAIN # ifdef __cplusplus
extern "C" # endif
int F77_DUMMY_MAIN() { return 1; } #endif int main () { login
();
;
return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO:
(eval $ac_link) 2>&5
ac_status=$?
echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest$ac_exeext'
{ (eval echo "$as_me:$LINENO:
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); }; }; then
ac_cv_search_login="-l$ac_lib" break else
echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5
fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
done fi LIBS=$ac_func_search_save_LIBS fi echo "$as_me:$LINENO:
result: $ac_cv_search_login" >&5 echo "${ECHO_T}$ac_cv_search_lo-
gin" >&6 if test "$ac_cv_search_login" != no; then
test "$ac_cv_search_login" = "none required" ||
LIBS="$ac_cv_search_login $LIBS"
cat >>confdefs.h <<_ACEOF @%:@define HAVE_LOGIN 1 _ACEOF
fi
for ac_func in logout updwtmp logwtmp do as_ac_var=`echo
"ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking
for $ac_func" >&5 echo $ECHO_N "checking for $ac_func... $ECHO_C"
>&6 if eval "test
echo $ECHO_N "(cached) $ECHO_C" >&6 else
cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" #in-
clude "confdefs.h" /* System header to define __stub macros and
hopefully few prototypes,
which can conflict with char $ac_func (); below. */ #include
hosts_access(0);
;
return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO:
(eval $ac_link) 2>&5
ac_status=$?
echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); } &&
else
echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5
{ { echo "$as_me:$LINENO:
error: *** libwrap missing" >&5 echo "$as_me: error: *** libwrap
missing" >&2;}
{ (exit 1); exit 1; }; }
fi rm -f conftest.$ac_objext con-
ftest$ac_exeext conftest.$ac_ext
LIBS="$saved_LIBS" fi
fi;
for ac_func in arc4random b64_ntop bcopy bindresvport_sa
clock fchmod fchown freeaddrinfo futimes gai_strerror
getaddrinfo getcwd getgrouplist getnameinfo getopt getrlimit
getrusage getttyent glob inet_aton inet_ntoa inet_ntop
innetgr login_getcapbool md5_crypt memmove mkdtemp mmap ngetad-
drinfo openpty ogetaddrinfo readpassphrase realpath
recvmsg rresvport_af sendmsg setdtablesize setegid setenv
seteuid setgroups setlogin setproctitle setresgid setreuid
setrlimit setsid setpcred setvbuf sigaction sigvec snprintf
socketpair strerror strlcat strlcpy strmode strsep sysconf
tcgetpgrp truncate utimes vhangup vsnprintf waitpid
__b64_ntop _getpty do as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 echo
$ECHO_N "checking for $ac_func... $ECHO_C" >&6 if eval "test
echo $ECHO_N "(cached) $ECHO_C" >&6 else
cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" #in-
clude "confdefs.h" /* System header to define __stub macros and
hopefully few prototypes,
which can conflict with char $ac_func (); below. */ #include
exit(1); exit(0); } _ACEOF rm -f con-
ftest$ac_exeext if { (eval echo "$as_me:$LINENO:
(eval $ac_link) 2>&5
ac_status=$?
echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
{ (eval echo "$as_me:$LINENO:
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); }; }; then
echo "$as_me:$LINENO: result: yes" >&5 echo
"${ECHO_T}yes" >&6 cat >>confdefs.h <<_ACEOF
@%:@define HAVE_MMAP_ANON_SHARED 1 _ACEOF
else
echo "$as_me: program exited with status $ac_status" >&5 echo
"$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5 ( exit
$ac_status )
echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6
fi rm -f core core.* *.core conftest$ac_exeext conftest.$ac_ob-
jext conftest.$ac_ext fi fi
for ac_func in dirname do as_ac_var=`echo "ac_cv_func_$ac_func" |
extern "C" # endif
int F77_DUMMY_MAIN() { return 1; } #endif int main () { /* The
GNU C library defines this for functions which it implements
to always fail with ENOSYS. Some functions are actually
named
something starting with __ and the normal name is an alias.
*/ #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
choke me #else f = $ac_func; #endif
;
return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO:
(eval $ac_link) 2>&5
ac_status=$?
echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest$ac_exeext'
{ (eval echo "$as_me:$LINENO:
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); }; }; then
eval "$as_ac_var=yes" else
echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5
eval "$as_ac_var=no" fi rm -f conftest.$ac_objext conftest$ac_ex-
eext conftest.$ac_ext fi echo "$as_me:$LINENO: result: `eval echo
'${'$as_ac_var'}'`" >&5 echo "${ECHO_T}`eval echo
'${'$as_ac_var'}'`" >&6 if test `eval echo '${'$as_ac_var'}'` =
yes; then
cat >>confdefs.h <<_ACEOF @%:@define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1 _ACEOF
for ac_header in libgen.h do as_ac_Header=`echo "ac_cv_head-
er_$ac_header" | $as_tr_sh` if eval "test
echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N
"checking for $ac_header... $ECHO_C" >&6 if eval "test
echo $ECHO_N "(cached) $ECHO_C" >&6 fi echo "$as_me:$LINENO:
result: `eval echo '${'$as_ac_Header'}'`" >&5 echo
"${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 else
# Is the header compilable? echo "$as_me:$LINENO: checking
$ac_header usability" >&5 echo $ECHO_N "checking $ac_header us-
ability... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF #line
$LINENO "configure" #include "confdefs.h" $ac_includes_default
@%:@include <$ac_header> _ACEOF rm -f conftest.$ac_objext if {
(eval echo "$as_me:$LINENO:
(eval $ac_compile) 2>&5
ac_status=$?
echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext'
{ (eval echo "$as_me:$LINENO:
(eval $ac_try) 2>&5
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
ac_status=$?
egrep -v '^ *+' conftest.er1 >conftest.err
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); } >/dev/null; then
if test -s conftest.err; then
ac_cpp_err=$ac_c_preproc_warn_flag
else
ac_cpp_err=
fi else
ac_cpp_err=yes fi if test -z "$ac_cpp_err"; then
ac_header_preproc=yes else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
ac_header_preproc=no fi rm -f conftest.err conftest.$ac_ext
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 echo
"${ECHO_T}$ac_header_preproc" >&6
# So? What about this header? case $ac_header_compil-
er:$ac_header_preproc in
yes:no )
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the
compiler, rejected by the preprocessor!" >&5 echo "$as_me: WARN-
ING: $ac_header: accepted by the compiler, rejected by the pre-
processor!" >&2;}
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with
the preprocessor's result" >&5 echo "$as_me: WARNING: $ac_header:
proceeding with the preprocessor's result" >&2;};;
no:yes )
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but can-
not be compiled" >&5 echo "$as_me: WARNING: $ac_header: present
but cannot be compiled" >&2;}
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for miss-
ing prerequisite headers?" >&5 echo "$as_me: WARNING: $ac_header:
check for missing prerequisite headers?" >&2;}
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with
the preprocessor's result" >&5 echo "$as_me: WARNING: $ac_header:
proceeding with the preprocessor's result" >&2;};; esac echo
"$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N
"checking for $ac_header... $ECHO_C" >&6 if eval "test
echo $ECHO_N "(cached) $ECHO_C" >&6 else
eval "$as_ac_Header=$ac_header_preproc" fi echo
"$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
fi if test `eval echo '${'$as_ac_Header'}'` = yes; then
cat >>confdefs.h <<_ACEOF @%:@define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1 _ACEOF
fi
#ifdef __cplusplus extern "C" #endif /* We use char because int
might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char dirname (); #ifdef F77_DUMMY_MAIN # ifdef __cplusplus
extern "C" # endif
int F77_DUMMY_MAIN() { return 1; } #endif int main () {
dirname ();
;
return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO:
(eval $ac_link) 2>&5
ac_status=$?
echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest$ac_exeext'
{ (eval echo "$as_me:$LINENO:
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); }; }; then
ac_cv_lib_gen_dirname=yes else
echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5
ac_cv_lib_gen_dirname=no fi rm -f conftest.$ac_objext con-
ftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi
echo "$as_me:$LINENO: result: $ac_cv_lib_gen_dirname" >&5 echo
"${ECHO_T}$ac_cv_lib_gen_dirname" >&6 if test
$ac_cv_lib_gen_dirname = yes; then
echo "$as_me:$LINENO: checking for broken
dirname" >&5 echo $ECHO_N "checking for broken dirname...
$ECHO_C" >&6 if test "${ac_cv_have_broken_dirname+set}" = set;
then
echo $ECHO_N "(cached) $ECHO_C" >&6 else
save_LIBS="$LIBS"
LIBS="$LIBS -lgen"
if test "$cross_compiling" = yes; then
{ { echo "$as_me:$LINENO: error: cannot run test program while
cross compiling" >&5 echo "$as_me: error: cannot run test program
while cross compiling" >&2;}
{ (exit 1); exit 1; }; } else
cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" #in-
clude "confdefs.h"
#include <libgen.h> #include <string.h>
int main(int argc, char **argv) {
char *s, buf[32];
strncpy(buf,"/etc", 32);
s = dirname(buf);
if (!s || strncmp(s, "/", 32) != 0) { exit(1);
"$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5 ( exit
$ac_status )
ac_cv_have_broken_dirname="yes" fi rm
-f core core.* *.core conftest$ac_exeext conftest.$ac_objext con-
ftest.$ac_ext fi LIBS="$save_LIBS"
fi echo "$as_me:$LINENO: result:
$ac_cv_have_broken_dirname" >&5 echo "${ECHO_T}$ac_cv_have_bro-
ken_dirname" >&6 if test "x$ac_cv_have_bro-
ken_dirname" = "xno" ; then LIBS="$LIBS
-lgen" cat >>confdefs.h <<_ACEOF @%:@de-
fine HAVE_DIRNAME 1 _ACEOF
for ac_header in libgen.h do as_ac_Head-
er=`echo "ac_cv_header_$ac_header" | $as_tr_sh` if eval "test
echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N
"checking for $ac_header... $ECHO_C" >&6 if eval "test
echo $ECHO_N "(cached) $ECHO_C" >&6 fi echo "$as_me:$LINENO:
result: `eval echo '${'$as_ac_Header'}'`" >&5 echo
"${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 else
# Is the header compilable? echo "$as_me:$LINENO: checking
$ac_header usability" >&5 echo $ECHO_N "checking $ac_header us-
ability... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF #line
$LINENO "configure" #include "confdefs.h" $ac_includes_default
@%:@include <$ac_header> _ACEOF rm -f conftest.$ac_objext if {
(eval echo "$as_me:$LINENO:
(eval $ac_compile) 2>&5
ac_status=$?
echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext'
{ (eval echo "$as_me:$LINENO:
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); }; }; then
ac_header_compiler=yes else
echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5
ac_header_compiler=no fi rm -f conftest.$ac_objext con-
ftest.$ac_ext echo "$as_me:$LINENO: result: $ac_header_compiler"
>&5 echo "${ECHO_T}$ac_header_compiler" >&6
# Is the header present? echo "$as_me:$LINENO: checking
$ac_header presence" >&5 echo $ECHO_N "checking $ac_header pres-
ence... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF #line $LINENO
"configure" #include "confdefs.h" @%:@include <$ac_header> _ACEOF
if { (eval echo "$as_me:$LINENO:
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
ac_status=$?
egrep -v '^ *+' conftest.er1 >conftest.err
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: = $ac_status" >&5
# So? What about this header? case $ac_header_compil-
er:$ac_header_preproc in
yes:no )
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the
compiler, rejected by the preprocessor!" >&5 echo "$as_me: WARN-
ING: $ac_header: accepted by the compiler, rejected by the pre-
processor!" >&2;}
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with
the preprocessor's result" >&5 echo "$as_me: WARNING: $ac_header:
proceeding with the preprocessor's result" >&2;};;
no:yes )
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but can-
not be compiled" >&5 echo "$as_me: WARNING: $ac_header: present
but cannot be compiled" >&2;}
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for miss-
ing prerequisite headers?" >&5 echo "$as_me: WARNING: $ac_header:
check for missing prerequisite headers?" >&2;}
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with
the preprocessor's result" >&5 echo "$as_me: WARNING: $ac_header:
proceeding with the preprocessor's result" >&2;};; esac echo
"$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N
"checking for $ac_header... $ECHO_C" >&6 if eval "test
echo $ECHO_N "(cached) $ECHO_C" >&6 else
eval "$as_ac_Header=$ac_header_preproc" fi echo
"$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
fi if test `eval echo '${'$as_ac_Header'}'` = yes; then
cat >>confdefs.h <<_ACEOF @%:@define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1 _ACEOF
fi
done
fi fi
fi done
for ac_func in gettimeofday time do as_ac_var=`echo
"ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking
for $ac_func" >&5 echo $ECHO_N "checking for $ac_func... $ECHO_C"
>&6 if eval "test
echo $ECHO_N "(cached) $ECHO_C" >&6 else
cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" #in-
clude "confdefs.h" /* System header to define __stub macros and
hopefully few prototypes,
which can conflict with char $ac_func (); below. */ #include
choke me #else f = $ac_func; #endif
;
return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO:
(eval $ac_link) 2>&5
ac_status=$?
echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest$ac_exeext'
{ (eval echo "$as_me:$LINENO:
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); }; }; then
eval "$as_ac_var=yes" else
echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5
eval "$as_ac_var=no" fi rm -f conftest.$ac_objext conftest$ac_ex-
eext conftest.$ac_ext fi echo "$as_me:$LINENO: result: `eval echo
'${'$as_ac_var'}'`" >&5 echo "${ECHO_T}`eval echo
'${'$as_ac_var'}'`" >&6 if test `eval echo '${'$as_ac_var'}'` =
yes; then
cat >>confdefs.h <<_ACEOF @%:@define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1 _ACEOF
fi done
for ac_func in endutent getutent getutid getutline pututline se-
tutent do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo
"$as_me:$LINENO: checking for $ac_func" >&5 echo $ECHO_N "check-
ing for $ac_func... $ECHO_C" >&6 if eval "test
echo $ECHO_N "(cached) $ECHO_C" >&6 else
cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" #in-
clude "confdefs.h" /* System header to define __stub macros and
hopefully few prototypes,
which can conflict with char $ac_func (); below. */ #include
conftest.$ac_ext <<_ACEOF #line $LINENO "configure" #include
"confdefs.h" $ac_includes_default #ifdef F77_DUMMY_MAIN # ifdef
__cplusplus
extern "C" # endif
int F77_DUMMY_MAIN() { return 1; } #endif int main () { static
int test_array @<:@1 - 2 * !(((long) (sizeof (char))) >= 0)@:>@;
test_array @<:@0@:>@ = 0
;
return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo
"$as_me:$LINENO:
(eval $ac_compile) 2>&5
ac_status=$?
echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext'
{ (eval echo "$as_me:$LINENO:
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); }; }; then
ac_lo=0 ac_mid=0
while :; do
cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" #in-
clude "confdefs.h" $ac_includes_default #ifdef F77_DUMMY_MAIN #
ifdef __cplusplus
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); }; }; then
ac_hi=$ac_mid; break else
echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5
ac_lo=`expr $ac_mid + 1`
if test $ac_lo -le $ac_mid; then
ac_lo= ac_hi=
break
fi
ac_mid=`expr 2 '*' $ac_mid + 1` fi rm -f con-
ftest.$ac_objext conftest.$ac_ext
done else
echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5
cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" #include
"confdefs.h" $ac_includes_default #ifdef F77_DUMMY_MAIN # ifdef
__cplusplus
extern "C" # endif
int F77_DUMMY_MAIN() { return 1; } #endif int main () { static
int test_array @<:@1 - 2 * !(((long) (sizeof (char))) < 0)@:>@;
test_array @<:@0@:>@ = 0
;
return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo
"$as_me:$LINENO:
(eval $ac_compile) 2>&5
ac_status=$?
echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext'
{ (eval echo "$as_me:$LINENO:
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); }; }; then
ac_hi=-1 ac_mid=-1
while :; do
cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" #in-
clude "confdefs.h" $ac_includes_default #ifdef F77_DUMMY_MAIN #
ifdef __cplusplus
extern "C" # endif
int F77_DUMMY_MAIN() { return 1; } #endif int main () { static
int test_array @<:@1 - 2 * !(((long) (sizeof (char))) >=
$ac_mid)@:>@; test_array @<:@0@:>@ = 0
;
return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo
"$as_me:$LINENO:
(eval $ac_compile) 2>&5
ac_status=$?
echo "$as_me:$LINENO: = $ac_status" >&5
ac_mid=`expr 2 '*' $ac_mid` fi rm -f con-
ftest.$ac_objext conftest.$ac_ext
done else
echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5
ac_lo= ac_hi= fi rm -f conftest.$ac_objext conftest.$ac_ext fi rm
-f conftest.$ac_objext conftest.$ac_ext # Binary search between
lo and hi bounds. while test "x$ac_lo" != "x$ac_hi"; do
ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" #in-
clude "confdefs.h" $ac_includes_default #ifdef F77_DUMMY_MAIN #
ifdef __cplusplus
extern "C" # endif
int F77_DUMMY_MAIN() { return 1; } #endif int main () { static
int test_array @<:@1 - 2 * !(((long) (sizeof (char))) <=
$ac_mid)@:>@; test_array @<:@0@:>@ = 0
;
return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo
"$as_me:$LINENO:
(eval $ac_compile) 2>&5
ac_status=$?
echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext'
{ (eval echo "$as_me:$LINENO:
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); }; }; then
ac_hi=$ac_mid else
echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5
ac_lo=`expr '(' $ac_mid ')' + 1` fi rm -f conftest.$ac_objext
conftest.$ac_ext done case $ac_lo in ?*) ac_cv_size-
of_char=$ac_lo;; echo "$as_me: error: cannot compute sizeof
(char), 77" >&2;}
{ (exit 1); exit 1; }; } ;; esac else
if test "$cross_compiling" = yes; then
{ { echo "$as_me:$LINENO: error: cannot run test program while
cross compiling" >&5 echo "$as_me: error: cannot run test program
while cross compiling" >&2;}
{ (exit 1); exit 1; }; } else
cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" #in-
clude "confdefs.h" $ac_includes_default long longval () { return
(long) (sizeof (char)); } unsigned long ulongval () { return
(long) (sizeof (char)); } @%:@include <stdio.h> @%:@include
conftest.$ac_ext <<_ACEOF #line $LINENO "configure" #include
"confdefs.h" $ac_includes_default #ifdef F77_DUMMY_MAIN # ifdef
__cplusplus
extern "C" # endif
int F77_DUMMY_MAIN() { return 1; } #endif int main () { static
int test_array @<:@1 - 2 * !(((long) (sizeof (short int))) >=
0)@:>@; test_array @<:@0@:>@ = 0
;
return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo
"$as_me:$LINENO:
(eval $ac_compile) 2>&5
ac_status=$?
echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext'
{ (eval echo "$as_me:$LINENO:
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); }; }; then
ac_lo=0 ac_mid=0
while :; do
cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" #in-
clude "confdefs.h" $ac_includes_default #ifdef F77_DUMMY_MAIN #
ifdef __cplusplus
extern "C" # endif
int F77_DUMMY_MAIN() { return 1; } #endif int main () { static
int test_array @<:@1 - 2 * !(((long) (sizeof (short int))) <=
$ac_mid)@:>@; test_array @<:@0@:>@ = 0
;
return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo
"$as_me:$LINENO:
(eval $ac_compile) 2>&5
ac_status=$?
echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext'
{ (eval echo "$as_me:$LINENO:
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); }; }; then
ac_hi=$ac_mid; break else
echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5
int test_array @<:@1 - 2 * !(((long) (sizeof (short int))) <
0)@:>@; test_array @<:@0@:>@ = 0
;
return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo
"$as_me:$LINENO:
(eval $ac_compile) 2>&5
ac_status=$?
echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext'
{ (eval echo "$as_me:$LINENO:
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); }; }; then
ac_hi=-1 ac_mid=-1
while :; do
cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" #in-
clude "confdefs.h" $ac_includes_default #ifdef F77_DUMMY_MAIN #
ifdef __cplusplus
extern "C" # endif
int F77_DUMMY_MAIN() { return 1; } #endif int main () { static
int test_array @<:@1 - 2 * !(((long) (sizeof (short int))) >=
$ac_mid)@:>@; test_array @<:@0@:>@ = 0
;
return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo
"$as_me:$LINENO:
(eval $ac_compile) 2>&5
ac_status=$?
echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext'
{ (eval echo "$as_me:$LINENO:
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); }; }; then
ac_lo=$ac_mid; break else
echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5
ac_hi=`expr '(' $ac_mid ')' - 1`
if test $ac_mid -le $ac_hi; then
ac_lo= ac_hi=
break
fi
ac_mid=`expr 2 '*' $ac_mid` fi rm -f con-
ftest.$ac_objext conftest.$ac_ext
done else
echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5
ac_lo= ac_hi= fi rm -f conftest.$ac_objext conftest.$ac_ext fi rm
-f conftest.$ac_objext conftest.$ac_ext # Binary search between
ac_status=$?
echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext'
{ (eval echo "$as_me:$LINENO:
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); }; }; then
ac_hi=$ac_mid else
echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5
ac_lo=`expr '(' $ac_mid ')' + 1` fi rm -f conftest.$ac_objext
conftest.$ac_ext done case $ac_lo in ?*) ac_cv_size-
of_short_int=$ac_lo;; echo "$as_me: error: cannot compute sizeof
(short int), 77" >&2;}
{ (exit 1); exit 1; }; } ;; esac else
if test "$cross_compiling" = yes; then
{ { echo "$as_me:$LINENO: error: cannot run test program while
cross compiling" >&5 echo "$as_me: error: cannot run test program
while cross compiling" >&2;}
{ (exit 1); exit 1; }; } else
cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" #in-
clude "confdefs.h" $ac_includes_default long longval () { return
(long) (sizeof (short int)); } unsigned long ulongval () { return
(long) (sizeof (short int)); } @%:@include <stdio.h> @%:@include
conftest.$ac_ext <<_ACEOF #line $LINENO "configure" #include
{ ac_try='test -s conftest.$ac_objext'
{ (eval echo "$as_me:$LINENO:
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); }; }; then
ac_lo=0 ac_mid=0
while :; do
cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" #in-
clude "confdefs.h" $ac_includes_default #ifdef F77_DUMMY_MAIN #
ifdef __cplusplus
extern "C" # endif
int F77_DUMMY_MAIN() { return 1; } #endif int main () { static
int test_array @<:@1 - 2 * !(((long) (sizeof (int))) <=
$ac_mid)@:>@; test_array @<:@0@:>@ = 0
;
return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo
"$as_me:$LINENO:
(eval $ac_compile) 2>&5
ac_status=$?
echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext'
{ (eval echo "$as_me:$LINENO:
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); }; }; then
ac_hi=$ac_mid; break else
echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5
ac_lo=`expr $ac_mid + 1`
if test $ac_lo -le $ac_mid; then
ac_lo= ac_hi=
break
fi
ac_mid=`expr 2 '*' $ac_mid + 1` fi rm -f con-
ftest.$ac_objext conftest.$ac_ext
done else
echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5
cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" #include
"confdefs.h" $ac_includes_default #ifdef F77_DUMMY_MAIN # ifdef
__cplusplus
extern "C" # endif
int F77_DUMMY_MAIN() { return 1; } #endif int main () { static
int test_array @<:@1 - 2 * !(((long) (sizeof (int))) < 0)@:>@;
test_array @<:@0@:>@ = 0
;
return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo
"$as_me:$LINENO:
(eval $ac_compile) 2>&5
extern "C" # endif
int F77_DUMMY_MAIN() { return 1; } #endif int main () { static
int test_array @<:@1 - 2 * !(((long) (sizeof (int))) >=
$ac_mid)@:>@; test_array @<:@0@:>@ = 0
;
return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo
"$as_me:$LINENO:
(eval $ac_compile) 2>&5
ac_status=$?
echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext'
{ (eval echo "$as_me:$LINENO:
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); }; }; then
ac_lo=$ac_mid; break else
echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5
ac_hi=`expr '(' $ac_mid ')' - 1`
if test $ac_mid -le $ac_hi; then
ac_lo= ac_hi=
break
fi
ac_mid=`expr 2 '*' $ac_mid` fi rm -f con-
ftest.$ac_objext conftest.$ac_ext
done else
echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5
ac_lo= ac_hi= fi rm -f conftest.$ac_objext conftest.$ac_ext fi rm
-f conftest.$ac_objext conftest.$ac_ext # Binary search between
lo and hi bounds. while test "x$ac_lo" != "x$ac_hi"; do
ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" #in-
clude "confdefs.h" $ac_includes_default #ifdef F77_DUMMY_MAIN #
ifdef __cplusplus
extern "C" # endif
int F77_DUMMY_MAIN() { return 1; } #endif int main () { static
int test_array @<:@1 - 2 * !(((long) (sizeof (int))) <=
$ac_mid)@:>@; test_array @<:@0@:>@ = 0
;
return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo
"$as_me:$LINENO:
(eval $ac_compile) 2>&5
ac_status=$?
echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext'
{ (eval echo "$as_me:$LINENO:
(eval $ac_try) 2>&5
ac_status=$?
cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" #in-
clude "confdefs.h" $ac_includes_default long longval () { return
(long) (sizeof (int)); } unsigned long ulongval () { return
(long) (sizeof (int)); } @%:@include <stdio.h> @%:@include
conftest.$ac_ext <<_ACEOF #line $LINENO "configure" #include
"confdefs.h" $ac_includes_default #ifdef F77_DUMMY_MAIN # ifdef
__cplusplus
extern "C" # endif
int F77_DUMMY_MAIN() { return 1; } #endif int main () { static
int test_array @<:@1 - 2 * !(((long) (sizeof (long int))) >=
0)@:>@; test_array @<:@0@:>@ = 0
;
return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo
"$as_me:$LINENO:
(eval $ac_compile) 2>&5
ac_status=$?
echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext'
{ (eval echo "$as_me:$LINENO:
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); }; }; then
ac_status=$?
echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext'
{ (eval echo "$as_me:$LINENO:
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); }; }; then
ac_hi=$ac_mid; break else
echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5
ac_lo=`expr $ac_mid + 1`
if test $ac_lo -le $ac_mid; then
ac_lo= ac_hi=
break
fi
ac_mid=`expr 2 '*' $ac_mid + 1` fi rm -f con-
ftest.$ac_objext conftest.$ac_ext
done else
echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5
cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" #include
"confdefs.h" $ac_includes_default #ifdef F77_DUMMY_MAIN # ifdef
__cplusplus
extern "C" # endif
int F77_DUMMY_MAIN() { return 1; } #endif int main () { static
int test_array @<:@1 - 2 * !(((long) (sizeof (long int))) <
0)@:>@; test_array @<:@0@:>@ = 0
;
return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo
"$as_me:$LINENO:
(eval $ac_compile) 2>&5
ac_status=$?
echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext'
{ (eval echo "$as_me:$LINENO:
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); }; }; then
ac_hi=-1 ac_mid=-1
while :; do
cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" #in-
clude "confdefs.h" $ac_includes_default #ifdef F77_DUMMY_MAIN #
ifdef __cplusplus
extern "C" # endif
int F77_DUMMY_MAIN() { return 1; } #endif int main () { static
int test_array @<:@1 - 2 * !(((long) (sizeof (long int))) >=
$ac_mid)@:>@; test_array @<:@0@:>@ = 0
;
ac_hi=`expr '(' $ac_mid ')' - 1`
if test $ac_mid -le $ac_hi; then
ac_lo= ac_hi=
break
fi
ac_mid=`expr 2 '*' $ac_mid` fi rm -f con-
ftest.$ac_objext conftest.$ac_ext
done else
echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5
ac_lo= ac_hi= fi rm -f conftest.$ac_objext conftest.$ac_ext fi rm
-f conftest.$ac_objext conftest.$ac_ext # Binary search between
lo and hi bounds. while test "x$ac_lo" != "x$ac_hi"; do
ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" #in-
clude "confdefs.h" $ac_includes_default #ifdef F77_DUMMY_MAIN #
ifdef __cplusplus
extern "C" # endif
int F77_DUMMY_MAIN() { return 1; } #endif int main () { static
int test_array @<:@1 - 2 * !(((long) (sizeof (long int))) <=
$ac_mid)@:>@; test_array @<:@0@:>@ = 0
;
return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo
"$as_me:$LINENO:
(eval $ac_compile) 2>&5
ac_status=$?
echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext'
{ (eval echo "$as_me:$LINENO:
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); }; }; then
ac_hi=$ac_mid else
echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5
ac_lo=`expr '(' $ac_mid ')' + 1` fi rm -f conftest.$ac_objext
conftest.$ac_ext done case $ac_lo in ?*) ac_cv_size-
of_long_int=$ac_lo;; echo "$as_me: error: cannot compute sizeof
(long int), 77" >&2;}
{ (exit 1); exit 1; }; } ;; esac else
if test "$cross_compiling" = yes; then
{ { echo "$as_me:$LINENO: error: cannot run test program while
cross compiling" >&5 echo "$as_me: error: cannot run test program
while cross compiling" >&2;}
{ (exit 1); exit 1; }; } else
cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" #in-
clude "confdefs.h" $ac_includes_default long longval () { return
(long) (sizeof (long int)); } unsigned long ulongval () { return
(long) (sizeof (long int)); } @%:@include <stdio.h> @%:@include
conftest.$ac_ext <<_ACEOF #line $LINENO "configure" #include
"confdefs.h" $ac_includes_default #ifdef F77_DUMMY_MAIN # ifdef
__cplusplus
extern "C" # endif
int F77_DUMMY_MAIN() { return 1; } #endif int main () { static
int test_array @<:@1 - 2 * !(((long) (sizeof (long long int))) >=
0)@:>@; test_array @<:@0@:>@ = 0
;
return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo
"$as_me:$LINENO:
(eval $ac_compile) 2>&5
ac_status=$?
echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext'
{ (eval echo "$as_me:$LINENO:
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); }; }; then
ac_lo=0 ac_mid=0
while :; do
cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" #in-
clude "confdefs.h" $ac_includes_default #ifdef F77_DUMMY_MAIN #
ifdef __cplusplus
extern "C" # endif
int F77_DUMMY_MAIN() { return 1; } #endif int main () { static
int test_array @<:@1 - 2 * !(((long) (sizeof (long long int))) <=
$ac_mid)@:>@; test_array @<:@0@:>@ = 0
;
return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo
"$as_me:$LINENO:
(eval $ac_compile) 2>&5
ac_status=$?
echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext'
{ (eval echo "$as_me:$LINENO:
(eval $ac_try) 2>&5
cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" #include
"confdefs.h" $ac_includes_default #ifdef F77_DUMMY_MAIN # ifdef
__cplusplus
extern "C" # endif
int F77_DUMMY_MAIN() { return 1; } #endif int main () { static
int test_array @<:@1 - 2 * !(((long) (sizeof (long long int))) <
0)@:>@; test_array @<:@0@:>@ = 0
;
return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo
"$as_me:$LINENO:
(eval $ac_compile) 2>&5
ac_status=$?
echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext'
{ (eval echo "$as_me:$LINENO:
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); }; }; then
ac_hi=-1 ac_mid=-1
while :; do
cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" #in-
clude "confdefs.h" $ac_includes_default #ifdef F77_DUMMY_MAIN #
ifdef __cplusplus
extern "C" # endif
int F77_DUMMY_MAIN() { return 1; } #endif int main () { static
int test_array @<:@1 - 2 * !(((long) (sizeof (long long int))) >=
$ac_mid)@:>@; test_array @<:@0@:>@ = 0
;
return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo
"$as_me:$LINENO:
(eval $ac_compile) 2>&5
ac_status=$?
echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext'
{ (eval echo "$as_me:$LINENO:
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); }; }; then
ac_lo=$ac_mid; break else
echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5
ac_hi=`expr '(' $ac_mid ')' - 1`
if test $ac_mid -le $ac_hi; then
ac_lo= ac_hi=
break
fi
ac_mid=`expr 2 '*' $ac_mid` fi rm -f con-
;
return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo
"$as_me:$LINENO:
(eval $ac_compile) 2>&5
ac_status=$?
echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext'
{ (eval echo "$as_me:$LINENO:
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); }; }; then
ac_hi=$ac_mid else
echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5
ac_lo=`expr '(' $ac_mid ')' + 1` fi rm -f conftest.$ac_objext
conftest.$ac_ext done case $ac_lo in ?*) ac_cv_size-
of_long_long_int=$ac_lo;; echo "$as_me: error: cannot compute
sizeof (long long int), 77" >&2;}
{ (exit 1); exit 1; }; } ;; esac else
if test "$cross_compiling" = yes; then
{ { echo "$as_me:$LINENO: error: cannot run test program while
cross compiling" >&5 echo "$as_me: error: cannot run test program
while cross compiling" >&2;}
{ (exit 1); exit 1; }; } else
cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" #in-
clude "confdefs.h" $ac_includes_default long longval () { return
(long) (sizeof (long long int)); } unsigned long ulongval () {
return (long) (sizeof (long long int)); } @%:@include <stdio.h>
@%:@include <stdlib.h> #ifdef F77_DUMMY_MAIN # ifdef __cplusplus
extern "C" # endif
int F77_DUMMY_MAIN() { return 1; } #endif int main () {
FILE *f = fopen ("conftest.val", "w");
if (! f)
exit (1);
if (((long) (sizeof (long long int))) < 0)
{
long i = longval ();
if (i != ((long) (sizeof (long long int)))) exit
(1);
fprintf (f, "%ld0, i);
}
else
{
unsigned long i = ulongval ();
if (i != ((long) (sizeof (long long int)))) exit
(1);
fprintf (f, "%lu0, i);
}
exit (ferror (f) || fclose (f) != 0);
echo "$as_me: program exited with status $ac_status" >&5 echo
"$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5 ( exit
$ac_status ) { { echo "$as_me:$LINENO: error: cannot compute
sizeof (long long int), 77" >&5 echo "$as_me: error: cannot com-
pute sizeof (long long int), 77" >&2;}
{ (exit 1); exit 1; }; } fi rm -f core core.* *.core con-
ftest$ac_exeext conftest.$ac_objext conftest.$ac_ext fi fi rm -f
conftest.val else
ac_cv_sizeof_long_long_int=0 fi fi echo "$as_me:$LINENO: re-
sult: $ac_cv_sizeof_long_long_int" >&5 echo
"${ECHO_T}$ac_cv_sizeof_long_long_int" >&6 cat >>confdefs.h
<<_ACEOF @%:@define SIZEOF_LONG_LONG_INT $ac_cv_size-
of_long_long_int _ACEOF
# Sanity check long long for some platforms (AIX) if test
"x$ac_cv_sizeof_long_long_int" = "x4" ; then ac_cv_size-
of_long_long_int=0 fi
# More checks for data types echo "$as_me:$LINENO: checking for
u_int type" >&5 echo $ECHO_N "checking for u_int type... $ECHO_C"
>&6 if test "${ac_cv_have_u_int+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6 else
cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure"
#include "confdefs.h"
#include <sys/types.h> #ifdef F77_DUMMY_MAIN # ifdef __cplus-
plus
extern "C" # endif
int F77_DUMMY_MAIN() { return 1; } #endif int main () {
u_int a; a = 1;
;
return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo
"$as_me:$LINENO:
(eval $ac_compile) 2>&5
ac_status=$?
echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext'
{ (eval echo "$as_me:$LINENO:
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); }; }; then
ac_cv_have_u_int="yes" else
echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5
ac_cv_have_u_int="no" fi rm -f conftest.$ac_objext con-
ftest.$ac_ext
fi echo "$as_me:$LINENO: result: $ac_cv_have_u_int" >&5 echo
"${ECHO_T}$ac_cv_have_u_int" >&6 if test "x$ac_cv_have_u_int" =
extern "C" # endif
int F77_DUMMY_MAIN() { return 1; } #endif int main () {
int8_t a; int16_t b; int32_t c; a = b = c = 1;
;
return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo
"$as_me:$LINENO:
(eval $ac_compile) 2>&5
ac_status=$?
echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext'
{ (eval echo "$as_me:$LINENO:
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); }; }; then
ac_cv_have_intxx_t="yes" else
echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5
ac_cv_have_intxx_t="no" fi rm -f conftest.$ac_objext
conftest.$ac_ext
fi echo "$as_me:$LINENO: result: $ac_cv_have_intxx_t" >&5 echo
"${ECHO_T}$ac_cv_have_intxx_t" >&6 if test "x$ac_cv_have_intxx_t"
= "xyes" ; then cat >>confdefs.h <<_ACEOF @%:@define
HAVE_INTXX_T 1 _ACEOF
have_intxx_t=1 fi
if (test -z "$have_intxx_t" && test "x$ac_cv_head-
er_stdint_h" = "xyes") then
echo "$as_me:$LINENO: checking for intXX_t types in stdint.h"
>&5 echo $ECHO_N "checking for intXX_t types in stdint.h...
$ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF #line $LINENO
"configure" #include "confdefs.h"
#include <stdint.h> #ifdef F77_DUMMY_MAIN # ifdef __cplusplus
extern "C" # endif
int F77_DUMMY_MAIN() { return 1; } #endif int main () {
int8_t a; int16_t b; int32_t c; a = b = c = 1;
;
return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo
"$as_me:$LINENO:
(eval $ac_compile) 2>&5
ac_status=$?
echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext'
{ (eval echo "$as_me:$LINENO:
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); }; }; then
cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure"
#include "confdefs.h"
#include <sys/types.h> #ifdef F77_DUMMY_MAIN # ifdef __cplus-
plus
extern "C" # endif
int F77_DUMMY_MAIN() { return 1; } #endif int main () {
int64_t a; a = 1;
;
return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo
"$as_me:$LINENO:
(eval $ac_compile) 2>&5
ac_status=$?
echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext'
{ (eval echo "$as_me:$LINENO:
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); }; }; then
ac_cv_have_int64_t="yes" else
echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5
ac_cv_have_int64_t="no" fi rm -f conftest.$ac_objext
conftest.$ac_ext
fi echo "$as_me:$LINENO: result: $ac_cv_have_int64_t" >&5 echo
"${ECHO_T}$ac_cv_have_int64_t" >&6 if test "x$ac_cv_have_int64_t"
= "xyes" ; then cat >>confdefs.h <<_ACEOF @%:@define
HAVE_INT64_T 1 _ACEOF
have_int64_t=1 fi if test -z "$have_int64_t" ;
then
echo "$as_me:$LINENO: checking for int64_t type in sys/sock-
et.h" >&5 echo $ECHO_N "checking for int64_t type in sys/sock-
et.h... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF #line
$LINENO "configure" #include "confdefs.h"
#include <sys/socket.h> #ifdef F77_DUMMY_MAIN # ifdef __cplus-
plus
extern "C" # endif
int F77_DUMMY_MAIN() { return 1; } #endif int main () {
int64_t a; a = 1
;
return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo
"$as_me:$LINENO:
(eval $ac_compile) 2>&5
ac_status=$?
echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext'
{ (eval echo "$as_me:$LINENO:
(eval $ac_try) 2>&5
ac_status=$?
sys/bitypes.h" >&5 echo $ECHO_N "checking for int64_t type in
sys/bitypes.h... $ECHO_C" >&6 cat >conftest.$ac_ext
<<_ACEOF #line $LINENO "configure" #include "confdefs.h"
#include <sys/bitypes.h> #ifdef F77_DUMMY_MAIN # ifdef __cplus-
plus
extern "C" # endif
int F77_DUMMY_MAIN() { return 1; } #endif int main () {
int64_t a; a = 1
;
return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo
"$as_me:$LINENO:
(eval $ac_compile) 2>&5
ac_status=$?
echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext'
{ (eval echo "$as_me:$LINENO:
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); }; }; then
cat >>confdefs.h <<_ACEOF @%:@define
HAVE_INT64_T 1 _ACEOF
echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6 else
echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5
echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6
fi rm -f conftest.$ac_objext conftest.$ac_ext fi
echo "$as_me:$LINENO: checking for u_intXX_t types" >&5 echo
$ECHO_N "checking for u_intXX_t types... $ECHO_C" >&6 if test
"${ac_cv_have_u_intxx_t+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6 else
cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure"
#include "confdefs.h"
#include <sys/types.h> #ifdef F77_DUMMY_MAIN # ifdef __cplus-
plus
extern "C" # endif
int F77_DUMMY_MAIN() { return 1; } #endif int main () {
u_int8_t a; u_int16_t b; u_int32_t c; a = b = c = 1;
;
return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo
"$as_me:$LINENO:
(eval $ac_compile) 2>&5
ac_status=$?
echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext'
{ (eval echo "$as_me:$LINENO:
have_u_intxx_t=1 fi
if test -z "$have_u_intxx_t" ; then
echo "$as_me:$LINENO: checking for u_intXX_t types in
sys/socket.h" >&5 echo $ECHO_N "checking for u_intXX_t types in
sys/socket.h... $ECHO_C" >&6 cat >conftest.$ac_ext
<<_ACEOF #line $LINENO "configure" #include "confdefs.h"
#include <sys/socket.h> #ifdef F77_DUMMY_MAIN # ifdef __cplus-
plus
extern "C" # endif
int F77_DUMMY_MAIN() { return 1; } #endif int main () {
u_int8_t a; u_int16_t b; u_int32_t c; a = b = c = 1;
;
return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo
"$as_me:$LINENO:
(eval $ac_compile) 2>&5
ac_status=$?
echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext'
{ (eval echo "$as_me:$LINENO:
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); }; }; then
cat >>confdefs.h <<_ACEOF @%:@define
HAVE_U_INTXX_T 1 _ACEOF
echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6 else
echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5
echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6
fi rm -f conftest.$ac_objext conftest.$ac_ext fi
echo "$as_me:$LINENO: checking for u_int64_t types" >&5 echo
$ECHO_N "checking for u_int64_t types... $ECHO_C" >&6 if test
"${ac_cv_have_u_int64_t+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6 else
cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure"
#include "confdefs.h"
#include <sys/types.h> #ifdef F77_DUMMY_MAIN # ifdef __cplus-
plus
extern "C" # endif
int F77_DUMMY_MAIN() { return 1; } #endif int main () {
u_int64_t a; a = 1;
;
return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo
"$as_me:$LINENO:
(eval $ac_compile) 2>&5
ac_status=$?
"${ECHO_T}$ac_cv_have_u_int64_t" >&6 if test
"x$ac_cv_have_u_int64_t" = "xyes" ; then cat >>confdefs.h
<<_ACEOF @%:@define HAVE_U_INT64_T 1 _ACEOF
have_u_int64_t=1 fi
if test -z "$have_u_int64_t" ; then
echo "$as_me:$LINENO: checking for u_int64_t type in
sys/bitypes.h" >&5 echo $ECHO_N "checking for u_int64_t type in
sys/bitypes.h... $ECHO_C" >&6 cat >conftest.$ac_ext
<<_ACEOF #line $LINENO "configure" #include "confdefs.h"
#include <sys/bitypes.h> #ifdef F77_DUMMY_MAIN # ifdef __cplus-
plus
extern "C" # endif
int F77_DUMMY_MAIN() { return 1; } #endif int main () {
u_int64_t a; a = 1
;
return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo
"$as_me:$LINENO:
(eval $ac_compile) 2>&5
ac_status=$?
echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext'
{ (eval echo "$as_me:$LINENO:
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); }; }; then
cat >>confdefs.h <<_ACEOF @%:@define
HAVE_U_INT64_T 1 _ACEOF
echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6 else
echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5
echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6
fi rm -f conftest.$ac_objext conftest.$ac_ext fi
if test -z "$have_u_intxx_t" ; then echo "$as_me:$LINENO:
checking for uintXX_t types" >&5 echo $ECHO_N "checking for uin-
tXX_t types... $ECHO_C" >&6 if test "${ac_cv_have_uintxx_t+set}"
= set; then
echo $ECHO_N "(cached) $ECHO_C" >&6 else
cat >conftest.$ac_ext <<_ACEOF #line $LINENO
"configure" #include "confdefs.h"
#include <sys/types.h> #ifdef F77_DUM-
MY_MAIN # ifdef __cplusplus
extern "C" # endif
int F77_DUMMY_MAIN() { return 1; } #endif int main () {
ac_cv_have_uintxx_t="yes" else
echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5
ac_cv_have_uintxx_t="no" fi rm -f con-
ftest.$ac_objext conftest.$ac_ext fi echo
"$as_me:$LINENO: result: $ac_cv_have_uintxx_t" >&5 echo
"${ECHO_T}$ac_cv_have_uintxx_t" >&6 if test
"x$ac_cv_have_uintxx_t" = "xyes" ; then cat
>>confdefs.h <<_ACEOF @%:@define HAVE_UINTXX_T 1 _ACEOF
fi fi
if test -z "$have_uintxx_t" ; then
echo "$as_me:$LINENO: checking for uintXX_t types in
stdint.h" >&5 echo $ECHO_N "checking for uintXX_t types in
stdint.h... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure" #include "confdefs.h"
#include <stdint.h> #ifdef F77_DUMMY_MAIN # ifdef __cplusplus
extern "C" # endif
int F77_DUMMY_MAIN() { return 1; } #endif int main () {
uint8_t a; uint16_t b; uint32_t c; a = b = c = 1;
;
return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo
"$as_me:$LINENO:
(eval $ac_compile) 2>&5
ac_status=$?
echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext'
{ (eval echo "$as_me:$LINENO:
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); }; }; then
cat >>confdefs.h <<_ACEOF @%:@define
HAVE_UINTXX_T 1 _ACEOF
echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6 else
echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5
echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6
fi rm -f conftest.$ac_objext conftest.$ac_ext fi
if (test -z "$have_u_intxx_t" || test -z "$have_intxx_t" &&
test "x$ac_cv_header_sys_bitypes_h" = "xyes") then echo
"$as_me:$LINENO: checking for intXX_t and u_intXX_t types in
sys/bitypes.h" >&5 echo $ECHO_N "checking for intXX_t and u_in-
tXX_t types in sys/bitypes.h... $ECHO_C" >&6 cat >con-
ftest.$ac_ext <<_ACEOF #line $LINENO "configure" #include
"confdefs.h"
#include <sys/bitypes.h> #ifdef F77_DUMMY_MAIN #
(exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext'
{ (eval echo "$as_me:$LINENO:
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); }; }; then
cat >>confdefs.h <<_ACEOF @%:@define
HAVE_U_INTXX_T 1 _ACEOF
cat >>confdefs.h <<_ACEOF @%:@define
HAVE_INTXX_T 1 _ACEOF
echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6 else
echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5
echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6
fi rm -f conftest.$ac_objext conftest.$ac_ext fi
echo "$as_me:$LINENO: checking for u_char" >&5 echo $ECHO_N
"checking for u_char... $ECHO_C" >&6 if test
"${ac_cv_have_u_char+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6 else
cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure"
#include "confdefs.h"
#include <sys/types.h> #ifdef F77_DUMMY_MAIN #
ifdef __cplusplus
extern "C" # endif
int F77_DUMMY_MAIN() { return 1; } #endif int main () {
u_char foo; foo = 125;
;
return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo
"$as_me:$LINENO:
(eval $ac_compile) 2>&5
ac_status=$?
echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext'
{ (eval echo "$as_me:$LINENO:
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); }; }; then
ac_cv_have_u_char="yes" else
echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5
ac_cv_have_u_char="no" fi rm -f conftest.$ac_objext
conftest.$ac_ext
#ifdef F77_DUMMY_MAIN # ifdef __cplusplus
extern "C" # endif
int F77_DUMMY_MAIN() { return 1; } #endif int main () { if
((socklen_t *) 0)
return 0; if (sizeof (socklen_t))
return 0;
;
return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo
"$as_me:$LINENO:
(eval $ac_compile) 2>&5
ac_status=$?
echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext'
{ (eval echo "$as_me:$LINENO:
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); }; }; then
ac_cv_type_socklen_t=yes else
echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5
ac_cv_type_socklen_t=no fi rm -f conftest.$ac_objext con-
ftest.$ac_ext fi echo "$as_me:$LINENO: result:
$ac_cv_type_socklen_t" >&5 echo "${ECHO_T}$ac_cv_type_socklen_t"
>&6 if test $ac_cv_type_socklen_t = yes; then
: else
echo "$as_me:$LINENO: checking for socklen_t equivalent"
>&5 echo $ECHO_N "checking for socklen_t equivalent... $ECHO_C"
>&6
if test "${curl_cv_socklen_t_equiv+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6 else
# Systems have either "struct sockaddr *" or #
"void *" as the second argument to getpeername
curl_cv_socklen_t_equiv= for arg2 in "struct sockaddr"
void; do for t in int size_t unsigned long "unsigned
long"; do cat >conftest.$ac_ext <<_ACEOF #line
$LINENO "configure" #include "confdefs.h"
#include <sys/types.h> #in-
clude <sys/socket.h>
int getpeername (int, $arg2 *, $t *);
#ifdef F77_DUMMY_MAIN # ifdef __cplusplus
extern "C" # endif
int F77_DUMMY_MAIN() { return 1; } #endif int main () {
$t len; getpeer-
name(0,0,&len);
;
break else
echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5
fi rm -f conftest.$ac_objext conftest.$ac_ext done
done
if test "x$curl_cv_socklen_t_equiv" = x; then
{ { echo "$as_me:$LINENO: error: Cannot find a type to use in
place of socklen_t" >&5 echo "$as_me: error: Cannot find a type
to use in place of socklen_t" >&2;}
{ (exit 1); exit 1; }; } fi
fi
echo "$as_me:$LINENO: result: $curl_cv_socklen_t_equiv" >&5
echo "${ECHO_T}$curl_cv_socklen_t_equiv" >&6
cat >>confdefs.h <<_ACEOF @%:@define socklen_t
$curl_cv_socklen_t_equiv _ACEOF
fi
echo "$as_me:$LINENO: checking for sig_atomic_t" >&5 echo $ECHO_N
"checking for sig_atomic_t... $ECHO_C" >&6 if test
"${ac_cv_type_sig_atomic_t+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6 else
cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" #in-
clude "confdefs.h" #include <signal.h>
#ifdef F77_DUMMY_MAIN # ifdef __cplusplus
extern "C" # endif
int F77_DUMMY_MAIN() { return 1; } #endif int main () { if
((sig_atomic_t *) 0)
return 0; if (sizeof (sig_atomic_t))
return 0;
;
return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo
"$as_me:$LINENO:
(eval $ac_compile) 2>&5
ac_status=$?
echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext'
{ (eval echo "$as_me:$LINENO:
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); }; }; then
ac_cv_type_sig_atomic_t=yes else
echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5
ac_cv_type_sig_atomic_t=no fi rm -f conftest.$ac_objext con-
echo $ECHO_N "(cached) $ECHO_C" >&6 else
cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure"
#include "confdefs.h"
#include <sys/types.h> #ifdef F77_DUMMY_MAIN #
ifdef __cplusplus
extern "C" # endif
int F77_DUMMY_MAIN() { return 1; } #endif int main () {
size_t foo; foo = 1235;
;
return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo
"$as_me:$LINENO:
(eval $ac_compile) 2>&5
ac_status=$?
echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext'
{ (eval echo "$as_me:$LINENO:
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); }; }; then
ac_cv_have_size_t="yes" else
echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5
ac_cv_have_size_t="no" fi rm -f conftest.$ac_objext
conftest.$ac_ext
fi echo "$as_me:$LINENO: result: $ac_cv_have_size_t" >&5 echo
"${ECHO_T}$ac_cv_have_size_t" >&6 if test "x$ac_cv_have_size_t" =
"xyes" ; then cat >>confdefs.h <<_ACEOF @%:@define
HAVE_SIZE_T 1 _ACEOF
fi
echo "$as_me:$LINENO: checking for ssize_t" >&5 echo $ECHO_N
"checking for ssize_t... $ECHO_C" >&6 if test
"${ac_cv_have_ssize_t+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6 else
cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure"
#include "confdefs.h"
#include <sys/types.h> #ifdef F77_DUMMY_MAIN #
ifdef __cplusplus
extern "C" # endif
int F77_DUMMY_MAIN() { return 1; } #endif int main () {
ssize_t foo; foo = 1235;
;
return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo
"$as_me:$LINENO:
(eval $ac_compile) 2>&5
fi echo "$as_me:$LINENO: result: $ac_cv_have_ssize_t" >&5 echo
"${ECHO_T}$ac_cv_have_ssize_t" >&6 if test "x$ac_cv_have_ssize_t"
= "xyes" ; then cat >>confdefs.h <<_ACEOF @%:@define
HAVE_SSIZE_T 1 _ACEOF
fi
echo "$as_me:$LINENO: checking for clock_t" >&5 echo $ECHO_N
"checking for clock_t... $ECHO_C" >&6 if test
"${ac_cv_have_clock_t+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6 else
cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure"
#include "confdefs.h"
#include <time.h> #ifdef F77_DUMMY_MAIN # ifdef
__cplusplus
extern "C" # endif
int F77_DUMMY_MAIN() { return 1; } #endif int main () {
clock_t foo; foo = 1235;
;
return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo
"$as_me:$LINENO:
(eval $ac_compile) 2>&5
ac_status=$?
echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext'
{ (eval echo "$as_me:$LINENO:
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); }; }; then
ac_cv_have_clock_t="yes" else
echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5
ac_cv_have_clock_t="no" fi rm -f conftest.$ac_objext
conftest.$ac_ext
fi echo "$as_me:$LINENO: result: $ac_cv_have_clock_t" >&5 echo
"${ECHO_T}$ac_cv_have_clock_t" >&6 if test "x$ac_cv_have_clock_t"
= "xyes" ; then cat >>confdefs.h <<_ACEOF @%:@define
HAVE_CLOCK_T 1 _ACEOF
fi
echo "$as_me:$LINENO: checking for sa_family_t" >&5 echo $ECHO_N
"checking for sa_family_t... $ECHO_C" >&6 if test
"${ac_cv_have_sa_family_t+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6 else
cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure"
#include "confdefs.h"
{ (eval echo "$as_me:$LINENO:
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); }; }; then
ac_cv_have_sa_family_t="yes" else
echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5
cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" #in-
clude "confdefs.h"
#include <sys/types.h> #include <sys/socket.h> #include
exit(1); exit(0); } #else main() { ex-
it(0); } #endif _ACEOF rm -f conftest$ac_exeext
if { (eval echo "$as_me:$LINENO:
(eval $ac_link) 2>&5
ac_status=$?
echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
{ (eval echo "$as_me:$LINENO:
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); }; }; then
true else
echo "$as_me: program exited with status $ac_status" >&5 echo
"$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5 ( exit
$ac_status )
cat >>confdefs.h <<_ACEOF @%:@define BROKEN_SNPRINTF 1 _ACEOF
fi rm -f core core.* *.core conftest$ac_exeext con-
ftest.$ac_objext conftest.$ac_ext fi fi
# look for field 'ut_host' in header 'utmp.h' os-
sh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'` os-
sh_varname="ossh_cv_$ossh_safe""_has_"ut_host echo
"$as_me:$LINENO: checking for ut_host field in utmp.h" >&5 echo
$ECHO_N "checking for ut_host field in utmp.h... $ECHO_C" >&6
if eval "test
echo $ECHO_N "(cached) $ECHO_C" >&6 else
cat >conftest.$ac_ext <<_ACEOF #line $LINENO
"configure" #include "confdefs.h" #include <utmp.h>
_ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
egrep "ut_host" >/dev/null 2>&1; then
eval "$ossh_varname=yes"
else
eval "$ossh_varname=no"
fi rm -f conftest*
fi
ossh_result=`eval 'echo $'"$ossh_varname"` if
test -n "`echo $ossh_varname`"; then echo
"$as_me:$LINENO: result: $ossh_result" >&5 echo "${ECHO_T}$os-
sh_result" >&6 if test "x$ossh_result" = "xyes";
then cat >>confdefs.h <<_ACEOF @%:@define
HAVE_HOST_IN_UTMP 1 _ACEOF
fi else echo
"$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6
fi
egrep "ut_host" >/dev/null 2>&1; then
eval "$ossh_varname=yes"
else
eval "$ossh_varname=no"
fi rm -f conftest*
fi
ossh_result=`eval 'echo $'"$ossh_varname"` if
test -n "`echo $ossh_varname`"; then echo
"$as_me:$LINENO: result: $ossh_result" >&5 echo "${ECHO_T}$os-
sh_result" >&6 if test "x$ossh_result" = "xyes";
then cat >>confdefs.h <<_ACEOF @%:@define
HAVE_HOST_IN_UTMPX 1 _ACEOF
fi else echo
"$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6
fi
# look for field 'syslen' in header 'utmpx.h' os-
sh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'` os-
sh_varname="ossh_cv_$ossh_safe""_has_"syslen echo
"$as_me:$LINENO: checking for syslen field in utmpx.h" >&5 echo
$ECHO_N "checking for syslen field in utmpx.h... $ECHO_C" >&6
if eval "test
echo $ECHO_N "(cached) $ECHO_C" >&6 else
cat >conftest.$ac_ext <<_ACEOF #line $LINENO
"configure" #include "confdefs.h" #include <utmpx.h>
_ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
egrep "syslen" >/dev/null 2>&1; then
eval "$ossh_varname=yes"
else
eval "$ossh_varname=no"
fi rm -f conftest*
fi
ossh_result=`eval 'echo $'"$ossh_varname"` if
test -n "`echo $ossh_varname`"; then echo
"$as_me:$LINENO: result: $ossh_result" >&5 echo "${ECHO_T}$os-
sh_result" >&6 if test "x$ossh_result" = "xyes";
then cat >>confdefs.h <<_ACEOF @%:@define
HAVE_SYSLEN_IN_UTMPX 1 _ACEOF
fi else echo
"$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6
fi
# look for field 'ut_pid' in header 'utmp.h' os-
sh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'` os-
fi rm -f conftest*
fi
ossh_result=`eval 'echo $'"$ossh_varname"` if
test -n "`echo $ossh_varname`"; then echo
"$as_me:$LINENO: result: $ossh_result" >&5 echo "${ECHO_T}$os-
sh_result" >&6 if test "x$ossh_result" = "xyes";
then cat >>confdefs.h <<_ACEOF @%:@define
HAVE_PID_IN_UTMP 1 _ACEOF
fi else echo
"$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6
fi
# look for field 'ut_type' in header 'utmp.h' os-
sh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'` os-
sh_varname="ossh_cv_$ossh_safe""_has_"ut_type echo
"$as_me:$LINENO: checking for ut_type field in utmp.h" >&5 echo
$ECHO_N "checking for ut_type field in utmp.h... $ECHO_C" >&6
if eval "test
echo $ECHO_N "(cached) $ECHO_C" >&6 else
cat >conftest.$ac_ext <<_ACEOF #line $LINENO
"configure" #include "confdefs.h" #include <utmp.h>
_ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
egrep "ut_type" >/dev/null 2>&1; then
eval "$ossh_varname=yes"
else
eval "$ossh_varname=no"
fi rm -f conftest*
fi
ossh_result=`eval 'echo $'"$ossh_varname"` if
test -n "`echo $ossh_varname`"; then echo
"$as_me:$LINENO: result: $ossh_result" >&5 echo "${ECHO_T}$os-
sh_result" >&6 if test "x$ossh_result" = "xyes";
then cat >>confdefs.h <<_ACEOF @%:@define
HAVE_TYPE_IN_UTMP 1 _ACEOF
fi else echo
"$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6
fi
# look for field 'ut_type' in header 'utmpx.h'
ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'`
ossh_varname="ossh_cv_$ossh_safe""_has_"ut_type
echo "$as_me:$LINENO: checking for ut_type field in utm-
px.h" >&5 echo $ECHO_N "checking for ut_type field in utmpx.h...
$ECHO_C" >&6 if eval "test
test -n "`echo $ossh_varname`"; then echo
"$as_me:$LINENO: result: $ossh_result" >&5 echo "${ECHO_T}$os-
sh_result" >&6 if test "x$ossh_result" = "xyes";
then cat >>confdefs.h <<_ACEOF @%:@define
HAVE_TYPE_IN_UTMPX 1 _ACEOF
fi else echo
"$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6
fi
# look for field 'ut_tv' in header 'utmp.h' os-
sh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'` os-
sh_varname="ossh_cv_$ossh_safe""_has_"ut_tv echo
"$as_me:$LINENO: checking for ut_tv field in utmp.h" >&5 echo
$ECHO_N "checking for ut_tv field in utmp.h... $ECHO_C" >&6
if eval "test
echo $ECHO_N "(cached) $ECHO_C" >&6 else
cat >conftest.$ac_ext <<_ACEOF #line $LINENO
"configure" #include "confdefs.h" #include <utmp.h>
_ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
egrep "ut_tv" >/dev/null 2>&1; then
eval "$ossh_varname=yes"
else
eval "$ossh_varname=no"
fi rm -f conftest*
fi
ossh_result=`eval 'echo $'"$ossh_varname"` if
test -n "`echo $ossh_varname`"; then echo
"$as_me:$LINENO: result: $ossh_result" >&5 echo "${ECHO_T}$os-
sh_result" >&6 if test "x$ossh_result" = "xyes";
then cat >>confdefs.h <<_ACEOF @%:@define
HAVE_TV_IN_UTMP 1 _ACEOF
fi else echo
"$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6
fi
# look for field 'ut_id' in header 'utmp.h' os-
sh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'` os-
sh_varname="ossh_cv_$ossh_safe""_has_"ut_id echo
"$as_me:$LINENO: checking for ut_id field in utmp.h" >&5 echo
$ECHO_N "checking for ut_id field in utmp.h... $ECHO_C" >&6
if eval "test
echo $ECHO_N "(cached) $ECHO_C" >&6 else
cat >conftest.$ac_ext <<_ACEOF #line $LINENO
"configure" #include "confdefs.h" #include <utmp.h>
HAVE_ID_IN_UTMP 1 _ACEOF
fi else echo
"$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6
fi
# look for field 'ut_id' in header 'utmpx.h' os-
sh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'` os-
sh_varname="ossh_cv_$ossh_safe""_has_"ut_id echo
"$as_me:$LINENO: checking for ut_id field in utmpx.h" >&5 echo
$ECHO_N "checking for ut_id field in utmpx.h... $ECHO_C" >&6
if eval "test
echo $ECHO_N "(cached) $ECHO_C" >&6 else
cat >conftest.$ac_ext <<_ACEOF #line $LINENO
"configure" #include "confdefs.h" #include <utmpx.h>
_ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
egrep "ut_id" >/dev/null 2>&1; then
eval "$ossh_varname=yes"
else
eval "$ossh_varname=no"
fi rm -f conftest*
fi
ossh_result=`eval 'echo $'"$ossh_varname"` if
test -n "`echo $ossh_varname`"; then echo
"$as_me:$LINENO: result: $ossh_result" >&5 echo "${ECHO_T}$os-
sh_result" >&6 if test "x$ossh_result" = "xyes";
then cat >>confdefs.h <<_ACEOF @%:@define
HAVE_ID_IN_UTMPX 1 _ACEOF
fi else echo
"$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6
fi
# look for field 'ut_addr' in header 'utmp.h' os-
sh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'` os-
sh_varname="ossh_cv_$ossh_safe""_has_"ut_addr echo
"$as_me:$LINENO: checking for ut_addr field in utmp.h" >&5 echo
$ECHO_N "checking for ut_addr field in utmp.h... $ECHO_C" >&6
if eval "test
echo $ECHO_N "(cached) $ECHO_C" >&6 else
cat >conftest.$ac_ext <<_ACEOF #line $LINENO
"configure" #include "confdefs.h" #include <utmp.h>
_ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
egrep "ut_addr" >/dev/null 2>&1; then
eval "$ossh_varname=yes"
fi
# look for field 'ut_addr' in header 'utmpx.h'
ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'`
ossh_varname="ossh_cv_$ossh_safe""_has_"ut_addr
echo "$as_me:$LINENO: checking for ut_addr field in utm-
px.h" >&5 echo $ECHO_N "checking for ut_addr field in utmpx.h...
$ECHO_C" >&6 if eval "test
echo $ECHO_N "(cached) $ECHO_C" >&6 else
cat >conftest.$ac_ext <<_ACEOF #line $LINENO
"configure" #include "confdefs.h" #include <utmpx.h>
_ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
egrep "ut_addr" >/dev/null 2>&1; then
eval "$ossh_varname=yes"
else
eval "$ossh_varname=no"
fi rm -f conftest*
fi
ossh_result=`eval 'echo $'"$ossh_varname"` if
test -n "`echo $ossh_varname`"; then echo
"$as_me:$LINENO: result: $ossh_result" >&5 echo "${ECHO_T}$os-
sh_result" >&6 if test "x$ossh_result" = "xyes";
then cat >>confdefs.h <<_ACEOF @%:@define
HAVE_ADDR_IN_UTMPX 1 _ACEOF
fi else echo
"$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6
fi
# look for field 'ut_addr_v6' in header 'utmp.h'
ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'`
ossh_varname="ossh_cv_$ossh_safe""_has_"ut_ad-
dr_v6 echo "$as_me:$LINENO: checking for ut_addr_v6 field
in utmp.h" >&5 echo $ECHO_N "checking for ut_addr_v6 field in
utmp.h... $ECHO_C" >&6 if eval "test
echo $ECHO_N "(cached) $ECHO_C" >&6 else
cat >conftest.$ac_ext <<_ACEOF #line $LINENO
"configure" #include "confdefs.h" #include <utmp.h>
_ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
egrep "ut_addr_v6" >/dev/null 2>&1; then
eval "$ossh_varname=yes"
else
eval "$ossh_varname=no"
fi rm -f conftest*
fi
ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'`
ossh_varname="ossh_cv_$ossh_safe""_has_"ut_ad-
dr_v6 echo "$as_me:$LINENO: checking for ut_addr_v6 field
in utmpx.h" >&5 echo $ECHO_N "checking for ut_addr_v6 field in
utmpx.h... $ECHO_C" >&6 if eval "test
echo $ECHO_N "(cached) $ECHO_C" >&6 else
cat >conftest.$ac_ext <<_ACEOF #line $LINENO
"configure" #include "confdefs.h" #include <utmpx.h>
_ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
egrep "ut_addr_v6" >/dev/null 2>&1; then
eval "$ossh_varname=yes"
else
eval "$ossh_varname=no"
fi rm -f conftest*
fi
ossh_result=`eval 'echo $'"$ossh_varname"` if
test -n "`echo $ossh_varname`"; then echo
"$as_me:$LINENO: result: $ossh_result" >&5 echo "${ECHO_T}$os-
sh_result" >&6 if test "x$ossh_result" = "xyes";
then cat >>confdefs.h <<_ACEOF @%:@define
HAVE_ADDR_V6_IN_UTMPX 1 _ACEOF
fi else echo
"$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6
fi
# look for field 'ut_exit' in header 'utmp.h' os-
sh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'` os-
sh_varname="ossh_cv_$ossh_safe""_has_"ut_exit echo
"$as_me:$LINENO: checking for ut_exit field in utmp.h" >&5 echo
$ECHO_N "checking for ut_exit field in utmp.h... $ECHO_C" >&6
if eval "test
echo $ECHO_N "(cached) $ECHO_C" >&6 else
cat >conftest.$ac_ext <<_ACEOF #line $LINENO
"configure" #include "confdefs.h" #include <utmp.h>
_ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
egrep "ut_exit" >/dev/null 2>&1; then
eval "$ossh_varname=yes"
else
eval "$ossh_varname=no"
fi rm -f conftest*
fi
ossh_result=`eval 'echo $'"$ossh_varname"` if
test -n "`echo $ossh_varname`"; then echo
"$as_me:$LINENO: result: $ossh_result" >&5 echo "${ECHO_T}$os-
if eval "test
echo $ECHO_N "(cached) $ECHO_C" >&6 else
cat >conftest.$ac_ext <<_ACEOF #line $LINENO
"configure" #include "confdefs.h" #include <utmp.h>
_ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
egrep "ut_time" >/dev/null 2>&1; then
eval "$ossh_varname=yes"
else
eval "$ossh_varname=no"
fi rm -f conftest*
fi
ossh_result=`eval 'echo $'"$ossh_varname"` if
test -n "`echo $ossh_varname`"; then echo
"$as_me:$LINENO: result: $ossh_result" >&5 echo "${ECHO_T}$os-
sh_result" >&6 if test "x$ossh_result" = "xyes";
then cat >>confdefs.h <<_ACEOF @%:@define
HAVE_TIME_IN_UTMP 1 _ACEOF
fi else echo
"$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6
fi
# look for field 'ut_time' in header 'utmpx.h'
ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'`
ossh_varname="ossh_cv_$ossh_safe""_has_"ut_time
echo "$as_me:$LINENO: checking for ut_time field in utm-
px.h" >&5 echo $ECHO_N "checking for ut_time field in utmpx.h...
$ECHO_C" >&6 if eval "test
echo $ECHO_N "(cached) $ECHO_C" >&6 else
cat >conftest.$ac_ext <<_ACEOF #line $LINENO
"configure" #include "confdefs.h" #include <utmpx.h>
_ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
egrep "ut_time" >/dev/null 2>&1; then
eval "$ossh_varname=yes"
else
eval "$ossh_varname=no"
fi rm -f conftest*
fi
ossh_result=`eval 'echo $'"$ossh_varname"` if
test -n "`echo $ossh_varname`"; then echo
"$as_me:$LINENO: result: $ossh_result" >&5 echo "${ECHO_T}$os-
sh_result" >&6 if test "x$ossh_result" = "xyes";
then cat >>confdefs.h <<_ACEOF @%:@define
HAVE_TIME_IN_UTMPX 1 _ACEOF
"configure" #include "confdefs.h" #include <utmpx.h>
_ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
egrep "ut_tv" >/dev/null 2>&1; then
eval "$ossh_varname=yes"
else
eval "$ossh_varname=no"
fi rm -f conftest*
fi
ossh_result=`eval 'echo $'"$ossh_varname"` if
test -n "`echo $ossh_varname`"; then echo
"$as_me:$LINENO: result: $ossh_result" >&5 echo "${ECHO_T}$os-
sh_result" >&6 if test "x$ossh_result" = "xyes";
then cat >>confdefs.h <<_ACEOF @%:@define
HAVE_TV_IN_UTMPX 1 _ACEOF
fi else echo
"$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6
fi
echo "$as_me:$LINENO: checking for struct stat.st_blksize" >&5
echo $ECHO_N "checking for struct stat.st_blksize... $ECHO_C" >&6
if test "${ac_cv_member_struct_stat_st_blksize+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6 else
cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" #in-
clude "confdefs.h" $ac_includes_default #ifdef F77_DUMMY_MAIN #
ifdef __cplusplus
extern "C" # endif
int F77_DUMMY_MAIN() { return 1; } #endif int main () { static
struct stat ac_aggr; if (ac_aggr.st_blksize) return 0;
;
return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo
"$as_me:$LINENO:
(eval $ac_compile) 2>&5
ac_status=$?
echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext'
{ (eval echo "$as_me:$LINENO:
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); }; }; then
ac_cv_member_struct_stat_st_blksize=yes else
echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5
ac_cv_member_struct_stat_st_blksize=no fi rm -f conftest.$ac_ob-
jext conftest.$ac_ext fi echo "$as_me:$LINENO: result:
$ac_cv_member_struct_stat_st_blksize" >&5 echo
"${ECHO_T}$ac_cv_member_struct_stat_st_blksize" >&6 if test
$ac_cv_member_struct_stat_st_blksize = yes; then
cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure"
#include "confdefs.h"
#include <sys/types.h> #include <sys/socket.h>
#ifdef F77_DUMMY_MAIN # ifdef __cplusplus
extern "C" # endif
int F77_DUMMY_MAIN() { return 1; } #endif int main () {
struct sockaddr_storage s; s.ss_family = 1;
;
return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo
"$as_me:$LINENO:
(eval $ac_compile) 2>&5
ac_status=$?
echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext'
{ (eval echo "$as_me:$LINENO:
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); }; }; then
ac_cv_have_ss_family_in_struct_ss="yes" else
echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5
ac_cv_have_ss_family_in_struct_ss="no" fi rm -f conftest.$ac_ob-
jext conftest.$ac_ext
fi echo "$as_me:$LINENO: result: $ac_cv_have_ss_fami-
ly_in_struct_ss" >&5 echo "${ECHO_T}$ac_cv_have_ss_fami-
ly_in_struct_ss" >&6 if test "x$ac_cv_have_ss_fami-
ly_in_struct_ss" = "xyes" ; then cat >>confdefs.h <<_ACE-
OF @%:@define HAVE_SS_FAMILY_IN_SS 1 _ACEOF
fi
echo "$as_me:$LINENO: checking for __ss_family field in struct
sockaddr_storage" >&5 echo $ECHO_N "checking for __ss_family
field in struct sockaddr_storage... $ECHO_C" >&6 if test
"${ac_cv_have___ss_family_in_struct_ss+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6 else
cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure"
#include "confdefs.h"
#include <sys/types.h> #include <sys/socket.h>
#ifdef F77_DUMMY_MAIN # ifdef __cplusplus
extern "C" # endif
int F77_DUMMY_MAIN() { return 1; } #endif int main () {
struct sockaddr_storage s; s.__ss_family = 1;
;
return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo
"$as_me:$LINENO:
(eval $ac_compile) 2>&5
fi echo "$as_me:$LINENO: result: $ac_cv_have___ss_fami-
ly_in_struct_ss" >&5 echo "${ECHO_T}$ac_cv_have___ss_fami-
ly_in_struct_ss" >&6 if test "x$ac_cv_have___ss_fami-
ly_in_struct_ss" = "xyes" ; then cat >>confdefs.h <<_ACE-
OF @%:@define HAVE___SS_FAMILY_IN_SS 1 _ACEOF
fi
echo "$as_me:$LINENO: checking for pw_class field in struct pass-
wd" >&5 echo $ECHO_N "checking for pw_class field in struct pass-
wd... $ECHO_C" >&6 if test "${ac_cv_have_pw_class_in_struct_pass-
wd+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6 else
cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure"
#include "confdefs.h"
#include <pwd.h> #ifdef F77_DUMMY_MAIN # ifdef
__cplusplus
extern "C" # endif
int F77_DUMMY_MAIN() { return 1; } #endif int main () {
struct passwd p; p.pw_class = 0;
;
return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo
"$as_me:$LINENO:
(eval $ac_compile) 2>&5
ac_status=$?
echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext'
{ (eval echo "$as_me:$LINENO:
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); }; }; then
ac_cv_have_pw_class_in_struct_passwd="yes" else
echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5
ac_cv_have_pw_class_in_struct_passwd="no" fi rm -f con-
ftest.$ac_objext conftest.$ac_ext
fi echo "$as_me:$LINENO: result:
$ac_cv_have_pw_class_in_struct_passwd" >&5 echo
"${ECHO_T}$ac_cv_have_pw_class_in_struct_passwd" >&6 if test
"x$ac_cv_have_pw_class_in_struct_passwd" = "xyes" ; then
cat >>confdefs.h <<_ACEOF @%:@define
HAVE_PW_CLASS_IN_PASSWD 1 _ACEOF
fi
echo "$as_me:$LINENO: checking for pw_expire field in struct
passwd" >&5 echo $ECHO_N "checking for pw_expire field in struct
passwd... $ECHO_C" >&6 if test "${ac_cv_have_pw_ex-
(eval $ac_compile) 2>&5
ac_status=$?
echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext'
{ (eval echo "$as_me:$LINENO:
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); }; }; then
ac_cv_have_pw_expire_in_struct_passwd="yes" else
echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5
ac_cv_have_pw_expire_in_struct_passwd="no" fi rm -f
conftest.$ac_objext conftest.$ac_ext
fi echo "$as_me:$LINENO: result: $ac_cv_have_pw_ex-
pire_in_struct_passwd" >&5 echo "${ECHO_T}$ac_cv_have_pw_ex-
pire_in_struct_passwd" >&6 if test "x$ac_cv_have_pw_ex-
pire_in_struct_passwd" = "xyes" ; then cat >>confdefs.h
<<_ACEOF @%:@define HAVE_PW_EXPIRE_IN_PASSWD 1 _ACEOF
fi
echo "$as_me:$LINENO: checking for pw_change field in struct
passwd" >&5 echo $ECHO_N "checking for pw_change field in struct
passwd... $ECHO_C" >&6 if test
"${ac_cv_have_pw_change_in_struct_passwd+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6 else
cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure"
#include "confdefs.h"
#include <pwd.h> #ifdef F77_DUMMY_MAIN # ifdef
__cplusplus
extern "C" # endif
int F77_DUMMY_MAIN() { return 1; } #endif int main () {
struct passwd p; p.pw_change = 0;
;
return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo
"$as_me:$LINENO:
(eval $ac_compile) 2>&5
ac_status=$?
echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext'
{ (eval echo "$as_me:$LINENO:
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); }; }; then
ac_cv_have_pw_change_in_struct_passwd="yes" else
echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5
struct msghdr... $ECHO_C" >&6 if test "${ac_cv_have_ac-
crights_in_msghdr+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6 else
if test "$cross_compiling" = yes; then
{ { echo "$as_me:$LINENO: error: cannot run test program while
cross compiling" >&5 echo "$as_me: error: cannot run test program
while cross compiling" >&2;}
{ (exit 1); exit 1; }; } else
cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" #in-
clude "confdefs.h"
#include <sys/types.h> #include <sys/socket.h> #include
exit(1); #endif
struct msghdr m; m.msg_accrights = 0; exit(0); }
_ACEOF rm -f conftest$ac_exeext if { (eval echo "$as_me:$LINENO:
(eval $ac_link) 2>&5
ac_status=$?
echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
{ (eval echo "$as_me:$LINENO:
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); }; }; then
ac_cv_have_accrights_in_msghdr="yes" else
echo "$as_me: program exited with status $ac_status" >&5 echo
"$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5 ( exit
$ac_status )
ac_cv_have_accrights_in_msghdr="no" fi rm -f core
core.* *.core conftest$ac_exeext conftest.$ac_objext con-
ftest.$ac_ext fi
fi echo "$as_me:$LINENO: result: $ac_cv_have_accrights_in_msghdr"
>&5 echo "${ECHO_T}$ac_cv_have_accrights_in_msghdr" >&6 if test
"x$ac_cv_have_accrights_in_msghdr" = "xyes" ; then cat
>>confdefs.h <<_ACEOF @%:@define HAVE_ACCRIGHTS_IN_MSGHDR 1 _ACE-
OF
fi
echo "$as_me:$LINENO: checking for msg_control field in struct
msghdr" >&5 echo $ECHO_N "checking for msg_control field in
struct msghdr... $ECHO_C" >&6 if test "${ac_cv_have_con-
trol_in_msghdr+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6 else
if test "$cross_compiling" = yes; then
{ { echo "$as_me:$LINENO: error: cannot run test program while
cross compiling" >&5 echo "$as_me: error: cannot run test program
while cross compiling" >&2;}
{ (exit 1); exit 1; }; } else
echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); }; }; then
ac_cv_have_control_in_msghdr="yes" else
echo "$as_me: program exited with status $ac_status" >&5 echo
"$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5 ( exit
$ac_status )
ac_cv_have_control_in_msghdr="no" fi rm -f core core.*
*.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext fi
fi echo "$as_me:$LINENO: result: $ac_cv_have_control_in_msghdr"
>&5 echo "${ECHO_T}$ac_cv_have_control_in_msghdr" >&6 if test
"x$ac_cv_have_control_in_msghdr" = "xyes" ; then cat
>>confdefs.h <<_ACEOF @%:@define HAVE_CONTROL_IN_MSGHDR 1 _ACEOF
fi
echo "$as_me:$LINENO: checking if libc defines __progname" >&5
echo $ECHO_N "checking if libc defines __progname... $ECHO_C" >&6
if test "${ac_cv_libc_defines___progname+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6 else
cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure"
#include "confdefs.h"
#ifdef F77_DUMMY_MAIN # ifdef __cplusplus
extern "C" # endif
int F77_DUMMY_MAIN() { return 1; } #endif int main () {
extern char *__progname; printf("%s", __progname);
;
return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO:
(eval $ac_link) 2>&5
ac_status=$?
echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest$ac_exeext'
{ (eval echo "$as_me:$LINENO:
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); }; }; then
ac_cv_libc_defines___progname="yes" else
echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5
ac_cv_libc_defines___progname="no" fi rm -f con-
ftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
fi echo "$as_me:$LINENO: result: $ac_cv_libc_defines___progname"
>&5 echo "${ECHO_T}$ac_cv_libc_defines___progname" >&6 if test
"x$ac_cv_libc_defines___progname" = "xyes" ; then cat
>>confdefs.h <<_ACEOF @%:@define HAVE___PROGNAME 1 _ACEOF
fi
int F77_DUMMY_MAIN() { return 1; } #endif int main () {
printf("%s", __FUNCTION__);
;
return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO:
(eval $ac_link) 2>&5
ac_status=$?
echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest$ac_exeext'
{ (eval echo "$as_me:$LINENO:
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); }; }; then
ac_cv_cc_implements___FUNCTION__="yes" else
echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5
ac_cv_cc_implements___FUNCTION__="no" fi rm -f con-
ftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
fi echo "$as_me:$LINENO: result: $ac_cv_cc_implements___FUNC-
TION__" >&5 echo "${ECHO_T}$ac_cv_cc_implements___FUNCTION__" >&6
if test "x$ac_cv_cc_implements___FUNCTION__" = "xyes" ; then
cat >>confdefs.h <<_ACEOF @%:@define HAVE___FUNCTION__ 1
_ACEOF
fi
echo "$as_me:$LINENO: checking whether $CC implements __func__"
>&5 echo $ECHO_N "checking whether $CC implements __func__...
$ECHO_C" >&6 if test "${ac_cv_cc_implements___func__+set}" = set;
then
echo $ECHO_N "(cached) $ECHO_C" >&6 else
cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure"
#include "confdefs.h"
#include <stdio.h>
#ifdef F77_DUMMY_MAIN # ifdef __cplusplus
extern "C" # endif
int F77_DUMMY_MAIN() { return 1; } #endif int main () {
printf("%s", __func__);
;
return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO:
(eval $ac_link) 2>&5
ac_status=$?
echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest$ac_exeext'
{ (eval echo "$as_me:$LINENO:
fi
echo "$as_me:$LINENO: checking whether getopt has optreset sup-
port" >&5 echo $ECHO_N "checking whether getopt has optreset sup-
port... $ECHO_C" >&6 if test "${ac_cv_have_getopt_optreset+set}"
= set; then
echo $ECHO_N "(cached) $ECHO_C" >&6 else
cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure"
#include "confdefs.h"
#include <getopt.h> #ifdef F77_DUMMY_MAIN #
ifdef __cplusplus
extern "C" # endif
int F77_DUMMY_MAIN() { return 1; } #endif int main () {
extern int optreset; optreset = 0;
;
return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO:
(eval $ac_link) 2>&5
ac_status=$?
echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest$ac_exeext'
{ (eval echo "$as_me:$LINENO:
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); }; }; then
ac_cv_have_getopt_optreset="yes" else
echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5
ac_cv_have_getopt_optreset="no" fi rm -f con-
ftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
fi echo "$as_me:$LINENO: result: $ac_cv_have_getopt_optreset" >&5
echo "${ECHO_T}$ac_cv_have_getopt_optreset" >&6 if test
"x$ac_cv_have_getopt_optreset" = "xyes" ; then cat
>>confdefs.h <<_ACEOF @%:@define HAVE_GETOPT_OPTRESET 1 _ACEOF
fi
echo "$as_me:$LINENO: checking if libc defines sys_errlist" >&5
echo $ECHO_N "checking if libc defines sys_errlist... $ECHO_C"
>&6 if test "${ac_cv_libc_defines_sys_errlist+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6 else
cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure"
#include "confdefs.h"
#ifdef F77_DUMMY_MAIN # ifdef __cplusplus
extern "C" # endif
int F77_DUMMY_MAIN() { return 1; } #endif int main () {
(exit $ac_status); }; }; then
ac_cv_libc_defines_sys_errlist="yes" else
echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5
ac_cv_libc_defines_sys_errlist="no" fi rm -f con-
ftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
fi echo "$as_me:$LINENO: result: $ac_cv_libc_defines_sys_errlist"
>&5 echo "${ECHO_T}$ac_cv_libc_defines_sys_errlist" >&6 if test
"x$ac_cv_libc_defines_sys_errlist" = "xyes" ; then cat
>>confdefs.h <<_ACEOF @%:@define HAVE_SYS_ERRLIST 1 _ACEOF
fi
echo "$as_me:$LINENO: checking if libc defines sys_nerr" >&5 echo
$ECHO_N "checking if libc defines sys_nerr... $ECHO_C" >&6 if
test "${ac_cv_libc_defines_sys_nerr+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6 else
cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure"
#include "confdefs.h"
#ifdef F77_DUMMY_MAIN # ifdef __cplusplus
extern "C" # endif
int F77_DUMMY_MAIN() { return 1; } #endif int main () {
extern int sys_nerr; printf("%i", sys_nerr);
;
return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO:
(eval $ac_link) 2>&5
ac_status=$?
echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest$ac_exeext'
{ (eval echo "$as_me:$LINENO:
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); }; }; then
ac_cv_libc_defines_sys_nerr="yes" else
echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5
ac_cv_libc_defines_sys_nerr="no" fi rm -f con-
ftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
fi echo "$as_me:$LINENO: result: $ac_cv_libc_defines_sys_nerr"
>&5 echo "${ECHO_T}$ac_cv_libc_defines_sys_nerr" >&6 if test
"x$ac_cv_libc_defines_sys_nerr" = "xyes" ; then cat
>>confdefs.h <<_ACEOF @%:@define HAVE_SYS_NERR 1 _ACEOF
fi
SCARD_MSG="no"
if test ! -z "$blibpath" ; then
blibpath="$blib-
path:${withval}" fi
fi for ac_header
in sectok.h do as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh` if eval "test
echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N
"checking for $ac_header... $ECHO_C" >&6 if eval "test
echo $ECHO_N "(cached) $ECHO_C" >&6 fi echo "$as_me:$LINENO:
result: `eval echo '${'$as_ac_Header'}'`" >&5 echo
"${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 else
# Is the header compilable? echo "$as_me:$LINENO: checking
$ac_header usability" >&5 echo $ECHO_N "checking $ac_header us-
ability... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF #line
$LINENO "configure" #include "confdefs.h" $ac_includes_default
@%:@include <$ac_header> _ACEOF rm -f conftest.$ac_objext if {
(eval echo "$as_me:$LINENO:
(eval $ac_compile) 2>&5
ac_status=$?
echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext'
{ (eval echo "$as_me:$LINENO:
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); }; }; then
ac_header_compiler=yes else
echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5
ac_header_compiler=no fi rm -f conftest.$ac_objext con-
ftest.$ac_ext echo "$as_me:$LINENO: result: $ac_header_compiler"
>&5 echo "${ECHO_T}$ac_header_compiler" >&6
# Is the header present? echo "$as_me:$LINENO: checking
$ac_header presence" >&5 echo $ECHO_N "checking $ac_header pres-
ence... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF #line $LINENO
"configure" #include "confdefs.h" @%:@include <$ac_header> _ACEOF
if { (eval echo "$as_me:$LINENO:
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
ac_status=$?
egrep -v '^ *+' conftest.er1 >conftest.err
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); } >/dev/null; then
if test -s conftest.err; then
ac_cpp_err=$ac_c_preproc_warn_flag
else
ac_cpp_err=
fi else
ac_cpp_err=yes fi if test -z "$ac_cpp_err"; then
ac_header_preproc=yes else
the preprocessor's result" >&5 echo "$as_me: WARNING: $ac_header:
proceeding with the preprocessor's result" >&2;};;
no:yes )
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but can-
not be compiled" >&5 echo "$as_me: WARNING: $ac_header: present
but cannot be compiled" >&2;}
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for miss-
ing prerequisite headers?" >&5 echo "$as_me: WARNING: $ac_header:
check for missing prerequisite headers?" >&2;}
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with
the preprocessor's result" >&5 echo "$as_me: WARNING: $ac_header:
proceeding with the preprocessor's result" >&2;};; esac echo
"$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N
"checking for $ac_header... $ECHO_C" >&6 if eval "test
echo $ECHO_N "(cached) $ECHO_C" >&6 else
eval "$as_ac_Header=$ac_header_preproc" fi echo
"$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
fi if test `eval echo '${'$as_ac_Header'}'` = yes; then
cat >>confdefs.h <<_ACEOF @%:@define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1 _ACEOF
fi
done
if test "$ac_cv_header_sectok_h" != yes;
then { { echo "$as_me:$LINENO:
error: Can't find sectok.h" >&5 echo "$as_me: error: Can't find
sectok.h" >&2;}
{ (exit 1); exit 1; }; } fi
echo "$as_me:$LINENO: checking for sec-
tok_open in -lsectok" >&5 echo $ECHO_N "checking for sectok_open
in -lsectok... $ECHO_C" >&6 if test "${ac_cv_lib_sectok_sec-
tok_open+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6 else
ac_check_lib_save_LIBS=$LIBS LIBS="-lsectok $LIBS" cat >con-
ftest.$ac_ext <<_ACEOF #line $LINENO "configure" #include
"confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
#ifdef __cplusplus extern "C" #endif /* We use char because int
might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char sectok_open (); #ifdef F77_DUMMY_MAIN # ifdef __cplusplus
extern "C" # endif
int F77_DUMMY_MAIN() { return 1; } #endif int main () { sec-
tok_open ();
;
return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO:
echo "$as_me:$LINENO: result: $ac_cv_lib_sectok_sectok_open" >&5
echo "${ECHO_T}$ac_cv_lib_sectok_sectok_open" >&6 if test
$ac_cv_lib_sectok_sectok_open = yes; then
cat >>confdefs.h <<_ACEOF @%:@define HAVE_LIBSECTOK 1 _ACEOF
LIBS="-lsectok $LIBS"
fi
if test "$ac_cv_lib_sectok_sectok_open"
!= yes; then { { echo
"$as_me:$LINENO: error: Can't find libsectok" >&5 echo "$as_me:
error: Can't find libsectok" >&2;}
{ (exit 1); exit 1; }; } fi
cat >>confdefs.h <<_ACEOF @%:@define
SMARTCARD 1 _ACEOF
cat >>confdefs.h <<_ACEOF @%:@define
USE_SECTOK 1 _ACEOF
SCARD_MSG="yes, using sectok"
fi
fi;
# Check whether user wants OpenSC support
# Check whether --with-opensc or --without-opensc was given. if
test "${with_opensc+set}" = set; then
withval="$with_opensc"
opensc_config_prefix="$withval" else
opensc_config_prefix="" fi; if test x$opensc_config_prefix != x
; then
OPENSC_CONFIG=$opensc_config_prefix/bin/opensc-config
# Extract the first word of "opensc-config", so it can be a
program name with args. set dummy opensc-config; ac_word=$2 echo
"$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "check-
ing for $ac_word... $ECHO_C" >&6 if test "${ac_cv_path_OPEN-
SC_CONFIG+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6 else
case $OPENSC_CONFIG in
[\/]* | ?:[\/]*)
ac_cv_path_OPENSC_CONFIG="$OPENSC_CONFIG" # Let the user over-
ride the test with a path.
;;
*)
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
ac_cv_path_OPENSC_CONFIG="$as_dir/$ac_word$ac_exec_ext"
LIBOPENSC_CFLAGS=`$OPENSC_CONFIG --cflags`
LIBOPENSC_LIBS=`$OPENSC_CONFIG --libs`
CPPFLAGS="$CPPFLAGS $LIBOPENSC_CFLAGS"
LDFLAGS="$LDFLAGS $LIBOPENSC_LIBS"
cat >>confdefs.h <<_ACEOF @%:@define SMARTCARD 1 _ACEOF
cat >>confdefs.h <<_ACEOF @%:@define USE_OPENSC 1 _ACEOF
SCARD_MSG="yes, using OpenSC"
fi fi
# Check whether user wants Kerberos 5 support KRB5_MSG="no"
# Check whether --with-kerberos5 or --without-kerberos5 was giv-
en. if test "${with_kerberos5+set}" = set; then
withval="$with_kerberos5"
if test "x$withval" != "xno" ; then
if test "x$withval" = "xyes" ; then
KRB5ROOT="/usr/local"
else
KRB5ROOT=${withval}
fi
CPPFLAGS="$CPPFLAGS -I${KRB5ROOT}/in-
clude"
LDFLAGS="$LDFLAGS -L${KRB5ROOT}/lib"
cat >>confdefs.h <<_ACEOF @%:@define KRB5
1 _ACEOF
KRB5_MSG="yes"
echo "$as_me:$LINENO: checking whether we
are using Heimdal" >&5 echo $ECHO_N "checking whether we are us-
ing Heimdal... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF #line
$LINENO "configure" #include "confdefs.h"
#include <krb5.h> #ifdef F77_DUMMY_MAIN # ifdef __cplusplus
extern "C" # endif
int F77_DUMMY_MAIN() { return 1; } #endif int main () {
char *tmp = heimdal_version;
;
return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo
"$as_me:$LINENO:
(eval $ac_compile) 2>&5
ac_status=$?
echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext'
{ (eval echo "$as_me:$LINENO:
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); }; }; then
fi rm -f conftest.$ac_objext conftest.$ac_ext
if test ! -z "$need_dash_r" ; then
LDFLAGS="$LDFLAGS
-R${KRB5ROOT}/lib"
fi
if test ! -z "$blibpath" ; then
blibpath="$blib-
path:${KRB5ROOT}/lib"
fi
echo "$as_me:$LINENO: checking for dn_expand in -lresolv" >&5
echo $ECHO_N "checking for dn_expand in -lresolv... $ECHO_C" >&6
if test "${ac_cv_lib_resolv_dn_expand+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6 else
ac_check_lib_save_LIBS=$LIBS LIBS="-lresolv $LIBS" cat >con-
ftest.$ac_ext <<_ACEOF #line $LINENO "configure" #include
"confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
#ifdef __cplusplus extern "C" #endif /* We use char because int
might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char dn_expand (); #ifdef F77_DUMMY_MAIN # ifdef __cplusplus
extern "C" # endif
int F77_DUMMY_MAIN() { return 1; } #endif int main () { dn_ex-
pand ();
;
return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO:
(eval $ac_link) 2>&5
ac_status=$?
echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest$ac_exeext'
{ (eval echo "$as_me:$LINENO:
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); }; }; then
ac_cv_lib_resolv_dn_expand=yes else
echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5
ac_cv_lib_resolv_dn_expand=no fi rm -f conftest.$ac_objext con-
ftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi
echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_dn_expand" >&5
echo "${ECHO_T}$ac_cv_lib_resolv_dn_expand" >&6 if test
$ac_cv_lib_resolv_dn_expand = yes; then
cat >>confdefs.h <<_ACEOF @%:@define HAVE_LIBRESOLV 1 _ACEOF
LIBS="-lresolv $LIBS"
fi
val}/include" LDFLAGS="$LDFLAGS
-L${withval}/lib" if test ! -z
"$need_dash_r" ; then LD-
FLAGS="$LDFLAGS -R${withval}/lib"
fi
if test ! -z "$blibpath" ; then
blibpath="$blib-
path:${withval}/lib" fi
else if
test -d /usr/include/kerberosIV ; then
CPPFLAGS="$CPPFLAGS
-I/usr/include/kerberosIV" fi
fi
for ac_header in krb.h do as_ac_Head-
er=`echo "ac_cv_header_$ac_header" | $as_tr_sh` if eval "test
echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N
"checking for $ac_header... $ECHO_C" >&6 if eval "test
echo $ECHO_N "(cached) $ECHO_C" >&6 fi echo "$as_me:$LINENO:
result: `eval echo '${'$as_ac_Header'}'`" >&5 echo
"${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 else
# Is the header compilable? echo "$as_me:$LINENO: checking
$ac_header usability" >&5 echo $ECHO_N "checking $ac_header us-
ability... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF #line
$LINENO "configure" #include "confdefs.h" $ac_includes_default
@%:@include <$ac_header> _ACEOF rm -f conftest.$ac_objext if {
(eval echo "$as_me:$LINENO:
(eval $ac_compile) 2>&5
ac_status=$?
echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext'
{ (eval echo "$as_me:$LINENO:
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); }; }; then
ac_header_compiler=yes else
echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5
ac_header_compiler=no fi rm -f conftest.$ac_objext con-
ftest.$ac_ext echo "$as_me:$LINENO: result: $ac_header_compiler"
>&5 echo "${ECHO_T}$ac_header_compiler" >&6
# Is the header present? echo "$as_me:$LINENO: checking
$ac_header presence" >&5 echo $ECHO_N "checking $ac_header pres-
ence... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF #line $LINENO
"configure" #include "confdefs.h" @%:@include <$ac_header> _ACEOF
if { (eval echo "$as_me:$LINENO:
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
ac_status=$?
egrep -v '^ *+' conftest.er1 >conftest.err
rm -f conftest.er1
"${ECHO_T}$ac_header_preproc" >&6
# So? What about this header? case $ac_header_compil-
er:$ac_header_preproc in
yes:no )
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the
compiler, rejected by the preprocessor!" >&5 echo "$as_me: WARN-
ING: $ac_header: accepted by the compiler, rejected by the pre-
processor!" >&2;}
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with
the preprocessor's result" >&5 echo "$as_me: WARNING: $ac_header:
proceeding with the preprocessor's result" >&2;};;
no:yes )
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but can-
not be compiled" >&5 echo "$as_me: WARNING: $ac_header: present
but cannot be compiled" >&2;}
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for miss-
ing prerequisite headers?" >&5 echo "$as_me: WARNING: $ac_header:
check for missing prerequisite headers?" >&2;}
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with
the preprocessor's result" >&5 echo "$as_me: WARNING: $ac_header:
proceeding with the preprocessor's result" >&2;};; esac echo
"$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N
"checking for $ac_header... $ECHO_C" >&6 if eval "test
echo $ECHO_N "(cached) $ECHO_C" >&6 else
eval "$as_ac_Header=$ac_header_preproc" fi echo
"$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
fi if test `eval echo '${'$as_ac_Header'}'` = yes; then
cat >>confdefs.h <<_ACEOF @%:@define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1 _ACEOF
fi
done
if test "$ac_cv_header_krb_h" != yes;
then { echo "$as_me:$LINENO:
WARNING: Cannot find krb.h, build may fail" >&5 echo "$as_me:
WARNING: Cannot find krb.h, build may fail" >&2;}
fi echo
"$as_me:$LINENO: checking for main in -lkrb" >&5 echo $ECHO_N
"checking for main in -lkrb... $ECHO_C" >&6 if test
"${ac_cv_lib_krb_main+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6 else
ac_check_lib_save_LIBS=$LIBS LIBS="-lkrb $LIBS" cat >con-
ftest.$ac_ext <<_ACEOF #line $LINENO "configure" #include
"confdefs.h"
#ifdef F77_DUMMY_MAIN # ifdef __cplusplus
echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); }; }; then
ac_cv_lib_krb_main=yes else
echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5
ac_cv_lib_krb_main=no fi rm -f conftest.$ac_objext con-
ftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi
echo "$as_me:$LINENO: result: $ac_cv_lib_krb_main" >&5 echo
"${ECHO_T}$ac_cv_lib_krb_main" >&6 if test $ac_cv_lib_krb_main =
yes; then
cat >>confdefs.h <<_ACEOF @%:@define HAVE_LIBKRB 1 _ACEOF
LIBS="-lkrb $LIBS"
fi
if test "$ac_cv_lib_krb_main" != yes;
then echo "$as_me:$LINENO:
checking for main in -lkrb4" >&5 echo $ECHO_N "checking for main
in -lkrb4... $ECHO_C" >&6 if test "${ac_cv_lib_krb4_main+set}" =
set; then
echo $ECHO_N "(cached) $ECHO_C" >&6 else
ac_check_lib_save_LIBS=$LIBS LIBS="-lkrb4 $LIBS" cat >con-
ftest.$ac_ext <<_ACEOF #line $LINENO "configure" #include
"confdefs.h"
#ifdef F77_DUMMY_MAIN # ifdef __cplusplus
extern "C" # endif
int F77_DUMMY_MAIN() { return 1; } #endif int main () { main
();
;
return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO:
(eval $ac_link) 2>&5
ac_status=$?
echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest$ac_exeext'
{ (eval echo "$as_me:$LINENO:
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); }; }; then
ac_cv_lib_krb4_main=yes else
echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5
ac_cv_lib_krb4_main=no fi rm -f conftest.$ac_objext con-
ftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi
echo "$as_me:$LINENO: result: $ac_cv_lib_krb4_main" >&5 echo
"${ECHO_T}$ac_cv_lib_krb4_main" >&6 if test $ac_cv_lib_krb4_main
= yes; then
cat >>confdefs.h <<_ACEOF @%:@define HAVE_LIBKRB4 1 _ACEOF
"$as_me:$LINENO: checking for des_cbc_encrypt in -ldes" >&5 echo
$ECHO_N "checking for des_cbc_encrypt in -ldes... $ECHO_C" >&6 if
test "${ac_cv_lib_des_des_cbc_encrypt+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6 else
ac_check_lib_save_LIBS=$LIBS LIBS="-ldes $LIBS" cat >con-
ftest.$ac_ext <<_ACEOF #line $LINENO "configure" #include
"confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
#ifdef __cplusplus extern "C" #endif /* We use char because int
might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char des_cbc_encrypt (); #ifdef F77_DUMMY_MAIN # ifdef __cplus-
plus
extern "C" # endif
int F77_DUMMY_MAIN() { return 1; } #endif int main () {
des_cbc_encrypt ();
;
return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO:
(eval $ac_link) 2>&5
ac_status=$?
echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest$ac_exeext'
{ (eval echo "$as_me:$LINENO:
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); }; }; then
ac_cv_lib_des_des_cbc_encrypt=yes else
echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5
ac_cv_lib_des_des_cbc_encrypt=no fi rm -f conftest.$ac_objext
conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS
fi echo "$as_me:$LINENO: result: $ac_cv_lib_des_des_cbc_encrypt"
>&5 echo "${ECHO_T}$ac_cv_lib_des_des_cbc_encrypt" >&6 if test
$ac_cv_lib_des_des_cbc_encrypt = yes; then
cat >>confdefs.h <<_ACEOF @%:@define HAVE_LIBDES 1 _ACEOF
LIBS="-ldes $LIBS"
fi
if test "$ac_cv_lib_des_des_cbc_encrypt"
!= yes; then echo
"$as_me:$LINENO: checking for des_cbc_encrypt in -ldes425" >&5
echo $ECHO_N "checking for des_cbc_encrypt in -ldes425...
$ECHO_C" >&6 if test "${ac_cv_lib_des425_des_cbc_encrypt+set}" =
set; then
echo $ECHO_N "(cached) $ECHO_C" >&6 else
ac_check_lib_save_LIBS=$LIBS LIBS="-ldes425 $LIBS" cat >con-
ftest.$ac_ext <<_ACEOF #line $LINENO "configure" #include
(eval $ac_link) 2>&5
ac_status=$?
echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest$ac_exeext'
{ (eval echo "$as_me:$LINENO:
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); }; }; then
ac_cv_lib_des425_des_cbc_encrypt=yes else
echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5
ac_cv_lib_des425_des_cbc_encrypt=no fi rm -f conftest.$ac_objext
conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS
fi echo "$as_me:$LINENO: result: $ac_cv_lib_des425_des_cbc_en-
crypt" >&5 echo "${ECHO_T}$ac_cv_lib_des425_des_cbc_encrypt" >&6
if test $ac_cv_lib_des425_des_cbc_encrypt = yes; then
cat >>confdefs.h <<_ACEOF @%:@define HAVE_LIBDES425 1 _ACEOF
LIBS="-ldes425 $LIBS"
fi
if test
"$ac_cv_lib_des425_des_cbc_encrypt" != yes; then
{ echo "$as_me:$LINENO:
WARNING: Cannot find libdes nor libdes425, build may fail" >&5
echo "$as_me: WARNING: Cannot find libdes nor libdes425, build
may fail" >&2;} else
KLIBS="-ldes425"
fi else
KLIBS="-ldes"
fi echo
"$as_me:$LINENO: checking for dn_expand in -lresolv" >&5 echo
$ECHO_N "checking for dn_expand in -lresolv... $ECHO_C" >&6 if
test "${ac_cv_lib_resolv_dn_expand+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6 else
ac_check_lib_save_LIBS=$LIBS LIBS="-lresolv $LIBS" cat >con-
ftest.$ac_ext <<_ACEOF #line $LINENO "configure" #include
"confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
#ifdef __cplusplus extern "C" #endif /* We use char because int
might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char dn_expand (); #ifdef F77_DUMMY_MAIN # ifdef __cplusplus
extern "C" # endif
int F77_DUMMY_MAIN() { return 1; } #endif int main () { dn_ex-
pand ();
;
return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO:
echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_dn_expand" >&5
echo "${ECHO_T}$ac_cv_lib_resolv_dn_expand" >&6 if test
$ac_cv_lib_resolv_dn_expand = yes; then
cat >>confdefs.h <<_ACEOF @%:@define HAVE_LIBRESOLV 1 _ACEOF
LIBS="-lresolv $LIBS"
fi
KRB4=yes
KRB4_MSG="yes"
cat >>confdefs.h <<_ACEOF @%:@define KRB4
1 _ACEOF
fi
fi;
# Check whether user wants AFS support AFS_MSG="no"
# Check whether --with-afs or --without-afs was given. if test
"${with_afs+set}" = set; then
withval="$with_afs"
if test "x$withval" != "xno" ; then
if test "x$withval" != "xyes" ; then
CPPFLAGS="$CPPFLAGS -I${with-
val}/include" LDFLAGS="$LDFLAGS
-L${withval}/lib" fi
if test -z "$KRB4" ; then
{ echo "$as_me:$LINENO: WARNING:
AFS requires Kerberos IV support, build may fail" >&5 echo
"$as_me: WARNING: AFS requires Kerberos IV support, build may
fail" >&2;} fi
LIBS="-lkafs $LIBS"
if test ! -z "$AFS_LIBS" ; then
LIBS="$LIBS $AFS_LIBS"
fi cat
>>confdefs.h <<_ACEOF @%:@define AFS 1 _ACEOF
AFS_MSG="yes" fi
fi; LIBS="$LIBS $KLIBS $K5LIBS"
# Looking for programs, paths and files
PRIVSEP_PATH=/var/empty
# Check whether --with-privsep-path or --without-privsep-path was
if test "x$withval" != "xno" ; then
xauth_path=$withval fi
else
# Extract the first word of "xauth", so it can be
a program name with args. set dummy xauth; ac_word=$2 echo
"$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "check-
ing for $ac_word... $ECHO_C" >&6 if test
"${ac_cv_path_xauth_path+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6 else
case $xauth_path in
[\/]* | ?:[\/]*)
ac_cv_path_xauth_path="$xauth_path" # Let the user override the
test with a path.
;;
*)
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in
$PATH:/usr/X/bin:/usr/bin/X11:/usr/X11R6/bin:/usr/openwin/bin do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
ac_cv_path_xauth_path="$as_dir/$ac_word$ac_exec_ext"
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
fi done done
;; esac fi xauth_path=$ac_cv_path_xauth_path
if test -n "$xauth_path"; then
echo "$as_me:$LINENO: result: $xauth_path" >&5 echo
"${ECHO_T}$xauth_path" >&6 else
echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi
if (test ! -z "$xauth_path" && test -x
"/usr/openwin/bin/xauth") ; then
xauth_path="/usr/openwin/bin/xauth"
fi
fi;
if test -z "$xauth_path" ; then XAUTH_PATH="undefined"
else cat >>confdefs.h <<_ACEOF @%:@define
XAUTH_PATH "$xauth_path" _ACEOF
XAUTH_PATH=$xauth_path fi
# Check for mail directory (last resort if we cannot get it from
headers) if test ! -z "$MAIL" ; then maildir=`dirname
$MAIL` cat >>confdefs.h <<_ACEOF @%:@define MAIL_DIRECTO-
RY "$maildir" _ACEOF
ac_cv_file___dev_ptmx_=no fi fi echo "$as_me:$LINENO: result:
$ac_cv_file___dev_ptmx_" >&5 echo "${ECHO_T}$ac_cv_file___dev_pt-
mx_" >&6 if test $ac_cv_file___dev_ptmx_ = yes; then
cat >>confdefs.h <<_ACEOF @%:@de-
fine HAVE_DEV_PTMX 1 _ACEOF
have_dev_ptmx=1
fi
fi fi echo "$as_me:$LINENO: checking for echo $ECHO_N
"checking for if test "${ac_cv_file___dev_ptc_+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6 else
test "$cross_compiling" = yes &&
{ { echo "$as_me:$LINENO: error: cannot check for file exis-
tence when cross compiling" >&5 echo "$as_me: error: cannot check
for file existence when cross compiling" >&2;}
{ (exit 1); exit 1; }; } if test -r ""/dev/ptc""; then
ac_cv_file___dev_ptc_=yes else
ac_cv_file___dev_ptc_=no fi fi echo "$as_me:$LINENO: result:
$ac_cv_file___dev_ptc_" >&5 echo
"${ECHO_T}$ac_cv_file___dev_ptc_" >&6 if test
$ac_cv_file___dev_ptc_ = yes; then
cat >>confdefs.h <<_ACEOF @%:@define
HAVE_DEV_PTS_AND_PTC 1 _ACEOF
have_dev_ptc=1
fi
# Options from here on. Some of these are preset by platform
above
# Check whether --with-mantype or --without-mantype was given.
if test "${with_mantype+set}" = set; then
withval="$with_mantype"
case "$withval" in man|cat|doc)
MANTYPE=$withval
;; *)
{ { echo "$as_me:$LINENO: error: invalid
man type: $withval" >&5 echo "$as_me: error: invalid man type:
$withval" >&2;}
{ (exit 1); exit 1; }; } ;;
esac
fi; if test -z "$MANTYPE"; then for ac_prog in nroff awf
do
# Extract the first word of "$ac_prog", so it can be a program
name with args. set dummy $ac_prog; ac_word=$2 echo
for ac_exec_ext in '' $ac_executable_extensions; do
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
ac_cv_path_NROFF="$as_dir/$ac_word$ac_exec_ext"
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
fi done done
;; esac fi NROFF=$ac_cv_path_NROFF
if test -n "$NROFF"; then
echo "$as_me:$LINENO: result: $NROFF" >&5 echo
"${ECHO_T}$NROFF" >&6 else
echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi
test -n "$NROFF" && break done test -n "$NROFF" ||
NROFF="/bin/false"
if ${NROFF} -mdoc ${srcdir}/ssh.1 >/dev/null 2>&1; then
MANTYPE=doc elif ${NROFF} -man ${sr-
cdir}/ssh.1 >/dev/null 2>&1; then MANTYPE=man
else MANTYPE=cat fi fi
if test "$MANTYPE" = "doc"; then mansubdir=man; else
mansubdir=$MANTYPE; fi
# Check whether to enable MD5 passwords MD5_MSG="no"
# Check whether --with-md5-passwords or --without-md5-passwords
was given. if test "${with_md5_passwords+set}" = set; then
withval="$with_md5_passwords"
if test "x$withval" != "xno" ; then
cat >>confdefs.h <<_ACEOF @%:@define
HAVE_MD5_PASSWORDS 1 _ACEOF
MD5_MSG="yes" fi
fi;
# Whether to disable shadow password support
# Check whether --with-shadow or --without-shadow was given. if
test "${with_shadow+set}" = set; then
withval="$with_shadow"
if test "x$withval" = "xno" ; then
cat >>confdefs.h <<_ACEOF @%:@define DIS-
ABLE_SHADOW 1 _ACEOF
disable_shadow=yes fi
;
return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo
"$as_me:$LINENO:
(eval $ac_compile) 2>&5
ac_status=$?
echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest.$ac_objext'
{ (eval echo "$as_me:$LINENO:
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); }; }; then
sp_expire_available=yes else
echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5
fi rm -f conftest.$ac_objext conftest.$ac_ext
if test "x$sp_expire_available" = "xyes" ; then
echo "$as_me:$LINENO: result: yes" >&5 echo
"${ECHO_T}yes" >&6 cat >>confdefs.h <<_ACEOF
@%:@define HAS_SHADOW_EXPIRE 1 _ACEOF
else echo "$as_me:$LINENO: result: no"
>&5 echo "${ECHO_T}no" >&6 fi fi
# Use ip address instead of hostname in $DISPLAY if test ! -z
"$IPADDR_IN_DISPLAY" ; then DISPLAY_HACK_MSG="yes"
cat >>confdefs.h <<_ACEOF @%:@define IPADDR_IN_DISPLAY 1
_ACEOF
else DISPLAY_HACK_MSG="no" # Check whether
--with-ipaddr-display or --without-ipaddr-display was given. if
test "${with_ipaddr_display+set}" = set; then
withval="$with_ipaddr_display"
if test "x$withval" != "xno" ; then
cat >>confdefs.h <<_ACEOF @%:@de-
fine IPADDR_IN_DISPLAY 1 _ACEOF
DISPLAY_HACK_MSG="yes"
fi fi; fi
if test $ac_cv_func_login_getcapbool = "yes" -a
$ac_cv_header_login_cap_h = "yes" ; then USES_LO-
GIN_CONF=yes fi # Whether to mess with the default path SERV-
ER_PATH_MSG="(default)"
# Check whether --with-default-path or --without-default-path was
given. if test "${with_default_path+set}" = set; then
withval="$with_default_path"
user_path="/usr/bin:/bin:/usr/sbin:/sbin" else
cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" #in-
clude "confdefs.h"
/* find out what STDPATH is */ #include <stdio.h> #ifdef
HAVE_PATHS_H # include <paths.h> #endif #ifndef _PATH_STDPATH #
define _PATH_STDPATH "/usr/bin:/bin:/usr/sbin:/sbin" #endif #in-
clude <sys/types.h> #include <sys/stat.h> #include <fcntl.h> #de-
fine DATA "conftest.stdpath"
main() { FILE *fd; int rc; fd =
fopen(DATA,"w"); if(fd == NULL) exit(1);
if ((rc = fprintf(fd,"%s", _PATH_STDPATH)) < 0)
exit(1);
exit(0); } _ACEOF rm -f conftest$ac_exe-
ext if { (eval echo "$as_me:$LINENO:
(eval $ac_link) 2>&5
ac_status=$?
echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
{ (eval echo "$as_me:$LINENO:
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:$LINENO: = $ac_status" >&5
(exit $ac_status); }; }; then
user_path=`cat conftest.stdpath` else
echo "$as_me: program exited with status $ac_status" >&5 echo
"$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5 ( exit
$ac_status )
user_path="/usr/bin:/bin:/usr/sbin:/sbin" fi rm -f core core.*
*.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext fi
# make sure $bindir is in USER_PATH so scp will work
t_bindir=`eval echo ${bindir}`
case $t_bindir in NONE/*)
t_bindir=`echo $t_bindir | sed "s~NONE~$prefix~"` ;;
esac case $t_bindir in
NONE/*) t_bindir=`echo $t_bindir | sed
"s~NONE~$ac_default_prefix~"` ;; esac
echo $user_path | grep ":$t_bindir" > /dev/null
2>&1 if test $? -ne 0 ; then
echo $user_path | grep "^$t_bindir" >
/dev/null 2>&1 if test $? -ne 0 ; then
user_path=$user_path:$t_bindir
echo "$as_me:$LINENO: result:
Adding $t_bindir to USER_PATH so scp will work" >&5 echo
"${ECHO_T}Adding $t_bindir to USER_PATH so scp will work" >&6
fi fi fi
fi; if test "$USES_LOGIN_CONF" != "yes" ; then cat
>>confdefs.h <<_ACEOF @%:@define USER_PATH "$user_path" _ACEOF
fi;
# Whether to force IPv4 by default (needed on broken glibc Linux)
IPV4_HACK_MSG="no"
# Check whether --with-ipv4-default or --without-ipv4-default was
given. if test "${with_ipv4_default+set}" = set; then
withval="$with_ipv4_default"
if test "x$withval" != "xno" ; then
cat >>confdefs.h <<_ACEOF @%:@define
IPV4_DEFAULT 1 _ACEOF
IPV4_HACK_MSG="yes" fi
fi;
echo "$as_me:$LINENO: checking if we need to convert IPv4 in
IPv6-mapped addresses" >&5 echo $ECHO_N "checking if we need to
convert IPv4 in IPv6-mapped addresses... $ECHO_C" >&6
IPV4_IN6_HACK_MSG="no"
# Check whether --with-4in6 or --without-4in6 was given. if test
"${with_4in6+set}" = set; then
withval="$with_4in6"
if test "x$withval" != "xno" ; then
echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6 cat >>confdefs.h
<<_ACEOF @%:@define IPV4_IN_IPV6 1 _ACEOF
IPV4_IN6_HACK_MSG="yes"
else echo
"$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6
fi else
if test "x$inet6_default_4in6" = "xyes"; then
echo "$as_me:$LINENO: result: yes (de-
fault)" >&5 echo "${ECHO_T}yes (default)" >&6
cat >>confdefs.h <<_ACEOF @%:@define
IPV4_IN_IPV6 1 _ACEOF
IPV4_IN6_HACK_MSG="yes"
else echo
"$as_me:$LINENO: result: no (default)" >&5 echo "${ECHO_T}no (de-
fault)" >&6 fi
fi;
# Where to place sshd.pid piddir=/var/run # make sure the direc-
tory exists if test ! -d $piddir ; then piddir=`eval
echo ${sysconfdir}` case $piddir in
NONE/*) piddir=`echo $piddir | sed
"s~NONE~$ac_default_prefix~"` ;; esac fi
# Check whether --with-pid-dir or --without-pid-dir was given.
if test "${with_pid_dir+set}" = set; then
withval="$with_pid_dir"
if test "x$withval" != "xno" ; then
piddir=$withval
if test ! -d $piddir ; then
{ echo "$as_me:$LINENO: WARNING: ** no
$piddir directory on this system **" >&5 echo "$as_me: WARNING:
** no $piddir directory on this system **" >&2;}
fi fi
fi;
cat >>confdefs.h <<_ACEOF @%:@define _PATH_SSH_PIDDIR "$piddir"
_ACEOF
# Check whether --enable-lastlog or --disable-lastlog was given.
if test "${enable_lastlog+set}" = set; then
enableval="$enable_lastlog"
cat >>confdefs.h <<_ACEOF @%:@define DISABLE_LASTLOG 1 _ACEOF
fi; # Check whether --enable-utmp or --disable-utmp was given.
if test "${enable_utmp+set}" = set; then
enableval="$enable_utmp"
cat >>confdefs.h <<_ACEOF @%:@define DISABLE_UTMP 1 _ACEOF
fi; # Check whether --enable-utmpx or --disable-utmpx was given.
if test "${enable_utmpx+set}" = set; then
enableval="$enable_utmpx"
cat >>confdefs.h <<_ACEOF @%:@define DISABLE_UTMPX 1 _ACEOF
fi; # Check whether --enable-wtmp or --disable-wtmp was given.
if test "${enable_wtmp+set}" = set; then
enableval="$enable_wtmp"
cat >>confdefs.h <<_ACEOF @%:@define DISABLE_WTMP 1 _ACEOF
fi; # Check whether --enable-wtmpx or --disable-wtmpx was given.
cat >>confdefs.h <<_ACEOF @%:@define DISABLE_PUTUTLINE 1 _ACE-
OF
fi; # Check whether --enable-pututxline or --disable-pututxline
was given. if test "${enable_pututxline+set}" = set; then
enableval="$enable_pututxline"
cat >>confdefs.h <<_ACEOF @%:@define DISABLE_PUTUTXLINE 1
_ACEOF
fi;
# Check whether --with-lastlog or --without-lastlog was given.
if test "${with_lastlog+set}" = set; then
withval="$with_lastlog"
if test "x$withval" = "xno" ; then
cat >>confdefs.h <<_ACEOF @%:@define DIS-
ABLE_LASTLOG 1 _ACEOF
else conf_lastlog_loca-
tion=$withval fi
fi;
echo "$as_me:$LINENO: checking if your system defines LAST-
LOG_FILE" >&5 echo $ECHO_N "checking if your system defines LAST-
LOG_FILE... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF #line
$LINENO "configure" #include "confdefs.h"
#include <sys/types.h> #include <utmp.h> #ifdef HAVE_LASTLOG_H #
include <lastlog.h> #endif #ifdef HAVE_PATHS_H # include
$tmp/subs.frag
else
sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
fi
if test ! -s $tmp/subs.frag; then
ac_more_lines=false
else
# The purpose of the label and of the branching condition
is to
ac_beg=$ac_end
ac_end=`expr $ac_end + $ac_max_sed_lines`
fi
done
if test -z "$ac_sed_cmds"; then
ac_sed_cmds=cat
fi fi # test -n "$CONFIG_FILES"
_ACEOF cat >>$CONFIG_STATUS <<_ACEOF for ac_file in : $CON-
FIG_FILES; do test "x$ac_file" = x: && continue
# Support "outfile[:infile[:infile...]]", defaulting in-
file="outfile.in".
case $ac_file in
- | *:- | *:-:* ) # input from stdin
cat >$tmp/stdin
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
* ) ac_file_in=$ac_file.in ;;
esac
# Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirecto-
ries.
ac_dir=`(dirname "$ac_file") 2>/dev/null || $as_expr
X"$ac_file" : 'X[^/]//*[^/][^/]*/*$' X"$ac_file" :
'X[^/]' X"$ac_file" : 'X$' X"$ac_file" : 'X'
. : '' 2>/dev/null || echo X"$ac_file" |
sed '/^X[^/]*[^/][^/]**$/{ s//1/; q; }
/^X[^/].*/{ s//1/; q; }
/^X$/{ s//1/; q; }
/^X.*/{ s//1/; q; }
s/.*/./; q'`
{ case "$ac_dir" in
[\/]* | ?:[\/]* ) as_incr_dir=;;
*) as_incr_dir=.;; esac as_dummy="$ac_dir"
for as_mkdir_dir in `IFS='/\'; set X $as_dummy; shift; echo
"$@"`; do
case $as_mkdir_dir in
# Skip DOS drivespec
?:) as_incr_dir=$as_mkdir_dir ;;
*)
as_incr_dir=$as_incr_dir/$as_mkdir_dir
test -d "$as_incr_dir" ||
mkdir "$as_incr_dir" || { { echo "$as_me:$LINENO:
error: cannot create echo "$as_me: error: cannot create
{ (exit 1); exit 1; }; }
;;
esac done; }
ac_builddir=.
fi ;;
[\/]* | ?:[\/]* ) # Absolute path.
ac_srcdir=$srcdir$ac_dir_suffix;
ac_top_srcdir=$srcdir ;;
*) # Relative path.
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
ac_top_srcdir=$ac_top_builddir$srcdir ;; esac # Don't blindly
perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be #
absolute. ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir &&
pwd` ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir &&
pwd` ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
case $INSTALL in
[\/$]* | ?:[\/]* ) ac_INSTALL=$INSTALL ;;
*) ac_INSTALL=$ac_top_builddir$INSTALL ;;
esac
if test x"$ac_file" != x-; then
{ echo "$as_me:$LINENO: creating $ac_file" >&5 echo "$as_me:
creating $ac_file" >&6;}
rm -f "$ac_file"
fi
# Let's still pretend it is `configure' which instantiates
(i.e., don't
# use $as_me), people would be surprised to read:
# /* config.h. Generated by config.status. */
if test x"$ac_file" = x-; then
configure_input=
else
configure_input="$ac_file. "
fi
configure_input=$configure_input"Generated from `echo
$ac_file_in |
sed 's,.*/,,'` by config-
ure."
# First look for the input files in the build tree, otherwise
in the
# src tree.
ac_file_inputs=`IFS=:
for f in $ac_file_in; do
case $f in
-) echo $tmp/stdin ;;
[\/$]*)
# Absolute (can't be DOS-style, as IFS=:)
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot
find input file: $f" >&5 echo "$as_me: error: cannot find input
file: $f" >&2;}
{ (exit 1); exit 1; }; }
echo $f;;
esac
done` || { (exit 1); exit 1; } _ACEOF cat >>$CONFIG_STATUS
<<_ACEOF
sed "$ac_vpsub $extrasub _ACEOF cat >>$CONFIG_STATUS <<_ACEOF
:t /@[a-zA-Z_][a-zA-Z_0-9]*@/!b s,@configure_input@,$config-
ure_input,;t t s,@srcdir@,$ac_srcdir,;t t s,@abs_sr-
cdir@,$ac_abs_srcdir,;t t s,@top_srcdir@,$ac_top_srcdir,;t t
s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t s,@build-
dir@,$ac_builddir,;t t s,@abs_builddir@,$ac_abs_builddir,;t t
s,@top_builddir@,$ac_top_builddir,;t t s,@abs_top_build-
dir@,$ac_abs_top_builddir,;t t s,@INSTALL@,$ac_INSTALL,;t t "
$ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
rm -f $tmp/stdin
if test x"$ac_file" != x-; then
mv $tmp/out $ac_file
else
cat $tmp/out
rm -f $tmp/out
fi
done _ACEOF cat >>$CONFIG_STATUS <<_ACEOF
# # CONFIG_HEADER section. #
# These sed commands are passed to sed as "A NAME B NAME C VALUE
D", where # NAME is the cpp macro being defined and VALUE is the
value it is being given. # # ac_d sets the value in "#define
NAME VALUE" lines. ac_dA='s,^ ]*# ]*define[ ][
]*' ac_dB='[ ].*$,1#2' ac_dC=' ' ac_dD=',;t' # ac_u
turns "#undef NAME" without trailing blanks into "#define NAME
VALUE". ac_uA='s,^ ]*# ]*undef ][ ]*'
ac_uB='$,1#2define3' ac_uC=' ' ac_uD=',;t'
for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: &&
continue
# Support "outfile[:infile[:infile...]]", defaulting in-
file="outfile.in".
case $ac_file in
- | *:- | *:-:* ) # input from stdin
cat >$tmp/stdin
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
* ) ac_file_in=$ac_file.in ;;
esac
test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating
$ac_file" >&5 echo "$as_me: creating $ac_file" >&6;}
# First look for the input files in the build tree, otherwise
in the
# Build tree
echo $f
elif test -f "$srcdir/$f"; then
# Source tree
echo $srcdir/$f
else
# /dev/null tree
{ { echo "$as_me:$LINENO: error: cannot find input
file: $f" >&5 echo "$as_me: error: cannot find input file: $f"
>&2;}
{ (exit 1); exit 1; }; }
fi;;
esac
done` || { (exit 1); exit 1; }
# Remove the trailing spaces.
sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
_ACEOF
# Transform confdefs.h into two sed scripts, `conftest.defines'
and # `conftest.undefs', that substitutes the proper values into
# config.h.in to produce config.h. The first handles `#define' #
templates, and the second `#undef' templates. # And first: Pro-
tect against being on the right side of a sed subst in # con-
fig.status. Protect against being in an unquoted here document #
in config.status. rm -f conftest.defines conftest.undefs # Using
a here document instead of a string reduces the quoting night-
mare. # Putting comments in sed scripts is not portable. # #
`end' is used to avoid that the second main sed command (meant
for # 0-ary CPP macros) applies to n-ary macro definitions. #
See the Autoconf documentation for `clear'. cat >confdef2sed.sed
<<_ACEOF s/[\&,]/\&/g s,[\$`],\&,g t clear : clear s,^[ ]*#[
]*define[ ][ ]* (][^ (]*^)]*)[
]*$,${ac_dA}1${ac_dB}12${ac_dC}3${ac_dD},gp t end s,^[
]*#[ ]*define[ ][ ]* ][^ ]*[
]*$,${ac_dA}1${ac_dB}1${ac_dC}2${ac_dD},gp : end _ACEOF # If
some macros were called several times there might be several
times # the same #defines, which is useless. Nevertheless, we
may not want to # sort them, since we want the *last* AC-DEFINE
to be honored. uniq confdefs.h | sed -n -f confdef2sed.sed >con-
ftest.defines sed 's/ac_d/ac_u/g' conftest.defines >conftest.un-
defs rm -f confdef2sed.sed
# This sed command replaces #undef with comments. This is neces-
sary, for # example, in the case of _POSIX_SOURCE, which is pre-
defined and required # on some systems where configure will not
decide to define it. cat >>conftest.undefs <<_ACEOF s,^[ ]*#[
]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
_ACEOF
# Break up conftest.defines because some shells have a limit on
the size # of here documents, and old seds have small limits too
echo 'CEOF
sed -f $tmp/defines.sed $tmp/in >$tmp/out
rm -f $tmp/in
mv $tmp/out $tmp/in
sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
rm -f conftest.defines
mv conftest.tail conftest.defines done rm -f conftest.defines
echo ' fi # egrep' >>$CONFIG_STATUS echo >>$CONFIG_STATUS
# Break up conftest.undefs because some shells have a limit on
the size # of here documents, and old seds have small limits too
(100 cmds). echo ' # Handle all the #undef templates' >>$CON-
FIG_STATUS rm -f conftest.tail while grep . conftest.undefs
>/dev/null do
# Write a limited-size here document to $tmp/undefs.sed.
echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
# Speed up: don't consider the non `#undef'
echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
# Work around the forget-to-reset-the-flag bug.
echo 't clr' >>$CONFIG_STATUS
echo ': clr' >>$CONFIG_STATUS
sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
echo 'CEOF
sed -f $tmp/undefs.sed $tmp/in >$tmp/out
rm -f $tmp/in
mv $tmp/out $tmp/in
sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
rm -f conftest.undefs
mv conftest.tail conftest.undefs done rm -f conftest.undefs
cat >>$CONFIG_STATUS <<_ACEOF
# Let's still pretend it is `configure' which instantiates
(i.e., don't
# use $as_me), people would be surprised to read:
# /* config.h. Generated by config.status. */
if test x"$ac_file" = x-; then
echo "/* Generated by configure. */" >$tmp/config.h
else
echo "/* $ac_file. Generated by configure. */" >$tmp/con-
fig.h
fi
cat $tmp/in >>$tmp/config.h
rm -f $tmp/in
if test x"$ac_file" != x-; then
if cmp -s $ac_file $tmp/config.h 2>/dev/null; then
{ echo "$as_me:$LINENO: $ac_file is unchanged" >&5 echo
"$as_me: $ac_file is unchanged" >&6;}
else
ac_dir=`(dirname "$ac_file") 2>/dev/null || $as_expr
X"$ac_file" : 'X[^/]//*[^/][^/]*/*$' X"$ac_file" :
'X[^/]' X"$ac_file" : 'X$' X"$ac_file" : 'X'
. : '' 2>/dev/null || echo X"$ac_file" |
as_incr_dir=$as_incr_dir/$as_mkdir_dir
test -d "$as_incr_dir" ||
mkdir "$as_incr_dir" || { { echo "$as_me:$LINENO:
error: cannot create echo "$as_me: error: cannot create
{ (exit 1); exit 1; }; }
;;
esac done; }
rm -f $ac_file
mv $tmp/config.h $ac_file
fi
else
cat $tmp/config.h
rm -f $tmp/config.h
fi done _ACEOF
cat >>$CONFIG_STATUS <<_ACEOF
{ (exit 0); exit 0; } _ACEOF chmod +x $CONFIG_STATUS
ac_clean_files=$ac_clean_files_save
# configure is writing to config.log, and then calls config.sta-
tus. # config.status does its own redirection, appending to con-
fig.log. # Unfortunately, on DOS this fails, as config.log is
still kept open # by configure, so config.status won't be able to
write to it; its # output is simply discarded. So we exec the FD
to /dev/null, # effectively closing config.log, so it can be
properly (re)opened and # appended to by config.status. When
coming back to configure, we # need to make the FD available
again. if test "$no_create" != yes; then
ac_cs_success=:
exec 5>/dev/null
$SHELL $CONFIG_STATUS || ac_cs_success=false
exec 5>>config.log
# Use ||, not &&, to avoid exiting from the if with $? = 1,
which
# would make configure fail if this is the last instruction.
$ac_cs_success || { (exit 1); exit 1; } fi
# Print summary of options
# Someone please show me a better way :) A=`eval echo ${prefix}`
; A=`eval echo ${A}` B=`eval echo ${bindir}` ; B=`eval echo ${B}`
C=`eval echo ${sbindir}` ; C=`eval echo ${C}` D=`eval echo
${sysconfdir}` ; D=`eval echo ${D}` E=`eval echo ${libex-
ecdir}/ssh-askpass` ; E=`eval echo ${E}` F=`eval echo
${mandir}/${mansubdir}X` ; F=`eval echo ${F}` G=`eval echo ${pid-
dir}` ; G=`eval echo ${G}` H=`eval echo ${PRIVSEP_PATH}` ;
H=`eval echo ${H}` I=`eval echo ${user_path}` ; I=`eval echo
${I}` J=`eval echo ${superuser_path}` ; J=`eval echo ${J}`
echo " Smartcard support: $SCARD_MSG" echo "
AFS support: $AFS_MSG" echo " S/KEY support:
$SKEY_MSG" echo " TCP Wrappers support: $TCPW_MSG"
echo " MD5 password support: $MD5_MSG" echo "
IP address in ISPLAY hack: $DISPLAY_HACK_MSG" echo " Use
IPv4 by default hack: $IPV4_HACK_MSG" echo " Translate
v4 in v6 hack: $IPV4_IN6_HACK_MSG" echo " BSD
Auth support: $BSD_AUTH_MSG" echo " Random number
source: $RAND_MSG" if test ! -z "$USE_RAND_HELPER" ; then echo "
ssh-rand-helper collects from: $RAND_HELPER_MSG" fi
echo ""
echo " Host: ${host}" echo " Compiler:
${CC}" echo " Compiler flags: ${CFLAGS}" echo "Preprocessor
flags: ${CPPFLAGS}" echo " Linker flags: ${LDFLAGS}" echo "
Libraries: ${LIBWRAP} ${LIBPAM} ${LIBS}"
echo ""
if test "x$PAM_MSG" = "xyes" ; then echo "PAM is enabled.
You may need to install a PAM control file " echo "for
sshd, otherwise password authentication may fail. " echo
"Example PAM control files can be found in the contrib/ "
echo "subdirectory" echo "" fi
if test ! -z "$NO_SFTP"; then echo "sftp-server will be
disabled. Your compiler does not " echo "support 64bit
integers." echo "" fi
if test ! -z "$RAND_HELPER_CMDHASH" ; then echo "WARNING:
you are using the builtin random number collection " echo
"service. Please read WARNING.RNG and request that your OS "
echo "vendor includes kernel-based random number collec-
tion in " echo "future versions of your OS."
echo "" fi
Man(1) output converted with
man2html
|