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
strip(1) on install
  --disable-lastlog       disable use of lastlog even if detected
no
  --disable-utmp          disable use of utmp even if detected no
  --disable-utmpx          disable  use of utmpx even if detected
no
  --disable-wtmp          disable use of wtmp even if detected no
  --disable-wtmpx          disable  use of wtmpx even if detected
no
  --disable-libutil       disable use of libutil  (login()  etc.)
no
  --disable-pututline     disable use of pututline() etc. (uwtmp)
no
  --disable-pututxline    disable use of pututxline() etc. (uwtm-
px) no

Optional Packages:
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
  --without-PACKAGE        do  not  use  PACKAGE (same as --with-
PACKAGE=no)
  --with-osfsia           Enable Digital Unix SIA
  --with-cflags           Specify additional  flags  to  pass  to
compiler
  --with-cppflags          Specify  additional  flags  to pass to
preprocessor
  --with-ldflags          Specify additional  flags  to  pass  to
linker
  --with-prngd-socket=FILE read  entropy  from  PRNGD/EGD  socket
FILE (default=/var/run/egd-pool)
  --with-entropy-timeout  Specify entropy gathering command time-
out (msec)
  --with-privsep-user=user Specify non-privileged user for privi-
lege separation
  --with-sectok            Enable smartcard support using libsec-
tok
  --with-opensc=PFX       Enable smartcard support using OpenSC
  --with-kerberos5=PATH   Enable Kerberos 5 support
  --with-kerberos4=PATH   Enable Kerberos 4 support
  --with-afs=PATH         Enable AFS support
  --with-privsep-path=xxx Path for  privilege  separation  chroot
(default=/var/empty)
  --with-xauth=PATH       Specify path to xauth program
  --with-mantype=man|cat|doc  Set man page type
  --with-md5-passwords    Enable use of MD5 passwords
  --without-shadow        Disable shadow password support
  --with-ipaddr-display    Use  ip address instead of hostname in
ISPLAY
  --with-default-path=    Specify  default  ATH  environment  for
server
  --with-superuser-path=  Specify different path for super-user
  --with-ipv4-default      Use  IPv4  by  connections unless '-6'
specified
  --with-4in6             Check for  and  convert  IPv4  in  IPv6
mapped addresses
  --with-bsd-auth         Enable BSD auth support
  --with-pid-dir=PATH     Specify location of ssh.pid file
  --with-lastlog=FILE|DIR  specify  lastlog location common loca-
tions

Some influential environment variables:
  CC          C compiler command
  CFLAGS      C compiler flags
  LDFLAGS     linker flags, e.g. -L<lib  dir>  if  you  have  li-
braries in a
              nonstandard directory <lib dir>
  CPPFLAGS     C/C++  preprocessor flags, e.g. -I<include dir> if
you have
              headers in a nonstandard directory <include dir>
  CPP         C preprocessor

Use these variables to override the choices made  by  `configure'
or  to  help  it  to find libraries and programs with nonstandard
names/locations.

_ACEOF fi

if test "$ac_init_help" = "recursive"; then
  # If there are subdirs, report their specific --help.
  ac_popdir=`pwd`
    ac_srcdir=.
    if test -z "$ac_top_builddir"; then
       ac_top_srcdir=.
    else
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
    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`

    cd $ac_dir
    #  Check  for  guested  configure; otherwise get Cygnus style
configure.
    if test -f $ac_srcdir/configure.gnu; then
      echo
      $SHELL $ac_srcdir/configure.gnu  --help=recursive
    elif test -f $ac_srcdir/configure; then
      echo
      $SHELL $ac_srcdir/configure  --help=recursive
    elif test -f $ac_srcdir/configure.ac ||
           test -f $ac_srcdir/configure.in; then
      echo
      $ac_configure --help
    else
      echo "$as_me: WARNING: no configuration information  is  in
$ac_dir" >&2
    fi
    cd $ac_popdir
  done fi

test -n "$ac_init_help" && exit 0 if $ac_init_version; then
  cat <<_ACEOF

Copyright  1992,  1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2002 Free Software Foundation, Inc.   This  configure  script  is
free  software; the Free Software Foundation gives unlimited per-
mission to copy, distribute and modify it.  _ACEOF
  exit 0 fi exec 5>config.log cat >&5 <<_ACEOF This file contains
any  messages  produced  by compilers while running configure, to
aid debugging if configure makes a mistake.

It was created by $as_me, which was  generated  by  GNU  Autoconf
2.53.  Invocation command line was


/bin/arch              = `(/bin/arch) 2>/dev/null              ||
echo   unknown`  /usr/bin/arch  -k        =  `(/usr/bin/arch  -k)
2>/dev/null        ||  echo  unknown`  /usr/convex/getsysinfo   =
`(/usr/convex/getsysinfo)  2>/dev/null  || echo unknown` hostinfo
= `(hostinfo) 2>/dev/null               || echo unknown` /bin/ma-
chine            =  `(/bin/machine) 2>/dev/null           || echo
unknown` /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null
||   echo   unknown`  /bin/universe           =  `(/bin/universe)
2>/dev/null          || echo unknown`

_ASUNAME

as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  echo "PATH: $as_dir" done

} >&5

cat >&5 <<_ACEOF


@%:@@%:@  -----------  @%:@@%:@  @%:@@%:@  Core  tests.  @%:@@%:@
@%:@@%:@ ----------- @%:@@%:@

_ACEOF


#  Keep a trace of the command line.  # Strip out --no-create and
--no-recursion so they do not pile up.  #  Also  quote  any  args
containing shell meta-characters.  ac_configure_args= ac_sep= for
ac_arg do
  case $ac_arg in
  -no-create | --no-create | --no-creat |  --no-crea  |  --no-cre
| --no-cr | --no-c | -n ) continue ;;
  -no-recursion  |  --no-recursion | --no-recursio | --no-recursi
| --no-recurs | --no-recur | --no-recu |  --no-rec  |  --no-re  |
--no-r)
    continue ;;
  *"   "*|*"      "*|*[         ac_arg=`echo   "$ac_arg"   |  sed
"s/'/'\\\\''/g"` ;;
  esac
  case " $ac_configure_args " in
    *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures  ac-
curacy.
    *) ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
       ac_sep=" " ;;
  esac
  # Get rid of the leading space.  done

#  When  interrupted or exit'd, cleanup temporary files, and com-
  (set) 2>&1 |
    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
    *ac_space= *)
      sed -n         "s/'"'"'/'"'"'\\'"'"''"'"'/g;
                            s/^\([_$as_cr_alnum]*_cv_[_$as_cr_al-
num]*\)=\(.*\)/\1='"'"'\2'"'"'/p"
      ;;
    *)
      sed    -n            "s/^\([_$as_cr_alnum]*_cv_[_$as_cr_al-
num]*\)=\(.*\)/\1=\2/p"
      ;;
    esac; }
    echo
    if test -s confdefs.h; then
      cat  <<_ASBOX  @%:@@%:@   -----------   @%:@@%:@   @%:@@%:@
confdefs.h. @%:@@%:@ @%:@@%:@ ----------- @%:@@%:@ _ASBOX
      echo
      sed "/^$/d" confdefs.h
      echo
    fi
    test "$ac_signal" != 0 &&
      echo "$as_me: caught signal $ac_signal"
    echo "$as_me: exit $exit_status"
  } >&5
  rm -f core core.* *.core &&
  rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
    exit $exit_status
     ' 0 for ac_signal in 1 2 13 15; do
  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
done ac_signal=0

# confdefs.h avoids OS command line length limits that  DEFS  can
exceed.   rm -rf conftest* confdefs.h # AIX cpp loses on an empty
file, so  make  sure  it  contains  at  least  a  newline.   echo
>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
fault_prefix/etc/config.site"
  fi fi for ac_site_file in $CONFIG_SITE; do
  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

      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
    esac
  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
  ac_ct_CC=$CC
  # Extract the first word of "gcc", so it can be a program  name
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

  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    ac_cv_prog_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
  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$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


  ac_status=$?
  echo "$as_me:$LINENO:  = $ac_status" >&5
  (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

3.0 # If not cross compiling, check that we can run a simple pro-
gram.  if test "$cross_compiling" != yes; then
  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
   int F77_DUMMY_MAIN() { return 1; } #endif int main () {

  ;
  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

clude "confdefs.h"

#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

"$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
  : 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

$srcdir/../.." >&2;}
   {   (exit   1);   exit  1;  };  }  fi  ac_config_guess="$SHELL
$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  |
   int F77_DUMMY_MAIN() { return 1; } #endif int main  ()  {  #if
!BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
 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,
  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
  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
 ;;

"$as_me:$LINENO: checking how to run the C preprocessor" >&5 echo
$ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 #
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

skipped.  rm -f conftest.err conftest.$ac_ext if  $ac_preproc_ok;
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

done # Because of `break', _AC_PREPROC_IFELSE's cleaning code was
skipped.   rm -f conftest.err conftest.$ac_ext if $ac_preproc_ok;
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
  RANLIB="$ac_cv_prog_RANLIB" fi

# 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


# Use test -z because SunOS4 sh mishandles braces in  ${var-val}.
# 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 -n "$PERL" && break done

#  Extract  the  first word of "sed", so it can be a program name
with args.   set  dummy  sed;  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_SED+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6 else
  case $SED in
  [\/]* | ?:[\/]*)
  ac_cv_path_SED="$SED" # 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_SED="$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 SED=$ac_cv_path_SED

if test -n "$SED"; then
  echo "$as_me:$LINENO: result: $SED"  >&5  echo  "${ECHO_T}$SED"
>&6 else
  echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi


# 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
  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

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
  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
  enableval="$enable_largefile"

fi; if test "$enable_largefile" != no; then

 /* 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
       rm -f conftest.$ac_ext
    fi fi echo "$as_me:$LINENO: result:  $ac_cv_sys_largefile_CC"
>&5 echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6
  if test "$ac_cv_sys_largefile_CC" != no; then
    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
it(0);          else                 exit(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
  echo "$as_me:$LINENO: result: working" >&5 echo "${ECHO_T}work-
ing" >&6 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:  buggy"  >&5  echo
"${ECHO_T}buggy" >&6         cat >>confdefs.h <<_ACEOF @%:@define
BROKEN_GETADDRINFO 1 _ACEOF

fi  rm  -f core core.* *.core conftest$ac_exeext conftest.$ac_ob-
jext conftest.$ac_ext  fi          ;;  *-*-hpux10.26)          if
test   -z   "$GCC";   then                  CFLAGS="$CFLAGS  -Ae"
        fi               CPPFLAGS="$CPPFLAGS       -D_HPUX_SOURCE
-D_XOPEN_SOURCE     -D_XOPEN_SOURCE_EXTENDED=1"             IPAD-
DR_IN_DISPLAY=yes         cat  >>confdefs.h  <<_ACEOF  @%:@define
HAVE_SECUREWARE 1 _ACEOF

        cat >>confdefs.h <<_ACEOF @%:@define USE_PIPES 1 _ACEOF

        cat  >>confdefs.h  <<_ACEOF  @%:@define LOGIN_NO_ENDOPT 1
_ACEOF

        cat >>confdefs.h <<_ACEOF @%:@define LOGIN_NEEDS_UTMPX  1
_ACEOF

  ac_check_lib_save_LIBS=$LIBS  LIBS="-lxnet   $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 t_error (); #ifdef F77_DUMMY_MAIN #  ifdef __cplusplus
     extern "C" #  endif
   int F77_DUMMY_MAIN() { return 1; } #endif int main () {  t_er-
ror ();
  ;
  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_xnet_t_error=yes else
  echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5
ac_cv_lib_xnet_t_error=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_xnet_t_error" >&5 echo
"${ECHO_T}$ac_cv_lib_xnet_t_error"       >&6       if        test
$ac_cv_lib_xnet_t_error = yes; then
  cat >>confdefs.h <<_ACEOF @%:@define HAVE_LIBXNET 1 _ACEOF

  LIBS="-lxnet $LIBS"

else
  {  {  echo "$as_me:$LINENO: error: *** -lxnet needed on HP-UX -
check config.log ***" >&5 echo "$as_me: error: *** -lxnet  needed
on HP-UX - check config.log ***" >&2;}
   { (exit 1); exit 1; }; } fi

        disable_ptmx_check=yes         ;; *-*-hpux10*)         if
test  -z  "$GCC";   then                   CFLAGS="$CFLAGS   -Ae"
        fi               CPPFLAGS="$CPPFLAGS       -D_HPUX_SOURCE
-D_XOPEN_SOURCE     -D_XOPEN_SOURCE_EXTENDED=1"             IPAD-
DR_IN_DISPLAY=yes          cat  >>confdefs.h  <<_ACEOF @%:@define
USE_PIPES 1 _ACEOF

        cat >>confdefs.h <<_ACEOF  @%:@define  LOGIN_NO_ENDOPT  1
_ACEOF

in -lxnet... $ECHO_C" >&6 if test "${ac_cv_lib_xnet_t_error+set}"
= set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6 else
  ac_check_lib_save_LIBS=$LIBS  LIBS="-lxnet   $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 t_error (); #ifdef F77_DUMMY_MAIN #  ifdef __cplusplus
     extern "C" #  endif
   int  F77_DUMMY_MAIN() { return 1; } #endif int main () { t_er-
ror ();
  ;
  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_xnet_t_error=yes else
  echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5
ac_cv_lib_xnet_t_error=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_xnet_t_error"  >&5  echo
"${ECHO_T}$ac_cv_lib_xnet_t_error"        >&6       if       test
$ac_cv_lib_xnet_t_error = yes; then
  cat >>confdefs.h <<_ACEOF @%:@define HAVE_LIBXNET 1 _ACEOF

  LIBS="-lxnet $LIBS"

else
  { { echo "$as_me:$LINENO: error: *** -lxnet needed on  HP-UX  -
check  config.log ***" >&5 echo "$as_me: error: *** -lxnet needed
on HP-UX - check config.log ***" >&2;}
   { (exit 1); exit 1; }; } fi

        ;;        *-*-hpux11*)                CPPFLAGS="$CPPFLAGS
-D_HPUX_SOURCE     -D_XOPEN_SOURCE    -D_XOPEN_SOURCE_EXTENDED=1"
        IPADDR_IN_DISPLAY=yes         cat  >>confdefs.h  <<_ACEOF
@%:@define PAM_SUN_CODEBASE 1 _ACEOF

        cat >>confdefs.h <<_ACEOF @%:@define USE_PIPES 1 _ACEOF


        LIBS="$LIBS -lsec"          echo "$as_me:$LINENO:  check-
ing for t_error in -lxnet" >&5 echo $ECHO_N "checking for t_error
in -lxnet... $ECHO_C" >&6 if test "${ac_cv_lib_xnet_t_error+set}"
= set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6 else
  ac_check_lib_save_LIBS=$LIBS  LIBS="-lxnet   $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 t_error (); #ifdef F77_DUMMY_MAIN #  ifdef __cplusplus
     extern "C" #  endif
   int F77_DUMMY_MAIN() { return 1; } #endif int main () {  t_er-
ror ();
  ;
  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_xnet_t_error=yes else
  echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5
ac_cv_lib_xnet_t_error=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_xnet_t_error" >&5 echo
"${ECHO_T}$ac_cv_lib_xnet_t_error"       >&6       if        test
$ac_cv_lib_xnet_t_error = yes; then
  cat >>confdefs.h <<_ACEOF @%:@define HAVE_LIBXNET 1 _ACEOF

  LIBS="-lxnet $LIBS"

else
  {  {  echo "$as_me:$LINENO: error: *** -lxnet needed on HP-UX -
check config.log ***" >&5 echo "$as_me: error: *** -lxnet  needed
on HP-UX - check config.log ***" >&2;}
   { (exit 1); exit 1; }; } fi

        ;;   *-*-irix5*)          CPPFLAGS="$CPPFLAGS  -I/usr/lo-
cal/include"                                   LDFLAGS="$LDFLAGS"
        PATH="$PATH:/usr/etc"          cat  >>confdefs.h <<_ACEOF
@%:@define BROKEN_INET_NTOA 1 _ACEOF

        echo "$as_me:$LINENO: checking for  jlimit_startjob"  >&5
echo  $ECHO_N  "checking  for  jlimit_startjob... $ECHO_C" >&6 if
test "${ac_cv_func_jlimit_startjob+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 jlimit_startjob ();  below.   */
#include  <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 jlimit_startjob (); 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_jlimit_startjob)    ||    defined
(__stub___jlimit_startjob) choke me #else  f  =  jlimit_startjob;
#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_jlimit_startjob=yes else
  echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5
ac_cv_func_jlimit_startjob=no  fi  rm -f conftest.$ac_objext con-
ftest$ac_exeext conftest.$ac_ext fi echo "$as_me:$LINENO: result:
$ac_cv_func_jlimit_startjob" >&5 echo "${ECHO_T}$ac_cv_func_jlim-
it_startjob" >&6 if test $ac_cv_func_jlimit_startjob = yes; then
  cat >>confdefs.h <<_ACEOF @%:@define WITH_IRIX_JOBS 1 _ACEOF

fi

        cat >>confdefs.h <<_ACEOF @%:@define  BROKEN_INET_NTOA  1
_ACEOF

DING ' ' _ACEOF

        inet6_default_4in6=yes           ;;   mips-sony-bsd|mips-
sony-newsos4)          cat   >>confdefs.h   <<_ACEOF   @%:@define
HAVE_NEWS4 1 _ACEOF

        SONY=1                       ;;              *-*-netbsd*)
        check_for_libcrypt_before=1                 need_dash_r=1
        ;;    *-*-freebsd*)            check_for_libcrypt_later=1
        ;;          *-next-*)                  conf_lastlog_loca-
tion="/usr/adm/lastlog"              conf_utmp_location=/etc/utmp
        conf_wtmp_location=/usr/adm/wtmp
        MAIL=/usr/spool/mail          cat  >>confdefs.h  <<_ACEOF
@%:@define HAVE_NEXT 1 _ACEOF

        cat >>confdefs.h <<_ACEOF  @%:@define  BROKEN_REALPATH  1
_ACEOF

        cat >>confdefs.h <<_ACEOF @%:@define USE_PIPES 1 _ACEOF

        cat  >>confdefs.h <<_ACEOF @%:@define BROKEN_SAVED_UIDS 1
_ACEOF

        CPPFLAGS="$CPPFLAGS                 -I/usr/local/include"
        CFLAGS="$CFLAGS"                 ;;         *-*-solaris*)
        CPPFLAGS="$CPPFLAGS   -I/usr/local/include"           LD-
FLAGS="$LDFLAGS         -L/usr/local/lib        -R/usr/local/lib"
        need_dash_r=1         cat >>confdefs.h  <<_ACEOF  @%:@de-
fine PAM_SUN_CODEBASE 1 _ACEOF

        cat  >>confdefs.h <<_ACEOF @%:@define LOGIN_NEEDS_UTMPX 1
_ACEOF

        cat >>confdefs.h <<_ACEOF @%:@define  LOGIN_NEEDS_TERM  1
_ACEOF

        cat  >>confdefs.h  <<_ACEOF  @%:@define  PAM_TTY_KLUDGE 1
_ACEOF

        cat  >>confdefs.h  <<_ACEOF  @%:@define  STREAMS_PUSH_AC-
QUIRES_CTTY 1 _ACEOF

        # hardwire lastlog location (can't detect it on some ver-
sions)                   conf_lastlog_location="/var/adm/lastlog"
        echo "$as_me:$LINENO: checking for obsolete utmp and wtmp
in solaris2.x" >&5 echo $ECHO_N "checking for obsolete  utmp  and
wtmp in solaris2.x... $ECHO_C" >&6         sol2ver=`echo "$host"|
sed -e 's/.*[0-9].//'`         if test  "$sol2ver"  -ge  8;  then
                echo   "$as_me:$LINENO:  result:  yes"  >&5  echo
"${ECHO_T}yes"  >&6                  cat  >>confdefs.h   <<_ACEOF
@%:@define DISABLE_UTMP 1 _ACEOF

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

    fi fi

echo "$as_me:$LINENO: checking for  getspnam"  >&5  echo  $ECHO_N
"checking for getspnam... $ECHO_C" >&6 if test "${ac_cv_func_get-
spnam+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 getspnam (); below.  */ #include
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
  echo  "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6
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: re-
sult:       no"       >&5       echo       "${ECHO_T}no"      >&6
                                        { { echo "$as_me:$LINENO:
error:  **  Incomplete  or  missing  s/key  libraries."  >&5 echo
"$as_me: error: ** Incomplete or missing s/key libraries." >&2;}
   { (exit 1); exit 1; }; }                                    fi
rm  -f  core core.* *.core conftest$ac_exeext conftest.$ac_objext
conftest.$ac_ext fi                 fi

fi;

# Check whether user wants TCP wrappers support TCPW_MSG="no"

# Check whether --with-tcp-wrappers or --without-tcp-wrappers was
given.  if test "${with_tcp_wrappers+set}" = set; then
  withval="$with_tcp_wrappers"
                                        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${with-
val}/include   ${CPPFLAGS}"                                  else
                                        CPPFLAGS="-I${withval}
${CPPFLAGS}"                                                   fi
                        fi                                   LIB-
WRAP="-lwrap"                            LIBS="$LIBWRAP    $LIBS"
                        echo "$as_me:$LINENO: checking  for  lib-
wrap"  >&5  echo  $ECHO_N  "checking  for libwrap... $ECHO_C" >&6
                        cat  >conftest.$ac_ext   <<_ACEOF   #line
$LINENO "configure" #include "confdefs.h"

#include <tcpd.h>                                         int de-
ny_severity      =       0,       allow_severity       =       0;
                                  #ifdef  F77_DUMMY_MAIN #  ifdef
__cplusplus
     extern "C" #  endif
   int F77_DUMMY_MAIN() { return  1;  }  #endif  int  main  ()  {
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); } &&
         { 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

                                        echo "$as_me:$LINENO: re-
sult:       yes"       >&5      echo      "${ECHO_T}yes"      >&6
                                        cat >>confdefs.h <<_ACEOF
@%:@define LIBWRAP 1 _ACEOF


                                        TCPW_MSG="yes"
                                 else


























































for  ac_func  in   arc4random  __b64_ntop   b64_ntop   __b64_pton
b64_pton   basename  bcopy         bindresvport_sa  clock  fchmod
fchown freeaddrinfo  futimes    gai_strerror  getaddrinfo  getcwd
getgrouplist getnameinfo getopt      getpeereid _getpty getrlimit
getrusage getttyent glob inet_aton  inet_ntoa  inet_ntop  innetgr
login_getcapbool  md5_crypt  memmove         mkdtemp mmap ngetad-
drinfo nsleep ogetaddrinfo openpty pstat  readpassphrase realpath
recvmsg  rresvport_af  sendmsg setdtablesize       setegid setenv
seteuid setgroups setlogin setpcred setproctitle        setresgid
setreuid  setrlimit  setsid setvbuf sigaction sigvec     snprintf
socketpair strerror strlcat  strlcpy  strmode  strnvis    sysconf
tcgetpgrp   truncate   utimes   vhangup   vsnprintf   waitpid  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"

/*  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 nanosleep (); #ifdef F77_DUMMY_MAIN #  ifdef __cplusplus
     extern "C" #  endif
   int F77_DUMMY_MAIN() { return  1;  }  #endif  int  main  ()  {
nanosleep ();
  ;
  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_nanosleep="none required" 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
if test "$ac_cv_search_nanosleep" = no; then
  for ac_lib in rt posix4; do
    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
    cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" #in-
clude "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 nanosleep (); #ifdef F77_DUMMY_MAIN #  ifdef __cplusplus
     extern "C" #  endif
   int F77_DUMMY_MAIN() { return  1;  }  #endif  int  main  ()  {
nanosleep ();
  ;
  return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO:
  (eval $ac_link) 2>&5

"${ECHO_T}$ac_cv_search_nanosleep"        >&6       if       test
"$ac_cv_search_nanosleep" != no; then
  test   "$ac_cv_search_nanosleep"   =   "none    required"    ||
LIBS="$ac_cv_search_nanosleep $LIBS"
  cat >>confdefs.h <<_ACEOF @%:@define HAVE_NANOSLEEP 1 _ACEOF

fi


echo  "$as_me:$LINENO:  checking  whether strsep is declared" >&5
echo $ECHO_N "checking whether strsep is declared... $ECHO_C" >&6
if test "${ac_cv_have_decl_strsep+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 () { #ifn-
def strsep
  char *p = (char *) strsep; #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_have_decl_strsep=yes else
  echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5
ac_cv_have_decl_strsep=no  fi  rm  -f  conftest.$ac_objext   con-
ftest.$ac_ext  fi  echo  "$as_me:$LINENO: result: $ac_cv_have_de-
cl_strsep" >&5  echo  "${ECHO_T}$ac_cv_have_decl_strsep"  >&6  if
test $ac_cv_have_decl_strsep = yes; then

for  ac_func in strsep 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);
    } else {         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
   ac_cv_have_broken_dirname="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_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
@%:@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
  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:
  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
exit(1);

        if  ((rc = fprintf(fd ,"%x (%s)0, OPENSSL_VERSION_NUMBER,
OPENSSL_VERSION_TEXT)) <0)                 exit(1);

        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

                ssl_header_ver=`cat           conftest.sslincver`
                echo  "$as_me:$LINENO:  result:  $ssl_header_ver"
>&5 echo "${ECHO_T}$ssl_header_ver" >&6          else
ing OpenSSL library version" >&5 echo $ECHO_N  "checking  OpenSSL
library version... $ECHO_C" >&6 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  <stdio.h> #include <string.h> #include <openssl/openss-
lv.h> #include <openssl/crypto.h> #define DATA  "conftest.ssllib-
ver" int main(void) {
        FILE *fd;
        int rc;

        fd = fopen(DATA,"w");
        if(fd == NULL)
                exit(1);

        if  ((rc  =  fprintf(fd ,"%x (%s)0, SSLeay(), SSLeay_ver-
sion(SSLEAY_VERSION))) <0)                 exit(1);

        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

                ssl_library_ver=`cat          conftest.ssllibver`
                echo "$as_me:$LINENO:  result:  $ssl_library_ver"
>&5 echo "${ECHO_T}$ssl_library_ver" >&6          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: not found" >&5 echo
"${ECHO_T}not    found"    >&6                    {    {     echo
"$as_me:$LINENO:  error:  OpenSSL  library  not  found." >&5 echo
"$as_me: error: OpenSSL library not found." >&2;}
   { (exit 1); exit 1; }; }

fi rm -f core core.* *.core  conftest$ac_exeext  conftest.$ac_ob-
jext conftest.$ac_ext fi

#  Sanity  check  OpenSSL  headers echo "$as_me:$LINENO: checking
  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          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                  { { echo "$as_me:$LINENO: er-
ror: Your OpenSSL headers do not match  your  library"  >&5  echo
"$as_me:  error:  Your OpenSSL headers do not match your library"
>&2;}
   { (exit 1); exit 1; }; }

fi rm -f core core.* *.core  conftest$ac_exeext  conftest.$ac_ob-
jext conftest.$ac_ext fi

#  Some  Linux  systems  (Slackware)  need crypt() from libcrypt,
*not* the # version  in  OpenSSL.  Skip  this  for  PAM  if  test
"x$PAM_MSG"  = "xno" -a "x$check_for_libcrypt_later" = "x1"; then
        echo "$as_me:$LINENO: checking for crypt in -lcrypt"  >&5
echo  $ECHO_N  "checking  for crypt in -lcrypt... $ECHO_C" >&6 if
test "${ac_cv_lib_crypt_crypt+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6 else
  ac_check_lib_save_LIBS=$LIBS LIBS="-lcrypt   $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 crypt (); #ifdef F77_DUMMY_MAIN #  ifdef __cplusplus
     extern "C" #  endif
   int  F77_DUMMY_MAIN() { return 1; } #endif int main () { crypt
();
  ;
  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


### Configure cryptographic random number support

# Check wheter OpenSSL seeds itself echo "$as_me:$LINENO:  check-
ing whether OpenSSL's PRNG is internally seeded" >&5 echo $ECHO_N
"checking whether OpenSSL's PRNG is internally seeded... $ECHO_C"
>&6 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 <string.h> #include <openssl/rand.h>  int  main(void)  {
exit(RAND_status()  ==  1  ? 0 : 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

                OPENSSL_SEEDS_ITSELF=yes                     echo
"$as_me:$LINENO:   result:   yes"  >&5  echo  "${ECHO_T}yes"  >&6
         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                  #  Default to use of the rand
helper  if  OpenSSL   doesn't                   #   seed   itself
                USE_RAND_HELPER=yes

fi  rm  -f core core.* *.core conftest$ac_exeext conftest.$ac_ob-
jext conftest.$ac_ext fi


# Do we want to force the use of the rand helper?

# Check whether --with-rand-helper or  --without-rand-helper  was
given.  if test "${with_rand_helper+set}" = set; then
  withval="$with_rand_helper"

                if    test    "x$withval"    =   "xno"   ;   then

"$OPENSSL_SEEDS_ITSELF" -a -z "$USE_RAND_HELPER" ; then         #
OpenSSL   only           cat   >>confdefs.h  <<_ACEOF  @%:@define
OPENSSL_PRNG_ONLY 1 _ACEOF

        RAND_MSG="OpenSSL     internal     ONLY"              IN-
STALL_SSH_RAND_HELPER="" elif test ! -z "$USE_RAND_HELPER" ; then
        # install rand helper          RAND_MSG="ssh-rand-helper"
        INSTALL_SSH_RAND_HELPER="yes" fi


### Configuration of ssh-rand-helper

# PRNGD TCP socket

#  Check  whether  --with-prngd-port  or --without-prngd-port was
given.  if test "${with_prngd_port+set}" = set; then
  withval="$with_prngd_port"

                case    "$withval"     in                     no)
                        withval=""                             ;;
                [0-9]*)                                        ;;
                *)                              {      {     echo
"$as_me:$LINENO: error: You must specify a  numeric  port  number
for  --with-prngd-port" >&5 echo "$as_me: error: You must specify
a numeric port number for --with-prngd-port" >&2;}
   {  (exit  1);  exit   1;   };   }                           ;;
                esac                  if  test  ! -z "$withval" ;
then                                        PRNGD_PORT="$withval"
                        cat   >>confdefs.h   <<_ACEOF  @%:@define
PRNGD_PORT $PRNGD_PORT _ACEOF

                fi

fi;

# PRNGD Unix domain socket

# Check whether --with-prngd-socket or --without-prngd-socket was
given.  if test "${with_prngd_socket+set}" = set; then
  withval="$with_prngd_socket"

                case     "$withval"    in                    yes)
                        withval="/var/run/egd-pool"
                        ;;                                    no)
                        withval=""                             ;;
                /*)                         ;;                 *)
                        { { echo "$as_me:$LINENO: error: You must
specify an absolute path to the entropy socket" >&5 echo "$as_me:
error: You must specify an absolute path to the  entropy  socket"
>&2;}
   {   (exit   1);   exit   1;  };  }                          ;;
                esac

PRNGD_SOCKET "$PRNGD_SOCKET" _ACEOF

                fi          else

                # Check for existing socket only if we don't have
a     random     device     already                    if    test
"$USE_RAND_HELPER"  =  yes  ;  then                          echo
"$as_me:$LINENO:  checking for PRNGD/EGD socket" >&5 echo $ECHO_N
"checking    for     PRNGD/EGD     socket...     $ECHO_C"     >&6
                        #    Insert    other    locations    here
                        for sock in  /var/run/egd-pool  /dev/egd-
pool  /etc/entropy; do                                 if test -r
$sock && $TEST_MINUS_S_SH -c "test -S $sock -o -p $sock"  ;  then
                                        PRNGD_SOCKET="$sock"
                                        cat >>confdefs.h <<_ACEOF
@%:@define PRNGD_SOCKET "$PRNGD_SOCKET" _ACEOF

                                        break;
                                fi                           done
                        if  test  !  -z  "$PRNGD_SOCKET"  ;  then
                                echo   "$as_me:$LINENO:   result:
$PRNGD_SOCKET"     >&5    echo    "${ECHO_T}$PRNGD_SOCKET"    >&6
                        else                                 echo
"$as_me:$LINENO: result: not found" >&5 echo "${ECHO_T}not found"
>&6                         fi                 fi

fi;

# Change default command timeout for hashing entropy  source  en-
tropy_timeout=200

# Check whether --with-entropy-timeout or --without-entropy-time-
out was given.  if test "${with_entropy_timeout+set}" = set; then
  withval="$with_entropy_timeout"

                if    test    "x$withval"   !=   "xno"   ;   then
                        entropy_timeout=$withval
                fi

fi;  cat  >>confdefs.h  <<_ACEOF  @%:@define ENTROPY_TIMEOUT_MSEC
$entropy_timeout _ACEOF


SSH_PRIVSEP_USER=sshd

# Check whether --with-privsep-user or --without-privsep-user was
given.  if test "${with_privsep_user+set}" = set; then
  withval="$with_privsep_user"

                if       test       -n      "$withval";      then
                        SSH_PRIVSEP_USER=$withval
                fi

PATH=/usr/bin test -d /sbin && PATH=$PATH:/sbin test -d /usr/sbin
&& PATH=$PATH:/usr/sbin PATH=$PATH:/etc:$OPATH

# These programs are used by the command hashing source to gather
entropy

        # Extract the first word of "ls", so it can be a  program
name  with  args.  set dummy ls; 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_PROG_LS+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6 else
  case $PROG_LS in
  [\/]* | ?:[\/]*)
  ac_cv_path_PROG_LS="$PROG_LS"  # 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_PROG_LS="$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 PROG_LS=$ac_cv_path_PROG_LS

if test -n "$PROG_LS"; then
  echo    "$as_me:$LINENO:    result:    $PROG_LS"    >&5    echo
"${ECHO_T}$PROG_LS" >&6 else
  echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi

        if test -z "$PROG_LS" ; then                 PROG_LS="un-
def"         fi


        # Extract the first word of "netstat", so  it  can  be  a
program  name  with  args.   set  dummy  netstat; 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_PROG_NET-
STAT+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6 else
  case $PROG_NETSTAT in
  [\/]* | ?:[\/]*)
  ac_cv_path_PROG_NETSTAT="$PROG_NETSTAT" # 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

        if     test      -z      "$PROG_NETSTAT"      ;      then
                PROG_NETSTAT="undef"         fi


        # Extract the first word of "arp", so it can be a program
name with args.  set dummy arp; 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_PROG_ARP+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6 else
  case $PROG_ARP in
  [\/]* | ?:[\/]*)
  ac_cv_path_PROG_ARP="$PROG_ARP" # 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_PROG_ARP="$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 PROG_ARP=$ac_cv_path_PROG_ARP

if test -n "$PROG_ARP"; then
  echo   "$as_me:$LINENO:    result:    $PROG_ARP"    >&5    echo
"${ECHO_T}$PROG_ARP" >&6 else
  echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi

        if      test      -z       "$PROG_ARP"       ;       then
                PROG_ARP="undef"         fi


        #  Extract  the  first word of "ifconfig", so it can be a
program name with args.   set  dummy  ifconfig;  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_PROG_IF-
CONFIG+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6 else
  case $PROG_IFCONFIG in
  [\/]* | ?:[\/]*)
  ac_cv_path_PROG_IFCONFIG="$PROG_IFCONFIG"  # 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=.
        if      test      -z      "$PROG_IFCONFIG"     ;     then
                PROG_IFCONFIG="undef"         fi


        # Extract the first word of "jstat", so it can be a  pro-
gram   name   with   args.   set  dummy  jstat;  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_PROG_JS-
TAT+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6 else
  case $PROG_JSTAT in
  [\/]* | ?:[\/]*)
  ac_cv_path_PROG_JSTAT="$PROG_JSTAT" # 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_PROG_JSTAT="$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 PROG_JSTAT=$ac_cv_path_PROG_JSTAT

if test -n "$PROG_JSTAT"; then
  echo   "$as_me:$LINENO:   result:   $PROG_JSTAT"    >&5    echo
"${ECHO_T}$PROG_JSTAT" >&6 else
  echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi

        if test -z "$PROG_JSTAT" ; then                  PROG_JS-
TAT="undef"         fi


        #  Extract the first word of "ps", so it can be a program
name with args.  set dummy ps; 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_PROG_PS+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6 else
  case $PROG_PS in
  [\/]* | ?:[\/]*)
  ac_cv_path_PROG_PS="$PROG_PS" # 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

def"         fi


        # Extract the first word of "sar", so it can be a program
name with args.  set dummy sar; 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_PROG_SAR+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6 else
  case $PROG_SAR in
  [\/]* | ?:[\/]*)
  ac_cv_path_PROG_SAR="$PROG_SAR" # 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_PROG_SAR="$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 PROG_SAR=$ac_cv_path_PROG_SAR

if test -n "$PROG_SAR"; then
  echo   "$as_me:$LINENO:    result:    $PROG_SAR"    >&5    echo
"${ECHO_T}$PROG_SAR" >&6 else
  echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi

        if      test      -z       "$PROG_SAR"       ;       then
                PROG_SAR="undef"         fi


        #  Extract  the first word of "w", so it can be a program
name with args.  set dummy w;  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_PROG_W+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6 else
  case $PROG_W in
  [\/]* | ?:[\/]*)
  ac_cv_path_PROG_W="$PROG_W" # 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_PROG_W="$as_dir/$ac_word$ac_exec_ext"

        # Extract the first word of "who", so it can be a program
name with args.  set dummy who; 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_PROG_WHO+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6 else
  case $PROG_WHO in
  [\/]* | ?:[\/]*)
  ac_cv_path_PROG_WHO="$PROG_WHO" # 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_PROG_WHO="$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 PROG_WHO=$ac_cv_path_PROG_WHO

if test -n "$PROG_WHO"; then
  echo   "$as_me:$LINENO:    result:    $PROG_WHO"    >&5    echo
"${ECHO_T}$PROG_WHO" >&6 else
  echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi

        if      test      -z       "$PROG_WHO"       ;       then
                PROG_WHO="undef"         fi


        #  Extract  the first word of "last", so it can be a pro-
gram  name  with  args.   set   dummy   last;   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_PROG_LAST+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6 else
  case $PROG_LAST in
  [\/]* | ?:[\/]*)
  ac_cv_path_PROG_LAST="$PROG_LAST"  #  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_PROG_LAST="$as_dir/$ac_word$ac_exec_ext"
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
        # Extract the first word of "lastlog", so  it  can  be  a
program  name  with  args.   set  dummy  lastlog; 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_PROG_LAST-
LOG+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6 else
  case $PROG_LASTLOG in
  [\/]* | ?:[\/]*)
  ac_cv_path_PROG_LASTLOG="$PROG_LASTLOG" # 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_PROG_LASTLOG="$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 PROG_LASTLOG=$ac_cv_path_PROG_LASTLOG

if test -n "$PROG_LASTLOG"; then
  echo   "$as_me:$LINENO:   result:   $PROG_LASTLOG"   >&5   echo
"${ECHO_T}$PROG_LASTLOG" >&6 else
  echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi

        if     test      -z      "$PROG_LASTLOG"      ;      then
                PROG_LASTLOG="undef"         fi


        #  Extract the first word of "df", so it can be a program
name with args.  set dummy df; 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_PROG_DF+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6 else
  case $PROG_DF in
  [\/]* | ?:[\/]*)
  ac_cv_path_PROG_DF="$PROG_DF" # 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_PROG_DF="$as_dir/$ac_word$ac_exec_ext"
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    break 2

gram  name  with  args.   set  dummy  vmstat;   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_PROG_VM-
STAT+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6 else
  case $PROG_VMSTAT in
  [\/]* | ?:[\/]*)
  ac_cv_path_PROG_VMSTAT="$PROG_VMSTAT"  #  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_PROG_VMSTAT="$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 PROG_VMSTAT=$ac_cv_path_PROG_VMSTAT

if test -n "$PROG_VMSTAT"; then
  echo    "$as_me:$LINENO:   result:   $PROG_VMSTAT"   >&5   echo
"${ECHO_T}$PROG_VMSTAT" >&6 else
  echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi

        if test -z "$PROG_VMSTAT" ; then                 PROG_VM-
STAT="undef"         fi


        # Extract the first word of "uptime", so it can be a pro-
gram   name   with  args.   set  dummy  uptime;  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_PROG_UP-
TIME+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6 else
  case $PROG_UPTIME in
  [\/]* | ?:[\/]*)
  ac_cv_path_PROG_UPTIME="$PROG_UPTIME" # 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_PROG_UPTIME="$as_dir/$ac_word$ac_exec_ext"
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    break 2

gram  name  with  args.   set   dummy   ipcs;   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_PROG_IPCS+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6 else
  case $PROG_IPCS in
  [\/]* | ?:[\/]*)
  ac_cv_path_PROG_IPCS="$PROG_IPCS"  #  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_PROG_IPCS="$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 PROG_IPCS=$ac_cv_path_PROG_IPCS

if test -n "$PROG_IPCS"; then
  echo    "$as_me:$LINENO:    result:    $PROG_IPCS"   >&5   echo
"${ECHO_T}$PROG_IPCS" >&6 else
  echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi

        if       test       -z      "$PROG_IPCS"      ;      then
                PROG_IPCS="undef"         fi


        # Extract the first word of "tail", so it can be  a  pro-
gram   name   with   args.    set  dummy  tail;  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_PROG_TAIL+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6 else
  case $PROG_TAIL in
  [\/]* | ?:[\/]*)
  ac_cv_path_PROG_TAIL="$PROG_TAIL" # 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_PROG_TAIL="$as_dir/$ac_word$ac_exec_ext"
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    break 2

#  Where  does  ssh-rand-helper  get  its  randomness  from?  IN-
STALL_SSH_PRNG_CMDS="" if test ! -z "$INSTALL_SSH_RAND_HELPER"  ;
then            if    test    !    -z    "$PRNGD_PORT"   ;   then
                RAND_HELPER_MSG="TCP       localhost:$PRNGD_PORT"
        elif     test     !    -z    "$PRNGD_SOCKET"    ;    then
                RAND_HELPER_MSG="Unix domain socket          else
                RAND_HELPER_MSG="Command  hashing  (timeout  $en-
tropy_timeout)"                           RAND_HELPER_CMDHASH=yes
                INSTALL_SSH_PRNG_CMDS="yes"         fi fi



#  Cheap hack to ensure NEWS-OS libraries are arranged right.  if
test ! -z "$SONY" ; then
  LIBS="$LIBS -liberty"; fi

# Checks for data types echo "$as_me:$LINENO: checking for  char"
>&5  echo  $ECHO_N  "checking  for  char...  $ECHO_C" >&6 if test
"${ac_cv_type_char+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  ()  {  if
((char *) 0)
  return 0; if (sizeof (char))
  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_char=yes else
  echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5
ac_cv_type_char=no  fi rm -f conftest.$ac_objext conftest.$ac_ext
fi  echo  "$as_me:$LINENO:  result:  $ac_cv_type_char"  >&5  echo
"${ECHO_T}$ac_cv_type_char" >&6

echo  "$as_me:$LINENO:  checking  size  of char" >&5 echo $ECHO_N
"checking size of char... $ECHO_C"  >&6  if  test  "${ac_cv_size-
of_char+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6 else
  if test "$ac_cv_type_char" = yes; then

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  (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; 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
  (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
  (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  (char)))  <=
$ac_mid)@:>@; test_array @<:@0@:>@ = 0

  ;
  return  0;  }  _ACEOF rm -f conftest.$ac_objext if { (eval echo

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
     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
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  (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
  (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 (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 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
  if (((long) (sizeof (short int))) < 0)
    {
      long i = longval ();
      if (i != ((long) (sizeof (short int))))         exit (1);
      fprintf (f, "%ld0, i);
    }
  else
    {
      unsigned long i = ulongval ();
      if (i != ((long) (sizeof (short int))))         exit (1);
      fprintf (f, "%lu0, i);
    }
  exit (ferror (f) || fclose (f) != 0);

  ;
  return  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_sizeof_short_int=`cat conftest.val` 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:  error:  cannot  compute
sizeof  (short  int), 77" >&5 echo "$as_me: error: cannot compute
sizeof (short 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_short_int=0 fi fi  echo  "$as_me:$LINENO:  result:
$ac_cv_sizeof_short_int"    >&5    echo    "${ECHO_T}$ac_cv_size-
of_short_int" >&6  cat  >>confdefs.h  <<_ACEOF  @%:@define  SIZE-
OF_SHORT_INT $ac_cv_sizeof_short_int _ACEOF


echo  "$as_me:$LINENO: checking for int" >&5 echo $ECHO_N "check-
ing for int... $ECHO_C" >&6  if  test  "${ac_cv_type_int+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 () { if
((int *) 0)
  return 0; if (sizeof (int))
  ac_cv_type_int=yes else
  echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5
ac_cv_type_int=no fi rm -f  conftest.$ac_objext  conftest.$ac_ext
fi   echo  "$as_me:$LINENO:  result:  $ac_cv_type_int"  >&5  echo
"${ECHO_T}$ac_cv_type_int" >&6

echo "$as_me:$LINENO: checking size  of  int"  >&5  echo  $ECHO_N
"checking  size  of  int...  $ECHO_C"  >&6 if test "${ac_cv_size-
of_int+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6 else
  if test "$ac_cv_type_int" = yes; then
  # The cast to unsigned long works around a bug in the HP C Com-
piler
  #  version  HP92453-01  B.11.11.23709.GP, which incorrectly re-
jects
  # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
  # This bug is HP SR number 8606223364.
  if test "$cross_compiling" = yes; then
  #  Depending  upon the size, compute the lo and hi bounds.  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
  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  (int)))   <=
$ac_mid)@:>@; test_array @<:@0@:>@ = 0

  ;
  return  0;  }  _ACEOF rm -f conftest.$ac_objext if { (eval echo
                    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
  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  (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_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=$?
  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_int=$ac_lo;; echo "$as_me: error: cannot compute sizeof (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  (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 long int))) >=
0)@:>@; test_array @<:@0@:>@ = 0
  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
  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 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
  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 (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_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-
   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);

  ;
  return 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_sizeof_long_long_int=`cat conftest.val` 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: 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-
  ;
  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" =
"xyes"  ;  then          cat  >>confdefs.h  <<_ACEOF   @%:@define
HAVE_U_INT 1 _ACEOF

        have_u_int=1 fi

echo  "$as_me:$LINENO:  checking  for  intXX_t  types"  >&5  echo
$ECHO_N "checking for  intXX_t  types...  $ECHO_C"  >&6  if  test
"${ac_cv_have_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 () {
 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

$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  >>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 int64_t type" >&5 echo $ECHO_N
"checking    for   int64_t   type...   $ECHO_C"   >&6   if   test
"${ac_cv_have_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 HAVE_STDINT_H # include <stdint.h>
#endif #include <sys/socket.h> #ifdef  HAVE_SYS_BITYPES_H  #  in-
clude  <sys/bitypes.h>  #endif                    #ifdef F77_DUM-
MY_MAIN #  ifdef __cplusplus
     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'

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:
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO:  = $ac_status" >&5
  (exit $ac_status); }; }; then
   ac_cv_have_u_intxx_t="yes" else
  echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5
 ac_cv_have_u_intxx_t="no"          fi rm -f  conftest.$ac_objext
conftest.$ac_ext

fi  echo "$as_me:$LINENO: result: $ac_cv_have_u_intxx_t" >&5 echo
"${ECHO_T}$ac_cv_have_u_intxx_t" >&6 if test  "x$ac_cv_have_u_in-
txx_t"  = "xyes" ; then         cat >>confdefs.h <<_ACEOF @%:@de-
fine HAVE_U_INTXX_T 1 _ACEOF

        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

                        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 "$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_int64_t="yes" else
  echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5
 ac_cv_have_u_int64_t="no"           fi rm -f conftest.$ac_objext
conftest.$ac_ext

fi echo "$as_me:$LINENO: result: $ac_cv_have_u_int64_t" >&5  echo
"${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

  (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 () {
 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
   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
  { (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 #
ifdef __cplusplus
     extern "C" #  endif
   int F77_DUMMY_MAIN() { return 1; } #endif int main () {

                        int8_t   a;   int16_t   b;   int32_t   c;
                        u_int8_t e;  u_int16_t  f;  u_int32_t  g;
                        a   =   b   =  c  =  e  =  f  =  g  =  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

                        cat  >>confdefs.h   <<_ACEOF   @%:@define
HAVE_INTXX_T 1 _ACEOF


#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

fi  echo  "$as_me:$LINENO:  result:  $ac_cv_have_u_char" >&5 echo
"${ECHO_T}$ac_cv_have_u_char" >&6 if test "x$ac_cv_have_u_char" =
"xyes"   ;  then          cat  >>confdefs.h  <<_ACEOF  @%:@define
HAVE_U_CHAR 1 _ACEOF

fi


   echo "$as_me:$LINENO: checking for socklen_t" >&5 echo $ECHO_N
"checking    for    socklen_t...    $ECHO_C"    >&6    if    test
"${ac_cv_type_socklen_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 <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  ()  {  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); } &&
      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);
  ;
  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

                   curl_cv_socklen_t_equiv="$t"
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

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-
ftest.$ac_ext     fi      echo      "$as_me:$LINENO:      result:
$ac_cv_type_sig_atomic_t"                 >&5                echo
"${ECHO_T}$ac_cv_type_sig_atomic_t"       >&6       if       test
$ac_cv_type_sig_atomic_t = yes; then

cat >>confdefs.h <<_ACEOF @%:@define HAVE_SIG_ATOMIC_T 1 _ACEOF


fi


echo  "$as_me:$LINENO:  checking  for  size_t"  >&5  echo $ECHO_N
"checking    for    size_t...    $ECHO_C"     >&6     if     test
"${ac_cv_have_size_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 () {
 size_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_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
  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_ssize_t="yes" else
  echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5
 ac_cv_have_ssize_t="no"            fi  rm -f conftest.$ac_objext
conftest.$ac_ext

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"
  { (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"

#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 () {
 sa_family_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_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*
#    look    for    field    'ut_host'    in   header   'utmpx.h'
                ossh_safe=`echo "utmpx.h" |  sed  'y%./+-%__p_%'`
                ossh_varname="ossh_cv_$ossh_safe""_has_"ut_host
        echo "$as_me:$LINENO: checking for ut_host field in  utm-
px.h"  >&5 echo $ECHO_N "checking for ut_host 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_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
$ECHO_N  "checking  for  ut_pid  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_pid" >/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_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
                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_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_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

  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_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-
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_UTMP 1 _ACEOF

                fi               else                        echo
"$as_me:$LINENO:   result:   no"   >&5   echo  "${ECHO_T}no"  >&6
        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
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_UTMP 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    'utmpx.h'
                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>
HAVE_EXIT_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 'utmp.h'                 os-
sh_safe=`echo  "utmp.h" | sed 'y%./+-%__p_%'`                 os-
sh_varname="ossh_cv_$ossh_safe""_has_"ut_time                echo
"$as_me:$LINENO:  checking  for ut_time field in utmp.h" >&5 echo
$ECHO_N "checking for ut_time 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_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"

        fi


# look for field 'ut_tv' in header 'utmpx.h'                  os-
sh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'`                 os-
sh_varname="ossh_cv_$ossh_safe""_has_"ut_tv                  echo
"$as_me:$LINENO:  checking  for  ut_tv field in utmpx.h" >&5 echo
$ECHO_N "checking for ut_tv  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_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'

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
  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

  (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  con-
ftest.$ac_objext 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 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


        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_expire = 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_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:

fi            echo            "$as_me:$LINENO:            result:
$ac_cv_have_pw_change_in_struct_passwd"          >&5         echo
"${ECHO_T}$ac_cv_have_pw_change_in_struct_passwd"  >&6  if   test
"x$ac_cv_have_pw_change_in_struct_passwd"   =   "xyes"   ;   then
        cat        >>confdefs.h        <<_ACEOF        @%:@define
HAVE_PW_CHANGE_IN_PASSWD 1 _ACEOF

fi

echo  "$as_me:$LINENO: checking for msg_accrights field in struct
msghdr" >&5 echo $ECHO_N "checking  for  msg_accrights  field  in
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

#include   <sys/types.h>   #include    <sys/socket.h>    #include
exit(1); #endif
struct msghdr m; m.msg_control = 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_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

TION__" >&5 echo $ECHO_N "checking whether $CC implements __FUNC-
TION__...  $ECHO_C"  >&6  if  test "${ac_cv_cc_implements___FUNC-
TION__+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", __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
  echo "$as_me:$LINENO:  = $ac_status" >&5
  (exit $ac_status); }; }; then
   ac_cv_cc_implements___func__="yes" else
  echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5
 ac_cv_cc_implements___func__="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__"
>&5 echo  "${ECHO_T}$ac_cv_cc_implements___func__"  >&6  if  test
"x$ac_cv_cc_implements___func__"  =  "xyes"  ;  then          cat
>>confdefs.h <<_ACEOF @%:@define HAVE___func__ 1 _ACEOF

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
  ;
  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_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

# Check whether --with-sectok or --without-sectok was given.   if
test "${with_sectok+set}" = set; then
  withval="$with_sectok"

                if    test    "x$withval"   !=   "xno"   ;   then
                        if test  "x$withval"  !=  "xyes"  ;  then
                                CPPFLAGS="$CPPFLAGS -I${withval}"
                                LDFLAGS="$LDFLAGS   -L${withval}"
                                if  test  !  -z  "$need_dash_r" ;
then                                            LDFLAGS="$LDFLAGS
-R${withval}"                                                  fi
                                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=$?
  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

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"
  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_sectok_sectok_open=yes else
  echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5
ac_cv_lib_sectok_sectok_open=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_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
  fi done done

  test  -z  "$ac_cv_path_OPENSC_CONFIG" && ac_cv_path_OPENSC_CON-
FIG="no"
  ;; esac fi OPENSC_CONFIG=$ac_cv_path_OPENSC_CONFIG

if test -n "$OPENSC_CONFIG"; then
  echo  "$as_me:$LINENO:   result:   $OPENSC_CONFIG"   >&5   echo
"${ECHO_T}$OPENSC_CONFIG" >&6 else
  echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi

  if test "$OPENSC_CONFIG" != "no"; then
    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;
  ;

OF @%:@define HEIMDAL 1 _ACEOF

                                         K5LIBS="-lkrb5     -ldes
-lcom_err -lasn1 -lroken"

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
                                         K5LIBS="-lkrb5 -lk5cryp-
to -lcom_err"


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
                fi


fi; # Check whether user wants Kerberos 4 support KRB4_MSG="no"

#  Check whether --with-kerberos4 or --without-kerberos4 was giv-
en.  if test "${with_kerberos4+set}" = set; then
  withval="$with_kerberos4"

                if   test   "x$withval"   !=   "xno"    ;    then
                        if  test  "x$withval"  !=  "xyes"  ; then
                                CPPFLAGS="$CPPFLAGS     -I${with-
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-
  (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

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:
();
  ;
  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_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

fi

                                if test "$ac_cv_lib_krb4_main" !=
yes;    then                                            {    echo
"$as_me:$LINENO:  WARNING:  Cannot find libkrb nor libkrb4, build
may fail" >&5 echo  "$as_me:  WARNING:  Cannot  find  libkrb  nor
libkrb4,          build          may          fail"         >&2;}
                                else
                                        KLIBS="-lkrb4"
                                fi                           else
                                KLIBS="-lkrb"
                        fi                                   echo
"$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"

/*  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_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"
  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

                        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"

                if    test    "x$withval"   !=   "$no"   ;   then
                        PRIVSEP_PATH=$withval                  fi


fi;



#  Check  whether  --with-xauth or --without-xauth was given.  if
test "${with_xauth+set}" = set; then
  withval="$with_xauth"

                if   test   "x$withval"   !=   "xno"    ;    then
                        xauth_path=$withval                    fi
         else

                TestPath="$PATH"                            Test-
Path="${TestPath}${PATH_SEPARATOR}/usr/X/bin"
                TestPath="${TestPath}${PATH_SEPARA-
TOR}/usr/bin/X11"                               TestPath="${Test-
Path}${PATH_SEPARATOR}/usr/X11R6/bin"                       Test-
Path="${TestPath}${PATH_SEPARATOR}/usr/openwin/bin"
                # 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 $TestPath
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

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

fi

if  test  -z "$no_dev_ptmx" ; then         if test "x$disable_pt-
mx_check" != "xyes" ; then                 echo  "$as_me:$LINENO:
checking    for    echo    $ECHO_N    "checking   for   if   test
"${ac_cv_file___dev_ptmx_+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/ptmx""; then
  ac_cv_file___dev_ptmx_=yes else
  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


                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            Test-
Path="/usr/bin${PATH_SEPARATOR}/usr/ucb"         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
"$as_me:$LINENO:  checking for $ac_word" >&5 echo $ECHO_N "check-
ing     for     $ac_word...     $ECHO_C"     >&6     if      test
"${ac_cv_path_NROFF+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6 else
  case $NROFF in
  [\/]* | ?:[\/]*)
  ac_cv_path_NROFF="$NROFF" # Let the user override the test with
a path.
  ;;
  *)
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir  in  $TestPath
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_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

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


fi;

if test -z "$disable_shadow" ; then         echo "$as_me:$LINENO:
checking if the systems has expire shadow information"  >&5  echo
$ECHO_N "checking if the systems has expire shadow information...
$ECHO_C" >&6         cat >conftest.$ac_ext <<_ACEOF #line $LINENO
"configure" #include "confdefs.h"

#include  <sys/types.h>  #include  <shadow.h>         struct spwd
sp;          #ifdef F77_DUMMY_MAIN #  ifdef __cplusplus
     extern "C" #  endif
   int F77_DUMMY_MAIN() { return 1; } #endif int main () {
 sp.sp_expire = sp.sp_lstchg = sp.sp_inact = 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
   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

                                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"

                if  test  "$USES_LOGIN_CONF"  =  "yes"   ;   then
                        {  echo "$as_me:$LINENO: WARNING: --with-
default-path=PATH has no effect on this  system.   Edit  /etc/lo-
gin.conf  instead."  >&5  echo  "$as_me: WARNING: --with-default-
path=PATH has no effect on this system.  Edit /etc/login.conf in-
stead."  >&2;}                  elif  test "x$withval" != "xno" ;
then                                         user_path="$withval"
                        SERVER_PATH_MSG="$withval"
                fi          else
   if test "$USES_LOGIN_CONF"  =  "yes"  ;  then          {  echo
"$as_me:$LINENO:  WARNING:  Make  sure  the  path  to  scp  is in
/etc/login.conf" >&5 echo "$as_me: WARNING: Make sure the path to
scp  is  in  /etc/login.conf"  >&2;}         else         if test
"$cross_compiling" = yes; then
   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  #
ifdef   _PATH_USERPATH /*   Irix   */   #   define  _PATH_STDPATH
_PATH_USERPATH     #     else     #      define     _PATH_STDPATH
"/usr/bin:/bin:/usr/sbin:/sbin"    #    endif   #endif   #include
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'

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

# Set superuser path separately to user path

# Check whether --with-superuser-path or --without-superuser-path
was given.  if test "${with_superuser_path+set}" = set; then
  withval="$with_superuser_path"

                if   test   "x$withval"   !=   "xno"    ;    then
                        cat  >>confdefs.h <<_ACEOF @%:@define SU-
PERUSER_PATH "$withval" _ACEOF

                        superuser_path=$withval
                fi

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
                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;

# Whether to enable BSD auth support BSD_AUTH_MSG=no

#  Check whether --with-bsd-auth or --without-bsd-auth was given.
if test "${with_bsd_auth+set}" = set; then
  withval="$with_bsd_auth"

                if  test  "x$withval"  !=   "xno"   ;   then
                        cat   >>confdefs.h   <<_ACEOF  @%:@define
BSD_AUTH 1 _ACEOF

                        BSD_AUTH_MSG=yes                       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;
  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.
if test "${enable_wtmpx+set}" = set; then
  enableval="$enable_wtmpx"
   cat >>confdefs.h <<_ACEOF @%:@define DISABLE_WTMPX 1 _ACEOF


fi;  #  Check  whether  --enable-libutil or --disable-libutil was
given.  if test "${enable_libutil+set}" = set; then
  enableval="$enable_libutil"
   cat >>confdefs.h <<_ACEOF @%:@define DISABLE_LOGIN 1 _ACEOF


fi; # Check whether --enable-pututline or --disable-pututline was
given.  if test "${enable_pututline+set}" = set; then
  enableval="$enable_pututline"
   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

         #ifdef F77_DUMMY_MAIN #  ifdef __cplusplus
     extern "C" #  endif
   int F77_DUMMY_MAIN() { return 1; } #endif int main () {
 char *lastlog = LASTLOG_FILE;
  ;
  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
   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                 echo "$as_me:$LINENO:  checking
if  your system defines _PATH_LASTLOG" >&5 echo $ECHO_N "checking
if   your   system   defines   _PATH_LASTLOG...   $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
/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`") &&
          /^X.*/{ s//1/; q; }
          s/.*/./; q'`

# PATH needs CR, and LINENO needs CR and PATH.  # Avoid depending
upon  Character  Ranges.    as_cr_letters='abcdefghijklmnopqrstu-
vwxyz'    as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'   as_cr_Let-
ters=$as_cr_letters$as_cr_LETTERS       as_cr_digits='0123456789'
as_cr_alnum=$as_cr_Letters$as_cr_digits

#  The  user is always right.  if test "${PATH_SEPARATOR+set}" !=
set; then
  echo "#! /bin/sh" >conftest.sh
  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:$LINENO: error: cannot find myself; rerun
with an absolute path" >&5 echo "$as_me: error: cannot  find  my-
self; rerun with an absolute path" >&2;}
   { (exit 1); exit 1; }; }
  fi

CONFIG_SHELL                exec  "$CONFIG_SHELL"  "$0" ${1+"$@"}
           fi;;          esac
       done done ;;
  esac

  # Create $as_me.lineno  as  a  copy  of  $as_myself,  but  with
$LINENO
  #  uniformly  replaced by the line number.  The first 'sed' in-
serts a
  # line-number line before each line; the second 'sed' does  the
real
  #  work.   The  second script uses 'N' to pair each line-number
line
  # 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:$LINENO: error: cannot create $as_me.lineno;
rerun with a POSIX shell" >&5 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
  as_ln_s='cp -p' fi rm -f conf$$ conf$$.exe conf$$.file

as_executable_p="test -f"

#  Sed  expression  to  map  a  string  onto  a  valid  CPP name.
as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_al-
num]%_%g"

#  Sed  expression  to  map  a string onto a valid variable name.
as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"


# IFS # We need space, tab and new line, in precisely that order.
as_nl=' IFS="   $as_nl"

#  CDPATH.   $as_unset CDPATH || test "${CDPATH+set}" != set || {
CDPATH=$PATH_SEPARATOR; export CDPATH; }

exec 6>&1

# Open the log real soon, to keep  and so on meaningful, and to #
report  actual input values of CONFIG_FILES etc. instead of their
# values after options handling.  Logging --version etc.  is  OK.
exec 5>>config.log {
  echo
  sed   'h;s/./-/g;s/^.../@%:@@%:@  /;s/...$/  @%:@@%:@/;p;x;p;x'
<<_ASBOX @%:@@%:@ Running $as_me. @%:@@%:@ _ASBOX } >&5  cat  >&5
<<_CSEOF

This  file was extended by $as_me, which was generated by GNU Au-
toconf 2.53.  Invocation command line was

  CONFIG_FILES    = $CONFIG_FILES
  CONFIG_HEADERS  = $CONFIG_HEADERS
  CONFIG_LINKS    = $CONFIG_LINKS
  CONFIG_COMMANDS = $CONFIG_COMMANDS
  $ $0 $@

_CSEOF echo "on `(hostname || uname -n) 2>/dev/null  |  sed  1q`"
>&5 echo >&5 _ACEOF

#  Files  that  config.status was made for.  if test -n "$ac_con-
fig_files"; then
  echo "config_files= fi

if test -n "$ac_config_headers"; then
  echo "config_headers= fi

if test -n "$ac_config_links"; then
  echo "config_links= fi

if test -n "$ac_config_commands"; then
  --file=FILE[:TEMPLATE]
                   instantiate the configuration file FILE
  --header=FILE[:TEMPLATE]
                   instantiate the configuration header FILE

Configuration files: $config_files

Configuration headers: $config_headers

Report bugs to <bug-autoconf@gnu.org>."  _ACEOF

cat >>$CONFIG_STATUS <<_ACEOF ac_cs_version="\ config.status con-
figured by $0, generated by GNU Autoconf 2.53,
  with     options    \"`echo    "$ac_configure_args"    |    sed
's/[\""`/\\&/g'`\"

Copyright 1992, 1993, 1994, 1995, 1996, 1998,  1999,  2000,  2001
Free Software Foundation, Inc.  This config.status script is free
software; the Free Software Foundation gives unlimited permission
to copy, distribute and modify it."  srcdir=$srcdir INSTALL="$IN-
STALL" _ACEOF

cat >>$CONFIG_STATUS <<_ACEOF # If no file are specified  by  the
user,  then  we  need  to provide default # value.  By we need to
know if files were specified  by  the  user.   ac_need_defaults=:
while test $# != 0 do
  case $1 in
  --*=*)
    ac_option=`expr "x$1" : 'x=]*='`
    ac_optarg=`expr "x$1" : 'x[^=]*='`
    shift
    set dummy "$ac_option" "$ac_optarg" ${1+"$@"}
    shift
    ;;
  -*);;
  *)  # This is not an option, so the user has probably given ex-
plicit
     # arguments.
     ac_need_defaults=false;;
  esac

  case $1 in
  # Handling of the options.  _ACEOF cat >>$CONFIG_STATUS <<_ACE-
OF
  -recheck  |  --recheck  | --rechec | --reche | --rech | --rec |
--re | --r)
    echo "running $SHELL $0 "  $ac_configure_args  "  --no-create
--no-recursion"
    exec  $SHELL $0 $ac_configure_args --no-create --no-recursion
;; _ACEOF cat >>$CONFIG_STATUS <<_ACEOF
  --version | --vers* | -V )
    echo "$ac_cs_version"; exit 0 ;;

  --header | --heade | --head | --hea )
    shift
    CONFIG_HEADERS="$CONFIG_HEADERS $1"
    ac_need_defaults=false;;

  # This is an error.
  -*) { { echo "$as_me:$LINENO: error:  unrecognized  option:  $1
Try  `$0  --help' for more information." >&5 echo "$as_me: error:
unrecognized option: $1 Try `$0 --help'  for  more  information."
>&2;}
   { (exit 1); exit 1; }; } ;;

  *) ac_config_targets="$ac_config_targets $1" ;;

  esac
  shift done

_ACEOF





cat  >>$CONFIG_STATUS  <<_ACEOF  for ac_config_target in $ac_con-
fig_targets do
  case "$ac_config_target" in
  # Handling of arguments.
  "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
  "openbsd-compat/Makefile" ) CONFIG_FILES="$CONFIG_FILES  openb-
sd-compat/Makefile" ;;
  "scard/Makefile"  ) CONFIG_FILES="$CONFIG_FILES scard/Makefile"
;;
  "ssh_prng_cmds" ) CONFIG_FILES="$CONFIG_FILES ssh_prng_cmds" ;;
  "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
  *)  { { echo "$as_me:$LINENO: error: invalid argument: $ac_con-
fig_target" >&5 echo "$as_me: error: invalid  argument:  $ac_con-
fig_target" >&2;}
   { (exit 1); exit 1; }; };;
  esac done

#  If  the user did not use the arguments to specify the items to
instantiate, # then the envvar interface is used.  Set only those
that  are not.  # We use the long form for the default assignment
because of an  extremely  #  bizarre  bug  on  SunOS  4.1.3.   if
$ac_need_defaults; then
  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
  test  "${CONFIG_HEADERS+set}"  =  set  ||  CONFIG_HEADERS=$con-
fig_headers fi

# Create a temporary directory, and hook for its  removal  unless
debugging.  $debug || {
  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0

cat >>$CONFIG_STATUS <<_ACEOF

# # CONFIG_FILES section.  #

# No need to generate the scripts if there are  no  CONFIG_FILES.
# This happens for instance when ./config.status config.h if test
-n "ONFIG_FILES"; then
  # Protect against being on the right side of  a  sed  subst  in
config.status.
  sed 's/,@/@@/; s/@,/@@/; s/,;t t@;t t/; /@;t ts/[\\&,]/\\&/g;
   s/@@/,@/;   s/@@/@,/;  s/@;t  t,;t  t/'  >mp/subs.sed  <<\CEOF
s,@SHELL@,$SHELL,;t  t  s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t   t
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t   t  s,@PACKAGE_TARNAME@,$PACK-
AGE_TARNAME,;t   t   s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t    t
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t     t     s,@PACKAGE_BUGRE-
PORT@,$PACKAGE_BUGREPORT,;t t  s,@exec_prefix@,$exec_prefix,;t  t
s,@prefix@,$prefix,;t      t     s,@program_transform_name@,$pro-
gram_transform_name,;t      t       s,@bindir@,$bindir,;t       t
s,@sbindir@,$sbindir,;t    t    s,@libexecdir@,$libexecdir,;t   t
s,@datadir@,$datadir,;t   t    s,@sysconfdir@,$sysconfdir,;t    t
s,@sharedstatedir@,$sharedstatedir,;t t s,@localstatedir@,$local-
statedir,;t   t   s,@libdir@,$libdir,;t   t   s,@includedir@,$in-
cludedir,;t   t   s,@oldincludedir@,$oldincludedir,;t   t  s,@in-
fodir@,$infodir,;t        t        s,@mandir@,$mandir,;t        t
s,@build_alias@,$build_alias,;t t s,@host_alias@,$host_alias,;t t
s,@target_alias@,$target_alias,;t    t    s,@DEFS@,$DEFS,;t     t
s,@ECHO_C@,$ECHO_C,;t       t       s,@ECHO_N@,$ECHO_N,;t       t
s,@ECHO_T@,$ECHO_T,;t  t  s,@LIBS@,$LIBS,;t  t  s,@CC@,$CC,;t   t
s,@CFLAGS@,$CFLAGS,;t       t      s,@LDFLAGS@,$LDFLAGS,;t      t
s,@CPPFLAGS@,$CPPFLAGS,;t t s,@ac_ct_CC@,$ac_ct_CC,;t  t  s,@EXE-
EXT@,$EXEEXT,;t  t  s,@OBJEXT@,$OBJEXT,;t t s,@build@,$build,;t t
s,@build_cpu@,$build_cpu,;t t s,@build_vendor@,$build_vendor,;t t
s,@build_os@,$build_os,;t       t       s,@host@,$host,;t       t
s,@host_cpu@,$host_cpu,;t  t  s,@host_vendor@,$host_vendor,;t   t
s,@host_os@,$host_os,;t t s,@CPP@,$CPP,;t t s,@RANLIB@,$RANLIB,;t
t  s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t  t  s,@INSTALL_PROGRAM@,$IN-
STALL_PROGRAM,;t t s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t s,@IN-
STALL_DATA@,$INSTALL_DATA,;t t s,@AR@,$AR,;t t  s,@PERL@,$PERL,;t
t     s,@SED@,$SED,;t    t    s,@ENT@,$ENT,;t    t    s,@TEST_MI-
NUS_S_SH@,$TEST_MINUS_S_SH,;t  t  s,@SH@,$SH,;t  t  s,@LOGIN_PRO-
GRAM_FALLBACK@,$LOGIN_PROGRAM_FALLBACK,;t   t   s,@LD@,$LD,;t   t
s,@LIBWRAP@,$LIBWRAP,;t   t   s,@LIBPAM@,$LIBPAM,;t   t    s,@IN-
STALL_SSH_RAND_HELPER@,$INSTALL_SSH_RAND_HELPER,;t              t
s,@SSH_PRIVSEP_USER@,$SSH_PRIVSEP_USER,;t                       t
s,@PROG_LS@,$PROG_LS,;t   t  s,@PROG_NETSTAT@,$PROG_NETSTAT,;t  t
s,@PROG_ARP@,$PROG_ARP,;t t s,@PROG_IFCONFIG@,$PROG_IFCONFIG,;t t
s,@PROG_JSTAT@,$PROG_JSTAT,;t    t    s,@PROG_PS@,$PROG_PS,;t   t
s,@PROG_SAR@,$PROG_SAR,;t     t      s,@PROG_W@,$PROG_W,;t      t
s,@PROG_WHO@,$PROG_WHO,;t    t    s,@PROG_LAST@,$PROG_LAST,;t   t
s,@PROG_LASTLOG@,$PROG_LASTLOG,;t  t  s,@PROG_DF@,$PROG_DF,;t   t
s,@PROG_VMSTAT@,$PROG_VMSTAT,;t t s,@PROG_UPTIME@,$PROG_UPTIME,;t
t  s,@PROG_IPCS@,$PROG_IPCS,;t  t  s,@PROG_TAIL@,$PROG_TAIL,;t  t
  ac_beg=1 # First line for current file.
  ac_end=$ac_max_sed_lines  #  Line  after  last line for current
file.
  ac_more_lines=:
  ac_sed_cmds=
  while $ac_more_lines; do
    if test $ac_beg -gt 1; then
      sed      "1,${ac_beg}d;      ${ac_end}q"      $tmp/subs.sed
>$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
      # speed up the sed processing (if there are no `@' at  all,
there
      # is no need to browse any of the substitutions).
      # These are the two extra sed commands mentioned above.
      (echo ':t
  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b'     &&     cat    $tmp/subs.frag)
>$tmp/subs-$ac_sed_frag.sed
      if test -z "$ac_sed_cmds"; then
        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
      else
        ac_sed_cmds="$ac_sed_cmds        |         sed         -f
$tmp/subs-$ac_sed_frag.sed"
      fi
      ac_sed_frag=`expr $ac_sed_frag + 1`
      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
  *)                      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=.

if test "$ac_dir" != .; then
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^.[\/],,'`
  # A "../" for each directory in $ac_dir_suffix.
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\/]*,../,g'`
else
  ac_dir_suffix= ac_top_builddir= fi

case $srcdir in
  .)  # No --srcdir option.  We are building in place.
    ac_srcdir=.
    if test -z "$ac_top_builddir"; then
       ac_top_srcdir=.
    else
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
    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:
                                     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;;
      *) # Relative
         if test -f "$f"; then
           # 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; } _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
  #  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
  # 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;;
      *) # Relative
         if test -f "$f"; then
           # 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
    ]*$,${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
(100 cmds).  echo '  # Handle all the #define templates  only  if
necessary.'   >>$CONFIG_STATUS  echo  '   if  egrep  "^[     ]*#[
   ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS echo '  #
If  there  are  no  defines,  we may have an empty if/fi' >>$CON-
FIG_STATUS echo '  :' >>$CONFIG_STATUS rm -f conftest.tail  while
grep . conftest.defines >/dev/null do
  # Write a limited-size here document to $tmp/defines.sed.
  echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
  # Speed up: don't consider the non `#define' lines.
  echo '/^[     ]*#[    ]*define/!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.defines >>$CONFIG_STATUS
  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
  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" |
    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; }

      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

  # 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  "" echo "OpenSSH has been configured with the following op-
tions:" echo "                      User  binaries:  $B"  echo  "
System  binaries:  $C"  echo "               Configuration files:
$D"  echo  "                    Askpass  program:  $E"   echo   "
Manual  pages:  $F" echo "                          PID file: $G"
echo "  Privilege separation chroot path: $H" if test  "$USES_LO-
GIN_CONF"  =  "yes" ; then echo "   At runtime, sshd will use the
path defined in /etc/login.conf" else echo "            sshd  de-
fault  user  PATH:  $I"  fi if test ! -z "$superuser_path" ; then
echo  "           sshd  superuser  user  PATH:  $J"  fi  echo   "
Manpage  format:  $MANTYPE" echo "                       PAM sup-
port:  ${PAM_MSG}"  echo  "                 KerberosIV   support:
$KRB4_MSG"  echo  "                 KerberosV support: $KRB5_MSG"
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.





















































Man(1) output converted with man2html