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="Makefile.in"  ac_default_prefix=/usr/local # Fac-
toring default headers for most tests.  ac_includes_default="#in-
clude <stdio.h> #if HAVE_SYS_TYPES_H # include <sys/types.h> #en-
dif  #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
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-
  if test "x$prefix" != xNONE; then
    CONFIG_SITE="$prefix/share/config.site       $prefix/etc/con-
fig.site"
  else
    CONFIG_SITE="$ac_default_prefix/share/config.site     $ac_de-
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

    *) ac_arg=$ac_var=$ac_new_val ;;
    esac
    case " $ac_configure_args " in
      *"  '$ac_arg'  "*)  ;; # Avoid dups.  Use of quotes ensures
accuracy.
      *) 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




















PACKAGE=LPRng VERSION=3.8.22


ac_aux_dir= for ac_dir in . $srcdir/.; do
  if test -f $ac_dir/install-sh; then
    ac_aux_dir=$ac_dir
    ac_install_sh="$ac_aux_dir/install-sh -c"
    break
  elif test -f $ac_dir/install.sh; then
    ac_aux_dir=$ac_dir
    ac_install_sh="$ac_aux_dir/install.sh -c"
    break

>/dev/null 2>&1 ||
  { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
echo "$as_me: error: cannot run $ac_config_sub" >&2;}
   { (exit 1); exit 1; }; }

echo  "$as_me:$LINENO:  checking  build  system  type"  >&5  echo
$ECHO_N  "checking  build  system  type...  $ECHO_C"  >&6 if test
"${ac_cv_build+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6 else
  ac_cv_build_alias=$build_alias test -z "$ac_cv_build_alias" &&
  ac_cv_build_alias=`$ac_config_guess`          test           -z
"$ac_cv_build_alias" &&
  {  {  echo "$as_me:$LINENO: error: cannot guess build type; you
must specify one" >&5 echo "$as_me:  error:  cannot  guess  build
type; you must specify one" >&2;}
   {   (exit   1);   exit  1;  };  }  ac_cv_build=`$ac_config_sub
$ac_cv_build_alias` ||
  {    {    echo    "$as_me:$LINENO:    error:     $ac_config_sub
$ac_cv_build_alias  failed"  >&5  echo  "$as_me:  error: $ac_con-
fig_sub $ac_cv_build_alias failed" >&2;}
   { (exit 1); exit 1; }; }

fi  echo  "$as_me:$LINENO:   result:   $ac_cv_build"   >&5   echo
"${ECHO_T}$ac_cv_build"  >&6  build=$ac_cv_build  build_cpu=`echo
$ac_cv_build   |   sed   's/^-]*--]*-$/1/'`    build_vendor=`echo
$ac_cv_build | sed 's/^-]*--]*-$/2/'` build_os=`echo $ac_cv_build
| sed 's/^-]*--]*-$/3/'`


echo "$as_me:$LINENO: checking host system type" >&5 echo $ECHO_N
"checking    host   system   type...   $ECHO_C"   >&6   if   test
"${ac_cv_host+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6 else
  ac_cv_host_alias=$host_alias test -z "$ac_cv_host_alias" &&
  ac_cv_host_alias=$ac_cv_build_alias  ac_cv_host=`$ac_config_sub
$ac_cv_host_alias` ||
  {     {    echo    "$as_me:$LINENO:    error:    $ac_config_sub
$ac_cv_host_alias failed" >&5 echo "$as_me: error: $ac_config_sub
$ac_cv_host_alias failed" >&2;}
   { (exit 1); exit 1; }; }

fi   echo   "$as_me:$LINENO:   result:   $ac_cv_host"   >&5  echo
"${ECHO_T}$ac_cv_host"   >&6   host=$ac_cv_host    host_cpu=`echo
$ac_cv_host    |    sed    's/^-]*--]*-$/1/'`   host_vendor=`echo
$ac_cv_host | sed 's/^-]*--]*-$/2/'` host_os=`echo $ac_cv_host  |
sed 's/^-]*--]*-$/3/'`


echo  "$as_me:$LINENO:  checking  target  system  type"  >&5 echo
$ECHO_N "checking target system  type...  $ECHO_C"  >&6  if  test
"${ac_cv_target+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6 else


#  The aliases save the names the user supplied, while $host etc.
# will get canonicalized.  test -n "$target_alias" &&
  test "$program_prefix$program_suffix$program_transform_name"  =
NONENONEs,x,x, &&
  program_prefix=${target_alias}-     ac_config_headers="$ac_con-
fig_headers config.h"



cat >>confdefs.h <<_ACEOF @%:@define PACKAGE "$PACKAGE" _ACEOF


cat >>confdefs.h <<_ACEOF @%:@define VERSION "$VERSION" _ACEOF



ALL_LINGUAS="fr"

WITH_CCOPTS WITH_CPPOPTS WITH_LDOPTS if test  -z  "$LOCALEDIR"  ;
then
    LOCALEDIR='${prefix}/share/locale'  fi; WITH_LOCALEDIR export
LOCALEDIR












for ac_prog in gawk mawk nawk awk 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_AWK+set}"
= set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6 else
  if test -n "$AWK"; then
  ac_cv_prog_AWK="$AWK" # 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_AWK="$ac_prog"
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5

$ECHO_C" >&6 if test "${ac_cv_path_PERL+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6 else
  case $PERL in
  [\/]* | ?:[\/]*)
  ac_cv_path_PERL="$PERL" # Let the user override the test with a
path.
  ;;
  *)
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  for ac_exec_ext in '' $ac_executable_extensions; do
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    ac_cv_path_PERL="$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 PERL=$ac_cv_path_PERL

if test -n "$PERL"; then
  echo  "$as_me:$LINENO: result: $PERL" >&5 echo "${ECHO_T}$PERL"
>&6 else
  echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi
#  Extract the first word of "chown", so it can be a program name
with args.  set dummy  chown;  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_CHOWN+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6 else
  case $CHOWN in
  [\/]* | ?:[\/]*)
  ac_cv_path_CHOWN="$CHOWN" # 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_CHOWN="$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 CHOWN=$ac_cv_path_CHOWN

if test -n "$CHOWN"; then
  echo    "$as_me:$LINENO:    result:    $CHOWN"     >&5     echo
"${ECHO_T}$CHOWN" >&6 else
  echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi
# Extract the first word of "chgrp", so it can be a program  name
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    ac_cv_path_CHGRP="$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 CHGRP=$ac_cv_path_CHGRP

if test -n "$CHGRP"; then
  echo     "$as_me:$LINENO:     result:    $CHGRP"    >&5    echo
"${ECHO_T}$CHGRP" >&6 else
  echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi
#  Extract  the  first  word of "pr", so it can be a program name
with args.  set dummy pr; 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_PRUTIL+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6 else
  case $PRUTIL in
  [\/]* | ?:[\/]*)
  ac_cv_path_PRUTIL="$PRUTIL" # 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_PRUTIL="$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 PRUTIL=$ac_cv_path_PRUTIL

if test -n "$PRUTIL"; then
  echo "$as_me:$LINENO: result: $PRUTIL" >&5 echo "${ECHO_T}$PRU-
TIL" >&6 else
  echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi
# Extract the first word of "openssl", so it  can  be  a  program
name   with   args.    set   dummy   openssl;   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_OPENSSL+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6 else
  case $OPENSSL in
  [\/]* | ?:[\/]*)
  ac_cv_path_OPENSSL="$OPENSSL" # Let the user override the  test
with a path.
  ;;
  *)
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do
  echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi
# Extract the first word of "pgp", so it can be  a  program  name
with  args.   set  dummy  pgp;  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_PGP_PATH+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6 else
  case $PGP_PATH in
  [\/]* | ?:[\/]*)
  ac_cv_path_PGP_PATH="$PGP_PATH"  #  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_PGP_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 PGP_PATH=$ac_cv_path_PGP_PATH

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

cat >>confdefs.h <<_ACEOF @%:@define PGP_PATH "$PGP_PATH" _ACEOF




echo  "$as_me:$LINENO:  checking  unix  socket pathname" >&5 echo
$ECHO_N "checking unix socket pathname... $ECHO_C" >&6

# Check whether --with-unix_socket_path  or  --without-unix_sock-
et_path was given.  if test "${with_unix_socket_path+set}" = set;
then
  withval="$with_unix_socket_path"
  UNIXSOCKETPATH=$withval else
  UNIXSOCKETPATH=/var/run/lprng

fi;  echo  "$as_me:$LINENO:  result:  $UNIXSOCKETPATH"  >&5  echo
"${ECHO_T}$UNIXSOCKETPATH" >&6



echo  "$as_me:$LINENO: checking if installing clients setuid" >&5
echo $ECHO_N "checking if installing clients  setuid...  $ECHO_C"
>&6  # Check whether --enable-setuid or --disable-setuid was giv-
echo "$as_me:$LINENO: checking  require  connections  from  priv-
iledged  ports"  >&5  echo  $ECHO_N "checking require connections
from priviledged ports... $ECHO_C" >&6 # Check whether  --enable-
priv_ports  or  --disable-priv_ports  was  given.  if test "${en-
able_priv_ports+set}" = set; then
  enableval="$enable_priv_ports"

if   test   "$enableval"   =   "yes"   ;   then            v=yes;
PRIV_PORTS=""; else         v=no; PRIV_PORTS="#"; fi

else

        v=no; PRIV_PORTS="#";


fi; echo "$as_me:$LINENO: result: $v" >&5 echo "${ECHO_T}$v" >&6;

echo "$as_me:$LINENO: checking disable  force_localhost  default"
>&5  echo  $ECHO_N  "checking  disable force_localhost default...
$ECHO_C" >&6 # Check whether --enable-force_localhost  or  --dis-
able-force_localhost  was  given.  if test "${enable_force_local-
host+set}" = set; then
  enableval="$enable_force_localhost"

if test "$enableval" = "yes" ; then         v=enabled;  FORCE_LO-
CALHOST=1; else         v=disabled; FORCE_LOCALHOST=0; fi

else

        v=enabled;  FORCE_LOCALHOST=1;


fi; echo "$as_me:$LINENO: result: $v" >&5 echo "${ECHO_T}$v" >&6

cat  >>confdefs.h <<_ACEOF @%:@define FORCE_LOCALHOST "$FORCE_LO-
CALHOST" _ACEOF


echo "$as_me:$LINENO: checking require_configfiles  default"  >&5
echo  $ECHO_N  "checking  require_configfiles default... $ECHO_C"
>&6 # Check whether --enable-require_configfiles or --disable-re-
quire_configfiles  was  given.  if test "${enable_require_config-
files+set}" = set; then
  enableval="$enable_require_configfiles"

if test "$enableval" = "yes" ; then         v=yes;   REQUIRE_CON-
FIGFILES=1; else         v=no; REQUIRE_CONFIGFILES=0; fi

else

        v=yes;  REQUIRE_CONFIGFILES=1;


else         v=disabled; KERBEROS=; fi

else

        v=disabled; KERBEROS=;


fi;  echo  "$as_me:$LINENO:  result: $v (KERBEROS $KERBEROS)" >&5
echo "${ECHO_T}$v (KERBEROS $KERBEROS)" >&6;

echo "$as_me:$LINENO: checking if MIT Kerberos4 is  enabled"  >&5
echo  $ECHO_N  "checking  if MIT Kerberos4 is enabled... $ECHO_C"
>&6 # Check whether --enable-mit_kerberos4 or  --disable-mit_ker-
beros4  was  given.  if test "${enable_mit_kerberos4+set}" = set;
then
  enableval="$enable_mit_kerberos4"

if test "$enableval" = "yes" ; then          v=enabled;  MIT_KER-
BEROS4=1;  cat  >>confdefs.h  <<_ACEOF  @%:@define  MIT_KERBEROS4
"$MIT_KERBEROS4" _ACEOF

else         v=disabled; MIT_KERBEROS4=; fi

else

        v=disabled; MIT_KERBEROS4=;


fi; echo "$as_me:$LINENO:  result:  $v  (MIT_KERBEROS4  $MIT_KER-
BEROS4)"  >&5  echo  "${ECHO_T}$v (MIT_KERBEROS4 $MIT_KERBEROS4)"
>&6;

echo "$as_me:$LINENO: checking if Kerberos libraries are  to  lo-
cated  and  other  checks" >&5 echo $ECHO_N "checking if Kerberos
libraries are to located and other checks... $ECHO_C" >&6 # Check
whether  --enable---disable-kerberos_checks  or  --disable---dis-
able-kerberos_checks was given.  if test "${enable___disable_ker-
beros_checks+set}" = set; then
  enableval="$enable___disable_kerberos_checks"

if  test  "$enableval"  =  "yes"  ;  then         v=enabled; KER-
BEROS_CHECKS=1; else         v=disabled; KERBEROS_CHECKS=; fi

else

        v=enabled; KERBEROS_CHECKS=1;


fi;  echo  "$as_me:$LINENO:  result:  $v  (KERBEROS_CHECKS  $KER-
BEROS_CHECKS)"   >&5  echo  "${ECHO_T}$v  (KERBEROS_CHECKS  $KER-
BEROS_CHECKS)" >&6; echo "$as_me:$LINENO: checking where  to  in-
$ECHO_N "checking lpd.conf location... $ECHO_C" >&6

#  Check  whether --with-lpd_conf_path or --without-lpd_conf_path
was given.  if test "${with_lpd_conf_path+set}" = set; then
  withval="$with_lpd_conf_path"
  LPD_CONF_PATH=$withval else
  LPD_CONF_PATH=sysconfdir}${lpd_dir}/lpd.conf      fi;      echo
"$as_me:$LINENO:     result:     $LPD_CONF_PATH"     >&5     echo
"${ECHO_T}$LPD_CONF_PATH" >&6


echo  "$as_me:$LINENO:  checking  lpd.perms  location"  >&5  echo
$ECHO_N "checking lpd.perms location... $ECHO_C" >&6

# Check whether --with-lpd_perms_path or --without-lpd_perms_path
was given.  if test "${with_lpd_perms_path+set}" = set; then
  withval="$with_lpd_perms_path"
  LPD_PERMS_PATH=$withval else
  LPD_PERMS_PATH=sysconfdir}${lpd_dir}/lpd.perms     fi;     echo
"$as_me:$LINENO:     result:     $LPD_PERMS_PATH"     >&5    echo
"${ECHO_T}$LPD_PERMS_PATH" >&6


echo  "$as_me:$LINENO:  checking  printcap  location"  >&5   echo
$ECHO_N "checking printcap location... $ECHO_C" >&6

#  Check  whether --with-printcap_path or --without-printcap_path
was given.  if test "${with_printcap_path+set}" = set; then
  withval="$with_printcap_path"
  PRINTCAP_PATH=$withval else
  PRINTCAP_PATH=sysconfdir}/printcap  fi;  echo  "$as_me:$LINENO:
result: $PRINTCAP_PATH" >&5 echo "${ECHO_T}$PRINTCAP_PATH" >&6


echo  "$as_me:$LINENO:  checking  lpd_printcap location" >&5 echo
$ECHO_N "checking lpd_printcap location... $ECHO_C" >&6

# Check whether --with-lpd_printcap_path or  --without-lpd_print-
cap_path  was  given.   if test "${with_lpd_printcap_path+set}" =
set; then
  withval="$with_lpd_printcap_path"
  LPD_PRINTCAP_PATH=$withval else
  LPD_PRINTCAP_PATH=sysconfdir}${lpd_dir}/lpd_printcap  fi;  echo
"$as_me:$LINENO:    result:    $LPD_PRINTCAP_PATH"    >&5    echo
"${ECHO_T}$LPD_PRINTCAP_PATH" >&6

echo "$as_me:$LINENO: checking startup (initialization) file  lo-
cation"  >&5 echo $ECHO_N "checking startup (initialization) file
location... $ECHO_C" >&6

# Check whether --with-init_path or --without-init_path was  giv-
en.  if test "${with_init_path+set}" = set; then
"${ECHO_T}



echo  "$as_me:$LINENO:  checking  LD_LIBRARY_PATH value" >&5 echo
$ECHO_N "checking LD_LIBRARY_PATH value... $ECHO_C" >&6

#  Check  whether  --with-ld_library_path   or   --without-ld_li-
brary_path  was  given.   if test "${with_ld_library_path+set}" =
set; then
  withval="$with_ld_library_path"
  LD_LIBRARY_PATH="$withval" else
  LD_LIBRARY_PATH="/lib:/usr/lib:/usr/local/lib"

fi; echo "$as_me:$LINENO: result: echo "${ECHO_T}


echo  "$as_me:$LINENO:  checking  filter  PATH  value"  >&5  echo
$ECHO_N "checking filter PATH value... $ECHO_C" >&6

#  Check  whether --with-filter_path or --without-filter_path was
given.  if test "${with_filter_path+set}" = set; then
  withval="$with_filter_path"
  FILTER_PATH="$withval" else
  FILTER_PATH="/bin:/usr/bin:/usr/local/bin"

fi; echo "$as_me:$LINENO: result: echo "${ECHO_T}


echo "$as_me:$LINENO:  checking  run  lpd  as  userid"  >&5  echo
$ECHO_N "checking run lpd as userid... $ECHO_C" >&6

#  Check whether --with-userid or --without-userid was given.  if
test "${with_userid+set}" = set; then
  withval="$with_userid"
  USERID="$withval" else
  USERID="daemon"  fi;   echo   "$as_me:$LINENO:   result:   echo
"${ECHO_T}


echo  "$as_me:$LINENO:  checking  run  lpd  as  groupid" >&5 echo
$ECHO_N "checking run lpd as groupid... $ECHO_C" >&6

# Check whether --with-groupid or  --without-groupid  was  given.
if test "${with_groupid+set}" = set; then
  withval="$with_groupid"
  GROUPID="$withval" else
  GROUPID="daemon"   fi;   echo   "$as_me:$LINENO:  result:  echo
"${ECHO_T}




#    Check   whether   --with-done_jobs_max_age   or   --without-
done_jobs_max_age        was        given.         if        test
"${with_done_jobs_max_age+set}" = set; then
  withval="$with_done_jobs_max_age"
  DONE_JOBS_MAX_AGE="$withval" else
  DONE_JOBS_MAX_AGE="0"  fi;  echo  "$as_me:$LINENO: result: echo
"${ECHO_T}


echo "$as_me:$LINENO: checking load balance queue chooser routine
name"  >&5 echo $ECHO_N "checking load balance queue chooser rou-
tine name... $ECHO_C" >&6

# Check whether --with-chooser_routine or  --without-chooser_rou-
tine  was  given.   if  test "${with_chooser_routine+set}" = set;
then
  withval="$with_chooser_routine"

CHOOSER_ROUTINE="$withval"

cat  >>confdefs.h  <<_ACEOF  @%:@define  CHOOSER_ROUTINE  $CHOOS-
ER_ROUTINE _ACEOF



fi; echo "$as_me:$LINENO: result: echo "${ECHO_T}

echo "$as_me:$LINENO: checking queue order routine name" >&5 echo
$ECHO_N "checking queue order routine name... $ECHO_C" >&6

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

ORDER_ROUTINE="$withval"

cat  >>confdefs.h  <<_ACEOF @%:@define ORDER_ROUTINE "$ORDER_ROU-
TINE" _ACEOF



fi; echo "$as_me:$LINENO: result: echo "${ECHO_T}

echo "$as_me:$LINENO: checking user specified  object  file"  >&5
echo $ECHO_N "checking user specified object file... $ECHO_C" >&6

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

_ACEOF



fi; echo "$as_me:$LINENO: result: echo "${ECHO_T}

echo "$as_me:$LINENO: checking terminal screen clear program" >&5
echo $ECHO_N "checking terminal screen clear program...  $ECHO_C"
>&6 if test -z "$CLEAR" ; then
  #  Extract  the  first  word of "clear", so it can be a program
name   with   args.    set   dummy   clear;    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_CLEAR+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6 else
  case $CLEAR in
  [\/]* | ?:[\/]*)
  ac_cv_path_CLEAR="$CLEAR" # 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_CLEAR="$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 CLEAR=$ac_cv_path_CLEAR

if test -n "$CLEAR"; then
  echo     "$as_me:$LINENO:     result:    $CLEAR"    >&5    echo
"${ECHO_T}$CLEAR" >&6 else
  echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi
fi if test -z "$CLEAR" ; then
 {  echo  "$as_me:$LINENO: WARNING: Program 'clear' is not found.
Set environment CLEAR=no if you do not want to use it"  >&5  echo
"$as_me:  WARNING:  Program 'clear' is not found. Set environment
CLEAR=no if you do not want to use it" >&2;};
 exit 1 fi if test "$CLEAR" = "no" ; then CLEAR= ; fi if test  -n
"$CLEAR"  ;  then            cat >>confdefs.h <<_ACEOF @%:@define
CLEAR "$CLEAR" _ACEOF

fi

echo "$as_me:$LINENO: checking ps options for displaying all pro-
cesses"  >&5 echo $ECHO_N "checking ps options for displaying all
processes... $ECHO_C" >&6 if test -z "$PSHOWALL" ; then
  if ps -ax >/dev/null 2>/dev/null; then

echo "$as_me:$LINENO: checking filter directory" >&5 echo $ECHO_N
"checking filter directory... $ECHO_C" >&6

# Check whether --with-filterdir or --without-filterdir was  giv-
en.  if test "${with_filterdir+set}" = set; then
  withval="$with_filterdir"
  FILTER_DIR=$withval else
  FILTER_DIR=libexecdir}/filters  fi;  echo  "$as_me:$LINENO: re-
sult: $FILTER_DIR" >&5 echo "${ECHO_T}$FILTER_DIR" >&6


echo "$as_me:$LINENO: checking disable  -Werror  flag"  >&5  echo
$ECHO_N  "checking  disable  -Werror flag... $ECHO_C" >&6 # Check
whether --enable-werror or --disable-werror was given.   if  test
"${enable_werror+set}" = set; then
  enableval="$enable_werror"

if  test  "$enableval"  =  "yes"  ; then         v=yes;  werror="
-Werror "; else         v=no; werror =""; fi

else

        v=yes;  werror=" -Werror ";


fi; echo "$as_me:$LINENO: result: $v" >&5 echo "${ECHO_T}$v" >&6

echo "$as_me:$LINENO: checking  disable  stripped  binaries"  >&5
echo  $ECHO_N "checking disable stripped binaries... $ECHO_C" >&6
# Check whether --enable-strip or --disable-strip was given.   if
test "${enable_strip+set}" = set; then
  enableval="$enable_strip"

if  test  "$enableval"  =  "yes" ; then         v=yes;  STRIP_OP-
TION=" -s "; else         v=no; STRIP_OPTION=""; fi

else

        v=yes;  STRIP_OPTION=" -s ";


fi; echo "$as_me:$LINENO: result: $v" >&5 echo "${ECHO_T}$v" >&6


release=`uname -r 2>/dev/null; exit 0`; version=`echo  $target_os
|  sed -e 's/[^0-9][^0-9]*//' -e 's/./X/' -e 's/.//g' -e 's/X/./'
      | awk '{ v=$1+0; if( v > 0 ){ while( v < 100 || int(v) != v
){v  =  v * 10;}}; print v; }' `; if test "$version" -eq 0 ; then
        version=`echo $release | sed -e 's/-.*//' -e 's/.//g'   |
awk '{ v=$1+0; if( v > 0 ){ while( v < 100 || int(v) != v ){v = v
* 10;}}; print v; }' `;  fi  osword=`echo  $target_os  |  sed  -e
's/[0-9].*//'`;  export osword echo "$as_me:$LINENO: result: Tar-

OSNAME=$osword OSVERSION=$version



ac_ext=c  ac_cpp='$CPP  $CPPFLAGS'  ac_compile='$CC  -c   $CFLAGS
$CPPFLAGS  conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exe-
ext  $CFLAGS  $CPPFLAGS  $LDFLAGS  conftest.$ac_ext  $LIBS   >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu  if  test -n "$ac_tool_pre-
fix"; then
  # Extract the first word of "${ac_tool_prefix}gcc", so  it  can
be  a  program  name  with args.  set dummy ${ac_tool_prefix}gcc;
ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5  echo
$ECHO_N   "checking   for   $ac_word...   $ECHO_C"  >&6  if  test
"${ac_cv_prog_CC+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6 else
  if test -n "$CC"; then
  ac_cv_prog_CC="$CC" # Let the user  override  the  test.   else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  for ac_exec_ext in '' $ac_executable_extensions; do
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    break 2
  fi done done

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

fi if test -z "$ac_cv_prog_CC"; then
  ac_ct_CC=$CC
  # 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

$ECHO_N   "checking   for   $ac_word...   $ECHO_C"  >&6  if  test
"${ac_cv_prog_CC+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6 else
  if test -n "$CC"; then
  ac_cv_prog_CC="$CC" # Let the user  override  the  test.   else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  for ac_exec_ext in '' $ac_executable_extensions; do
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    ac_cv_prog_CC="${ac_tool_prefix}cc"
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    break 2
  fi done done

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

fi if test -z "$ac_cv_prog_CC"; then
  ac_ct_CC=$CC
  # 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_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="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...
    ac_cv_prog_CC="cc"
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    break 2
  fi done done

if test $ac_prog_rejected = yes; then
  # We found a bogon in the path, so make sure we never use it.
  set dummy $ac_cv_prog_CC
  shift
  if test $@%:@ != 0; then
    # We chose a different compiler from the bogus one.
    #  However,  it  has  the same basename, so the bogon will be
chosen
    # first if we set CC to just the basename; use the full  file
name.
    shift
    set dummy "$as_dir/$ac_word" ${1+"$@"}
    shift
    ac_cv_prog_CC="$@"
  fi fi fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then
  echo  "$as_me:$LINENO: result: $CC" >&5 echo "${ECHO_T}$CC" >&6
else
  echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi

fi if test -z "$CC"; then
  if test -n "$ac_tool_prefix"; then
  for ac_prog in cl
  do
    #  Extract the first word of "$ac_tool_prefix$ac_prog", so it
can be  a  program  name  with  args.   set  dummy  $ac_tool_pre-
fix$ac_prog;   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$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

  test -z "$as_dir" && as_dir=.
  for ac_exec_ext in '' $ac_executable_extensions; do
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    ac_cv_prog_ac_ct_CC="$ac_prog"
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    break 2
  fi done done

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

  test -n "$ac_ct_CC" && break done

  CC=$ac_ct_CC fi

fi


test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C
compiler  found  in ATH" >&5 echo "$as_me: error: no acceptable C
compiler found in ATH" >&2;}
   { (exit 1); exit 1; }; }

#  Provide   some   information   about   the   compiler.    echo
"$as_me:$LINENO:"       "checking  for  C  compiler  version" >&5
ac_compiler=`set  X  $ac_compile;   echo   $2`   {   (eval   echo
"$as_me:$LINENO:
  (eval $ac_compiler --version </dev/null >&5) 2>&5
  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); } { (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
#  Be  careful  to  initialize this variable, since it used to be
cached.  # Otherwise an old cache value of `no' led to `EXEEXT  =
no'  in  a  Makefile.  ac_cv_exeext= for ac_file in `ls a_out.exe
a.exe conftest.exe 2>/dev/null;
                ls a.out conftest 2>/dev/null;
                ls a.* conftest.* 2>/dev/null`; do
  case $ac_file in
    *.$ac_ext | *.o | *.obj | *.xcoff | *.tds |  *.d  |  *.pdb  |
*.xSYM ) ;;
    a.out  )  # We found the default executable, but exeext='' is
most
            # certainly right.
            break;;
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]**'`
          # FIXME: I believe we export ac_cv_exeext  for  Libtool
--akim.
          export ac_cv_exeext
          break;;
    * ) break;;
  esac done else
  echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5
{ { echo "$as_me:$LINENO: error: C compiler  cannot  create  exe-
cutables"  >&5 echo "$as_me: error: C compiler cannot create exe-
cutables" >&2;}
   { (exit 77); exit 77; }; } fi

ac_exeext=$ac_cv_exeext echo "$as_me:$LINENO:  result:  $ac_file"
>&5 echo "${ECHO_T}$ac_file" >&6

#  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 the C compiler works" >&5 echo
$ECHO_N "checking whether the C compiler works... $ECHO_C" >&6  #
FIXME:  These cross compiler hacks should be removed for Autoconf
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

  (eval $ac_link) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO:  = $ac_status" >&5
  (exit $ac_status); }; then
  # If both `conftest.exe' and `conftest'  are  `present'  (well,
observable)  #  catch  `conftest.exe'.  For instance with Cygwin,
`ls  conftest'  will  #  work  properly  (i.e.,  refer  to  `con-
ftest.exe'),  while  it  won't  with # `rm'.  for ac_file in `(ls
conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
  case $ac_file in
    *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]**'`
          export ac_cv_exeext
          break;;
    * ) break;;
  esac done else
  { { echo "$as_me:$LINENO: error: cannot compute suffix of  exe-
cutables:  cannot compile and link" >&5 echo "$as_me: error: can-
not compute suffix of executables: cannot compile and link" >&2;}
   { (exit 1); exit 1; }; } fi

rm   -f   conftest$ac_cv_exeext   echo  "$as_me:$LINENO:  result:
$ac_cv_exeext" >&5 echo "${ECHO_T}$ac_cv_exeext" >&6

rm  -f  conftest.$ac_ext  EXEEXT=$ac_cv_exeext  ac_exeext=$EXEEXT
echo  "$as_me:$LINENO:  checking  for suffix of object files" >&5
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
if test "${ac_cv_objext+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 () {

  ;
  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

#ifdef F77_DUMMY_MAIN #  ifdef __cplusplus
     extern "C" #  endif
   int F77_DUMMY_MAIN() { return 1; } #endif int main () {  #ifn-
def __GNUC__
       choke me #endif

  ;
  return  0;  }  _ACEOF rm -f conftest.$ac_objext if { (eval echo
"$as_me:$LINENO:
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO:  = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO:
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO:  = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_compiler_gnu=yes else
  echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5
ac_compiler_gnu=no  fi rm -f conftest.$ac_objext conftest.$ac_ext
ac_cv_c_compiler_gnu=$ac_compiler_gnu

fi echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5  echo
"${ECHO_T}$ac_cv_c_compiler_gnu" >&6 GCC=`test $ac_compiler_gnu =
yes      &&      echo      yes`      ac_test_CFLAGS=${CFLAGS+set}
ac_save_CFLAGS=$CFLAGS CFLAGS="-g" echo "$as_me:$LINENO: checking
whether $CC accepts -g" >&5 echo $ECHO_N  "checking  whether  $CC
accepts  -g...  $ECHO_C"  >&6  if test "${ac_cv_prog_cc_g+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 () {

  ;
  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
    CFLAGS="-O2"
  else
    CFLAGS=
  fi fi # Some people use a C++ compiler to compile C.  Since  we
use `exit', # in C++ we need to declare it.  In case someone uses
the same compiler # for both compiling C and C++ we need to  have
the C++ compiler decide # the declaration of exit, since it's the
most  demanding  environment.   cat  >conftest.$ac_ext   <<_ACEOF
@%:@ifndef __cplusplus
  choke  me @%:@endif _ACEOF rm -f conftest.$ac_objext if { (eval
echo "$as_me:$LINENO:
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO:  = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO:
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO:  = $ac_status" >&5
  (exit $ac_status); }; }; then
  for ac_declaration in    ''   '#include <stdlib.h>'     'extern
"C"  void  std::exit (int) throw (); using std::exit;'    'extern
"C" void std::exit (int); using std::exit;'    'extern  "C"  void
exit  (int)  throw ();'    'extern "C" void exit (int);'    'void
exit (int);' do
  cat >conftest.$ac_ext <<_ACEOF #line $LINENO  "configure"  #in-
clude  "confdefs.h" @%:@include <stdlib.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
  : 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

  (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_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    echo    "$as_me:$LINENO:
checking how to run the C preprocessor" >&5 echo $ECHO_N  "check-
ing  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

(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
  # Broken: success on invalid input.  continue else
  echo "$as_me: failed program was:" >&5
  cat conftest.$ac_ext >&5
  # Passes both tests.   ac_preproc_ok=:  break  fi  rm  -f  con-
ftest.err conftest.$ac_ext

done # Because of `break', _AC_PREPROC_IFELSE's cleaning code was
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

clude "confdefs.h" @%:@include  <ac_nonexistent.h>  _ACEOF  if  {
(eval echo "$as_me:$LINENO:
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  ac_status=$?
  egrep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO:  = $ac_status" >&5
  (exit $ac_status); } >/dev/null; then
  if test -s conftest.err; then
    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
  # Broken: success on invalid input.  continue else
  echo "$as_me: failed program was:" >&5
  cat conftest.$ac_ext >&5
  #  Passes  both  tests.   ac_preproc_ok=:  break  fi rm -f con-
ftest.err conftest.$ac_ext

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

ac_ext=c  ac_cpp='$CPP  $CPPFLAGS'  ac_compile='$CC  -c   $CFLAGS
$CPPFLAGS  conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exe-
ext  $CFLAGS  $CPPFLAGS  $LDFLAGS  conftest.$ac_ext  $LIBS   >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu  if  test -n "$ac_tool_pre-
fix"; then
  # Extract the first word of "${ac_tool_prefix}gcc", so  it  can
be  a  program  name  with args.  set dummy ${ac_tool_prefix}gcc;
ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5  echo
$ECHO_N   "checking   for   $ac_word...   $ECHO_C"  >&6  if  test
"${ac_cv_prog_CC+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6 else
  if test -n "$CC"; then
  ac_cv_prog_CC="$CC" # Let the user  override  the  test.   else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  for ac_exec_ext in '' $ac_executable_extensions; do
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then

checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word...
$ECHO_C" >&6 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6 else
  if test -n "$ac_ct_CC"; then
  ac_cv_prog_ac_ct_CC="$ac_ct_CC"  #  Let  the  user override the
test.  else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for  as_dir  in
$PATH do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  for ac_exec_ext in '' $ac_executable_extensions; do
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    ac_cv_prog_ac_ct_CC="gcc"
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    break 2
  fi done done

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

  CC=$ac_ct_CC else
  CC="$ac_cv_prog_CC" fi

if test -z "$CC"; then
  if test -n "$ac_tool_prefix"; then
  # Extract the first word of "${ac_tool_prefix}cc", so it can be
a   program  name  with  args.   set  dummy  ${ac_tool_prefix}cc;
ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5  echo
$ECHO_N   "checking   for   $ac_word...   $ECHO_C"  >&6  if  test
"${ac_cv_prog_CC+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6 else
  if test -n "$CC"; then
  ac_cv_prog_CC="$CC" # Let the user  override  the  test.   else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  for ac_exec_ext in '' $ac_executable_extensions; do
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    ac_cv_prog_CC="${ac_tool_prefix}cc"
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    break 2
  fi done done

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

fi if test -z "$ac_cv_prog_CC"; then
  ac_ct_CC=$CC
  # Extract the first word of "cc", so it can be a  program  name
    break 2
  fi done done

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

  CC=$ac_ct_CC else
  CC="$ac_cv_prog_CC" fi

fi if test -z "$CC"; then
  # Extract the first word of "cc", so it can be a  program  name
with args.  set dummy cc; ac_word=$2 echo "$as_me:$LINENO: check-
ing for $ac_word" >&5  echo  $ECHO_N  "checking  for  $ac_word...
$ECHO_C" >&6 if test "${ac_cv_prog_CC+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6 else
  if test -n "$CC"; then
  ac_cv_prog_CC="$CC" # Let the user override the test.  else
  ac_prog_rejected=no  as_save_IFS=$IFS;  IFS=$PATH_SEPARATOR for
as_dir in $PATH do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  for ac_exec_ext in '' $ac_executable_extensions; do
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
       ac_prog_rejected=yes
       continue
     fi
    ac_cv_prog_CC="cc"
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    break 2
  fi done done

if test $ac_prog_rejected = yes; then
  # We found a bogon in the path, so make sure we never use it.
  set dummy $ac_cv_prog_CC
  shift
  if test $@%:@ != 0; then
    # We chose a different compiler from the bogus one.
    #  However,  it  has  the same basename, so the bogon will be
chosen
    # first if we set CC to just the basename; use the full  file
name.
    shift
    set dummy "$as_dir/$ac_word" ${1+"$@"}
    shift
    ac_cv_prog_CC="$@"
  fi fi fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then
  echo  "$as_me:$LINENO: result: $CC" >&5 echo "${ECHO_T}$CC" >&6
else
  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_prog_CC="$ac_tool_prefix$ac_prog"
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    break 2
  fi done done

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

    test -n "$CC" && break
  done fi if test -z "$CC"; then
  ac_ct_CC=$CC
  for ac_prog in cl do
  #  Extract the first word of "$ac_prog", so it can be a program
name  with   args.    set   dummy   $ac_prog;   ac_word=$2   echo
"$as_me:$LINENO:  checking for $ac_word" >&5 echo $ECHO_N "check-
ing     for     $ac_word...     $ECHO_C"     >&6     if      test
"${ac_cv_prog_ac_ct_CC+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6 else
  if test -n "$ac_ct_CC"; then
  ac_cv_prog_ac_ct_CC="$ac_ct_CC"  #  Let  the  user override the
test.  else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for  as_dir  in
$PATH do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  for ac_exec_ext in '' $ac_executable_extensions; do
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    ac_cv_prog_ac_ct_CC="$ac_prog"
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    break 2
  fi done done

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

  test -n "$ac_ct_CC" && break done

  CC=$ac_ct_CC fi

fi


test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C
compiler  found  in ATH" >&5 echo "$as_me: error: no acceptable C
compiler found in ATH" >&2;}
  (eval $ac_compiler -V </dev/null >&5) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO:  = $ac_status" >&5
  (exit $ac_status); }

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_compiler_gnu+set}"
= set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6 else
  cat >conftest.$ac_ext <<_ACEOF #line $LINENO  "configure"  #in-
clude "confdefs.h"

#ifdef F77_DUMMY_MAIN #  ifdef __cplusplus
     extern "C" #  endif
   int  F77_DUMMY_MAIN() { return 1; } #endif int main () { #ifn-
def __GNUC__
       choke me #endif

  ;
  return 0; } _ACEOF rm -f conftest.$ac_objext if  {  (eval  echo
"$as_me:$LINENO:
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO:  = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO:
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO:  = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_compiler_gnu=yes else
  echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5
ac_compiler_gnu=no fi rm -f conftest.$ac_objext  conftest.$ac_ext
ac_cv_c_compiler_gnu=$ac_compiler_gnu

fi  echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 echo
"${ECHO_T}$ac_cv_c_compiler_gnu" >&6 GCC=`test $ac_compiler_gnu =
yes      &&      echo      yes`      ac_test_CFLAGS=${CFLAGS+set}
ac_save_CFLAGS=$CFLAGS CFLAGS="-g" echo "$as_me:$LINENO: checking
whether  $CC  accepts  -g" >&5 echo $ECHO_N "checking whether $CC
accepts -g... $ECHO_C" >&6  if  test  "${ac_cv_prog_cc_g+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 () {

  echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5
ac_cv_prog_cc_g=no fi rm -f conftest.$ac_objext  conftest.$ac_ext
fi  echo  "$as_me:$LINENO:  result:  $ac_cv_prog_cc_g"  >&5  echo
"${ECHO_T}$ac_cv_prog_cc_g" >&6 if test "$ac_test_CFLAGS" =  set;
then
  CFLAGS=$ac_save_CFLAGS elif test $ac_cv_prog_cc_g = yes; then
  if test "$GCC" = yes; then
    CFLAGS="-g -O2"
  else
    CFLAGS="-g"
  fi else
  if test "$GCC" = yes; then
    CFLAGS="-O2"
  else
    CFLAGS=
  fi  fi # Some people use a C++ compiler to compile C.  Since we
use `exit', # in C++ we need to declare it.  In case someone uses
the  same compiler # for both compiling C and C++ we need to have
the C++ compiler decide # the declaration of exit, since it's the
most   demanding  environment.   cat  >conftest.$ac_ext  <<_ACEOF
@%:@ifndef __cplusplus
  choke me @%:@endif _ACEOF rm -f conftest.$ac_objext if {  (eval
echo "$as_me:$LINENO:
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO:  = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO:
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO:  = $ac_status" >&5
  (exit $ac_status); }; }; then
  for  ac_declaration in    ''   '#include <stdlib.h>'    'extern
"C" void std::exit (int) throw (); using  std::exit;'     'extern
"C"  void  std::exit (int); using std::exit;'    'extern "C" void
exit (int) throw ();'    'extern "C" void exit  (int);'     'void
exit (int);' do
  cat  >conftest.$ac_ext  <<_ACEOF #line $LINENO "configure" #in-
clude "confdefs.h" @%:@include <stdlib.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'

  ;
  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





echo  "$as_me:$LINENO: checking for AIX" >&5 echo $ECHO_N "check-
ing for AIX... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF  #line
$LINENO "configure" #include "confdefs.h" #ifdef _AIX
  yes #endif

_ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  egrep "yes" >/dev/null 2>&1; then
  echo  "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6
cat >>confdefs.h <<_ACEOF @%:@define _ALL_SOURCE 1 _ACEOF

else
  echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi
rm -f conftest*


echo  "$as_me:$LINENO:  checking for library containing strerror"
>&5 echo $ECHO_N "checking  for  library  containing  strerror...
$ECHO_C" >&6 if test "${ac_cv_search_strerror+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6 else

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_strerror="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_strerror" = no; then
  for ac_lib in cposix; 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 strerror (); #ifdef F77_DUMMY_MAIN #  ifdef __cplusplus
     extern "C" #  endif
   int F77_DUMMY_MAIN() { return 1; } #endif int main ()  {  str-
error ();
  ;
  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_strerror="-l$ac_lib" break else
  echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5
fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  done fi LIBS=$ac_func_search_save_LIBS fi echo "$as_me:$LINENO:
result:         $ac_cv_search_strerror"         >&5          echo
"${ECHO_T}$ac_cv_search_strerror" >&6 if test "$ac_cv_search_str-
error" != no; then
  test   "$ac_cv_search_strerror"   =    "none    required"    ||
LIBS="$ac_cv_search_strerror $LIBS"

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

if test $ac_cv_header_stdc = yes; then
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
  cat  >conftest.$ac_ext  <<_ACEOF #line $LINENO "configure" #in-
clude "confdefs.h" #include <string.h>

_ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  egrep "memchr" >/dev/null 2>&1; then
  : else
  ac_cv_header_stdc=no fi rm -f conftest*

fi

if test $ac_cv_header_stdc = yes; then
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
  cat >conftest.$ac_ext <<_ACEOF #line $LINENO  "configure"  #in-
clude "confdefs.h" #include <stdlib.h>

_ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  egrep "free" >/dev/null 2>&1; then
  : else
  ac_cv_header_stdc=no fi rm -f conftest*

fi

if test $ac_cv_header_stdc = yes; then
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using
-ansi.
  if test "$cross_compiling" = yes; then
  : else
  cat >conftest.$ac_ext <<_ACEOF #line $LINENO  "configure"  #in-
clude  "confdefs.h"  #include  <ctype.h>  #if  (('  ' & 0x0FF) ==
0x020) # define ISLOWER(c) ('a' <= (c) && (c) <=  'z')  #  define
TOUPPER(c)  (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) #else # define
ISLOWER(c) (('a' <= (c) && (c)  <=  'i')                       ||
('j' <= (c) && (c) <= 'r')                      || ('s' <= (c) &&
(c) <= 'z')) # define TOUPPER(c) (ISLOWER(c) ?  ((c)  |  0x40)  :
(c)) #endif

  ac_status=$?
  echo "$as_me:$LINENO:  = $ac_status" >&5
  (exit $ac_status); }; }; then
  : else
  echo "$as_me: program exited with status $ac_status"  >&5  echo
"$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5 ( exit
$ac_status ) ac_cv_header_stdc=no fi rm  -f  core  core.*  *.core
conftest$ac_exeext  conftest.$ac_objext conftest.$ac_ext fi fi fi
echo  "$as_me:$LINENO:  result:  $ac_cv_header_stdc"   >&5   echo
"${ECHO_T}$ac_cv_header_stdc"  >&6  if  test $ac_cv_header_stdc =
yes; then

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

fi

# On IRIX 5.3, sys/types and inttypes.h are conflicting.









for ac_header in sys/types.h sys/stat.h stdlib.h  string.h  memo-
ry.h  strings.h                   inttypes.h stdint.h unistd.h do
as_ac_Header=`echo "ac_cv_header_$ac_header"  |  $as_tr_sh`  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
  cat >conftest.$ac_ext <<_ACEOF #line $LINENO  "configure"  #in-
clude "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
  eval "$as_ac_Header=yes" else
  echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5
eval   "$as_ac_Header=no"   fi  rm  -f  conftest.$ac_objext  con-
ftest.$ac_ext  fi  echo  "$as_me:$LINENO:  result:   `eval   echo
'${'$as_ac_Header'}'`"     >&5    echo    "${ECHO_T}`eval    echo
  echo $ECHO_N "(cached) $ECHO_C" >&6  fi  echo  "$as_me:$LINENO:
result:        $ac_cv_header_minix_config_h"       >&5       echo
"${ECHO_T}$ac_cv_header_minix_config_h" >&6 else
  # Is the header  compilable?   echo  "$as_me:$LINENO:  checking
minix/config.h  usability"  >&5 echo $ECHO_N "checking minix/con-
fig.h usability... $ECHO_C" >&6  cat  >conftest.$ac_ext  <<_ACEOF
#line  $LINENO "configure" #include "confdefs.h" $ac_includes_de-
fault @%:@include <minix/config.h> _ACEOF rm -f  conftest.$ac_ob-
jext 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
minix/config.h  presence"  >&5  echo $ECHO_N "checking minix/con-
fig.h presence... $ECHO_C"  >&6  cat  >conftest.$ac_ext  <<_ACEOF
#line   $LINENO  "configure"  #include  "confdefs.h"  @%:@include
exit(2);
  exit  (0);  }  _ACEOF  rm -f conftest$ac_exeext if { (eval echo
"$as_me:$LINENO:
  (eval $ac_link) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO:  = $ac_status" >&5
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO:
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO:  = $ac_status" >&5
  (exit $ac_status); }; }; then
  : else
  echo "$as_me: program exited with status $ac_status"  >&5  echo
"$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5 ( exit
$ac_status ) ac_cv_header_stdc=no fi rm  -f  core  core.*  *.core
conftest$ac_exeext  conftest.$ac_objext conftest.$ac_ext fi fi fi
echo  "$as_me:$LINENO:  result:  $ac_cv_header_stdc"   >&5   echo
"${ECHO_T}$ac_cv_header_stdc"  >&6  if  test $ac_cv_header_stdc =
yes; then

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

fi






ac_header_dirent=no for ac_hdr in dirent.h  sys/ndir.h  sys/dir.h
ndir.h; do
  as_ac_Header=`echo  "ac_cv_header_dirent_$ac_hdr"  | $as_tr_sh`
echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR"  >&5
echo  $ECHO_N  "checking for $ac_hdr that defines DIR... $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" #include <sys/types.h> #include <$ac_hdr>

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

ac_header_dirent=$ac_hdr; break fi

done # Two versions of opendir et al. are in -ldir and -lx on SCO
Xenix.  if test $ac_header_dirent = dirent.h; then
  echo "$as_me:$LINENO: checking for library containing  opendir"
>&5  echo  $ECHO_N  "checking  for  library containing opendir...
$ECHO_C" >&6 if test "${ac_cv_search_opendir+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6 else
  ac_func_search_save_LIBS=$LIBS   ac_cv_search_opendir=no    cat
>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 opendir (); #ifdef F77_DUMMY_MAIN #  ifdef __cplusplus
     extern "C" #  endif
   int  F77_DUMMY_MAIN()  {  return  1;  }  #endif  int main () {
opendir ();
  ;
  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_opendir="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_opendir" = no; then
  for ac_lib in dir; 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 opendir (); #ifdef F77_DUMMY_MAIN #  ifdef __cplusplus
     extern "C" #  endif
   int  F77_DUMMY_MAIN()  {  return  1;  }  #endif  int main () {
opendir ();
  ;

fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  done fi LIBS=$ac_func_search_save_LIBS fi echo "$as_me:$LINENO:
result:          $ac_cv_search_opendir"          >&5         echo
"${ECHO_T}$ac_cv_search_opendir"        >&6        if        test
"$ac_cv_search_opendir" != no; then
  test    "$ac_cv_search_opendir"    =    "none    required"   ||
LIBS="$ac_cv_search_opendir $LIBS"

fi

else
  echo "$as_me:$LINENO: checking for library containing  opendir"
>&5  echo  $ECHO_N  "checking  for  library containing opendir...
$ECHO_C" >&6 if test "${ac_cv_search_opendir+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6 else
  ac_func_search_save_LIBS=$LIBS   ac_cv_search_opendir=no    cat
>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 opendir (); #ifdef F77_DUMMY_MAIN #  ifdef __cplusplus
     extern "C" #  endif
   int  F77_DUMMY_MAIN()  {  return  1;  }  #endif  int main () {
opendir ();
  ;
  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_opendir="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_opendir" = no; then
  for ac_lib in x; 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
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO:  = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_search_opendir="-l$ac_lib" break else
  echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5
fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  done fi LIBS=$ac_func_search_save_LIBS fi echo "$as_me:$LINENO:
result:          $ac_cv_search_opendir"          >&5         echo
"${ECHO_T}$ac_cv_search_opendir"        >&6        if        test
"$ac_cv_search_opendir" != no; then
  test    "$ac_cv_search_opendir"    =    "none    required"   ||
LIBS="$ac_cv_search_opendir $LIBS"

fi

fi

echo "$as_me:$LINENO: checking for  sys/wait.h  that  is  POSIX.1
compatible"  >&5  echo  $ECHO_N  "checking for sys/wait.h that is
POSIX.1  compatible...  $ECHO_C"  >&6  if   test   "${ac_cv_head-
er_sys_wait_h+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/wait.h>
#ifndef   WEXITSTATUS   #   define   WEXITSTATUS(stat_val)  ((un-
signed)(stat_val) >> 8) #endif #ifndef WIFEXITED # define  WIFEX-
ITED(stat_val) (((stat_val) & 255) == 0) #endif

#ifdef F77_DUMMY_MAIN #  ifdef __cplusplus
     extern "C" #  endif
   int F77_DUMMY_MAIN() { return 1; } #endif int main () {
  int s;
  wait (&s);
  s = WIFEXITED (s) ? WEXITSTATUS (s) : 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_header_sys_wait_h=yes else
  echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5
ac_cv_header_sys_wait_h=no  fi  rm  -f  conftest.$ac_objext  con-
ftest.$ac_ext  fi  echo  "$as_me:$LINENO:  result:   $ac_cv_head-
#include <time.h>

#ifdef F77_DUMMY_MAIN #  ifdef __cplusplus
     extern "C" #  endif
   int  F77_DUMMY_MAIN()  {  return  1; } #endif int main () { if
((struct tm *) 0) 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_header_time=yes else
  echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5
ac_cv_header_time=no   fi   rm   -f   conftest.$ac_objext    con-
ftest.$ac_ext   fi  echo  "$as_me:$LINENO:  result:  $ac_cv_head-
er_time"  >&5  echo  "${ECHO_T}$ac_cv_header_time"  >&6  if  test
$ac_cv_header_time = yes; then

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

fi


echo  "$as_me:$LINENO:  checking  return type of signal handlers"
>&5 echo $ECHO_N "checking  return  type  of  signal  handlers...
$ECHO_C" >&6 if test "${ac_cv_type_signal+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  <signal.h>
#ifdef signal # undef signal #endif #ifdef __cplusplus extern "C"
void (*signal (int, void (*)(int)))(int); #else void (*signal ())
(); #endif

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

echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5 echo
$ECHO_N "checking for uid_t in  sys/types.h...  $ECHO_C"  >&6  if
test "${ac_cv_type_uid_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>

_ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  egrep "uid_t" >/dev/null 2>&1; then
  ac_cv_type_uid_t=yes else
  ac_cv_type_uid_t=no fi rm -f conftest*

fi echo  "$as_me:$LINENO:  result:  $ac_cv_type_uid_t"  >&5  echo
"${ECHO_T}$ac_cv_type_uid_t"  >&6 if test $ac_cv_type_uid_t = no;
then

cat >>confdefs.h <<_ACEOF @%:@define uid_t int _ACEOF


cat >>confdefs.h <<_ACEOF @%:@define gid_t int _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_type_size_t+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
((size_t *) 0)
  return 0; if (sizeof (size_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_size_t=yes else
  echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5
ac_cv_type_size_t=no    fi   rm   -f   conftest.$ac_objext   con-
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
((mode_t *) 0)
  return 0; if (sizeof (mode_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_mode_t=yes else
  echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5
ac_cv_type_mode_t=no    fi   rm   -f   conftest.$ac_objext   con-
ftest.$ac_ext     fi      echo      "$as_me:$LINENO:      result:
$ac_cv_type_mode_t" >&5 echo "${ECHO_T}$ac_cv_type_mode_t" >&6 if
test $ac_cv_type_mode_t = yes; then
  : else

cat >>confdefs.h <<_ACEOF @%:@define mode_t int _ACEOF

fi

echo  "$as_me:$LINENO:  checking  for  off_t"  >&5  echo  $ECHO_N
"checking     for     off_t...     $ECHO_C"     >&6    if    test
"${ac_cv_type_off_t+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
((off_t *) 0)
  return 0; if (sizeof (off_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'

fi

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

cat >>confdefs.h <<_ACEOF @%:@define pid_t int _ACEOF

fi



echo "$as_me:$LINENO:  checking  for  fd_set"  >&5  echo  $ECHO_N
"checking     for     fd_set...     $ECHO_C"    >&6    if    test
"${ac_cv_type_fd_set+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/time.h>    #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 socket (); #ifdef F77_DUMMY_MAIN #  ifdef __cplusplus
     extern "C" #  endif
   int F77_DUMMY_MAIN() { return 1; } #endif int main () { socket
();
  ;
  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); } &&

        if  test  -z  "$have_socket";  then                  echo
"$as_me:$LINENO:  checking  for  socket  in  -lsocket"  >&5  echo
$ECHO_N  "checking for socket in -lsocket... $ECHO_C" >&6 if test
"${ac_cv_lib_socket_socket+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6 else
  ac_check_lib_save_LIBS=$LIBS LIBS="-lsocket  -lnsl  $LIBS"  cat
>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 socket (); #ifdef F77_DUMMY_MAIN #  ifdef __cplusplus
     extern "C" #  endif
   int F77_DUMMY_MAIN() { return 1; } #endif int main () { socket
();
  ;
  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_socket_socket=yes else
  echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5
ac_cv_lib_socket_socket=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_socket_socket" >&5  echo
"${ECHO_T}$ac_cv_lib_socket_socket"  >&6 if test $ac_cv_lib_sock-
et_socket = yes; then
  LIBS="$LIBS -lsocket" fi

        fi

        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 gethostbyaddr; return (gethostbyaddr);
  ;
  return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO:
need   additional   libs   for    gethostbyaddr";            else
                h="no   additional   libs   for   gethostbyaddr";
        fi         echo "$as_me:$LINENO:  result:  $h"  >&5  echo
"${ECHO_T}$h"  >&6          if  test  -z  "$have_gethost"  ; then
                echo "$as_me:$LINENO: checking for  gethostbyaddr
in  -lnsl_s"  >&5  echo  $ECHO_N  "checking  for gethostbyaddr in
-lnsl_s... $ECHO_C" >&6 if  test  "${ac_cv_lib_nsl_s_gethostbyad-
dr+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6 else
  ac_check_lib_save_LIBS=$LIBS  LIBS="-lnsl_s   $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 gethostbyaddr (); #ifdef F77_DUMMY_MAIN #  ifdef __cplusplus
     extern "C" #  endif
   int  F77_DUMMY_MAIN() { return 1; } #endif int main () { geth-
ostbyaddr ();
  ;
  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_nsl_s_gethostbyaddr=yes else
  echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5
ac_cv_lib_nsl_s_gethostbyaddr=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_nsl_s_gethostbyaddr"
>&5  echo  "${ECHO_T}$ac_cv_lib_nsl_s_gethostbyaddr"  >&6 if test
$ac_cv_lib_nsl_s_gethostbyaddr = yes; then
  LIBS="$LIBS -lnsl_s"; have_gethost=1 fi

        fi           if    test    -z    "$have_gethost";    then
                echo  "$as_me:$LINENO: checking for gethostbyaddr
in  -lnsl"  >&5  echo  $ECHO_N  "checking  for  gethostbyaddr  in
-lnsl...   $ECHO_C"  >&6  if  test  "${ac_cv_lib_nsl_gethostbyad-
dr+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6 else
  ac_check_lib_save_LIBS=$LIBS  LIBS="-lnsl   $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_nsl_gethostbyaddr=yes else
  echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5
ac_cv_lib_nsl_gethostbyaddr=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_nsl_gethostbyaddr" >&5
echo   "${ECHO_T}$ac_cv_lib_nsl_gethostbyaddr"   >&6   if    test
$ac_cv_lib_nsl_gethostbyaddr = yes; then
  LIBS="$LIBS -lnsl"; have_gethost=1 fi

        fi

        if  test  -z  "$have_gethost";  then                 echo
"$as_me:$LINENO: checking for gethostbyaddr in -lnet_s" >&5  echo
$ECHO_N "checking for gethostbyaddr in -lnet_s... $ECHO_C" >&6 if
test "${ac_cv_lib_net_s_gethostbyaddr+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6 else
  ac_check_lib_save_LIBS=$LIBS LIBS="-lnet_s   $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 gethostbyaddr (); #ifdef F77_DUMMY_MAIN #  ifdef __cplusplus
     extern "C" #  endif
   int F77_DUMMY_MAIN() { return 1; } #endif int main () {  geth-
ostbyaddr ();
  ;
  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_net_s_gethostbyaddr=yes else
  echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5
ac_cv_lib_net_s_gethostbyaddr=no  fi  rm  -f  conftest.$ac_objext
"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 gethostbyaddr (); #ifdef F77_DUMMY_MAIN #  ifdef __cplusplus
     extern "C" #  endif
   int  F77_DUMMY_MAIN() { return 1; } #endif int main () { geth-
ostbyaddr ();
  ;
  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_net_gethostbyaddr=yes else
  echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5
ac_cv_lib_net_gethostbyaddr=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_net_gethostbyaddr"  >&5
echo    "${ECHO_T}$ac_cv_lib_net_gethostbyaddr"   >&6   if   test
$ac_cv_lib_net_gethostbyaddr = yes; then
  LIBS="$LIBS -lnet"; have_gethost=1 fi

        fi

                if test -z "$no_resolv_lib"; then            echo
"$as_me:$LINENO: checking for inet_ntop" >&5 echo $ECHO_N "check-
ing for  inet_ntop...  $ECHO_C"  >&6  if  test  "${ac_cv_func_in-
et_ntop+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 inet_ntop (); below.  */ #in-
clude <assert.h> /* Override any gcc2 internal prototype to avoid
an error.  */ #ifdef __cplusplus extern "C" #endif /* We use char
because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char inet_ntop (); char (*f) ();

#ifdef F77_DUMMY_MAIN #  ifdef __cplusplus
     extern "C" #  endif
   int F77_DUMMY_MAIN() { return 1; } #endif int main () { /* The
         { 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_inet_ntop=yes else
  echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5
ac_cv_func_inet_ntop=no   fi   rm   -f  conftest.$ac_objext  con-
ftest$ac_exeext conftest.$ac_ext fi echo "$as_me:$LINENO: result:
$ac_cv_func_inet_ntop"  >&5 echo "${ECHO_T}$ac_cv_func_inet_ntop"
>&6 if test $ac_cv_func_inet_ntop = yes; then
  name2=yes fi

           if  test  -z  "$name2"  ;  then                   echo
"$as_me:$LINENO:  checking  for  inet_ntop  in -lresolv" >&5 echo
$ECHO_N "checking for inet_ntop in -lresolv...  $ECHO_C"  >&6  if
test "${ac_cv_lib_resolv_inet_ntop+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 inet_ntop (); #ifdef F77_DUMMY_MAIN #  ifdef __cplusplus
     extern "C" #  endif
   int F77_DUMMY_MAIN() { return 1; } #endif int main  ()  {  in-
et_ntop ();
  ;
  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_inet_ntop=yes else
  echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5
ac_cv_lib_resolv_inet_ntop=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_inet_ntop" >&5
echo   "${ECHO_T}$ac_cv_lib_resolv_inet_ntop"   >&6    if    test
$ac_cv_lib_resolv_inet_ntop = yes; then
  LIBS="$LIBS -lresolv";name2=yes fi
  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(2);
    }
    if (!child) {
      arg = getpid();
      write(-1, "", 0);
      _exit (arg);
    }
  } }

int main () {
  pid_t parent = getpid ();
  pid_t child;

  sparc_address_test ();

  child = vfork ();

  if (child == 0) {
    /*  Here  is  another test for sparc vfork register problems.
This
       test uses lots of local variables, at least as many local
       variables as main has allocated so far including compiler
       temporaries.  4 locals are enough for gcc 1.40.3 on a  So-
laris
       4.1.3  sparc,  but  we use 8 to be safe.  A buggy compiler
should
       reuse the register of parent for one of  the  local  vari-
ables,
       since it will think that parent can't possibly be used any
more
       in this routine.  Assigning to  the  local  variable  will
thus
       munge parent in the parent process.  */
    pid_t
      p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
      p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
    /* Convince the compiler that p..p7 are live;  otherwise,  it
might
       use  the same hardware register for all 8 local variables.
*/
    if (p != p1 || p != p2 || p != p3 || p != p4         || p  !=
p5 || p != p6 || p != p7)
      _exit(1);

    /*  On  some  systems (e.g. IRIX 3.3), vfork doesn't separate
parent
         child < 0

         /* Did the child fail?   (This  shouldn't  happen.)   */
         || status

          /*  Did  the  vfork/compiler bug occur?  */          ||
parent != getpid()

         /* Did the file descriptor bug occur?   */            ||
fstat(fileno(stdout), &st) != 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_func_vfork_works=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_func_vfork_works=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_func_vfork_works"  >&5
echo "${ECHO_T}$ac_cv_func_vfork_works" >&6

fi; if test "x$ac_cv_func_fork_works" = xcross; then
  ac_cv_func_vfork_works=ac_cv_func_vfork
  { echo "$as_me:$LINENO: WARNING: result $ac_cv_func_vfork_works
guessed because of cross compilation" >&5 echo "$as_me:  WARNING:
result  $ac_cv_func_vfork_works guessed because of cross compila-
tion" >&2;} fi

if test "x$ac_cv_func_vfork_works" = xyes; then

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

else

cat >>confdefs.h <<_ACEOF @%:@define vfork fork _ACEOF

fi if test "x$ac_cv_func_fork_works" = xyes; then

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

fi


for ac_func in vprintf do as_ac_var=`echo "ac_cv_func_$ac_func" |
     extern "C" #  endif
   int F77_DUMMY_MAIN() { return 1; } #endif int main () { /* The
GNU C library defines this for functions which it implements
    to  always  fail  with  ENOSYS.   Some functions are actually
named
    something starting with __ and the normal name is  an  alias.
*/  #if  defined (__stub_$ac_func) || defined (__stub___$ac_func)
choke me #else f = $ac_func; #endif

  ;
  return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO:
  (eval $ac_link) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO:  = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO:
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO:  = $ac_status" >&5
  (exit $ac_status); }; }; then
  eval "$as_ac_var=yes" else
  echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5
eval "$as_ac_var=no" fi rm -f conftest.$ac_objext conftest$ac_ex-
eext conftest.$ac_ext fi echo "$as_me:$LINENO: result: `eval echo
'${'$as_ac_var'}'`"     >&5     echo     "${ECHO_T}`eval     echo
'${'$as_ac_var'}'`"  >&6  if test `eval echo '${'$as_ac_var'}'` =
yes; then
  cat >>confdefs.h <<_ACEOF @%:@define  `echo  "HAVE_$ac_func"  |
$as_tr_cpp` 1 _ACEOF

echo  "$as_me:$LINENO:  checking  for  _doprnt"  >&5 echo $ECHO_N
"checking for _doprnt... $ECHO_C" >&6 if test  "${ac_cv_func__do-
prnt+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 _doprnt (); below.  */ #include
proctitle(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

fi



echo "$as_me:$LINENO: checking for sys_siglist  declaration"  >&5
echo  $ECHO_N  "checking  for sys_siglist declaration... $ECHO_C"
>&6 if test "${ac_cv_decl_sys_siglist_def+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6 else
  cat >conftest.$ac_ext <<_ACEOF #line $LINENO  "configure"  #in-
clude "confdefs.h"

#include  <stdio.h>  #include  <sys/types.h> #ifdef HAVE_STDLIB_H
#include  <stdlib.h>   #endif   #ifdef   HAVE_UNISTD_H   #include
ostname(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_decl_gethostname_def=no else
  echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5
ac_cv_decl_gethostname_def=yes  fi rm -f conftest.$ac_objext con-
ftest.$ac_ext

fi echo "$as_me:$LINENO: result: $ac_cv_decl_gethostname_def" >&5
echo    "${ECHO_T}$ac_cv_decl_gethostname_def"    >&6   if   test
"$ac_cv_decl_gethostname_def" = yes; then

cat >>confdefs.h <<_ACEOF @%:@define HAVE_GETHOSTNAME_DEF 1 _ACE-
OF

fi

echo  "$as_me:$LINENO: checking for innetgr declaration" >&5 echo
$ECHO_N "checking for innetgr declaration... $ECHO_C" >&6 if test
"${ac_cv_decl_innetgr_def+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6 else

cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" #include
"confdefs.h"

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


fi echo  "$as_me:$LINENO:  result:  $ac_cv_decl_innetgr_def"  >&5
echo  "${ECHO_T}$ac_cv_decl_innetgr_def"  >&6 if test "$ac_cv_de-
cl_innetgr_def" = yes; then

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

fi

echo "$as_me:$LINENO: checking for openlog declaration" >&5  echo
$ECHO_N "checking for openlog declaration... $ECHO_C" >&6 if test
"${ac_cv_decl_openlog_def+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6 else
  cat >conftest.$ac_ext <<_ACEOF #line $LINENO  "configure"  #in-
clude "confdefs.h"

#include  <stdio.h> #ifdef HAVE_CTYPES_H #include <ctypes.h> #en-
dif  #ifdef  HAVE_STDARG_H  #include  <stdarg.h>  #endif   #ifdef
HAVE_SYSLOG_H  #include <syslog.h> #endif #ifdef F77_DUMMY_MAIN #
ifdef __cplusplus
     extern "C" #  endif
   int F77_DUMMY_MAIN() { return  1;  }  #endif  int  main  ()  {
printf("%d",openlog);
  ;
  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_decl_openlog_def=yes else
  echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5
ac_cv_decl_openlog_def=no   fi  rm  -f  conftest.$ac_objext  con-
ftest.$ac_ext
  cat >conftest.$ac_ext <<_ACEOF #line $LINENO  "configure"  #in-
clude "confdefs.h"

#include  <stdio.h> #ifdef HAVE_STDARG_H #include <stdarg.h> #en-
dif  #ifdef  HAVE_SYSLOG_H  #include  <syslog.h>  #endif   #ifdef
F77_DUMMY_MAIN #  ifdef __cplusplus
     extern "C" #  endif
   int  F77_DUMMY_MAIN()  {  return  1;  }  #endif  int main () {
printf("%d",syslog);
  ;
  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_decl_syslog_def=yes else
  echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5
ac_cv_decl_syslog_def=no  fi  rm  -f   conftest.$ac_objext   con-
ftest.$ac_ext

fi echo "$as_me:$LINENO: result: $ac_cv_decl_syslog_def" >&5 echo
"${ECHO_T}$ac_cv_decl_syslog_def" >&6 if  test  "$ac_cv_decl_sys-
log_def" = yes; then

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

fi


echo  "$as_me:$LINENO:  checking for struct in6_addr declaration"
>&5 echo $ECHO_N "checking  for  struct  in6_addr  declaration...
$ECHO_C" >&6 if test "${ac_cv_decl_in6_addr_def+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6 else
  cat >conftest.$ac_ext <<_ACEOF #line $LINENO  "configure"  #in-
clude "confdefs.h"

#ifdef   HAVE_CTYPES_H   #include   <ctypes.h>   #endif  #include
casecmp(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_decl_strcasecmp=no else
  echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5
ac_cv_decl_strcasecmp=yes   fi  rm  -f  conftest.$ac_objext  con-
ftest.$ac_ext

fi echo "$as_me:$LINENO: result: $ac_cv_decl_strcasecmp" >&5 echo
"${ECHO_T}$ac_cv_decl_strcasecmp"  >&6  if test "$ac_cv_decl_str-
casecmp" = yes; then

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

fi


echo  "$as_me:$LINENO:  checking  for  flock definition" >&5 echo
$ECHO_N "checking for flock definition... $ECHO_C"  >&6  if  test
"${ac_cv_decl_flock+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6 else
  cat  >conftest.$ac_ext  <<_ACEOF #line $LINENO "configure" #in-
clude "confdefs.h"
  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_decl_flock=no else
  echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5
ac_cv_decl_flock=yes   fi   rm   -f   conftest.$ac_objext    con-
ftest.$ac_ext

fi  echo  "$as_me:$LINENO:  result:  $ac_cv_decl_flock"  >&5 echo
"${ECHO_T}$ac_cv_decl_flock" >&6 if  test  "$ac_cv_decl_flock"  =
yes; then

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

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
            break 3
          fi
        fi
      done
    done
    ;; esac done


fi
  if test "${ac_cv_path_install+set}" = set; then
    INSTALL=$ac_cv_path_install
  else
    # As a last resort, use the  slow  shell  script.   We  don't
cache a
    #  path  for  INSTALL within a source directory, because that
will
    # break other packages using the cache if that directory is
    # removed, or if the path is relative.
    INSTALL=$ac_install_sh
  fi  fi  echo  "$as_me:$LINENO:  result:  $INSTALL"   >&5   echo
"${ECHO_T}$INSTALL" >&6

#  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 "auxman", so it can be a program name
with args.  set dummy auxman;  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_INSTALL_MAN+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6 else
  if test -n "$INSTALL_MAN"; then
  ac_cv_prog_INSTALL_MAN="$INSTALL_MAN" # 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_INSTALL_MAN="auxman"
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    break 2
  fi done done

  test    -z    "$ac_cv_prog_INSTALL_MAN"    &&    ac_cv_prog_IN-
STALL_MAN="$INSTALL -m  644"  fi  fi  INSTALL_MAN=$ac_cv_prog_IN-
STALL_MAN if test -n "$INSTALL_MAN"; then
  echo    "$as_me:$LINENO:   result:   $INSTALL_MAN"   >&5   echo
  eval ac_cv_prog_make_${ac_make}_set=yes else
  eval ac_cv_prog_make_${ac_make}_set=no fi rm  -f  conftest.make
fi if eval "test
  echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6
  SET_MAKE= else
  echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6
  SET_MAKE="MAKE=${MAKE-make}" fi


echo  "$as_me:$LINENO:  checking  for  shell"  >&5  echo  $ECHO_N
"checking  for   shell...   $ECHO_C"   >&6   SHELL=/bin/sh   echo
"$as_me:$LINENO:   result:   using   $SHELL  (FORCED)"  >&5  echo
"${ECHO_T}using $SHELL (FORCED)" >&6

AM_GNU_GETTEXT(external)



echo "$as_me:$LINENO: checking use tcp wrappers" >&5 echo $ECHO_N
"checking  use tcp wrappers... $ECHO_C" >&6 # Check whether --en-
able-tcpwrappers or --disable-tcpwrappers  was  given.   if  test
"${enable_tcpwrappers+set}" = set; then
  enableval="$enable_tcpwrappers"

if test "$enableval" = "yes" ; then
 v=yes

for   ac_header  in  tcpd.h  do  as_ac_Header=`echo  "ac_cv_head-
er_$ac_header" | $as_tr_sh` if eval "test
  echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N
"checking for $ac_header... $ECHO_C" >&6 if eval "test
  echo  $ECHO_N  "(cached)  $ECHO_C" >&6 fi echo "$as_me:$LINENO:
result:    `eval    echo    '${'$as_ac_Header'}'`"    >&5    echo
"${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 else
  #  Is  the  header  compilable?  echo "$as_me:$LINENO: checking
$ac_header usability" >&5 echo $ECHO_N "checking  $ac_header  us-
ability...  $ECHO_C"  >&6  cat  >conftest.$ac_ext  <<_ACEOF #line
$LINENO "configure"  #include  "confdefs.h"  $ac_includes_default
@%:@include  <$ac_header>  _ACEOF  rm -f conftest.$ac_objext if {
(eval echo "$as_me:$LINENO:
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO:  = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO:
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO:  = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_header_compiler=yes else
  echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5
  echo "$as_me:$LINENO:  = $ac_status" >&5
  (exit $ac_status); } >/dev/null; then
  if test -s conftest.err; then
    ac_cpp_err=$ac_c_preproc_warn_flag
  else
    ac_cpp_err=
  fi else
  ac_cpp_err=yes fi if test -z "$ac_cpp_err"; then
  ac_header_preproc=yes else
  echo "$as_me: failed program was:" >&5
  cat conftest.$ac_ext >&5
  ac_header_preproc=no  fi  rm  -f  conftest.err conftest.$ac_ext
echo  "$as_me:$LINENO:  result:  $ac_header_preproc"   >&5   echo
"${ECHO_T}$ac_header_preproc" >&6

#   So?    What   about  this  header?   case  $ac_header_compil-
er:$ac_header_preproc in
  yes:no )
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by  the
compiler,  rejected by the preprocessor!" >&5 echo "$as_me: WARN-
ING: $ac_header: accepted by the compiler, rejected by  the  pre-
processor!" >&2;}
    {  echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with
the preprocessor's result" >&5 echo "$as_me: WARNING: $ac_header:
proceeding with the preprocessor's result" >&2;};;
  no:yes )
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but can-
not be compiled" >&5 echo "$as_me: WARNING:  $ac_header:  present
but cannot be compiled" >&2;}
    {  echo "$as_me:$LINENO: WARNING: $ac_header: check for miss-
ing prerequisite headers?" >&5 echo "$as_me: WARNING: $ac_header:
check for missing prerequisite headers?" >&2;}
    {  echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with
the preprocessor's result" >&5 echo "$as_me: WARNING: $ac_header:
proceeding  with  the  preprocessor's  result"  >&2;};; esac echo
"$as_me:$LINENO:  checking  for  $ac_header"  >&5  echo   $ECHO_N
"checking for $ac_header... $ECHO_C" >&6 if eval "test
  echo $ECHO_N "(cached) $ECHO_C" >&6 else
  eval       "$as_ac_Header=$ac_header_preproc"      fi      echo
"$as_me:$LINENO: result: `eval  echo  '${'$as_ac_Header'}'`"  >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6

fi if test `eval echo '${'$as_ac_Header'}'` = yes; then
  cat  >>confdefs.h <<_ACEOF @%:@define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1 _ACEOF

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

else
  { { echo "$as_me:$LINENO: error: tcpd.h  not  found"  >&5  echo
"$as_me: error: tcpd.h not found" >&2;}
   { (exit 1); exit 1; }; };

/*  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 request_init (); #ifdef F77_DUMMY_MAIN #  ifdef __cplusplus
     extern "C" #  endif
   int F77_DUMMY_MAIN() { return 1; } #endif int main  ()  {  re-
quest_init ();
  ;
  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_wrap_request_init=yes else
  echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5
ac_cv_lib_wrap_request_init=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_wrap_request_init" >&5
echo   "${ECHO_T}$ac_cv_lib_wrap_request_init"   >&6   if    test
$ac_cv_lib_wrap_request_init = yes; then
  LIBS="-lwrap $LIBS" else
  {  {  echo  "$as_me:$LINENO:  error:  request_init not found in
-wrap library" >&5 echo "$as_me: error: request_init not found in
-wrap library" >&2;}
   { (exit 1); exit 1; }; };
   v=no;


fi

else
 v=no; fi

else

 v=no;


fi;

if  test  "$v"  = "yes" ; then          cat >>confdefs.h <<_ACEOF
@%:@define TCPWRAPPERS 1 _ACEOF

fi; echo "$as_me:$LINENO: result: $v" >&5 echo "${ECHO_T}$v" >&6;
ac_openssl_lib_dir= ac_openssl_inc_dir= if test "$SSL_ENABLE"  !=
""; then

                        ac_openssl_lib_dir="/usr/lib   /usr/local
/usr/local/ssl            /usr/local/ssl/lib            /usr/pkg"
        ac_openssl_inc_dir="/usr/include    /usr/local   /usr/lo-
cal/ssl /usr/pkg /usr/local/ssl/include"

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

                ac_openssl_lib_dir="$withval/lib        $withval"
                ac_openssl_inc_dir="$withval/include    $withval"
                  fi;

         # Check whether --with-openssl-inc or --without-openssl-
inc was given.  if test "${with_openssl_inc+set}" = set; then
  withval="$with_openssl_inc"
  ac_openssl_inc_dir=$withval            fi;            #   Check
whether  --with-openssl-lib  or  --without-openssl-lib was given.
if test "${with_openssl_lib+set}" = set; then
  withval="$with_openssl_lib"
  ac_openssl_lib_dir=$withval          fi;

        ac_found_openssl_inc_dir="no"                        echo
"$as_me:$LINENO:  checking  for  OpenSSL  include files" >&5 echo
$ECHO_N "checking  for  OpenSSL  include  files...  $ECHO_C"  >&6
        for  dir  in  $ac_openssl_inc_dir;  do                 if
test     -f     $dir/openssl/ssl.h;     then
ac_found_openssl_inc_dir=$dir                               break
                fi
        done         if test "$ac_found_openssl_inc_dir" != "no";
then                   echo  "found in $ac_found_openssl_inc_dir"
        else                       echo       "not        found."
                SSL_ENABLE=""         fi fi

if        test        "$SSL_ENABLE"       !=       "";       then
        ac_found_openssl_lib_dir="no"                        echo
"$as_me:$LINENO: checking for OpenSSL libraries" >&5 echo $ECHO_N
"checking for OpenSSL libraries... $ECHO_C" >&6          for  dir
in   $ac_openssl_lib_dir;   do                  found_ssl="false"
                if test -f $dir/libssl.a -a -f  $dir/libcrypto.a;
then                        found_ssl="true"                   fi
                if test -f  $dir/libssl.so  -a  -f  $dir/libcryp-
to.so; then                   found_ssl="true"                 fi
                if     $found_ssl      !=      "false";      then
                                                save_LIBS=$LIBS
                save_LDFLAGS=$LDFLAGS                 LIBS="-lssl
-lcrypto   $LIBS"                   LDFLAGS="$LDFLAGS   -L$dir  "
                cat  >conftest.$ac_ext  <<_ACEOF  #line   $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_linked_libssl="true" else
  echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5
ac_linked_libssl="false"  fi  rm  -f   conftest.$ac_objext   con-
ftest$ac_exeext   conftest.$ac_ext;                   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 RC4_set_key (); #ifdef F77_DUMMY_MAIN #  ifdef __cplusplus
     extern "C" #  endif
   int F77_DUMMY_MAIN() { return  1;  }  #endif  int  main  ()  {
RC4_set_key ();
  ;
  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_linked_libcrypto="true" else
  echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5
ac_linked_libcrypto="false"  fi  rm  -f  conftest.$ac_objext con-
ftest$ac_exeext   conftest.$ac_ext;                    if    test
"$ac_linked_libssl"            !=            "false"           -a
                       "$ac_linked_libcrypto"  !=  "false";  then
                                ac_found_openssl_lib_dir=$dir
                                break                          fi
                LIBS=$save_LIBS                 LDFLAGS=$save_LD-
FLAGS                    fi            done            if    test
"$ac_found_openssl_lib_dir"  !=  "no";  then                 echo
"found               in                $ac_found_openssl_lib_dir"
                CPPFLAGS="$CPPFLAGS -I$ac_found_openssl_inc_dir "
;             else                     echo     "not      found."
  SSL_CA_FILE=$withval else
  SSL_CA_FILE=sysconfdir}/lpd/ssl.ca/ca.crt        fi;       echo
"$as_me:$LINENO:     result:     $SSL_CA_FILE"      >&5      echo
"${ECHO_T}$SSL_CA_FILE" >&6


echo  "$as_me:$LINENO: checking ssl Certificate Authority private
key file" >&5 echo $ECHO_N "checking  ssl  Certificate  Authority
private key file... $ECHO_C" >&6

#  Check  whether  --with-ssl_ca_key  or --without-ssl_ca_key was
given.  if test "${with_ssl_ca_key+set}" = set; then
  withval="$with_ssl_ca_key"
  SSL_CA_KEY=$withval else
  SSL_CA_KEY=sysconfdir}/lpd/ssl.ca/ca.key        fi;        echo
"$as_me:$LINENO:      result:      $SSL_CA_KEY"      >&5     echo
"${ECHO_T}$SSL_CA_KEY" >&6


echo "$as_me:$LINENO: checking ssl  Certificate  Authority  certs
working directory" >&5 echo $ECHO_N "checking ssl Certificate Au-
thority certs working directory... $ECHO_C" >&6

# Check whether --with-ssl_certs_dir  or  --without-ssl_certs_dir
was given.  if test "${with_ssl_certs_dir+set}" = set; then
  withval="$with_ssl_certs_dir"
  SSL_CERTS_DIR=$withval else
  SSL_CERTS_DIR=sysconfdir}/lpd/ssl.certs         fi;        echo
"$as_me:$LINENO:     result:     $SSL_CERTS_DIR"     >&5     echo
"${ECHO_T}$SSL_CERTS_DIR" >&6


echo  "$as_me:$LINENO:  checking  ssl Certificate Revocation List
(CRL) file" >&5 echo $ECHO_N "checking ssl Certificate Revocation
List (CRL) file... $ECHO_C" >&6

# Check whether --with-ssl_crl_file or --without-ssl_crl_file was
given.  if test "${with_ssl_crl_file+set}" = set; then
  withval="$with_ssl_crl_file"
  SSL_CRL_FILE=$withval else
  SSL_CRL_FILE=sysconfdir}/lpd/ssl.crl/ssl.crl      fi;      echo
"$as_me:$LINENO:      result:     $SSL_CRL_FILE"     >&5     echo
"${ECHO_T}$SSL_CRL_FILE" >&6


echo "$as_me:$LINENO: checking ssl server certificate  file"  >&5
echo  $ECHO_N  "checking  ssl server certificate file... $ECHO_C"
>&6

# Check  whether  --with-ssl_server_cert  or  --without-ssl_serv-
er_cert  was given.  if test "${with_ssl_server_cert+set}" = set;
then
  withval="$with_ssl_server_password_file"
  SSL_SERVER_PASSWORD_FILE=$withval else
  SSL_SERVER_PASSWORD_FILE=sysconfdir}/lpd/ssl.server/server.pwd
fi;  echo "$as_me:$LINENO: result: $SSL_SERVER_PASSWORD_FILE" >&5
echo "${ECHO_T}$SSL_SERVER_PASSWORD_FILE" >&6




if test -n "$KERBEROS" ; then         echo "Kerberos checks  with
CFLAGS   '$CFLAGS',  CPPFLAGS  '$CPPFLAGS',   LDFLAGS  '$LDFLAGS"
        if     test      -d      /usr/kerberos/include;      then
                CPPFLAGS="$CPPFLAGS      -I/usr/kerberos/include"
        fi           if   test   -d    /usr/kerberos/lib;    then
                LDFLAGS="-L/usr/kerberos/lib $LDFLAGS"         fi
                found=            for  ac_header  in  krb5.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
 found=yes fi

done

    if test "$found" != "yes" ; then                   {  {  echo
"$as_me:$LINENO: error: Kerberos 5 support wanted and cannot find
krb5.h include file use  configure  --disable-kerberos-checks  or
check your Kerberos 5 installation If you have installed kerberos
in /usr/local/{lib,include} then use configure  --enable-kerberos
--with-cppopts=-I/usr/local/include      --with-ldopts=-L/usr/lo-
cal/lib " >&5 echo "$as_me: error: Kerberos 5 support wanted  and
cannot find krb5.h include file use configure --disable-kerberos-
checks or check your Kerberos 5  installation  If  you  have  in-
stalled  kerberos  in /usr/local/{lib,include} then use configure
--enable-kerberos   --with-cppopts=-I/usr/local/include   --with-
ldopts=-L/usr/local/lib " >&2;}
   { (exit 1); exit 1; }; }         fi         if test "$MIT_KER-
BEROS4" != "" ;  then                  found=                  if
  (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:
proceeding with the preprocessor's result" >&2;};;
  no:yes )

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
 found=yes fi

done

                fi                  if  test  "$found" != "yes" ;
then                          for ac_header  in  kerberosIV/krb.h
do  as_ac_Header=`echo  "ac_cv_header_$ac_header" | $as_tr_sh` if
eval "test
  echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N
"checking for $ac_header... $ECHO_C" >&6 if eval "test
  echo  $ECHO_N  "(cached)  $ECHO_C" >&6 fi echo "$as_me:$LINENO:
result:    `eval    echo    '${'$as_ac_Header'}'`"    >&5    echo
"${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 else
  #  Is  the  header  compilable?  echo "$as_me:$LINENO: checking
$ac_header usability" >&5 echo $ECHO_N "checking  $ac_header  us-
ability...  $ECHO_C"  >&6  cat  >conftest.$ac_ext  <<_ACEOF #line
$LINENO "configure"  #include  "confdefs.h"  $ac_includes_default
@%:@include  <$ac_header>  _ACEOF  rm -f conftest.$ac_objext if {
(eval echo "$as_me:$LINENO:
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO:  = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO:
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO:  = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_header_compiler=yes else
  echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5
ac_header_compiler=no   fi   rm   -f   conftest.$ac_objext   con-
ftest.$ac_ext echo "$as_me:$LINENO: result:  $ac_header_compiler"
>&5 echo "${ECHO_T}$ac_header_compiler" >&6

#   Is   the  header  present?   echo  "$as_me:$LINENO:  checking
$ac_header presence" >&5 echo $ECHO_N "checking $ac_header  pres-
ence... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF #line $LINENO
"configure" #include "confdefs.h" @%:@include <$ac_header> _ACEOF
if { (eval echo "$as_me:$LINENO:
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  ac_status=$?
  egrep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO:  = $ac_status" >&5
  (exit $ac_status); } >/dev/null; then

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
 found=yes fi

done

                fi                 if test "$found"  !=  "yes"  ;
then                    { { echo "$as_me:$LINENO: error: MIT Ker-
beros 4 support wanted and cannot find krb.h or kerberosIV/krb.h"
>&5 echo "$as_me: error: MIT Kerberos 4 support wanted and cannot
find krb.h or kerberosIV/krb.h" >&2;}
   { (exit 1); exit 1; }; }                 fi         fi

        if    test    "$KERBEROS_CHECKS"    =    1     ;     then
                                cat   >conftest.$ac_ext  <<_ACEOF
#line $LINENO "configure" #include "confdefs.h"

                #include    <stdio.h>                    #include
krb_sendauth(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_decl_krb_sendauth_def=no else


if     test     "$ac_cv_c_compiler_gnu"     =      yes;      then
        CFLAGS="$CFLAGS   -g   -W  -Wall  $werror  -Wno-unused  "
        CPPFLAGS="$CPPFLAGS -g -W -Wall $werror -Wno-unused " fi;

ac_config_files="$ac_config_files  Makefile  HOWTO/Makefile TEST-
SUPPORT/Makefile      DISTRIBUTIONS/Makefile       UTILS/LPRng.pm
UTILS/Makefile   UTILS/accounting.pl  UTILS/decode_args_with_perl
UTILS/decode_args_with_sh       UTILS/fixid       UTILS/fixupdate
UTILS/lpq_in_perl       UTILS/lpr_in_perl      UTILS/lprm_in_perl
UTILS/make_lpd_conf     UTILS/make_printcap_use     UTILS/makeinc
UTILS/read_conf   UTILS/remote_active  UTILS/test_read  UTILS/up-
date_z.pl  lpd.perms  man/Makefile   src/Makefile   src/pclbanner
src/psbanner  po/Makefile.in" ac_config_commands="$ac_config_com-
mands default" cat >confcache <<_ACEOF # This  file  is  a  shell
script  that  caches the results of configure # tests run on this
system so they can be shared between configure # scripts and con-
figure  runs, see configure's option --config-cache.  # It is not
useful on other systems.  If it contains results you don't # want
to  keep, you may remove or edit it.  # # config.status only pays
attention to the cache file if you give it # the --recheck option
to rerun configure.  # # `ac_cv_env_foo' variables (set or unset)
will be  overriden  when  #  loading  this  file,  other  *unset*
`ac_cv_foo' will be assigned the # following values.

_ACEOF

#  The  following way of writing the cache mishandles newlines in
values, # but we know of no workaround that is simple,  portable,
and efficient.  # So, don't put newlines in cache variables' val-
ues.  # Ultrix sh set writes to stderr and  can't  be  redirected
directly, # and sets the high bit in the cache file unless we as-
sign to the vars.  {
  (set) 2>&1 |
    case `(ac_space=' '; set | grep ac_space) 2>&1` in
    *ac_space= *)
      # `set' does not quote correctly, so  add  quotes  (double-
quote
      # substitution turns \\ into \, and sed turns \ into .
      sed -n         "s/'/'\\''/g;
                            s/^\([_$as_cr_alnum]*_cv_[_$as_cr_al-
num]*\)=\(.*\)/\1='\2'/p"
      ;;
    *)
      # `set' quotes correctly as required by POSIX,  so  do  not
add quotes.
      sed    -n            "s/^\([_$as_cr_alnum]*_cv_[_$as_cr_al-
num]*\)=\(.*\)/\1=\2/p"
      ;;
    esac; } |
  sed '

test "x$prefix" = xNONE && prefix=$ac_default_prefix #  Let  make
expand  exec_prefix.   test  "x$exec_prefix" = xNONE && exec_pre-
fix='${prefix}'

# VPATH may cause trouble with some makes,  so  we  remove  $(sr-
cdir),  #  ${srcdir}  and  @srcdir@  from VPATH if srcdir is ".",
strip leading and # trailing colons and  then  remove  the  whole
line if VPATH becomes empty # (actually we leave an empty line to
preserve line numbers).  if test "x$srcdir" = x.; then
  ac_vpsub='/^[          ]*VPATH[         ]*=/{   s/:*cdir):*/:/;
s/:*srcdir}:*/:/;   s/:*@srcdir@:*/:/;  s/^=]*=[         ]*:*/1/;
s/:*$//; s/^[^=]*=[      ]*$//; }' fi

DEFS=-DHAVE_CONFIG_H


:                                ${CONFIG_STATUS=./config.status}
ac_clean_files_save=$ac_clean_files
ac_clean_files="$ac_clean_files    $CONFIG_STATUS"     {     echo
"$as_me:$LINENO:  creating $CONFIG_STATUS" >&5 echo "$as_me: cre-
ating  $CONFIG_STATUS"  >&6;}  cat  >$CONFIG_STATUS  <<_ACEOF  #!
$SHELL  #  Generated  by $as_me.  # Run this file to recreate the
current configuration.  # Compiler output produced by  configure,
useful  for debugging # configure, is in config.log if it exists.

debug=false SHELL=CONFIG_SHELL-$SHELL} _ACEOF

cat >>$CONFIG_STATUS <<_ACEOF

##  ---------------------  ##  ##  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`") &&
||
      { 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" |
    sed '/^.*/][^/]**$/{ s//1/; q; }
          /^X$/{ s//1/; q; }
          /^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

       ;;

  '')
    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
              CONFIG_SHELL=$as_dir/$as_base                export
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

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

cat >>$CONFIG_STATUS <<_ACEOF

ac_cs_usage="`$as_me' instantiates files from templates according
to the current configuration.

Usage: $0 [OPTIONS] [FILE]...

  -h, --help       print this help, then exit
  -V, --version    print version number, then exit
  -d, --debug      don't remove temporary files
      --recheck    update $as_me by  reconfiguring  in  the  same
conditions
  --file=FILE[:TEMPLATE]
                   instantiate the configuration file FILE
  --header=FILE[:TEMPLATE]
                   instantiate the configuration header FILE

Configuration files: $config_files

Configuration headers: $config_headers

Configuration commands: $config_commands

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
    echo "$ac_cs_version"; exit 0 ;;
  --he | --h)
    # Conflict between --help and --header
    { { echo "$as_me:$LINENO: error: ambiguous option: $1 Try `$0
--help' for more information." >&5 echo "$as_me: error: ambiguous
option: $1 Try `$0 --help' for more information." >&2;}
   { (exit 1); exit 1; }; };;
  --help | --hel | -h )
    echo "$ac_cs_usage"; exit 0 ;;
  --debug | --d* | -d )
    debug=: ;;
  --file | --fil | --fi | --f )
    shift
    CONFIG_FILES="$CONFIG_FILES $1"
    ac_need_defaults=false;;
  --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" ;;
  "HOWTO/Makefile"  ) CONFIG_FILES="$CONFIG_FILES HOWTO/Makefile"
;;
  "TESTSUPPORT/Makefile" )  CONFIG_FILES="$CONFIG_FILES  TESTSUP-
PORT/Makefile" ;;
  "DISTRIBUTIONS/Makefile"  ) CONFIG_FILES="$CONFIG_FILES DISTRI-
BUTIONS/Makefile" ;;
  "UTILS/LPRng.pm" ) CONFIG_FILES="$CONFIG_FILES  UTILS/LPRng.pm"
;;
  "UTILS/Makefile"  ) CONFIG_FILES="$CONFIG_FILES UTILS/Makefile"
  "UTILS/lprm_in_perl"       )        CONFIG_FILES="$CONFIG_FILES
UTILS/lprm_in_perl" ;;
  "UTILS/make_lpd_conf"       )       CONFIG_FILES="$CONFIG_FILES
UTILS/make_lpd_conf" ;;
  "UTILS/make_printcap_use"     )     CONFIG_FILES="$CONFIG_FILES
UTILS/make_printcap_use" ;;
  "UTILS/makeinc" ) CONFIG_FILES="$CONFIG_FILES UTILS/makeinc" ;;
  "UTILS/read_conf"         )         CONFIG_FILES="$CONFIG_FILES
UTILS/read_conf" ;;
  "UTILS/remote_active"  )  CONFIG_FILES="$CONFIG_FILES UTILS/re-
mote_active" ;;
  "UTILS/test_read"         )         CONFIG_FILES="$CONFIG_FILES
UTILS/test_read" ;;
  "UTILS/update_z.pl"   )  CONFIG_FILES="$CONFIG_FILES  UTILS/up-
date_z.pl" ;;
  "lpd.perms" ) CONFIG_FILES="$CONFIG_FILES lpd.perms" ;;
  "man/Makefile" ) CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
  "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
  "src/pclbanner" ) CONFIG_FILES="$CONFIG_FILES src/pclbanner" ;;
  "src/psbanner" ) CONFIG_FILES="$CONFIG_FILES src/psbanner" ;;
  "po/Makefile.in"  ) CONFIG_FILES="$CONFIG_FILES po/Makefile.in"
;;
  "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
  "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
  test  "${CONFIG_COMMANDS+set}"  =  set || CONFIG_COMMANDS=$con-
fig_commands fi

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

#  Create  a  (secure)  tmp  directory  for  tmp  files.  : ${TM-
PDIR=/tmp} {
  tmp=`(umask   077   &&   mktemp   -d   -q   "$TMPDIR/csXXXXXX")
2>/dev/null` &&
  test -n "$tmp" && test -d "$tmp" }  || {
  tmp=$TMPDIR/cs$$-$RANDOM

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,@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,@target@,$target,;t   t   s,@tar-
get_cpu@,$target_cpu,;t  t  s,@target_vendor@,$target_vendor,;t t
s,@target_os@,$target_os,;t t s,@PACKAGE@,$PACKAGE,;t  t  s,@VER-
SION@,$VERSION,;t     t    s,@INSTALL@,$INSTALL,;t    t    s,@IN-
STALL_MAN@,$INSTALL_MAN,;t       t       s,@CPP@,$CPP,;t        t
s,@CFLAGS@,$CFLAGS,;t   t   s,@CPPFLAGS@,$CPPFLAGS,;t   t  s,@LD-
FLAGS@,$LDFLAGS,;t  t  s,@LDCC@,$LDCC,;t  t   s,@AWK@,$AWK,;t   t
s,@PERL@,$PERL,;t  t  s,@CHOWN@,$CHOWN,;t t s,@CHGRP@,$CHGRP,;t t
s,@PRUTIL@,$PRUTIL,;t      t      s,@OPENSSL@,$OPENSSL,;t       t
s,@PGP_PATH@,$PGP_PATH,;t t s,@UNIXSOCKETPATH@,$UNIXSOCKETPATH,;t
t s,@PERMS@,$PERMS,;t t  s,@PRIV_PORTS@,$PRIV_PORTS,;t  t  s,@RE-
QUIRE_CONFIGFILES@,$REQUIRE_CONFIGFILES,;t  t  s,@KERBEROS@,$KER-
BEROS,;t      t       s,@MIT_KERBEROS4@,$MIT_KERBEROS4,;t       t
s,@LPD_DIR@,$LPD_DIR,;t  t  s,@LPD_CONF_PATH@,$LPD_CONF_PATH,;t t
s,@LPD_PERMS_PATH@,$LPD_PERMS_PATH,;t t s,@PRINTCAP_PATH@,$PRINT-
CAP_PATH,;t   t   s,@LPD_PRINTCAP_PATH@,$LPD_PRINTCAP_PATH,;t   t
s,@INIT@,$INIT,;t   t   s,@LOCKFILE@,$LOCKFILE,;t   t   s,@LD_LI-
BRARY_PATH@,$LD_LIBRARY_PATH,;t t s,@FILTER_PATH@,$FILTER_PATH,;t
t    s,@USERID@,$USERID,;t    t     s,@GROUPID@,$GROUPID,;t     t
s,@DONE_JOBS@,$DONE_JOBS,;t                                     t
s,@DONE_JOBS_MAX_AGE@,$DONE_JOBS_MAX_AGE,;t t  s,@USER_OBJS@,$US-
ER_OBJS,;t  t  s,@CLEAR@,$CLEAR,;t  t s,@PSHOWALL@,$PSHOWALL,;t t
s,@FILTER_DIR@,$FILTER_DIR,;t t s,@STRIP_OPTION@,$STRIP_OPTION,;t
t    s,@OSNAME@,$OSNAME,;t    t   s,@OSVERSION@,$OSVERSION,;t   t
s,@CC@,$CC,;t t s,@ac_ct_CC@,$ac_ct_CC,;t t s,@EXEEXT@,$EXEEXT,;t
t s,@OBJEXT@,$OBJEXT,;t t s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t
t s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t  t  s,@INSTALL_DATA@,$IN-
STALL_DATA,;t         t        s,@SET_MAKE@,$SET_MAKE,;t        t
s,@SSL_CA_FILE@,$SSL_CA_FILE,;t t s,@SSL_CA_KEY@,$SSL_CA_KEY,;t t
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

  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirecto-

"$@"`; 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:
creating $ac_file" >&6;}
    rm -f "$ac_file"

  # 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

# # CONFIG_HEADER section.  #
  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
# config.h.in to produce config.h.  The first handles `#define' #
templates, and the second `#undef' templates.  # And first:  Pro-
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
  sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
  echo 'CEOF
  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

#  #  CONFIG_COMMANDS  section.   # for ac_file in : $CONFIG_COM-
MANDS; do test "x$ac_file" = x: && continue
  ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
  ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
  ac_dir=`(dirname   "$ac_dest")    2>/dev/null    ||    $as_expr
X"$ac_dest"  :  'X[^/]//*[^/][^/]*/*$'             X"$ac_dest"  :
'X[^/]'           X"$ac_dest" : 'X$'           X"$ac_dest" : 'X'

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`


  {  echo  "$as_me:$LINENO: executing $ac_dest commands" >&5 echo
"$as_me: executing $ac_dest commands" >&6;}
  case $ac_dest in
    default  )  for  i  in   UTILS/LPRng.pm   UTILS/accounting.pl
UTILS/decode_args_with_perl UTILS/decode_args_with_sh UTILS/fixid
UTILS/fixupdate        UTILS/lpq_in_perl        UTILS/lpr_in_perl
UTILS/lprm_in_perl   UTILS/make_lpd_conf  UTILS/make_printcap_use
UTILS/makeinc UTILS/read_conf UTILS/remote_active UTILS/test_read
UTILS/update_z.pl ; do chmod +x $i ; done


 ;;
  esac done _ACEOF

cat >>$CONFIG_STATUS <<_ACEOF

{   (exit   0);   exit   0;  }  _ACEOF  chmod  +x  $CONFIG_STATUS
ac_clean_files=$ac_clean_files_save


# configure is writing to config.log, and then calls  config.sta-
tus.  # config.status does its own redirection, appending to con-
fig.log.  # Unfortunately, on DOS this fails,  as  config.log  is
still kept open # by configure, so config.status won't be able to
write to it; its # output is simply discarded.  So we exec the FD
to  /dev/null,  #  effectively  closing  config.log, so it can be
properly (re)opened and # appended  to  by  config.status.   When
coming  back  to  configure,  we  # need to make the FD available
again.  if test "$no_create" != yes; then
  ac_cs_success=:





















































Man(1) output converted with man2html