[BACK]Return to configure CVS log [TXT][DIR] Up to [local] / src / usr.bin / sudo

Diff for /src/usr.bin/sudo/Attic/configure between version 1.6 and 1.7

version 1.6, 2000/03/27 03:44:38 version 1.7, 2000/11/21 17:58:43
Line 52 
Line 52 
 ac_help="$ac_help  ac_help="$ac_help
   --with-DCE              enable DCE support"    --with-DCE              enable DCE support"
 ac_help="$ac_help  ac_help="$ac_help
   --with-logincap         enable login class support"    --with-logincap         enable BSD login class support"
 ac_help="$ac_help  ac_help="$ac_help
     --with-bsdauth          enable BSD authentication support"
   ac_help="$ac_help
   --without-lecture       don't print lecture for first-time sudoer"    --without-lecture       don't print lecture for first-time sudoer"
 ac_help="$ac_help  ac_help="$ac_help
   --with-logging          log via syslog, file, or both"    --with-logging          log via syslog, file, or both"
Line 829 
Line 831 
 EOF  EOF
   
                 echo $ac_n "checking whether to use shadow/passwd file authentication""... $ac_c" 1>&6                  echo $ac_n "checking whether to use shadow/passwd file authentication""... $ac_c" 1>&6
 echo "configure:833: checking whether to use shadow/passwd file authentication" >&5  echo "configure:835: checking whether to use shadow/passwd file authentication" >&5
                 echo "$ac_t""no" 1>&6                  echo "$ac_t""no" 1>&6
                 ;;                  ;;
     *)          { echo "configure: error: "Sorry, --with-passwd does not take an argument."" 1>&2; exit 1; }      *)          { echo "configure: error: "Sorry, --with-passwd does not take an argument."" 1>&2; exit 1; }
Line 850 
Line 852 
 EOF  EOF
   
                 echo $ac_n "checking whether to try S/Key authentication""... $ac_c" 1>&6                  echo $ac_n "checking whether to try S/Key authentication""... $ac_c" 1>&6
 echo "configure:854: checking whether to try S/Key authentication" >&5  echo "configure:856: checking whether to try S/Key authentication" >&5
                 echo "$ac_t""yes" 1>&6                  echo "$ac_t""yes" 1>&6
                 AUTH_OBJS="${AUTH_OBJS} rfc1938.o"                  AUTH_OBJS="${AUTH_OBJS} rfc1938.o"
                 ;;                  ;;
Line 873 
Line 875 
 EOF  EOF
   
                 echo $ac_n "checking whether to try NRL OPIE authentication""... $ac_c" 1>&6                  echo $ac_n "checking whether to try NRL OPIE authentication""... $ac_c" 1>&6
 echo "configure:877: checking whether to try NRL OPIE authentication" >&5  echo "configure:879: checking whether to try NRL OPIE authentication" >&5
                 echo "$ac_t""yes" 1>&6                  echo "$ac_t""yes" 1>&6
                 AUTH_OBJS="${AUTH_OBJS} rfc1938.o"                  AUTH_OBJS="${AUTH_OBJS} rfc1938.o"
                 ;;                  ;;
Line 893 
Line 895 
 EOF  EOF
   
                 echo $ac_n "checking whether to use a two line prompt for OTP authentication""... $ac_c" 1>&6                  echo $ac_n "checking whether to use a two line prompt for OTP authentication""... $ac_c" 1>&6
 echo "configure:897: checking whether to use a two line prompt for OTP authentication" >&5  echo "configure:899: checking whether to use a two line prompt for OTP authentication" >&5
                 echo "$ac_t""yes" 1>&6                  echo "$ac_t""yes" 1>&6
                 ;;                  ;;
     no)         ;;      no)         ;;
Line 913 
Line 915 
 EOF  EOF
   
                 echo $ac_n "checking whether to use SecurID for authentication""... $ac_c" 1>&6                  echo $ac_n "checking whether to use SecurID for authentication""... $ac_c" 1>&6
 echo "configure:917: checking whether to use SecurID for authentication" >&5  echo "configure:919: checking whether to use SecurID for authentication" >&5
                 echo "$ac_t""yes" 1>&6                  echo "$ac_t""yes" 1>&6
                 with_passwd=no                  with_passwd=no
                 AUTH_OBJS="securid.o"                  AUTH_OBJS="securid.o"
Line 931 
Line 933 
 EOF  EOF
   
                 echo $ac_n "checking whether to use FWTK AuthSRV for authentication""... $ac_c" 1>&6                  echo $ac_n "checking whether to use FWTK AuthSRV for authentication""... $ac_c" 1>&6
 echo "configure:935: checking whether to use FWTK AuthSRV for authentication" >&5  echo "configure:937: checking whether to use FWTK AuthSRV for authentication" >&5
                 echo "$ac_t""yes" 1>&6                  echo "$ac_t""yes" 1>&6
                 with_passwd=no                  with_passwd=no
                 AUTH_OBJS="fwtk.o"                  AUTH_OBJS="fwtk.o"
Line 942 
Line 944 
 EOF  EOF
   
                 echo $ac_n "checking whether to use FWTK AuthSRV for authentication""... $ac_c" 1>&6                  echo $ac_n "checking whether to use FWTK AuthSRV for authentication""... $ac_c" 1>&6
 echo "configure:946: checking whether to use FWTK AuthSRV for authentication" >&5  echo "configure:948: checking whether to use FWTK AuthSRV for authentication" >&5
                 echo "$ac_t""yes" 1>&6                  echo "$ac_t""yes" 1>&6
                 SUDO_LDFLAGS="${SUDO_LDFLAGS} -L${with_fwtk}"                  SUDO_LDFLAGS="${SUDO_LDFLAGS} -L${with_fwtk}"
                 CPPFLAGS="${CPPFLAGS} -I${with_fwtk}"                  CPPFLAGS="${CPPFLAGS} -I${with_fwtk}"
Line 959 
Line 961 
   withval="$with_kerb4"    withval="$with_kerb4"
   case $with_kerb4 in    case $with_kerb4 in
     yes)        echo $ac_n "checking whether to try Kerberos 4 authentication""... $ac_c" 1>&6      yes)        echo $ac_n "checking whether to try Kerberos 4 authentication""... $ac_c" 1>&6
 echo "configure:963: checking whether to try Kerberos 4 authentication" >&5  echo "configure:965: checking whether to try Kerberos 4 authentication" >&5
                 echo "$ac_t""yes" 1>&6                  echo "$ac_t""yes" 1>&6
                 ;;                  ;;
     no)         ;;      no)         ;;
Line 974 
Line 976 
   withval="$with_kerb5"    withval="$with_kerb5"
   case $with_kerb5 in    case $with_kerb5 in
     yes)        echo $ac_n "checking whether to try Kerberos 5 authentication""... $ac_c" 1>&6      yes)        echo $ac_n "checking whether to try Kerberos 5 authentication""... $ac_c" 1>&6
 echo "configure:978: checking whether to try Kerberos 5 authentication" >&5  echo "configure:980: checking whether to try Kerberos 5 authentication" >&5
                 echo "$ac_t""yes" 1>&6                  echo "$ac_t""yes" 1>&6
                 ;;                  ;;
     no)         ;;      no)         ;;
Line 993 
Line 995 
 EOF  EOF
   
                 echo $ac_n "checking whether to use AIX general authentication""... $ac_c" 1>&6                  echo $ac_n "checking whether to use AIX general authentication""... $ac_c" 1>&6
 echo "configure:997: checking whether to use AIX general authentication" >&5  echo "configure:999: checking whether to use AIX general authentication" >&5
                 echo "$ac_t""yes" 1>&6                  echo "$ac_t""yes" 1>&6
                 with_passwd=no                  with_passwd=no
                 AUTH_OBJS="aix_auth.o"                  AUTH_OBJS="aix_auth.o"
Line 1014 
Line 1016 
 EOF  EOF
   
                 echo $ac_n "checking whether to use PAM authentication""... $ac_c" 1>&6                  echo $ac_n "checking whether to use PAM authentication""... $ac_c" 1>&6
 echo "configure:1018: checking whether to use PAM authentication" >&5  echo "configure:1020: checking whether to use PAM authentication" >&5
                 echo "$ac_t""yes" 1>&6                  echo "$ac_t""yes" 1>&6
                 with_passwd=no                  with_passwd=no
                 AUTH_OBJS="pam.o"                  AUTH_OBJS="pam.o"
Line 1035 
Line 1037 
 EOF  EOF
   
                 echo $ac_n "checking whether to try AFS (kerberos) authentication""... $ac_c" 1>&6                  echo $ac_n "checking whether to try AFS (kerberos) authentication""... $ac_c" 1>&6
 echo "configure:1039: checking whether to try AFS (kerberos) authentication" >&5  echo "configure:1041: checking whether to try AFS (kerberos) authentication" >&5
                 echo "$ac_t""yes" 1>&6                  echo "$ac_t""yes" 1>&6
                 AUTH_OBJS="${AUTH_OBJS} afs.o"                  AUTH_OBJS="${AUTH_OBJS} afs.o"
                 ;;                  ;;
Line 1055 
Line 1057 
 EOF  EOF
   
                 echo $ac_n "checking whether to try DCE (kerberos) authentication""... $ac_c" 1>&6                  echo $ac_n "checking whether to try DCE (kerberos) authentication""... $ac_c" 1>&6
 echo "configure:1059: checking whether to try DCE (kerberos) authentication" >&5  echo "configure:1061: checking whether to try DCE (kerberos) authentication" >&5
                 echo "$ac_t""yes" 1>&6                  echo "$ac_t""yes" 1>&6
                 AUTH_OBJS="${AUTH_OBJS} dce.o"                  AUTH_OBJS="${AUTH_OBJS} dce.o"
                 ;;                  ;;
Line 1070 
Line 1072 
 if test "${with_logincap+set}" = set; then  if test "${with_logincap+set}" = set; then
   withval="$with_logincap"    withval="$with_logincap"
   case $with_logincap in    case $with_logincap in
     yes)        cat >> confdefs.h <<\EOF      yes|no)     ;;
 #define HAVE_LOGINCAP 1      *)          { echo "configure: error: "--with-logincap does not take an argument."" 1>&2; exit 1; }
 EOF                  ;;
   esac
   fi
   
                 echo $ac_n "checking whether to try BSD login capabilities database""... $ac_c" 1>&6  
 echo "configure:1079: checking whether to try BSD login capabilities database" >&5  # Check whether --with-bsdauth or --without-bsdauth was given.
                 echo "$ac_t""yes" 1>&6  if test "${with_bsdauth+set}" = set; then
     withval="$with_bsdauth"
     case $with_bsdauth in
       yes)        with_logincap=yes
                 ;;                  ;;
     no)         ;;      no)         ;;
     *)          { echo "configure: error: "--with-logincap does not take an argument."" 1>&2; exit 1; }      *)          { echo "configure: error: "--with-bsdauth does not take an argument."" 1>&2; exit 1; }
                 ;;                  ;;
 esac  esac
 fi  fi
   
   
 echo $ac_n "checking whether to lecture users the first time they run sudo""... $ac_c" 1>&6  echo $ac_n "checking whether to lecture users the first time they run sudo""... $ac_c" 1>&6
 echo "configure:1090: checking whether to lecture users the first time they run sudo" >&5  echo "configure:1097: checking whether to lecture users the first time they run sudo" >&5
 # Check whether --with-lecture or --without-lecture was given.  # Check whether --with-lecture or --without-lecture was given.
 if test "${with_lecture+set}" = set; then  if test "${with_lecture+set}" = set; then
   withval="$with_lecture"    withval="$with_lecture"
Line 1108 
Line 1115 
   
   
 echo $ac_n "checking whether sudo should log via syslog or to a file by default""... $ac_c" 1>&6  echo $ac_n "checking whether sudo should log via syslog or to a file by default""... $ac_c" 1>&6
 echo "configure:1112: checking whether sudo should log via syslog or to a file by default" >&5  echo "configure:1119: checking whether sudo should log via syslog or to a file by default" >&5
 # Check whether --with-logging or --without-logging was given.  # Check whether --with-logging or --without-logging was given.
 if test "${with_logging+set}" = set; then  if test "${with_logging+set}" = set; then
   withval="$with_logging"    withval="$with_logging"
Line 1147 
Line 1154 
   
   
 echo $ac_n "checking which syslog facility sudo should log with""... $ac_c" 1>&6  echo $ac_n "checking which syslog facility sudo should log with""... $ac_c" 1>&6
 echo "configure:1151: checking which syslog facility sudo should log with" >&5  echo "configure:1158: checking which syslog facility sudo should log with" >&5
 # Check whether --with-logfac or --without-logfac was given.  # Check whether --with-logfac or --without-logfac was given.
 if test "${with_logfac+set}" = set; then  if test "${with_logfac+set}" = set; then
   withval="$with_logfac"    withval="$with_logfac"
Line 1174 
Line 1181 
   
   
 echo $ac_n "checking at which syslog priority to log commands""... $ac_c" 1>&6  echo $ac_n "checking at which syslog priority to log commands""... $ac_c" 1>&6
 echo "configure:1178: checking at which syslog priority to log commands" >&5  echo "configure:1185: checking at which syslog priority to log commands" >&5
 # Check whether --with-goodpri or --without-goodpri was given.  # Check whether --with-goodpri or --without-goodpri was given.
 if test "${with_goodpri+set}" = set; then  if test "${with_goodpri+set}" = set; then
   withval="$with_goodpri"    withval="$with_goodpri"
Line 1201 
Line 1208 
   
   
 echo $ac_n "checking at which syslog priority to log failures""... $ac_c" 1>&6  echo $ac_n "checking at which syslog priority to log failures""... $ac_c" 1>&6
 echo "configure:1205: checking at which syslog priority to log failures" >&5  echo "configure:1212: checking at which syslog priority to log failures" >&5
 # Check whether --with-badpri or --without-badpri was given.  # Check whether --with-badpri or --without-badpri was given.
 if test "${with_badpri+set}" = set; then  if test "${with_badpri+set}" = set; then
   withval="$with_badpri"    withval="$with_badpri"
Line 1240 
Line 1247 
   
   
 echo $ac_n "checking how long a line in the log file should be""... $ac_c" 1>&6  echo $ac_n "checking how long a line in the log file should be""... $ac_c" 1>&6
 echo "configure:1244: checking how long a line in the log file should be" >&5  echo "configure:1251: checking how long a line in the log file should be" >&5
 # Check whether --with-loglen or --without-loglen was given.  # Check whether --with-loglen or --without-loglen was given.
 if test "${with_loglen+set}" = set; then  if test "${with_loglen+set}" = set; then
   withval="$with_loglen"    withval="$with_loglen"
Line 1267 
Line 1274 
   
   
 echo $ac_n "checking whether sudo should ignore '.' or '' in \$PATH""... $ac_c" 1>&6  echo $ac_n "checking whether sudo should ignore '.' or '' in \$PATH""... $ac_c" 1>&6
 echo "configure:1271: checking whether sudo should ignore '.' or '' in \$PATH" >&5  echo "configure:1278: checking whether sudo should ignore '.' or '' in \$PATH" >&5
 # Check whether --with-ignore-dot or --without-ignore-dot was given.  # Check whether --with-ignore-dot or --without-ignore-dot was given.
 if test "${with_ignore_dot+set}" = set; then  if test "${with_ignore_dot+set}" = set; then
   withval="$with_ignore_dot"    withval="$with_ignore_dot"
Line 1289 
Line 1296 
   
   
 echo $ac_n "checking who should get the mail that sudo sends""... $ac_c" 1>&6  echo $ac_n "checking who should get the mail that sudo sends""... $ac_c" 1>&6
 echo "configure:1293: checking who should get the mail that sudo sends" >&5  echo "configure:1300: checking who should get the mail that sudo sends" >&5
 # Check whether --with-mailto or --without-mailto was given.  # Check whether --with-mailto or --without-mailto was given.
 if test "${with_mailto+set}" = set; then  if test "${with_mailto+set}" = set; then
   withval="$with_mailto"    withval="$with_mailto"
Line 1326 
Line 1333 
 EOF  EOF
   
                 echo $ac_n "checking sudo mail subject""... $ac_c" 1>&6                  echo $ac_n "checking sudo mail subject""... $ac_c" 1>&6
 echo "configure:1330: checking sudo mail subject" >&5  echo "configure:1337: checking sudo mail subject" >&5
                 echo "$ac_t""Using alert mail subject: $with_mailsubject" 1>&6                  echo "$ac_t""Using alert mail subject: $with_mailsubject" 1>&6
                 ;;                  ;;
 esac  esac
Line 1339 
Line 1346 
   
   
 echo $ac_n "checking whether to send mail when a user is not in sudoers""... $ac_c" 1>&6  echo $ac_n "checking whether to send mail when a user is not in sudoers""... $ac_c" 1>&6
 echo "configure:1343: checking whether to send mail when a user is not in sudoers" >&5  echo "configure:1350: checking whether to send mail when a user is not in sudoers" >&5
 # Check whether --with-mail-if-no-user or --without-mail-if-no-user was given.  # Check whether --with-mail-if-no-user or --without-mail-if-no-user was given.
 if test "${with_mail_if_no_user+set}" = set; then  if test "${with_mail_if_no_user+set}" = set; then
   withval="$with_mail_if_no_user"    withval="$with_mail_if_no_user"
Line 1364 
Line 1371 
   
   
 echo $ac_n "checking whether to send mail when user listed but not for this host""... $ac_c" 1>&6  echo $ac_n "checking whether to send mail when user listed but not for this host""... $ac_c" 1>&6
 echo "configure:1368: checking whether to send mail when user listed but not for this host" >&5  echo "configure:1375: checking whether to send mail when user listed but not for this host" >&5
 # Check whether --with-mail-if-no-host or --without-mail-if-no-host was given.  # Check whether --with-mail-if-no-host or --without-mail-if-no-host was given.
 if test "${with_mail_if_no_host+set}" = set; then  if test "${with_mail_if_no_host+set}" = set; then
   withval="$with_mail_if_no_host"    withval="$with_mail_if_no_host"
Line 1386 
Line 1393 
   
   
 echo $ac_n "checking whether to send mail when a user tries a disallowed command""... $ac_c" 1>&6  echo $ac_n "checking whether to send mail when a user tries a disallowed command""... $ac_c" 1>&6
 echo "configure:1390: checking whether to send mail when a user tries a disallowed command" >&5  echo "configure:1397: checking whether to send mail when a user tries a disallowed command" >&5
 # Check whether --with-mail-if-noperms or --without-mail-if-noperms was given.  # Check whether --with-mail-if-noperms or --without-mail-if-noperms was given.
 if test "${with_mail_if_noperms+set}" = set; then  if test "${with_mail_if_noperms+set}" = set; then
   withval="$with_mail_if_noperms"    withval="$with_mail_if_noperms"
Line 1408 
Line 1415 
   
   
 echo $ac_n "checking for bad password prompt""... $ac_c" 1>&6  echo $ac_n "checking for bad password prompt""... $ac_c" 1>&6
 echo "configure:1412: checking for bad password prompt" >&5  echo "configure:1419: checking for bad password prompt" >&5
 # Check whether --with-passprompt or --without-passprompt was given.  # Check whether --with-passprompt or --without-passprompt was given.
 if test "${with_passprompt+set}" = set; then  if test "${with_passprompt+set}" = set; then
   withval="$with_passprompt"    withval="$with_passprompt"
Line 1433 
Line 1440 
   
   
 echo $ac_n "checking for bad password message""... $ac_c" 1>&6  echo $ac_n "checking for bad password message""... $ac_c" 1>&6
 echo "configure:1437: checking for bad password message" >&5  echo "configure:1444: checking for bad password message" >&5
 # Check whether --with-badpass-message or --without-badpass-message was given.  # Check whether --with-badpass-message or --without-badpass-message was given.
 if test "${with_badpass_message+set}" = set; then  if test "${with_badpass_message+set}" = set; then
   withval="$with_badpass_message"    withval="$with_badpass_message"
Line 1458 
Line 1465 
   
   
 echo $ac_n "checking whether to expect fully qualified hosts in sudoers""... $ac_c" 1>&6  echo $ac_n "checking whether to expect fully qualified hosts in sudoers""... $ac_c" 1>&6
 echo "configure:1462: checking whether to expect fully qualified hosts in sudoers" >&5  echo "configure:1469: checking whether to expect fully qualified hosts in sudoers" >&5
 # Check whether --with-fqdn or --without-fqdn was given.  # Check whether --with-fqdn or --without-fqdn was given.
 if test "${with_fqdn+set}" = set; then  if test "${with_fqdn+set}" = set; then
   withval="$with_fqdn"    withval="$with_fqdn"
Line 1558 
Line 1565 
   
   
 echo $ac_n "checking for umask programs should be run with""... $ac_c" 1>&6  echo $ac_n "checking for umask programs should be run with""... $ac_c" 1>&6
 echo "configure:1562: checking for umask programs should be run with" >&5  echo "configure:1569: checking for umask programs should be run with" >&5
 # Check whether --with-umask or --without-umask was given.  # Check whether --with-umask or --without-umask was given.
 if test "${with_umask+set}" = set; then  if test "${with_umask+set}" = set; then
   withval="$with_umask"    withval="$with_umask"
Line 1585 
Line 1592 
   
   
 echo $ac_n "checking for default user to run commands as""... $ac_c" 1>&6  echo $ac_n "checking for default user to run commands as""... $ac_c" 1>&6
 echo "configure:1589: checking for default user to run commands as" >&5  echo "configure:1596: checking for default user to run commands as" >&5
 # Check whether --with-runas-default or --without-runas-default was given.  # Check whether --with-runas-default or --without-runas-default was given.
 if test "${with_runas_default+set}" = set; then  if test "${with_runas_default+set}" = set; then
   withval="$with_runas_default"    withval="$with_runas_default"
Line 1622 
Line 1629 
 EOF  EOF
   
                 echo $ac_n "checking for group to be exempt from password""... $ac_c" 1>&6                  echo $ac_n "checking for group to be exempt from password""... $ac_c" 1>&6
 echo "configure:1626: checking for group to be exempt from password" >&5  echo "configure:1633: checking for group to be exempt from password" >&5
                 echo "$ac_t""$with_exempt" 1>&6                  echo "$ac_t""$with_exempt" 1>&6
                 ;;                  ;;
 esac  esac
Line 1630 
Line 1637 
   
   
 echo $ac_n "checking for editor that visudo should use""... $ac_c" 1>&6  echo $ac_n "checking for editor that visudo should use""... $ac_c" 1>&6
 echo "configure:1634: checking for editor that visudo should use" >&5  echo "configure:1641: checking for editor that visudo should use" >&5
 # Check whether --with-editor or --without-editor was given.  # Check whether --with-editor or --without-editor was given.
 if test "${with_editor+set}" = set; then  if test "${with_editor+set}" = set; then
   withval="$with_editor"    withval="$with_editor"
Line 1655 
Line 1662 
   
   
 echo $ac_n "checking whether to obey EDITOR and VISUAL environment variables""... $ac_c" 1>&6  echo $ac_n "checking whether to obey EDITOR and VISUAL environment variables""... $ac_c" 1>&6
 echo "configure:1659: checking whether to obey EDITOR and VISUAL environment variables" >&5  echo "configure:1666: checking whether to obey EDITOR and VISUAL environment variables" >&5
 # Check whether --with-env-editor or --without-env-editor was given.  # Check whether --with-env-editor or --without-env-editor was given.
 if test "${with_env_editor+set}" = set; then  if test "${with_env_editor+set}" = set; then
   withval="$with_env_editor"    withval="$with_env_editor"
Line 1677 
Line 1684 
   
   
 echo $ac_n "checking number of tries a user gets to enter their password""... $ac_c" 1>&6  echo $ac_n "checking number of tries a user gets to enter their password""... $ac_c" 1>&6
 echo "configure:1681: checking number of tries a user gets to enter their password" >&5  echo "configure:1688: checking number of tries a user gets to enter their password" >&5
 # Check whether --with-passwd-tries or --without-passwd-tries was given.  # Check whether --with-passwd-tries or --without-passwd-tries was given.
 if test "${with_passwd_tries+set}" = set; then  if test "${with_passwd_tries+set}" = set; then
   withval="$with_passwd_tries"    withval="$with_passwd_tries"
Line 1708 
Line 1715 
   
   
 echo $ac_n "checking time in minutes after which sudo will ask for a password again""... $ac_c" 1>&6  echo $ac_n "checking time in minutes after which sudo will ask for a password again""... $ac_c" 1>&6
 echo "configure:1712: checking time in minutes after which sudo will ask for a password again" >&5  echo "configure:1719: checking time in minutes after which sudo will ask for a password again" >&5
 # Check whether --with-timeout or --without-timeout was given.  # Check whether --with-timeout or --without-timeout was given.
 if test "${with_timeout+set}" = set; then  if test "${with_timeout+set}" = set; then
   withval="$with_timeout"    withval="$with_timeout"
Line 1743 
Line 1750 
   
   
 echo $ac_n "checking time in minutes after the password prompt will time out""... $ac_c" 1>&6  echo $ac_n "checking time in minutes after the password prompt will time out""... $ac_c" 1>&6
 echo "configure:1747: checking time in minutes after the password prompt will time out" >&5  echo "configure:1754: checking time in minutes after the password prompt will time out" >&5
 # Check whether --with-password-timeout or --without-password-timeout was given.  # Check whether --with-password-timeout or --without-password-timeout was given.
 if test "${with_password_timeout+set}" = set; then  if test "${with_password_timeout+set}" = set; then
   withval="$with_password_timeout"    withval="$with_password_timeout"
Line 1778 
Line 1785 
   
   
 echo $ac_n "checking whether to use execvp or execv""... $ac_c" 1>&6  echo $ac_n "checking whether to use execvp or execv""... $ac_c" 1>&6
 echo "configure:1782: checking whether to use execvp or execv" >&5  echo "configure:1789: checking whether to use execvp or execv" >&5
 # Check whether --with-execv or --without-execv was given.  # Check whether --with-execv or --without-execv was given.
 if test "${with_execv+set}" = set; then  if test "${with_execv+set}" = set; then
   withval="$with_execv"    withval="$with_execv"
Line 1800 
Line 1807 
   
   
 echo $ac_n "checking whether to use per-tty ticket files""... $ac_c" 1>&6  echo $ac_n "checking whether to use per-tty ticket files""... $ac_c" 1>&6
 echo "configure:1804: checking whether to use per-tty ticket files" >&5  echo "configure:1811: checking whether to use per-tty ticket files" >&5
 # Check whether --with-tty-tickets or --without-tty-tickets was given.  # Check whether --with-tty-tickets or --without-tty-tickets was given.
 if test "${with_tty_tickets+set}" = set; then  if test "${with_tty_tickets+set}" = set; then
   withval="$with_tty_tickets"    withval="$with_tty_tickets"
Line 1822 
Line 1829 
   
   
 echo $ac_n "checking whether to include insults""... $ac_c" 1>&6  echo $ac_n "checking whether to include insults""... $ac_c" 1>&6
 echo "configure:1826: checking whether to include insults" >&5  echo "configure:1833: checking whether to include insults" >&5
 # Check whether --with-insults or --without-insults was given.  # Check whether --with-insults or --without-insults was given.
 if test "${with_insults+set}" = set; then  if test "${with_insults+set}" = set; then
   withval="$with_insults"    withval="$with_insults"
Line 1927 
Line 1934 
   
 if test "$with_insults" = "yes"; then  if test "$with_insults" = "yes"; then
     echo $ac_n "checking which insult sets to include""... $ac_c" 1>&6      echo $ac_n "checking which insult sets to include""... $ac_c" 1>&6
 echo "configure:1931: checking which insult sets to include" >&5  echo "configure:1938: checking which insult sets to include" >&5
     i=""      i=""
     test "$with_goons_insults" = "yes" && i="goons ${i}"      test "$with_goons_insults" = "yes" && i="goons ${i}"
     test "$with_hal_insults" = "yes" && i="hal ${i}"      test "$with_hal_insults" = "yes" && i="hal ${i}"
Line 1937 
Line 1944 
 fi  fi
   
 echo $ac_n "checking whether to override the user's path""... $ac_c" 1>&6  echo $ac_n "checking whether to override the user's path""... $ac_c" 1>&6
 echo "configure:1941: checking whether to override the user's path" >&5  echo "configure:1948: checking whether to override the user's path" >&5
 # Check whether --with-secure-path or --without-secure-path was given.  # Check whether --with-secure-path or --without-secure-path was given.
 if test "${with_secure_path+set}" = set; then  if test "${with_secure_path+set}" = set; then
   withval="$with_secure_path"    withval="$with_secure_path"
Line 1963 
Line 1970 
   
   
 echo $ac_n "checking whether to get ip addresses from the network interfaces""... $ac_c" 1>&6  echo $ac_n "checking whether to get ip addresses from the network interfaces""... $ac_c" 1>&6
 echo "configure:1967: checking whether to get ip addresses from the network interfaces" >&5  echo "configure:1974: checking whether to get ip addresses from the network interfaces" >&5
 # Check whether --with-interfaces or --without-interfaces was given.  # Check whether --with-interfaces or --without-interfaces was given.
 if test "${with_interfaces+set}" = set; then  if test "${with_interfaces+set}" = set; then
   withval="$with_interfaces"    withval="$with_interfaces"
Line 1986 
Line 1993 
   
   
 echo $ac_n "checking whether to do user authentication by default""... $ac_c" 1>&6  echo $ac_n "checking whether to do user authentication by default""... $ac_c" 1>&6
 echo "configure:1990: checking whether to do user authentication by default" >&5  echo "configure:1997: checking whether to do user authentication by default" >&5
 # Check whether --enable-authentication or --disable-authentication was given.  # Check whether --enable-authentication or --disable-authentication was given.
 if test "${enable_authentication+set}" = set; then  if test "${enable_authentication+set}" = set; then
   enableval="$enable_authentication"    enableval="$enable_authentication"
Line 2010 
Line 2017 
   
   
 echo $ac_n "checking whether to disable shadow password support""... $ac_c" 1>&6  echo $ac_n "checking whether to disable shadow password support""... $ac_c" 1>&6
 echo "configure:2014: checking whether to disable shadow password support" >&5  echo "configure:2021: checking whether to disable shadow password support" >&5
 # Check whether --enable-shadow or --disable-shadow was given.  # Check whether --enable-shadow or --disable-shadow was given.
 if test "${enable_shadow+set}" = set; then  if test "${enable_shadow+set}" = set; then
   enableval="$enable_shadow"    enableval="$enable_shadow"
Line 2031 
Line 2038 
   
   
 echo $ac_n "checking whether root should be allowed to use sudo""... $ac_c" 1>&6  echo $ac_n "checking whether root should be allowed to use sudo""... $ac_c" 1>&6
 echo "configure:2035: checking whether root should be allowed to use sudo" >&5  echo "configure:2042: checking whether root should be allowed to use sudo" >&5
 # Check whether --enable-root-sudo or --disable-root-sudo was given.  # Check whether --enable-root-sudo or --disable-root-sudo was given.
 if test "${enable_root_sudo+set}" = set; then  if test "${enable_root_sudo+set}" = set; then
   enableval="$enable_root_sudo"    enableval="$enable_root_sudo"
Line 2054 
Line 2061 
   
   
 echo $ac_n "checking whether to log the hostname in the log file""... $ac_c" 1>&6  echo $ac_n "checking whether to log the hostname in the log file""... $ac_c" 1>&6
 echo "configure:2058: checking whether to log the hostname in the log file" >&5  echo "configure:2065: checking whether to log the hostname in the log file" >&5
 # Check whether --enable-log-host or --disable-log-host was given.  # Check whether --enable-log-host or --disable-log-host was given.
 if test "${enable_log_host+set}" = set; then  if test "${enable_log_host+set}" = set; then
   enableval="$enable_log_host"    enableval="$enable_log_host"
Line 2078 
Line 2085 
   
   
 echo $ac_n "checking whether to invoke a shell if sudo is given no arguments""... $ac_c" 1>&6  echo $ac_n "checking whether to invoke a shell if sudo is given no arguments""... $ac_c" 1>&6
 echo "configure:2082: checking whether to invoke a shell if sudo is given no arguments" >&5  echo "configure:2089: checking whether to invoke a shell if sudo is given no arguments" >&5
 # Check whether --enable-noargs-shell or --disable-noargs-shell was given.  # Check whether --enable-noargs-shell or --disable-noargs-shell was given.
 if test "${enable_noargs_shell+set}" = set; then  if test "${enable_noargs_shell+set}" = set; then
   enableval="$enable_noargs_shell"    enableval="$enable_noargs_shell"
Line 2102 
Line 2109 
   
   
 echo $ac_n "checking whether to set \$HOME to target user in shell mode""... $ac_c" 1>&6  echo $ac_n "checking whether to set \$HOME to target user in shell mode""... $ac_c" 1>&6
 echo "configure:2106: checking whether to set \$HOME to target user in shell mode" >&5  echo "configure:2113: checking whether to set \$HOME to target user in shell mode" >&5
 # Check whether --enable-shell-sets-home or --disable-shell-sets-home was given.  # Check whether --enable-shell-sets-home or --disable-shell-sets-home was given.
 if test "${enable_shell_sets_home+set}" = set; then  if test "${enable_shell_sets_home+set}" = set; then
   enableval="$enable_shell_sets_home"    enableval="$enable_shell_sets_home"
Line 2126 
Line 2133 
   
   
 echo $ac_n "checking whether to disable 'command not found' messages""... $ac_c" 1>&6  echo $ac_n "checking whether to disable 'command not found' messages""... $ac_c" 1>&6
 echo "configure:2130: checking whether to disable 'command not found' messages" >&5  echo "configure:2137: checking whether to disable 'command not found' messages" >&5
 # Check whether --enable-path_info or --disable-path_info was given.  # Check whether --enable-path_info or --disable-path_info was given.
 if test "${enable_path_info+set}" = set; then  if test "${enable_path_info+set}" = set; then
   enableval="$enable_path_info"    enableval="$enable_path_info"
Line 2152 
Line 2159 
 # Extract the first word of "egrep", so it can be a program name with args.  # Extract the first word of "egrep", so it can be a program name with args.
 set dummy egrep; ac_word=$2  set dummy egrep; ac_word=$2
 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
 echo "configure:2156: checking for $ac_word" >&5  echo "configure:2163: checking for $ac_word" >&5
 if eval "test \"`echo '$''{'ac_cv_prog_EGREPPROG'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_EGREPPROG'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
 else  else
Line 2187 
Line 2194 
 # Extract the first word of "gcc", so it can be a program name with args.  # Extract the first word of "gcc", so it can be a program name with args.
 set dummy gcc; ac_word=$2  set dummy gcc; ac_word=$2
 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
 echo "configure:2191: checking for $ac_word" >&5  echo "configure:2198: checking for $ac_word" >&5
 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
 else  else
Line 2216 
Line 2223 
   # Extract the first word of "cc", so it can be a program name with args.    # Extract the first word of "cc", so it can be a program name with args.
 set dummy cc; ac_word=$2  set dummy cc; ac_word=$2
 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
 echo "configure:2220: checking for $ac_word" >&5  echo "configure:2227: checking for $ac_word" >&5
 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
 else  else
Line 2264 
Line 2271 
 fi  fi
   
 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6  echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
 echo "configure:2268: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5  echo "configure:2275: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
   
 ac_ext=c  ac_ext=c
 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.  # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
Line 2274 
Line 2281 
 cross_compiling=$ac_cv_prog_cc_cross  cross_compiling=$ac_cv_prog_cc_cross
   
 cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
 #line 2278 "configure"  #line 2285 "configure"
 #include "confdefs.h"  #include "confdefs.h"
 main(){return(0);}  main(){return(0);}
 EOF  EOF
 if { (eval echo configure:2282: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then  if { (eval echo configure:2289: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
   ac_cv_prog_cc_works=yes    ac_cv_prog_cc_works=yes
   # If we can't run a trivial program, we are probably using a cross compiler.    # If we can't run a trivial program, we are probably using a cross compiler.
   if (./conftest; exit) 2>/dev/null; then    if (./conftest; exit) 2>/dev/null; then
Line 2298 
Line 2305 
   { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }    { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
 fi  fi
 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6  echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
 echo "configure:2302: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5  echo "configure:2309: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6  echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
 cross_compiling=$ac_cv_prog_cc_cross  cross_compiling=$ac_cv_prog_cc_cross
   
 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6  echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
 echo "configure:2307: checking whether we are using GNU C" >&5  echo "configure:2314: checking whether we are using GNU C" >&5
 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
 else  else
Line 2312 
Line 2319 
   yes;    yes;
 #endif  #endif
 EOF  EOF
 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2316: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then  if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2323: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
   ac_cv_prog_gcc=yes    ac_cv_prog_gcc=yes
 else  else
   ac_cv_prog_gcc=no    ac_cv_prog_gcc=no
Line 2327 
Line 2334 
   ac_save_CFLAGS="$CFLAGS"    ac_save_CFLAGS="$CFLAGS"
   CFLAGS=    CFLAGS=
   echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6    echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
 echo "configure:2331: checking whether ${CC-cc} accepts -g" >&5  echo "configure:2338: checking whether ${CC-cc} accepts -g" >&5
 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
 else  else
Line 2357 
Line 2364 
 ac_cv_prog_cc_cross="no"  ac_cv_prog_cc_cross="no"
 cross_compiling="no"  cross_compiling="no"
 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6  echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
 echo "configure:2361: checking how to run the C preprocessor" >&5  echo "configure:2368: checking how to run the C preprocessor" >&5
 # On Suns, sometimes $CPP names a directory.  # On Suns, sometimes $CPP names a directory.
 if test -n "$CPP" && test -d "$CPP"; then  if test -n "$CPP" && test -d "$CPP"; then
   CPP=    CPP=
Line 2372 
Line 2379 
   # On the NeXT, cc -E runs the code through the compiler's parser,    # On the NeXT, cc -E runs the code through the compiler's parser,
   # not just through cpp.    # not just through cpp.
   cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
 #line 2376 "configure"  #line 2383 "configure"
 #include "confdefs.h"  #include "confdefs.h"
 #include <assert.h>  #include <assert.h>
 Syntax Error  Syntax Error
 EOF  EOF
 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
 { (eval echo configure:2382: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:2389: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
 ac_err=`grep -v '^ *+' conftest.out`  ac_err=`grep -v '^ *+' conftest.out`
 if test -z "$ac_err"; then  if test -z "$ac_err"; then
   :    :
Line 2389 
Line 2396 
   rm -rf conftest*    rm -rf conftest*
   CPP="${CC-cc} -E -traditional-cpp"    CPP="${CC-cc} -E -traditional-cpp"
   cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
 #line 2393 "configure"  #line 2400 "configure"
 #include "confdefs.h"  #include "confdefs.h"
 #include <assert.h>  #include <assert.h>
 Syntax Error  Syntax Error
 EOF  EOF
 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
 { (eval echo configure:2399: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:2406: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
 ac_err=`grep -v '^ *+' conftest.out`  ac_err=`grep -v '^ *+' conftest.out`
 if test -z "$ac_err"; then  if test -z "$ac_err"; then
   :    :
Line 2418 
Line 2425 
 echo "$ac_t""$CPP" 1>&6  echo "$ac_t""$CPP" 1>&6
   
 echo $ac_n "checking for POSIXized ISC""... $ac_c" 1>&6  echo $ac_n "checking for POSIXized ISC""... $ac_c" 1>&6
 echo "configure:2422: checking for POSIXized ISC" >&5  echo "configure:2429: checking for POSIXized ISC" >&5
 if test -d /etc/conf/kconfig.d &&  if test -d /etc/conf/kconfig.d &&
   grep _POSIX_VERSION /usr/include/sys/unistd.h >/dev/null 2>&1    grep _POSIX_VERSION /usr/include/sys/unistd.h >/dev/null 2>&1
 then  then
Line 2446 
Line 2453 
 # Extract the first word of "uname", so it can be a program name with args.  # Extract the first word of "uname", so it can be a program name with args.
 set dummy uname; ac_word=$2  set dummy uname; ac_word=$2
 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
 echo "configure:2450: checking for $ac_word" >&5  echo "configure:2457: checking for $ac_word" >&5
 if eval "test \"`echo '$''{'ac_cv_prog_UNAMEPROG'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_UNAMEPROG'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
 else  else
Line 2474 
Line 2481 
 # Extract the first word of "tr", so it can be a program name with args.  # Extract the first word of "tr", so it can be a program name with args.
 set dummy tr; ac_word=$2  set dummy tr; ac_word=$2
 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
 echo "configure:2478: checking for $ac_word" >&5  echo "configure:2485: checking for $ac_word" >&5
 if eval "test \"`echo '$''{'ac_cv_prog_TRPROG'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_TRPROG'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
 else  else
Line 2502 
Line 2509 
 # Extract the first word of "sed", so it can be a program name with args.  # Extract the first word of "sed", so it can be a program name with args.
 set dummy sed; ac_word=$2  set dummy sed; ac_word=$2
 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
 echo "configure:2506: checking for $ac_word" >&5  echo "configure:2513: checking for $ac_word" >&5
 if eval "test \"`echo '$''{'ac_cv_prog_SEDPROG'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_SEDPROG'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
 else  else
Line 2530 
Line 2537 
 # Extract the first word of "nroff", so it can be a program name with args.  # Extract the first word of "nroff", so it can be a program name with args.
 set dummy nroff; ac_word=$2  set dummy nroff; ac_word=$2
 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
 echo "configure:2534: checking for $ac_word" >&5  echo "configure:2541: checking for $ac_word" >&5
 if eval "test \"`echo '$''{'ac_cv_prog_NROFFPROG'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_NROFFPROG'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
 else  else
Line 2586 
Line 2593 
 fi  fi
   
 echo $ac_n "checking host system type""... $ac_c" 1>&6  echo $ac_n "checking host system type""... $ac_c" 1>&6
 echo "configure:2590: checking host system type" >&5  echo "configure:2597: checking host system type" >&5
   
 host_alias=$host  host_alias=$host
 case "$host_alias" in  case "$host_alias" in
Line 2615 
Line 2622 
         exit 1          exit 1
     else      else
         echo $ac_n "checking previous host type""... $ac_c" 1>&6          echo $ac_n "checking previous host type""... $ac_c" 1>&6
 echo "configure:2619: checking previous host type" >&5  echo "configure:2626: checking previous host type" >&5
         if eval "test \"`echo '$''{'sudo_cv_prev_host'+set}'`\" = set"; then          if eval "test \"`echo '$''{'sudo_cv_prev_host'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
 else  else
Line 2655 
Line 2662 
                 # check for password adjunct functions (shadow passwords)                  # check for password adjunct functions (shadow passwords)
                 if test "$CHECKSHADOW" = "true"; then                  if test "$CHECKSHADOW" = "true"; then
                     echo $ac_n "checking for getpwanam""... $ac_c" 1>&6                      echo $ac_n "checking for getpwanam""... $ac_c" 1>&6
 echo "configure:2659: checking for getpwanam" >&5  echo "configure:2666: checking for getpwanam" >&5
 if eval "test \"`echo '$''{'ac_cv_func_getpwanam'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_getpwanam'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
 else  else
   cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
 #line 2664 "configure"  #line 2671 "configure"
 #include "confdefs.h"  #include "confdefs.h"
 /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
     which can conflict with char getpwanam(); below.  */      which can conflict with char getpwanam(); below.  */
Line 2683 
Line 2690 
   
 ; return 0; }  ; return 0; }
 EOF  EOF
 if { (eval echo configure:2687: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then  if { (eval echo configure:2694: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
   rm -rf conftest*    rm -rf conftest*
   eval "ac_cv_func_getpwanam=yes"    eval "ac_cv_func_getpwanam=yes"
 else  else
Line 2703 
Line 2710 
  for ac_func in issecure   for ac_func in issecure
 do  do
 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
 echo "configure:2707: checking for $ac_func" >&5  echo "configure:2714: checking for $ac_func" >&5
 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
 else  else
   cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
 #line 2712 "configure"  #line 2719 "configure"
 #include "confdefs.h"  #include "confdefs.h"
 /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
     which can conflict with char $ac_func(); below.  */      which can conflict with char $ac_func(); below.  */
Line 2731 
Line 2738 
   
 ; return 0; }  ; return 0; }
 EOF  EOF
 if { (eval echo configure:2735: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then  if { (eval echo configure:2742: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
   rm -rf conftest*    rm -rf conftest*
   eval "ac_cv_func_$ac_func=yes"    eval "ac_cv_func_$ac_func=yes"
 else  else
Line 2784 
Line 2791 
     *-*-hiuxmpp*)      *-*-hiuxmpp*)
                 if test "$CHECKSHADOW" = "true"; then                  if test "$CHECKSHADOW" = "true"; then
                     echo $ac_n "checking for getprpwnam in -lsec""... $ac_c" 1>&6                      echo $ac_n "checking for getprpwnam in -lsec""... $ac_c" 1>&6
 echo "configure:2788: checking for getprpwnam in -lsec" >&5  echo "configure:2795: checking for getprpwnam in -lsec" >&5
 if test -n ""; then  if test -n ""; then
   ac_lib_var=`echo sec'_'getprpwnam | sed 'y% ./+-%___p_%'`    ac_lib_var=`echo sec'_'getprpwnam | sed 'y% ./+-%___p_%'`
 else  else
Line 2796 
Line 2803 
   ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
 LIBS="-lsec  $LIBS"  LIBS="-lsec  $LIBS"
 cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
 #line 2800 "configure"  #line 2807 "configure"
 #include "confdefs.h"  #include "confdefs.h"
 /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
 /* We use char because int might match the return type of a gcc2  /* We use char because int might match the return type of a gcc2
Line 2807 
Line 2814 
 getprpwnam()  getprpwnam()
 ; return 0; }  ; return 0; }
 EOF  EOF
 if { (eval echo configure:2811: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then  if { (eval echo configure:2818: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
   rm -rf conftest*    rm -rf conftest*
   eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
 else  else
Line 2829 
Line 2836 
 else  else
   echo "$ac_t""no" 1>&6    echo "$ac_t""no" 1>&6
 echo $ac_n "checking for getprpwnam in -lsecurity""... $ac_c" 1>&6  echo $ac_n "checking for getprpwnam in -lsecurity""... $ac_c" 1>&6
 echo "configure:2833: checking for getprpwnam in -lsecurity" >&5  echo "configure:2840: checking for getprpwnam in -lsecurity" >&5
 if test -n ""; then  if test -n ""; then
   ac_lib_var=`echo security'_'getprpwnam | sed 'y% ./+-%___p_%'`    ac_lib_var=`echo security'_'getprpwnam | sed 'y% ./+-%___p_%'`
 else  else
Line 2841 
Line 2848 
   ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
 LIBS="-lsecurity  $LIBS"  LIBS="-lsecurity  $LIBS"
 cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
 #line 2845 "configure"  #line 2852 "configure"
 #include "confdefs.h"  #include "confdefs.h"
 /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
 /* We use char because int might match the return type of a gcc2  /* We use char because int might match the return type of a gcc2
Line 2852 
Line 2859 
 getprpwnam()  getprpwnam()
 ; return 0; }  ; return 0; }
 EOF  EOF
 if { (eval echo configure:2856: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then  if { (eval echo configure:2863: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
   rm -rf conftest*    rm -rf conftest*
   eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
 else  else
Line 2901 
Line 2908 
   
                 if test "$CHECKSHADOW" = "true"; then                  if test "$CHECKSHADOW" = "true"; then
                     echo $ac_n "checking for getprpwnam in -lsec""... $ac_c" 1>&6                      echo $ac_n "checking for getprpwnam in -lsec""... $ac_c" 1>&6
 echo "configure:2905: checking for getprpwnam in -lsec" >&5  echo "configure:2912: checking for getprpwnam in -lsec" >&5
 if test -n ""; then  if test -n ""; then
   ac_lib_var=`echo sec'_'getprpwnam | sed 'y% ./+-%___p_%'`    ac_lib_var=`echo sec'_'getprpwnam | sed 'y% ./+-%___p_%'`
 else  else
Line 2913 
Line 2920 
   ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
 LIBS="-lsec  $LIBS"  LIBS="-lsec  $LIBS"
 cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
 #line 2917 "configure"  #line 2924 "configure"
 #include "confdefs.h"  #include "confdefs.h"
 /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
 /* We use char because int might match the return type of a gcc2  /* We use char because int might match the return type of a gcc2
Line 2924 
Line 2931 
 getprpwnam()  getprpwnam()
 ; return 0; }  ; return 0; }
 EOF  EOF
 if { (eval echo configure:2928: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then  if { (eval echo configure:2935: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
   rm -rf conftest*    rm -rf conftest*
   eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
 else  else
Line 2943 
Line 2950 
 #define HAVE_GETPRPWNAM 1  #define HAVE_GETPRPWNAM 1
 EOF  EOF
  echo $ac_n "checking for iscomsec in -lsec""... $ac_c" 1>&6   echo $ac_n "checking for iscomsec in -lsec""... $ac_c" 1>&6
 echo "configure:2947: checking for iscomsec in -lsec" >&5  echo "configure:2954: checking for iscomsec in -lsec" >&5
 if test -n ""; then  if test -n ""; then
   ac_lib_var=`echo sec'_'iscomsec | sed 'y% ./+-%___p_%'`    ac_lib_var=`echo sec'_'iscomsec | sed 'y% ./+-%___p_%'`
 else  else
Line 2955 
Line 2962 
   ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
 LIBS="-lsec  $LIBS"  LIBS="-lsec  $LIBS"
 cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
 #line 2959 "configure"  #line 2966 "configure"
 #include "confdefs.h"  #include "confdefs.h"
 /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
 /* We use char because int might match the return type of a gcc2  /* We use char because int might match the return type of a gcc2
Line 2966 
Line 2973 
 iscomsec()  iscomsec()
 ; return 0; }  ; return 0; }
 EOF  EOF
 if { (eval echo configure:2970: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then  if { (eval echo configure:2977: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
   rm -rf conftest*    rm -rf conftest*
   eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
 else  else
Line 3037 
Line 3044 
                     for ac_func in getspwuid                      for ac_func in getspwuid
 do  do
 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
 echo "configure:3041: checking for $ac_func" >&5  echo "configure:3048: checking for $ac_func" >&5
 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
 else  else
   cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
 #line 3046 "configure"  #line 3053 "configure"
 #include "confdefs.h"  #include "confdefs.h"
 /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
     which can conflict with char $ac_func(); below.  */      which can conflict with char $ac_func(); below.  */
Line 3065 
Line 3072 
   
 ; return 0; }  ; return 0; }
 EOF  EOF
 if { (eval echo configure:3069: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then  if { (eval echo configure:3076: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
   rm -rf conftest*    rm -rf conftest*
   eval "ac_cv_func_$ac_func=yes"    eval "ac_cv_func_$ac_func=yes"
 else  else
Line 3141 
Line 3148 
                 SUDO_LDFLAGS="${SUDO_LDFLAGS} -Wl,-no_library_replacement"                  SUDO_LDFLAGS="${SUDO_LDFLAGS} -Wl,-no_library_replacement"
   
                 echo $ac_n "checking whether to disable sia support on Digital UNIX""... $ac_c" 1>&6                  echo $ac_n "checking whether to disable sia support on Digital UNIX""... $ac_c" 1>&6
 echo "configure:3145: checking whether to disable sia support on Digital UNIX" >&5  echo "configure:3152: checking whether to disable sia support on Digital UNIX" >&5
                 # Check whether --enable-sia or --disable-sia was given.                  # Check whether --enable-sia or --disable-sia was given.
 if test "${enable_sia+set}" = set; then  if test "${enable_sia+set}" = set; then
   enableval="$enable_sia"    enableval="$enable_sia"
Line 3165 
Line 3172 
                 # unless overridden on the command line                  # unless overridden on the command line
                 if test "$CHECKSIA" = "true"; then                  if test "$CHECKSIA" = "true"; then
                     echo $ac_n "checking for sia_ses_init""... $ac_c" 1>&6                      echo $ac_n "checking for sia_ses_init""... $ac_c" 1>&6
 echo "configure:3169: checking for sia_ses_init" >&5  echo "configure:3176: checking for sia_ses_init" >&5
 if eval "test \"`echo '$''{'ac_cv_func_sia_ses_init'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_sia_ses_init'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
 else  else
   cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
 #line 3174 "configure"  #line 3181 "configure"
 #include "confdefs.h"  #include "confdefs.h"
 /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
     which can conflict with char sia_ses_init(); below.  */      which can conflict with char sia_ses_init(); below.  */
Line 3193 
Line 3200 
   
 ; return 0; }  ; return 0; }
 EOF  EOF
 if { (eval echo configure:3197: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then  if { (eval echo configure:3204: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
   rm -rf conftest*    rm -rf conftest*
   eval "ac_cv_func_sia_ses_init=yes"    eval "ac_cv_func_sia_ses_init=yes"
 else  else
Line 3221 
Line 3228 
                 fi                  fi
                 if test "$CHECKSHADOW" = "true"; then                  if test "$CHECKSHADOW" = "true"; then
                     echo $ac_n "checking for getprpwnam in -lsecurity""... $ac_c" 1>&6                      echo $ac_n "checking for getprpwnam in -lsecurity""... $ac_c" 1>&6
 echo "configure:3225: checking for getprpwnam in -lsecurity" >&5  echo "configure:3232: checking for getprpwnam in -lsecurity" >&5
 if test -n ""; then  if test -n ""; then
   ac_lib_var=`echo security'_'getprpwnam | sed 'y% ./+-%___p_%'`    ac_lib_var=`echo security'_'getprpwnam | sed 'y% ./+-%___p_%'`
 else  else
Line 3233 
Line 3240 
   ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
 LIBS="-lsecurity  $LIBS"  LIBS="-lsecurity  $LIBS"
 cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
 #line 3237 "configure"  #line 3244 "configure"
 #include "confdefs.h"  #include "confdefs.h"
 /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
 /* We use char because int might match the return type of a gcc2  /* We use char because int might match the return type of a gcc2
Line 3244 
Line 3251 
 getprpwnam()  getprpwnam()
 ; return 0; }  ; return 0; }
 EOF  EOF
 if { (eval echo configure:3248: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then  if { (eval echo configure:3255: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
   rm -rf conftest*    rm -rf conftest*
   eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
 else  else
Line 3274 
Line 3281 
   
                     # -ldb includes bogus versions of snprintf/vsnprintf                      # -ldb includes bogus versions of snprintf/vsnprintf
                     echo $ac_n "checking for snprintf""... $ac_c" 1>&6                      echo $ac_n "checking for snprintf""... $ac_c" 1>&6
 echo "configure:3278: checking for snprintf" >&5  echo "configure:3285: checking for snprintf" >&5
 if eval "test \"`echo '$''{'ac_cv_func_snprintf'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_snprintf'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
 else  else
   cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
 #line 3283 "configure"  #line 3290 "configure"
 #include "confdefs.h"  #include "confdefs.h"
 /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
     which can conflict with char snprintf(); below.  */      which can conflict with char snprintf(); below.  */
Line 3302 
Line 3309 
   
 ; return 0; }  ; return 0; }
 EOF  EOF
 if { (eval echo configure:3306: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then  if { (eval echo configure:3313: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
   rm -rf conftest*    rm -rf conftest*
   eval "ac_cv_func_snprintf=yes"    eval "ac_cv_func_snprintf=yes"
 else  else
Line 3326 
Line 3333 
 fi  fi
   
                     echo $ac_n "checking for vsnprintf""... $ac_c" 1>&6                      echo $ac_n "checking for vsnprintf""... $ac_c" 1>&6
 echo "configure:3330: checking for vsnprintf" >&5  echo "configure:3337: checking for vsnprintf" >&5
 if eval "test \"`echo '$''{'ac_cv_func_vsnprintf'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_vsnprintf'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
 else  else
   cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
 #line 3335 "configure"  #line 3342 "configure"
 #include "confdefs.h"  #include "confdefs.h"
 /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
     which can conflict with char vsnprintf(); below.  */      which can conflict with char vsnprintf(); below.  */
Line 3354 
Line 3361 
   
 ; return 0; }  ; return 0; }
 EOF  EOF
 if { (eval echo configure:3358: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then  if { (eval echo configure:3365: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
   rm -rf conftest*    rm -rf conftest*
   eval "ac_cv_func_vsnprintf=yes"    eval "ac_cv_func_vsnprintf=yes"
 else  else
Line 3379 
Line 3386 
   
                     # 4.x and higher need -ldb too...                      # 4.x and higher need -ldb too...
                     echo $ac_n "checking for dbopen in -ldb""... $ac_c" 1>&6                      echo $ac_n "checking for dbopen in -ldb""... $ac_c" 1>&6
 echo "configure:3383: checking for dbopen in -ldb" >&5  echo "configure:3390: checking for dbopen in -ldb" >&5
 if test -n ""; then  if test -n ""; then
   ac_lib_var=`echo db'_'dbopen | sed 'y% ./+-%___p_%'`    ac_lib_var=`echo db'_'dbopen | sed 'y% ./+-%___p_%'`
 else  else
Line 3391 
Line 3398 
   ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
 LIBS="-ldb  $LIBS"  LIBS="-ldb  $LIBS"
 cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
 #line 3395 "configure"  #line 3402 "configure"
 #include "confdefs.h"  #include "confdefs.h"
 /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
 /* We use char because int might match the return type of a gcc2  /* We use char because int might match the return type of a gcc2
Line 3402 
Line 3409 
 dbopen()  dbopen()
 ; return 0; }  ; return 0; }
 EOF  EOF
 if { (eval echo configure:3406: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then  if { (eval echo configure:3413: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
   rm -rf conftest*    rm -rf conftest*
   eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
 else  else
Line 3426 
Line 3433 
                     for ac_func in dispcrypt                      for ac_func in dispcrypt
 do  do
 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
 echo "configure:3430: checking for $ac_func" >&5  echo "configure:3437: checking for $ac_func" >&5
 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
 else  else
   cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
 #line 3435 "configure"  #line 3442 "configure"
 #include "confdefs.h"  #include "confdefs.h"
 /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
     which can conflict with char $ac_func(); below.  */      which can conflict with char $ac_func(); below.  */
Line 3454 
Line 3461 
   
 ; return 0; }  ; return 0; }
 EOF  EOF
 if { (eval echo configure:3458: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then  if { (eval echo configure:3465: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
   rm -rf conftest*    rm -rf conftest*
   eval "ac_cv_func_$ac_func=yes"    eval "ac_cv_func_$ac_func=yes"
 else  else
Line 3479 
Line 3486 
 done  done
   
                     echo $ac_n "checking for broken /usr/include/prot.h""... $ac_c" 1>&6                      echo $ac_n "checking for broken /usr/include/prot.h""... $ac_c" 1>&6
 echo "configure:3483: checking for broken /usr/include/prot.h" >&5  echo "configure:3490: checking for broken /usr/include/prot.h" >&5
                     cat > conftest.$ac_ext <<EOF                      cat > conftest.$ac_ext <<EOF
 #line 3485 "configure"  #line 3492 "configure"
 #include "confdefs.h"  #include "confdefs.h"
   
 #include <sys/types.h>  #include <sys/types.h>
Line 3492 
Line 3499 
 exit(0);  exit(0);
 ; return 0; }  ; return 0; }
 EOF  EOF
 if { (eval echo configure:3496: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:3503: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
   rm -rf conftest*    rm -rf conftest*
   echo "$ac_t""no" 1>&6    echo "$ac_t""no" 1>&6
 else  else
Line 3540 
Line 3547 
                 # IRIX <= 4 needs -lsun                  # IRIX <= 4 needs -lsun
                 if test "$OSREV" -le 4; then                  if test "$OSREV" -le 4; then
                     echo $ac_n "checking for getpwnam in -lsun""... $ac_c" 1>&6                      echo $ac_n "checking for getpwnam in -lsun""... $ac_c" 1>&6
 echo "configure:3544: checking for getpwnam in -lsun" >&5  echo "configure:3551: checking for getpwnam in -lsun" >&5
 if test -n ""; then  if test -n ""; then
   ac_lib_var=`echo sun'_'getpwnam | sed 'y% ./+-%___p_%'`    ac_lib_var=`echo sun'_'getpwnam | sed 'y% ./+-%___p_%'`
 else  else
Line 3552 
Line 3559 
   ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
 LIBS="-lsun  $LIBS"  LIBS="-lsun  $LIBS"
 cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
 #line 3556 "configure"  #line 3563 "configure"
 #include "confdefs.h"  #include "confdefs.h"
 /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
 /* We use char because int might match the return type of a gcc2  /* We use char because int might match the return type of a gcc2
Line 3563 
Line 3570 
 getpwnam()  getpwnam()
 ; return 0; }  ; return 0; }
 EOF  EOF
 if { (eval echo configure:3567: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then  if { (eval echo configure:3574: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
   rm -rf conftest*    rm -rf conftest*
   eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
 else  else
Line 3597 
Line 3604 
                 # Some Linux versions need to link with -lshadow                  # Some Linux versions need to link with -lshadow
                 if test "$CHECKSHADOW" = "true"; then                  if test "$CHECKSHADOW" = "true"; then
                     echo $ac_n "checking for getspnam""... $ac_c" 1>&6                      echo $ac_n "checking for getspnam""... $ac_c" 1>&6
 echo "configure:3601: checking for getspnam" >&5  echo "configure:3608: checking for getspnam" >&5
 if eval "test \"`echo '$''{'ac_cv_func_getspnam'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_getspnam'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
 else  else
   cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
 #line 3606 "configure"  #line 3613 "configure"
 #include "confdefs.h"  #include "confdefs.h"
 /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
     which can conflict with char getspnam(); below.  */      which can conflict with char getspnam(); below.  */
Line 3625 
Line 3632 
   
 ; return 0; }  ; return 0; }
 EOF  EOF
 if { (eval echo configure:3629: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then  if { (eval echo configure:3636: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
   rm -rf conftest*    rm -rf conftest*
   eval "ac_cv_func_getspnam=yes"    eval "ac_cv_func_getspnam=yes"
 else  else
Line 3646 
Line 3653 
 else  else
   echo "$ac_t""no" 1>&6    echo "$ac_t""no" 1>&6
 echo $ac_n "checking for getspnam in -lshadow""... $ac_c" 1>&6  echo $ac_n "checking for getspnam in -lshadow""... $ac_c" 1>&6
 echo "configure:3650: checking for getspnam in -lshadow" >&5  echo "configure:3657: checking for getspnam in -lshadow" >&5
 if test -n ""; then  if test -n ""; then
   ac_lib_var=`echo shadow'_'getspnam | sed 'y% ./+-%___p_%'`    ac_lib_var=`echo shadow'_'getspnam | sed 'y% ./+-%___p_%'`
 else  else
Line 3658 
Line 3665 
   ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
 LIBS="-lshadow  $LIBS"  LIBS="-lshadow  $LIBS"
 cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
 #line 3662 "configure"  #line 3669 "configure"
 #include "confdefs.h"  #include "confdefs.h"
 /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
 /* We use char because int might match the return type of a gcc2  /* We use char because int might match the return type of a gcc2
Line 3669 
Line 3676 
 getspnam()  getspnam()
 ; return 0; }  ; return 0; }
 EOF  EOF
 if { (eval echo configure:3673: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then  if { (eval echo configure:3680: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
   rm -rf conftest*    rm -rf conftest*
   eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
 else  else
Line 3708 
Line 3715 
   
                 if test "$CHECKSHADOW" = "true"; then                  if test "$CHECKSHADOW" = "true"; then
                     echo $ac_n "checking for getprpwnam in -lsec""... $ac_c" 1>&6                      echo $ac_n "checking for getprpwnam in -lsec""... $ac_c" 1>&6
 echo "configure:3712: checking for getprpwnam in -lsec" >&5  echo "configure:3719: checking for getprpwnam in -lsec" >&5
 if test -n ""; then  if test -n ""; then
   ac_lib_var=`echo sec'_'getprpwnam | sed 'y% ./+-%___p_%'`    ac_lib_var=`echo sec'_'getprpwnam | sed 'y% ./+-%___p_%'`
 else  else
Line 3720 
Line 3727 
   ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
 LIBS="-lsec  $LIBS"  LIBS="-lsec  $LIBS"
 cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
 #line 3724 "configure"  #line 3731 "configure"
 #include "confdefs.h"  #include "confdefs.h"
 /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
 /* We use char because int might match the return type of a gcc2  /* We use char because int might match the return type of a gcc2
Line 3731 
Line 3738 
 getprpwnam()  getprpwnam()
 ; return 0; }  ; return 0; }
 EOF  EOF
 if { (eval echo configure:3735: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then  if { (eval echo configure:3742: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
   rm -rf conftest*    rm -rf conftest*
   eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
 else  else
Line 3761 
Line 3768 
                 OS="ultrix"                  OS="ultrix"
                 if test "$CHECKSHADOW" = "true"; then                  if test "$CHECKSHADOW" = "true"; then
                     echo $ac_n "checking for getauthuid in -lauth""... $ac_c" 1>&6                      echo $ac_n "checking for getauthuid in -lauth""... $ac_c" 1>&6
 echo "configure:3765: checking for getauthuid in -lauth" >&5  echo "configure:3772: checking for getauthuid in -lauth" >&5
 if test -n ""; then  if test -n ""; then
   ac_lib_var=`echo auth'_'getauthuid | sed 'y% ./+-%___p_%'`    ac_lib_var=`echo auth'_'getauthuid | sed 'y% ./+-%___p_%'`
 else  else
Line 3773 
Line 3780 
   ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
 LIBS="-lauth  $LIBS"  LIBS="-lauth  $LIBS"
 cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
 #line 3777 "configure"  #line 3784 "configure"
 #include "confdefs.h"  #include "confdefs.h"
 /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
 /* We use char because int might match the return type of a gcc2  /* We use char because int might match the return type of a gcc2
Line 3784 
Line 3791 
 getauthuid()  getauthuid()
 ; return 0; }  ; return 0; }
 EOF  EOF
 if { (eval echo configure:3788: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then  if { (eval echo configure:3795: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
   rm -rf conftest*    rm -rf conftest*
   eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
 else  else
Line 3825 
Line 3832 
   
                 if test "$CHECKSHADOW" = "true"; then                  if test "$CHECKSHADOW" = "true"; then
                     echo $ac_n "checking for getspnam in -lsec""... $ac_c" 1>&6                      echo $ac_n "checking for getspnam in -lsec""... $ac_c" 1>&6
 echo "configure:3829: checking for getspnam in -lsec" >&5  echo "configure:3836: checking for getspnam in -lsec" >&5
 if test -n ""; then  if test -n ""; then
   ac_lib_var=`echo sec'_'getspnam | sed 'y% ./+-%___p_%'`    ac_lib_var=`echo sec'_'getspnam | sed 'y% ./+-%___p_%'`
 else  else
Line 3837 
Line 3844 
   ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
 LIBS="-lsec  $LIBS"  LIBS="-lsec  $LIBS"
 cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
 #line 3841 "configure"  #line 3848 "configure"
 #include "confdefs.h"  #include "confdefs.h"
 /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
 /* We use char because int might match the return type of a gcc2  /* We use char because int might match the return type of a gcc2
Line 3848 
Line 3855 
 getspnam()  getspnam()
 ; return 0; }  ; return 0; }
 EOF  EOF
 if { (eval echo configure:3852: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then  if { (eval echo configure:3859: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
   rm -rf conftest*    rm -rf conftest*
   eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
 else  else
Line 3879 
Line 3886 
     *-*-sco*)      *-*-sco*)
                 if test "$CHECKSHADOW" = "true"; then                  if test "$CHECKSHADOW" = "true"; then
                     echo $ac_n "checking for getprpwnam in -lprot""... $ac_c" 1>&6                      echo $ac_n "checking for getprpwnam in -lprot""... $ac_c" 1>&6
 echo "configure:3883: checking for getprpwnam in -lprot" >&5  echo "configure:3890: checking for getprpwnam in -lprot" >&5
 if test -n "-lx"; then  if test -n "-lx"; then
   ac_lib_var=`echo prot'_'getprpwnam-lx | sed 'y% ./+-%___p_%'`    ac_lib_var=`echo prot'_'getprpwnam-lx | sed 'y% ./+-%___p_%'`
 else  else
Line 3891 
Line 3898 
   ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
 LIBS="-lprot -lx $LIBS"  LIBS="-lprot -lx $LIBS"
 cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
 #line 3895 "configure"  #line 3902 "configure"
 #include "confdefs.h"  #include "confdefs.h"
 /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
 /* We use char because int might match the return type of a gcc2  /* We use char because int might match the return type of a gcc2
Line 3902 
Line 3909 
 getprpwnam()  getprpwnam()
 ; return 0; }  ; return 0; }
 EOF  EOF
 if { (eval echo configure:3906: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then  if { (eval echo configure:3913: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
   rm -rf conftest*    rm -rf conftest*
   eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
 else  else
Line 3926 
Line 3933 
 fi  fi
   
                     echo $ac_n "checking for getspnam in -lgen""... $ac_c" 1>&6                      echo $ac_n "checking for getspnam in -lgen""... $ac_c" 1>&6
 echo "configure:3930: checking for getspnam in -lgen" >&5  echo "configure:3937: checking for getspnam in -lgen" >&5
 if test -n ""; then  if test -n ""; then
   ac_lib_var=`echo gen'_'getspnam | sed 'y% ./+-%___p_%'`    ac_lib_var=`echo gen'_'getspnam | sed 'y% ./+-%___p_%'`
 else  else
Line 3938 
Line 3945 
   ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
 LIBS="-lgen  $LIBS"  LIBS="-lgen  $LIBS"
 cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
 #line 3942 "configure"  #line 3949 "configure"
 #include "confdefs.h"  #include "confdefs.h"
 /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
 /* We use char because int might match the return type of a gcc2  /* We use char because int might match the return type of a gcc2
Line 3949 
Line 3956 
 getspnam()  getspnam()
 ; return 0; }  ; return 0; }
 EOF  EOF
 if { (eval echo configure:3953: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then  if { (eval echo configure:3960: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
   rm -rf conftest*    rm -rf conftest*
   eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
 else  else
Line 3980 
Line 3987 
     *-sequent-sysv*)      *-sequent-sysv*)
                 if test "$CHECKSHADOW" = "true"; then                  if test "$CHECKSHADOW" = "true"; then
                     echo $ac_n "checking for getspnam in -lsec""... $ac_c" 1>&6                      echo $ac_n "checking for getspnam in -lsec""... $ac_c" 1>&6
 echo "configure:3984: checking for getspnam in -lsec" >&5  echo "configure:3991: checking for getspnam in -lsec" >&5
 if test -n ""; then  if test -n ""; then
   ac_lib_var=`echo sec'_'getspnam | sed 'y% ./+-%___p_%'`    ac_lib_var=`echo sec'_'getspnam | sed 'y% ./+-%___p_%'`
 else  else
Line 3992 
Line 3999 
   ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
 LIBS="-lsec  $LIBS"  LIBS="-lsec  $LIBS"
 cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
 #line 3996 "configure"  #line 4003 "configure"
 #include "confdefs.h"  #include "confdefs.h"
 /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
 /* We use char because int might match the return type of a gcc2  /* We use char because int might match the return type of a gcc2
Line 4003 
Line 4010 
 getspnam()  getspnam()
 ; return 0; }  ; return 0; }
 EOF  EOF
 if { (eval echo configure:4007: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then  if { (eval echo configure:4014: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
   rm -rf conftest*    rm -rf conftest*
   eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
 else  else
Line 4049 
Line 4056 
                 fi                  fi
                 ;;                  ;;
     *-*-freebsd*)      *-*-freebsd*)
                   if test "$with_logincap" = "yes"; then
                       SUDO_LIBS="${SUDO_LIBS} -lutil"
                   fi
                 if test "$with_skey" = "yes"; then                  if test "$with_skey" = "yes"; then
                      SUDO_LIBS="${SUDO_LIBS} -lmd"                       SUDO_LIBS="${SUDO_LIBS} -lmd"
                 fi                  fi
Line 4072 
Line 4082 
   
 if test "$CHECKSHADOW" = "true"; then  if test "$CHECKSHADOW" = "true"; then
     echo $ac_n "checking for getspnam""... $ac_c" 1>&6      echo $ac_n "checking for getspnam""... $ac_c" 1>&6
 echo "configure:4076: checking for getspnam" >&5  echo "configure:4086: checking for getspnam" >&5
 if eval "test \"`echo '$''{'ac_cv_func_getspnam'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_getspnam'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
 else  else
   cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
 #line 4081 "configure"  #line 4091 "configure"
 #include "confdefs.h"  #include "confdefs.h"
 /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
     which can conflict with char getspnam(); below.  */      which can conflict with char getspnam(); below.  */
Line 4100 
Line 4110 
   
 ; return 0; }  ; return 0; }
 EOF  EOF
 if { (eval echo configure:4104: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then  if { (eval echo configure:4114: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
   rm -rf conftest*    rm -rf conftest*
   eval "ac_cv_func_getspnam=yes"    eval "ac_cv_func_getspnam=yes"
 else  else
Line 4125 
Line 4135 
 fi  fi
 if test "$CHECKSHADOW" = "true"; then  if test "$CHECKSHADOW" = "true"; then
     echo $ac_n "checking for getprpwnam""... $ac_c" 1>&6      echo $ac_n "checking for getprpwnam""... $ac_c" 1>&6
 echo "configure:4129: checking for getprpwnam" >&5  echo "configure:4139: checking for getprpwnam" >&5
 if eval "test \"`echo '$''{'ac_cv_func_getprpwnam'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_getprpwnam'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
 else  else
   cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
 #line 4134 "configure"  #line 4144 "configure"
 #include "confdefs.h"  #include "confdefs.h"
 /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
     which can conflict with char getprpwnam(); below.  */      which can conflict with char getprpwnam(); below.  */
Line 4153 
Line 4163 
   
 ; return 0; }  ; return 0; }
 EOF  EOF
 if { (eval echo configure:4157: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then  if { (eval echo configure:4167: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
   rm -rf conftest*    rm -rf conftest*
   eval "ac_cv_func_getprpwnam=yes"    eval "ac_cv_func_getprpwnam=yes"
 else  else
Line 4174 
Line 4184 
 else  else
   echo "$ac_t""no" 1>&6    echo "$ac_t""no" 1>&6
 echo $ac_n "checking for getprpwnam in -lsec""... $ac_c" 1>&6  echo $ac_n "checking for getprpwnam in -lsec""... $ac_c" 1>&6
 echo "configure:4178: checking for getprpwnam in -lsec" >&5  echo "configure:4188: checking for getprpwnam in -lsec" >&5
 if test -n ""; then  if test -n ""; then
   ac_lib_var=`echo sec'_'getprpwnam | sed 'y% ./+-%___p_%'`    ac_lib_var=`echo sec'_'getprpwnam | sed 'y% ./+-%___p_%'`
 else  else
Line 4186 
Line 4196 
   ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
 LIBS="-lsec  $LIBS"  LIBS="-lsec  $LIBS"
 cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
 #line 4190 "configure"  #line 4200 "configure"
 #include "confdefs.h"  #include "confdefs.h"
 /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
 /* We use char because int might match the return type of a gcc2  /* We use char because int might match the return type of a gcc2
Line 4197 
Line 4207 
 getprpwnam()  getprpwnam()
 ; return 0; }  ; return 0; }
 EOF  EOF
 if { (eval echo configure:4201: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then  if { (eval echo configure:4211: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
   rm -rf conftest*    rm -rf conftest*
   eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
 else  else
Line 4219 
Line 4229 
 else  else
   echo "$ac_t""no" 1>&6    echo "$ac_t""no" 1>&6
 echo $ac_n "checking for getprpwnam in -lsecurity""... $ac_c" 1>&6  echo $ac_n "checking for getprpwnam in -lsecurity""... $ac_c" 1>&6
 echo "configure:4223: checking for getprpwnam in -lsecurity" >&5  echo "configure:4233: checking for getprpwnam in -lsecurity" >&5
 if test -n ""; then  if test -n ""; then
   ac_lib_var=`echo security'_'getprpwnam | sed 'y% ./+-%___p_%'`    ac_lib_var=`echo security'_'getprpwnam | sed 'y% ./+-%___p_%'`
 else  else
Line 4231 
Line 4241 
   ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
 LIBS="-lsecurity  $LIBS"  LIBS="-lsecurity  $LIBS"
 cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
 #line 4235 "configure"  #line 4245 "configure"
 #include "confdefs.h"  #include "confdefs.h"
 /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
 /* We use char because int might match the return type of a gcc2  /* We use char because int might match the return type of a gcc2
Line 4242 
Line 4252 
 getprpwnam()  getprpwnam()
 ; return 0; }  ; return 0; }
 EOF  EOF
 if { (eval echo configure:4246: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then  if { (eval echo configure:4256: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
   rm -rf conftest*    rm -rf conftest*
   eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
 else  else
Line 4264 
Line 4274 
 else  else
   echo "$ac_t""no" 1>&6    echo "$ac_t""no" 1>&6
 echo $ac_n "checking for getprpwnam in -lprot""... $ac_c" 1>&6  echo $ac_n "checking for getprpwnam in -lprot""... $ac_c" 1>&6
 echo "configure:4268: checking for getprpwnam in -lprot" >&5  echo "configure:4278: checking for getprpwnam in -lprot" >&5
 if test -n ""; then  if test -n ""; then
   ac_lib_var=`echo prot'_'getprpwnam | sed 'y% ./+-%___p_%'`    ac_lib_var=`echo prot'_'getprpwnam | sed 'y% ./+-%___p_%'`
 else  else
Line 4276 
Line 4286 
   ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
 LIBS="-lprot  $LIBS"  LIBS="-lprot  $LIBS"
 cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
 #line 4280 "configure"  #line 4290 "configure"
 #include "confdefs.h"  #include "confdefs.h"
 /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
 /* We use char because int might match the return type of a gcc2  /* We use char because int might match the return type of a gcc2
Line 4287 
Line 4297 
 getprpwnam()  getprpwnam()
 ; return 0; }  ; return 0; }
 EOF  EOF
 if { (eval echo configure:4291: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then  if { (eval echo configure:4301: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
   rm -rf conftest*    rm -rf conftest*
   eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
 else  else
Line 4320 
Line 4330 
   
 if test $ac_cv_prog_gcc = yes; then  if test $ac_cv_prog_gcc = yes; then
     echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6      echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
 echo "configure:4324: checking whether ${CC-cc} needs -traditional" >&5  echo "configure:4334: checking whether ${CC-cc} needs -traditional" >&5
 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
 else  else
     ac_pattern="Autoconf.*'x'"      ac_pattern="Autoconf.*'x'"
   cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
 #line 4330 "configure"  #line 4340 "configure"
 #include "confdefs.h"  #include "confdefs.h"
 #include <sgtty.h>  #include <sgtty.h>
 Autoconf TIOCGETP  Autoconf TIOCGETP
Line 4344 
Line 4354 
   
   if test $ac_cv_prog_gcc_traditional = no; then    if test $ac_cv_prog_gcc_traditional = no; then
     cat > conftest.$ac_ext <<EOF      cat > conftest.$ac_ext <<EOF
 #line 4348 "configure"  #line 4358 "configure"
 #include "confdefs.h"  #include "confdefs.h"
 #include <termio.h>  #include <termio.h>
 Autoconf TCGETA  Autoconf TCGETA
Line 4366 
Line 4376 
 fi  fi
   
 echo $ac_n "checking for working const""... $ac_c" 1>&6  echo $ac_n "checking for working const""... $ac_c" 1>&6
 echo "configure:4370: checking for working const" >&5  echo "configure:4380: checking for working const" >&5
 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
 else  else
   cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
 #line 4375 "configure"  #line 4385 "configure"
 #include "confdefs.h"  #include "confdefs.h"
   
 int main() {  int main() {
Line 4420 
Line 4430 
   
 ; return 0; }  ; return 0; }
 EOF  EOF
 if { (eval echo configure:4424: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:4434: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
   rm -rf conftest*    rm -rf conftest*
   ac_cv_c_const=yes    ac_cv_c_const=yes
 else  else
Line 4445 
Line 4455 
 # Extract the first word of "$ac_prog", so it can be a program name with args.  # Extract the first word of "$ac_prog", so it can be a program name with args.
 set dummy $ac_prog; ac_word=$2  set dummy $ac_prog; ac_word=$2
 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
 echo "configure:4449: checking for $ac_word" >&5  echo "configure:4459: checking for $ac_word" >&5
 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
 else  else
Line 4476 
Line 4486 
   
 if test -z "$with_sendmail"; then  if test -z "$with_sendmail"; then
     echo $ac_n "checking for sendmail""... $ac_c" 1>&6      echo $ac_n "checking for sendmail""... $ac_c" 1>&6
 echo "configure:4480: checking for sendmail" >&5  echo "configure:4490: checking for sendmail" >&5
 if test -f "/usr/sbin/sendmail"; then  if test -f "/usr/sbin/sendmail"; then
     echo "$ac_t""/usr/sbin/sendmail" 1>&6      echo "$ac_t""/usr/sbin/sendmail" 1>&6
     cat >> confdefs.h <<\EOF      cat >> confdefs.h <<\EOF
Line 4519 
Line 4529 
   
 fi  fi
 echo $ac_n "checking for mv""... $ac_c" 1>&6  echo $ac_n "checking for mv""... $ac_c" 1>&6
 echo "configure:4523: checking for mv" >&5  echo "configure:4533: checking for mv" >&5
 if test -f "/usr/bin/mv"; then  if test -f "/usr/bin/mv"; then
     echo "$ac_t""/usr/bin/mv" 1>&6      echo "$ac_t""/usr/bin/mv" 1>&6
     cat >> confdefs.h <<\EOF      cat >> confdefs.h <<\EOF
Line 4549 
Line 4559 
 fi  fi
   
 echo $ac_n "checking for bourne shell""... $ac_c" 1>&6  echo $ac_n "checking for bourne shell""... $ac_c" 1>&6
 echo "configure:4553: checking for bourne shell" >&5  echo "configure:4563: checking for bourne shell" >&5
 if test -f "/bin/sh"; then  if test -f "/bin/sh"; then
     echo "$ac_t""/bin/sh" 1>&6      echo "$ac_t""/bin/sh" 1>&6
     cat >> confdefs.h <<\EOF      cat >> confdefs.h <<\EOF
Line 4603 
Line 4613 
 fi  fi
   
 echo $ac_n "checking for vi""... $ac_c" 1>&6  echo $ac_n "checking for vi""... $ac_c" 1>&6
 echo "configure:4607: checking for vi" >&5  echo "configure:4617: checking for vi" >&5
 if test -f "/usr/bin/vi"; then  if test -f "/usr/bin/vi"; then
     echo "$ac_t""/usr/bin/vi" 1>&6      echo "$ac_t""/usr/bin/vi" 1>&6
     cat >> confdefs.h <<\EOF      cat >> confdefs.h <<\EOF
Line 4639 
Line 4649 
 fi  fi
   
 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6  echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
 echo "configure:4643: checking for ANSI C header files" >&5  echo "configure:4653: checking for ANSI C header files" >&5
 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
 else  else
   cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
 #line 4648 "configure"  #line 4658 "configure"
 #include "confdefs.h"  #include "confdefs.h"
 #include <stdlib.h>  #include <stdlib.h>
 #include <stdarg.h>  #include <stdarg.h>
Line 4652 
Line 4662 
 #include <float.h>  #include <float.h>
 EOF  EOF
 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
 { (eval echo configure:4656: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:4666: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
 ac_err=`grep -v '^ *+' conftest.out`  ac_err=`grep -v '^ *+' conftest.out`
 if test -z "$ac_err"; then  if test -z "$ac_err"; then
   rm -rf conftest*    rm -rf conftest*
Line 4669 
Line 4679 
 if test $ac_cv_header_stdc = yes; then  if test $ac_cv_header_stdc = yes; then
   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.    # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
 cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
 #line 4673 "configure"  #line 4683 "configure"
 #include "confdefs.h"  #include "confdefs.h"
 #include <string.h>  #include <string.h>
 EOF  EOF
Line 4687 
Line 4697 
 if test $ac_cv_header_stdc = yes; then  if test $ac_cv_header_stdc = yes; then
   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.    # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
 cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
 #line 4691 "configure"  #line 4701 "configure"
 #include "confdefs.h"  #include "confdefs.h"
 #include <stdlib.h>  #include <stdlib.h>
 EOF  EOF
Line 4708 
Line 4718 
   :    :
 else  else
   cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
 #line 4712 "configure"  #line 4722 "configure"
 #include "confdefs.h"  #include "confdefs.h"
 #include <ctype.h>  #include <ctype.h>
 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')  #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
Line 4719 
Line 4729 
 exit (0); }  exit (0); }
   
 EOF  EOF
 if { (eval echo configure:4723: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null  if { (eval echo configure:4733: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
 then  then
   :    :
 else  else
Line 4747 
Line 4757 
 do  do
 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
 echo $ac_n "checking for $ac_hdr that defines DIR""... $ac_c" 1>&6  echo $ac_n "checking for $ac_hdr that defines DIR""... $ac_c" 1>&6
 echo "configure:4751: checking for $ac_hdr that defines DIR" >&5  echo "configure:4761: checking for $ac_hdr that defines DIR" >&5
 if eval "test \"`echo '$''{'ac_cv_header_dirent_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_dirent_$ac_safe'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
 else  else
   cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
 #line 4756 "configure"  #line 4766 "configure"
 #include "confdefs.h"  #include "confdefs.h"
 #include <sys/types.h>  #include <sys/types.h>
 #include <$ac_hdr>  #include <$ac_hdr>
Line 4760 
Line 4770 
 DIR *dirp = 0;  DIR *dirp = 0;
 ; return 0; }  ; return 0; }
 EOF  EOF
 if { (eval echo configure:4764: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:4774: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
   rm -rf conftest*    rm -rf conftest*
   eval "ac_cv_header_dirent_$ac_safe=yes"    eval "ac_cv_header_dirent_$ac_safe=yes"
 else  else
Line 4785 
Line 4795 
 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.  # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
 if test $ac_header_dirent = dirent.h; then  if test $ac_header_dirent = dirent.h; then
 echo $ac_n "checking for opendir in -ldir""... $ac_c" 1>&6  echo $ac_n "checking for opendir in -ldir""... $ac_c" 1>&6
 echo "configure:4789: checking for opendir in -ldir" >&5  echo "configure:4799: checking for opendir in -ldir" >&5
 if test -n ""; then  if test -n ""; then
   ac_lib_var=`echo dir'_'opendir | sed 'y% ./+-%___p_%'`    ac_lib_var=`echo dir'_'opendir | sed 'y% ./+-%___p_%'`
 else  else
Line 4797 
Line 4807 
   ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
 LIBS="-ldir  $LIBS"  LIBS="-ldir  $LIBS"
 cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
 #line 4801 "configure"  #line 4811 "configure"
 #include "confdefs.h"  #include "confdefs.h"
 /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
 /* We use char because int might match the return type of a gcc2  /* We use char because int might match the return type of a gcc2
Line 4808 
Line 4818 
 opendir()  opendir()
 ; return 0; }  ; return 0; }
 EOF  EOF
 if { (eval echo configure:4812: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then  if { (eval echo configure:4822: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
   rm -rf conftest*    rm -rf conftest*
   eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
 else  else
Line 4830 
Line 4840 
   
 else  else
 echo $ac_n "checking for opendir in -lx""... $ac_c" 1>&6  echo $ac_n "checking for opendir in -lx""... $ac_c" 1>&6
 echo "configure:4834: checking for opendir in -lx" >&5  echo "configure:4844: checking for opendir in -lx" >&5
 if test -n ""; then  if test -n ""; then
   ac_lib_var=`echo x'_'opendir | sed 'y% ./+-%___p_%'`    ac_lib_var=`echo x'_'opendir | sed 'y% ./+-%___p_%'`
 else  else
Line 4842 
Line 4852 
   ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
 LIBS="-lx  $LIBS"  LIBS="-lx  $LIBS"
 cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
 #line 4846 "configure"  #line 4856 "configure"
 #include "confdefs.h"  #include "confdefs.h"
 /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
 /* We use char because int might match the return type of a gcc2  /* We use char because int might match the return type of a gcc2
Line 4853 
Line 4863 
 opendir()  opendir()
 ; return 0; }  ; return 0; }
 EOF  EOF
 if { (eval echo configure:4857: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then  if { (eval echo configure:4867: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
   rm -rf conftest*    rm -rf conftest*
   eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
 else  else
Line 4879 
Line 4889 
 do  do
 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
 echo "configure:4883: checking for $ac_hdr" >&5  echo "configure:4893: checking for $ac_hdr" >&5
 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
 else  else
   cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
 #line 4888 "configure"  #line 4898 "configure"
 #include "confdefs.h"  #include "confdefs.h"
 #include <$ac_hdr>  #include <$ac_hdr>
 EOF  EOF
 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
 { (eval echo configure:4893: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:4903: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
 ac_err=`grep -v '^ *+' conftest.out`  ac_err=`grep -v '^ *+' conftest.out`
 if test -z "$ac_err"; then  if test -z "$ac_err"; then
   rm -rf conftest*    rm -rf conftest*
Line 4920 
Line 4930 
 do  do
 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
 echo "configure:4924: checking for $ac_hdr" >&5  echo "configure:4934: checking for $ac_hdr" >&5
 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
 else  else
   cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
 #line 4929 "configure"  #line 4939 "configure"
 #include "confdefs.h"  #include "confdefs.h"
 #include <$ac_hdr>  #include <$ac_hdr>
 EOF  EOF
 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
 { (eval echo configure:4934: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:4944: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
 ac_err=`grep -v '^ *+' conftest.out`  ac_err=`grep -v '^ *+' conftest.out`
 if test -z "$ac_err"; then  if test -z "$ac_err"; then
   rm -rf conftest*    rm -rf conftest*
Line 4960 
Line 4970 
 do  do
 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
 echo "configure:4964: checking for $ac_hdr" >&5  echo "configure:4974: checking for $ac_hdr" >&5
 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
 else  else
   cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
 #line 4969 "configure"  #line 4979 "configure"
 #include "confdefs.h"  #include "confdefs.h"
 #include <$ac_hdr>  #include <$ac_hdr>
 EOF  EOF
 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
 { (eval echo configure:4974: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:4984: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
 ac_err=`grep -v '^ *+' conftest.out`  ac_err=`grep -v '^ *+' conftest.out`
 if test -z "$ac_err"; then  if test -z "$ac_err"; then
   rm -rf conftest*    rm -rf conftest*
Line 4993 
Line 5003 
  for ac_func in tcgetattr   for ac_func in tcgetattr
 do  do
 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
 echo "configure:4997: checking for $ac_func" >&5  echo "configure:5007: checking for $ac_func" >&5
 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
 else  else
   cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
 #line 5002 "configure"  #line 5012 "configure"
 #include "confdefs.h"  #include "confdefs.h"
 /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
     which can conflict with char $ac_func(); below.  */      which can conflict with char $ac_func(); below.  */
Line 5021 
Line 5031 
   
 ; return 0; }  ; return 0; }
 EOF  EOF
 if { (eval echo configure:5025: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then  if { (eval echo configure:5035: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
   rm -rf conftest*    rm -rf conftest*
   eval "ac_cv_func_$ac_func=yes"    eval "ac_cv_func_$ac_func=yes"
 else  else
Line 5051 
Line 5061 
 done  done
   
 fi  fi
   if test "$with_logincap" = "yes"; then
       for ac_hdr in login_cap.h
   do
   ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
   echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
   echo "configure:5070: checking for $ac_hdr" >&5
   if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
     echo $ac_n "(cached) $ac_c" 1>&6
   else
     cat > conftest.$ac_ext <<EOF
   #line 5075 "configure"
   #include "confdefs.h"
   #include <$ac_hdr>
   EOF
   ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
   { (eval echo configure:5080: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
   ac_err=`grep -v '^ *+' conftest.out`
   if test -z "$ac_err"; then
     rm -rf conftest*
     eval "ac_cv_header_$ac_safe=yes"
   else
     echo "$ac_err" >&5
     echo "configure: failed program was:" >&5
     cat conftest.$ac_ext >&5
     rm -rf conftest*
     eval "ac_cv_header_$ac_safe=no"
   fi
   rm -f conftest*
   fi
   if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
     echo "$ac_t""yes" 1>&6
       ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
     cat >> confdefs.h <<EOF
   #define $ac_tr_hdr 1
   EOF
   
   else
     echo "$ac_t""no" 1>&6
   fi
   done
   
   fi
   if test "$with_bsdauth" = "yes"; then
       ac_safe=`echo "bsd_auth.h" | sed 'y%./+-%__p_%'`
   echo $ac_n "checking for bsd_auth.h""... $ac_c" 1>&6
   echo "configure:5110: checking for bsd_auth.h" >&5
   if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
     echo $ac_n "(cached) $ac_c" 1>&6
   else
     cat > conftest.$ac_ext <<EOF
   #line 5115 "configure"
   #include "confdefs.h"
   #include <bsd_auth.h>
   EOF
   ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
   { (eval echo configure:5120: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
   ac_err=`grep -v '^ *+' conftest.out`
   if test -z "$ac_err"; then
     rm -rf conftest*
     eval "ac_cv_header_$ac_safe=yes"
   else
     echo "$ac_err" >&5
     echo "configure: failed program was:" >&5
     cat conftest.$ac_ext >&5
     rm -rf conftest*
     eval "ac_cv_header_$ac_safe=no"
   fi
   rm -f conftest*
   fi
   if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
     echo "$ac_t""yes" 1>&6
     cat >> confdefs.h <<\EOF
   #define HAVE_BSD_AUTH_H 1
   EOF
    with_passwd=no; AUTH_OBJS=bsdauth.o
   else
     echo "$ac_t""no" 1>&6
   fi
   
   fi
   
 echo $ac_n "checking for mode_t""... $ac_c" 1>&6  echo $ac_n "checking for mode_t""... $ac_c" 1>&6
 echo "configure:5056: checking for mode_t" >&5  echo "configure:5147: checking for mode_t" >&5
 if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
 else  else
   cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
 #line 5061 "configure"  #line 5152 "configure"
 #include "confdefs.h"  #include "confdefs.h"
 #include <sys/types.h>  #include <sys/types.h>
 #if STDC_HEADERS  #if STDC_HEADERS
Line 5085 
Line 5176 
 fi  fi
   
 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6  echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
 echo "configure:5089: checking for uid_t in sys/types.h" >&5  echo "configure:5180: checking for uid_t in sys/types.h" >&5
 if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
 else  else
   cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
 #line 5094 "configure"  #line 5185 "configure"
 #include "confdefs.h"  #include "confdefs.h"
 #include <sys/types.h>  #include <sys/types.h>
 EOF  EOF
Line 5119 
Line 5210 
 fi  fi
   
 echo $ac_n "checking for size_t""... $ac_c" 1>&6  echo $ac_n "checking for size_t""... $ac_c" 1>&6
 echo "configure:5123: checking for size_t" >&5  echo "configure:5214: checking for size_t" >&5
 if eval "test \"`echo '$''{'sudo_cv_type_size_t'+set}'`\" = set"; then  if eval "test \"`echo '$''{'sudo_cv_type_size_t'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
 else  else
   cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
 #line 5128 "configure"  #line 5219 "configure"
 #include "confdefs.h"  #include "confdefs.h"
 #include <sys/types.h>  #include <sys/types.h>
 #if STDC_HEADERS  #if STDC_HEADERS
Line 5154 
Line 5245 
 fi  fi
   
 echo $ac_n "checking for ssize_t""... $ac_c" 1>&6  echo $ac_n "checking for ssize_t""... $ac_c" 1>&6
 echo "configure:5158: checking for ssize_t" >&5  echo "configure:5249: checking for ssize_t" >&5
 if eval "test \"`echo '$''{'sudo_cv_type_ssize_t'+set}'`\" = set"; then  if eval "test \"`echo '$''{'sudo_cv_type_ssize_t'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
 else  else
   cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
 #line 5163 "configure"  #line 5254 "configure"
 #include "confdefs.h"  #include "confdefs.h"
 #include <sys/types.h>  #include <sys/types.h>
 #if STDC_HEADERS  #if STDC_HEADERS
Line 5189 
Line 5280 
 fi  fi
   
 echo $ac_n "checking for dev_t""... $ac_c" 1>&6  echo $ac_n "checking for dev_t""... $ac_c" 1>&6
 echo "configure:5193: checking for dev_t" >&5  echo "configure:5284: checking for dev_t" >&5
 if eval "test \"`echo '$''{'sudo_cv_type_dev_t'+set}'`\" = set"; then  if eval "test \"`echo '$''{'sudo_cv_type_dev_t'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
 else  else
   cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
 #line 5198 "configure"  #line 5289 "configure"
 #include "confdefs.h"  #include "confdefs.h"
 #include <sys/types.h>  #include <sys/types.h>
 #if STDC_HEADERS  #if STDC_HEADERS
Line 5224 
Line 5315 
 fi  fi
   
 echo $ac_n "checking for ino_t""... $ac_c" 1>&6  echo $ac_n "checking for ino_t""... $ac_c" 1>&6
 echo "configure:5228: checking for ino_t" >&5  echo "configure:5319: checking for ino_t" >&5
 if eval "test \"`echo '$''{'sudo_cv_type_ino_t'+set}'`\" = set"; then  if eval "test \"`echo '$''{'sudo_cv_type_ino_t'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
 else  else
   cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
 #line 5233 "configure"  #line 5324 "configure"
 #include "confdefs.h"  #include "confdefs.h"
 #include <sys/types.h>  #include <sys/types.h>
 #if STDC_HEADERS  #if STDC_HEADERS
Line 5259 
Line 5350 
 fi  fi
   
 echo $ac_n "checking for full void implementation""... $ac_c" 1>&6  echo $ac_n "checking for full void implementation""... $ac_c" 1>&6
 echo "configure:5263: checking for full void implementation" >&5  echo "configure:5354: checking for full void implementation" >&5
 cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
 #line 5265 "configure"  #line 5356 "configure"
 #include "confdefs.h"  #include "confdefs.h"
   
 int main() {  int main() {
Line 5269 
Line 5360 
 foo = (void *)0; (void *)"test";  foo = (void *)0; (void *)"test";
 ; return 0; }  ; return 0; }
 EOF  EOF
 if { (eval echo configure:5273: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:5364: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
   rm -rf conftest*    rm -rf conftest*
   cat >> confdefs.h <<\EOF    cat >> confdefs.h <<\EOF
 #define VOID void  #define VOID void
Line 5289 
Line 5380 
 rm -f conftest*  rm -f conftest*
   
 echo $ac_n "checking max length of uid_t""... $ac_c" 1>&6  echo $ac_n "checking max length of uid_t""... $ac_c" 1>&6
 echo "configure:5293: checking max length of uid_t" >&5  echo "configure:5384: checking max length of uid_t" >&5
 if eval "test \"`echo '$''{'sudo_cv_uid_t_len'+set}'`\" = set"; then  if eval "test \"`echo '$''{'sudo_cv_uid_t_len'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
 else  else
Line 5298 
Line 5389 
     { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }      { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
 else  else
   cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
 #line 5302 "configure"  #line 5393 "configure"
 #include "confdefs.h"  #include "confdefs.h"
 #include <stdio.h>  #include <stdio.h>
 #include <pwd.h>  #include <pwd.h>
Line 5319 
Line 5410 
   exit(0);    exit(0);
 }  }
 EOF  EOF
 if { (eval echo configure:5323: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null  if { (eval echo configure:5414: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
 then  then
   sudo_cv_uid_t_len=`cat conftestdata`    sudo_cv_uid_t_len=`cat conftestdata`
 else  else
Line 5342 
Line 5433 
   
   
 echo $ac_n "checking for long long support""... $ac_c" 1>&6  echo $ac_n "checking for long long support""... $ac_c" 1>&6
 echo "configure:5346: checking for long long support" >&5  echo "configure:5437: checking for long long support" >&5
 cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
 #line 5348 "configure"  #line 5439 "configure"
 #include "confdefs.h"  #include "confdefs.h"
   
 int main() {  int main() {
 long long foo = 1000; foo /= 10;  long long foo = 1000; foo /= 10;
 ; return 0; }  ; return 0; }
 EOF  EOF
 if { (eval echo configure:5355: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then  if { (eval echo configure:5446: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
   rm -rf conftest*    rm -rf conftest*
   cat >> confdefs.h <<\EOF    cat >> confdefs.h <<\EOF
 #define HAVE_LONG_LONG 1  #define HAVE_LONG_LONG 1
Line 5361 
Line 5452 
     { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }      { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
 else  else
   cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
 #line 5365 "configure"  #line 5456 "configure"
 #include "confdefs.h"  #include "confdefs.h"
 main() {if (sizeof(long long) == sizeof(long)) exit(0); else exit(1);}  main() {if (sizeof(long long) == sizeof(long)) exit(0); else exit(1);}
 EOF  EOF
 if { (eval echo configure:5369: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null  if { (eval echo configure:5460: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
 then  then
   cat >> confdefs.h <<\EOF    cat >> confdefs.h <<\EOF
 #define LONG_IS_QUAD 1  #define LONG_IS_QUAD 1
Line 5387 
Line 5478 
 fi  fi
 rm -f conftest*  rm -f conftest*
 echo $ac_n "checking for sa_len field in struct sockaddr""... $ac_c" 1>&6  echo $ac_n "checking for sa_len field in struct sockaddr""... $ac_c" 1>&6
 echo "configure:5391: checking for sa_len field in struct sockaddr" >&5  echo "configure:5482: checking for sa_len field in struct sockaddr" >&5
 if eval "test \"`echo '$''{'sudo_cv_sock_sa_len'+set}'`\" = set"; then  if eval "test \"`echo '$''{'sudo_cv_sock_sa_len'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
 else  else
Line 5395 
Line 5486 
   sudo_cv_sock_sa_len=no    sudo_cv_sock_sa_len=no
 else  else
   cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
 #line 5399 "configure"  #line 5490 "configure"
 #include "confdefs.h"  #include "confdefs.h"
 #include <sys/types.h>  #include <sys/types.h>
 #include <sys/socket.h>  #include <sys/socket.h>
Line 5405 
Line 5496 
 exit(0);  exit(0);
 }  }
 EOF  EOF
 if { (eval echo configure:5409: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null  if { (eval echo configure:5500: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
 then  then
   sudo_cv_sock_sa_len=yes    sudo_cv_sock_sa_len=yes
 else  else
Line 5430 
Line 5521 
 case "$DEFS" in  case "$DEFS" in
     *"RETSIGTYPE"*)     ;;      *"RETSIGTYPE"*)     ;;
     *)                  echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6      *)                  echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6
 echo "configure:5434: checking return type of signal handlers" >&5  echo "configure:5525: checking return type of signal handlers" >&5
 if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
 else  else
   cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
 #line 5439 "configure"  #line 5530 "configure"
 #include "confdefs.h"  #include "confdefs.h"
 #include <sys/types.h>  #include <sys/types.h>
 #include <signal.h>  #include <signal.h>
Line 5452 
Line 5543 
 int i;  int i;
 ; return 0; }  ; return 0; }
 EOF  EOF
 if { (eval echo configure:5456: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:5547: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
   rm -rf conftest*    rm -rf conftest*
   ac_cv_type_signal=void    ac_cv_type_signal=void
 else  else
Line 5474 
Line 5565 
 for ac_func in strchr strrchr memchr memcpy memset sysconf sigaction tzset seteuid strftime setrlimit initgroups fstat  for ac_func in strchr strrchr memchr memcpy memset sysconf sigaction tzset seteuid strftime setrlimit initgroups fstat
 do  do
 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
 echo "configure:5478: checking for $ac_func" >&5  echo "configure:5569: checking for $ac_func" >&5
 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
 else  else
   cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
 #line 5483 "configure"  #line 5574 "configure"
 #include "confdefs.h"  #include "confdefs.h"
 /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
     which can conflict with char $ac_func(); below.  */      which can conflict with char $ac_func(); below.  */
Line 5502 
Line 5593 
   
 ; return 0; }  ; return 0; }
 EOF  EOF
 if { (eval echo configure:5506: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then  if { (eval echo configure:5597: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
   rm -rf conftest*    rm -rf conftest*
   eval "ac_cv_func_$ac_func=yes"    eval "ac_cv_func_$ac_func=yes"
 else  else
Line 5530 
Line 5621 
     for ac_func in bigcrypt      for ac_func in bigcrypt
 do  do
 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
 echo "configure:5534: checking for $ac_func" >&5  echo "configure:5625: checking for $ac_func" >&5
 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
 else  else
   cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
 #line 5539 "configure"  #line 5630 "configure"
 #include "confdefs.h"  #include "confdefs.h"
 /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
     which can conflict with char $ac_func(); below.  */      which can conflict with char $ac_func(); below.  */
Line 5558 
Line 5649 
   
 ; return 0; }  ; return 0; }
 EOF  EOF
 if { (eval echo configure:5562: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then  if { (eval echo configure:5653: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
   rm -rf conftest*    rm -rf conftest*
   eval "ac_cv_func_$ac_func=yes"    eval "ac_cv_func_$ac_func=yes"
 else  else
Line 5585 
Line 5676 
     for ac_func in set_auth_parameters      for ac_func in set_auth_parameters
 do  do
 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
 echo "configure:5589: checking for $ac_func" >&5  echo "configure:5680: checking for $ac_func" >&5
 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
 else  else
   cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
 #line 5594 "configure"  #line 5685 "configure"
 #include "confdefs.h"  #include "confdefs.h"
 /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
     which can conflict with char $ac_func(); below.  */      which can conflict with char $ac_func(); below.  */
Line 5613 
Line 5704 
   
 ; return 0; }  ; return 0; }
 EOF  EOF
 if { (eval echo configure:5617: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then  if { (eval echo configure:5708: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
   rm -rf conftest*    rm -rf conftest*
   eval "ac_cv_func_$ac_func=yes"    eval "ac_cv_func_$ac_func=yes"
 else  else
Line 5640 
Line 5731 
     for ac_func in initprivs      for ac_func in initprivs
 do  do
 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
 echo "configure:5644: checking for $ac_func" >&5  echo "configure:5735: checking for $ac_func" >&5
 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
 else  else
   cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
 #line 5649 "configure"  #line 5740 "configure"
 #include "confdefs.h"  #include "confdefs.h"
 /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
     which can conflict with char $ac_func(); below.  */      which can conflict with char $ac_func(); below.  */
Line 5668 
Line 5759 
   
 ; return 0; }  ; return 0; }
 EOF  EOF
 if { (eval echo configure:5672: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then  if { (eval echo configure:5763: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
   rm -rf conftest*    rm -rf conftest*
   eval "ac_cv_func_$ac_func=yes"    eval "ac_cv_func_$ac_func=yes"
 else  else
Line 5695 
Line 5786 
 fi  fi
 if test -z "$BROKEN_GETCWD"; then  if test -z "$BROKEN_GETCWD"; then
     echo $ac_n "checking for getcwd""... $ac_c" 1>&6      echo $ac_n "checking for getcwd""... $ac_c" 1>&6
 echo "configure:5699: checking for getcwd" >&5  echo "configure:5790: checking for getcwd" >&5
 if eval "test \"`echo '$''{'ac_cv_func_getcwd'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_getcwd'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
 else  else
   cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
 #line 5704 "configure"  #line 5795 "configure"
 #include "confdefs.h"  #include "confdefs.h"
 /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
     which can conflict with char getcwd(); below.  */      which can conflict with char getcwd(); below.  */
Line 5723 
Line 5814 
   
 ; return 0; }  ; return 0; }
 EOF  EOF
 if { (eval echo configure:5727: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then  if { (eval echo configure:5818: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
   rm -rf conftest*    rm -rf conftest*
   eval "ac_cv_func_getcwd=yes"    eval "ac_cv_func_getcwd=yes"
 else  else
Line 5748 
Line 5839 
   
 fi  fi
 echo $ac_n "checking for lockf""... $ac_c" 1>&6  echo $ac_n "checking for lockf""... $ac_c" 1>&6
 echo "configure:5752: checking for lockf" >&5  echo "configure:5843: checking for lockf" >&5
 if eval "test \"`echo '$''{'ac_cv_func_lockf'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_lockf'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
 else  else
   cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
 #line 5757 "configure"  #line 5848 "configure"
 #include "confdefs.h"  #include "confdefs.h"
 /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
     which can conflict with char lockf(); below.  */      which can conflict with char lockf(); below.  */
Line 5776 
Line 5867 
   
 ; return 0; }  ; return 0; }
 EOF  EOF
 if { (eval echo configure:5780: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then  if { (eval echo configure:5871: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
   rm -rf conftest*    rm -rf conftest*
   eval "ac_cv_func_lockf=yes"    eval "ac_cv_func_lockf=yes"
 else  else
Line 5799 
Line 5890 
 for ac_func in flock  for ac_func in flock
 do  do
 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
 echo "configure:5803: checking for $ac_func" >&5  echo "configure:5894: checking for $ac_func" >&5
 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
 else  else
   cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
 #line 5808 "configure"  #line 5899 "configure"
 #include "confdefs.h"  #include "confdefs.h"
 /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
     which can conflict with char $ac_func(); below.  */      which can conflict with char $ac_func(); below.  */
Line 5827 
Line 5918 
   
 ; return 0; }  ; return 0; }
 EOF  EOF
 if { (eval echo configure:5831: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then  if { (eval echo configure:5922: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
   rm -rf conftest*    rm -rf conftest*
   eval "ac_cv_func_$ac_func=yes"    eval "ac_cv_func_$ac_func=yes"
 else  else
Line 5854 
Line 5945 
 fi  fi
   
 echo $ac_n "checking for waitpid""... $ac_c" 1>&6  echo $ac_n "checking for waitpid""... $ac_c" 1>&6
 echo "configure:5858: checking for waitpid" >&5  echo "configure:5949: checking for waitpid" >&5
 if eval "test \"`echo '$''{'ac_cv_func_waitpid'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_waitpid'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
 else  else
   cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
 #line 5863 "configure"  #line 5954 "configure"
 #include "confdefs.h"  #include "confdefs.h"
 /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
     which can conflict with char waitpid(); below.  */      which can conflict with char waitpid(); below.  */
Line 5882 
Line 5973 
   
 ; return 0; }  ; return 0; }
 EOF  EOF
 if { (eval echo configure:5886: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then  if { (eval echo configure:5977: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
   rm -rf conftest*    rm -rf conftest*
   eval "ac_cv_func_waitpid=yes"    eval "ac_cv_func_waitpid=yes"
 else  else
Line 5905 
Line 5996 
 for ac_func in wait3  for ac_func in wait3
 do  do
 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
 echo "configure:5909: checking for $ac_func" >&5  echo "configure:6000: checking for $ac_func" >&5
 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
 else  else
   cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
 #line 5914 "configure"  #line 6005 "configure"
 #include "confdefs.h"  #include "confdefs.h"
 /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
     which can conflict with char $ac_func(); below.  */      which can conflict with char $ac_func(); below.  */
Line 5933 
Line 6024 
   
 ; return 0; }  ; return 0; }
 EOF  EOF
 if { (eval echo configure:5937: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then  if { (eval echo configure:6028: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
   rm -rf conftest*    rm -rf conftest*
   eval "ac_cv_func_$ac_func=yes"    eval "ac_cv_func_$ac_func=yes"
 else  else
Line 5960 
Line 6051 
 fi  fi
   
 echo $ac_n "checking for innetgr""... $ac_c" 1>&6  echo $ac_n "checking for innetgr""... $ac_c" 1>&6
 echo "configure:5964: checking for innetgr" >&5  echo "configure:6055: checking for innetgr" >&5
 if eval "test \"`echo '$''{'ac_cv_func_innetgr'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_innetgr'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
 else  else
   cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
 #line 5969 "configure"  #line 6060 "configure"
 #include "confdefs.h"  #include "confdefs.h"
 /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
     which can conflict with char innetgr(); below.  */      which can conflict with char innetgr(); below.  */
Line 5988 
Line 6079 
   
 ; return 0; }  ; return 0; }
 EOF  EOF
 if { (eval echo configure:5992: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then  if { (eval echo configure:6083: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
   rm -rf conftest*    rm -rf conftest*
   eval "ac_cv_func_innetgr=yes"    eval "ac_cv_func_innetgr=yes"
 else  else
Line 6008 
Line 6099 
  for ac_func in getdomainname   for ac_func in getdomainname
 do  do
 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
 echo "configure:6012: checking for $ac_func" >&5  echo "configure:6103: checking for $ac_func" >&5
 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
 else  else
   cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
 #line 6017 "configure"  #line 6108 "configure"
 #include "confdefs.h"  #include "confdefs.h"
 /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
     which can conflict with char $ac_func(); below.  */      which can conflict with char $ac_func(); below.  */
Line 6036 
Line 6127 
   
 ; return 0; }  ; return 0; }
 EOF  EOF
 if { (eval echo configure:6040: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then  if { (eval echo configure:6131: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
   rm -rf conftest*    rm -rf conftest*
   eval "ac_cv_func_$ac_func=yes"    eval "ac_cv_func_$ac_func=yes"
 else  else
Line 6065 
Line 6156 
 fi  fi
   
 echo $ac_n "checking for lsearch""... $ac_c" 1>&6  echo $ac_n "checking for lsearch""... $ac_c" 1>&6
 echo "configure:6069: checking for lsearch" >&5  echo "configure:6160: checking for lsearch" >&5
 if eval "test \"`echo '$''{'ac_cv_func_lsearch'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_lsearch'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
 else  else
   cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
 #line 6074 "configure"  #line 6165 "configure"
 #include "confdefs.h"  #include "confdefs.h"
 /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
     which can conflict with char lsearch(); below.  */      which can conflict with char lsearch(); below.  */
Line 6093 
Line 6184 
   
 ; return 0; }  ; return 0; }
 EOF  EOF
 if { (eval echo configure:6097: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then  if { (eval echo configure:6188: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
   rm -rf conftest*    rm -rf conftest*
   eval "ac_cv_func_lsearch=yes"    eval "ac_cv_func_lsearch=yes"
 else  else
Line 6114 
Line 6205 
 else  else
   echo "$ac_t""no" 1>&6    echo "$ac_t""no" 1>&6
 echo $ac_n "checking for lsearch in -lcompat""... $ac_c" 1>&6  echo $ac_n "checking for lsearch in -lcompat""... $ac_c" 1>&6
 echo "configure:6118: checking for lsearch in -lcompat" >&5  echo "configure:6209: checking for lsearch in -lcompat" >&5
 if test -n ""; then  if test -n ""; then
   ac_lib_var=`echo compat'_'lsearch | sed 'y% ./+-%___p_%'`    ac_lib_var=`echo compat'_'lsearch | sed 'y% ./+-%___p_%'`
 else  else
Line 6126 
Line 6217 
   ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
 LIBS="-lcompat  $LIBS"  LIBS="-lcompat  $LIBS"
 cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
 #line 6130 "configure"  #line 6221 "configure"
 #include "confdefs.h"  #include "confdefs.h"
 /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
 /* We use char because int might match the return type of a gcc2  /* We use char because int might match the return type of a gcc2
Line 6137 
Line 6228 
 lsearch()  lsearch()
 ; return 0; }  ; return 0; }
 EOF  EOF
 if { (eval echo configure:6141: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then  if { (eval echo configure:6232: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
   rm -rf conftest*    rm -rf conftest*
   eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
 else  else
Line 6154 
Line 6245 
   echo "$ac_t""yes" 1>&6    echo "$ac_t""yes" 1>&6
   ac_safe=`echo "search.h" | sed 'y%./+-%__p_%'`    ac_safe=`echo "search.h" | sed 'y%./+-%__p_%'`
 echo $ac_n "checking for search.h""... $ac_c" 1>&6  echo $ac_n "checking for search.h""... $ac_c" 1>&6
 echo "configure:6158: checking for search.h" >&5  echo "configure:6249: checking for search.h" >&5
 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
 else  else
   cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
 #line 6163 "configure"  #line 6254 "configure"
 #include "confdefs.h"  #include "confdefs.h"
 #include <search.h>  #include <search.h>
 EOF  EOF
 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
 { (eval echo configure:6168: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:6259: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
 ac_err=`grep -v '^ *+' conftest.out`  ac_err=`grep -v '^ *+' conftest.out`
 if test -z "$ac_err"; then  if test -z "$ac_err"; then
   rm -rf conftest*    rm -rf conftest*
Line 6197 
Line 6288 
 fi  fi
   
 echo $ac_n "checking for setenv""... $ac_c" 1>&6  echo $ac_n "checking for setenv""... $ac_c" 1>&6
 echo "configure:6201: checking for setenv" >&5  echo "configure:6292: checking for setenv" >&5
 if eval "test \"`echo '$''{'ac_cv_func_setenv'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_setenv'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
 else  else
   cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
 #line 6206 "configure"  #line 6297 "configure"
 #include "confdefs.h"  #include "confdefs.h"
 /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
     which can conflict with char setenv(); below.  */      which can conflict with char setenv(); below.  */
Line 6225 
Line 6316 
   
 ; return 0; }  ; return 0; }
 EOF  EOF
 if { (eval echo configure:6229: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then  if { (eval echo configure:6320: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
   rm -rf conftest*    rm -rf conftest*
   eval "ac_cv_func_setenv=yes"    eval "ac_cv_func_setenv=yes"
 else  else
Line 6246 
Line 6337 
 else  else
   echo "$ac_t""no" 1>&6    echo "$ac_t""no" 1>&6
 echo $ac_n "checking for putenv""... $ac_c" 1>&6  echo $ac_n "checking for putenv""... $ac_c" 1>&6
 echo "configure:6250: checking for putenv" >&5  echo "configure:6341: checking for putenv" >&5
 if eval "test \"`echo '$''{'ac_cv_func_putenv'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_putenv'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
 else  else
   cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
 #line 6255 "configure"  #line 6346 "configure"
 #include "confdefs.h"  #include "confdefs.h"
 /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
     which can conflict with char putenv(); below.  */      which can conflict with char putenv(); below.  */
Line 6274 
Line 6365 
   
 ; return 0; }  ; return 0; }
 EOF  EOF
 if { (eval echo configure:6278: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then  if { (eval echo configure:6369: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
   rm -rf conftest*    rm -rf conftest*
   eval "ac_cv_func_putenv=yes"    eval "ac_cv_func_putenv=yes"
 else  else
Line 6300 
Line 6391 
 fi  fi
   
 echo $ac_n "checking for utime""... $ac_c" 1>&6  echo $ac_n "checking for utime""... $ac_c" 1>&6
 echo "configure:6304: checking for utime" >&5  echo "configure:6395: checking for utime" >&5
 if eval "test \"`echo '$''{'ac_cv_func_utime'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_utime'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
 else  else
   cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
 #line 6309 "configure"  #line 6400 "configure"
 #include "confdefs.h"  #include "confdefs.h"
 /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
     which can conflict with char utime(); below.  */      which can conflict with char utime(); below.  */
Line 6328 
Line 6419 
   
 ; return 0; }  ; return 0; }
 EOF  EOF
 if { (eval echo configure:6332: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then  if { (eval echo configure:6423: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
   rm -rf conftest*    rm -rf conftest*
   eval "ac_cv_func_utime=yes"    eval "ac_cv_func_utime=yes"
 else  else
Line 6347 
Line 6438 
 EOF  EOF
   
 echo $ac_n "checking for POSIX utime""... $ac_c" 1>&6  echo $ac_n "checking for POSIX utime""... $ac_c" 1>&6
 echo "configure:6351: checking for POSIX utime" >&5  echo "configure:6442: checking for POSIX utime" >&5
 if eval "test \"`echo '$''{'sudo_cv_func_utime_posix'+set}'`\" = set"; then  if eval "test \"`echo '$''{'sudo_cv_func_utime_posix'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
 else  else
Line 6356 
Line 6447 
   sudo_cv_func_utime_posix=no    sudo_cv_func_utime_posix=no
 else  else
   cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
 #line 6360 "configure"  #line 6451 "configure"
 #include "confdefs.h"  #include "confdefs.h"
 #include <sys/types.h>  #include <sys/types.h>
 #include <sys/time.h>  #include <sys/time.h>
Line 6368 
Line 6459 
 exit(0);  exit(0);
 }  }
 EOF  EOF
 if { (eval echo configure:6372: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null  if { (eval echo configure:6463: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
 then  then
   sudo_cv_func_utime_posix=yes    sudo_cv_func_utime_posix=yes
 else  else
Line 6396 
Line 6487 
 fi  fi
   
 echo $ac_n "checking for working fnmatch with FNM_CASEFOLD""... $ac_c" 1>&6  echo $ac_n "checking for working fnmatch with FNM_CASEFOLD""... $ac_c" 1>&6
 echo "configure:6400: checking for working fnmatch with FNM_CASEFOLD" >&5  echo "configure:6491: checking for working fnmatch with FNM_CASEFOLD" >&5
 if eval "test \"`echo '$''{'sudo_cv_func_fnmatch'+set}'`\" = set"; then  if eval "test \"`echo '$''{'sudo_cv_func_fnmatch'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
 else  else
Line 6405 
Line 6496 
   sudo_cv_func_fnmatch=no    sudo_cv_func_fnmatch=no
 else  else
   cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
 #line 6409 "configure"  #line 6500 "configure"
 #include "confdefs.h"  #include "confdefs.h"
 #include <fnmatch.h>  #include <fnmatch.h>
 main() { exit(fnmatch("/*/bin/echo *", "/usr/bin/echo just a test", FNM_CASEFOLD)); }  main() { exit(fnmatch("/*/bin/echo *", "/usr/bin/echo just a test", FNM_CASEFOLD)); }
   
 EOF  EOF
 if { (eval echo configure:6415: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null  if { (eval echo configure:6506: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
 then  then
   sudo_cv_func_fnmatch=yes    sudo_cv_func_fnmatch=yes
 else  else
Line 6438 
Line 6529 
 for ac_func in strerror strcasecmp  for ac_func in strerror strcasecmp
 do  do
 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
 echo "configure:6442: checking for $ac_func" >&5  echo "configure:6533: checking for $ac_func" >&5
 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
 else  else
   cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
 #line 6447 "configure"  #line 6538 "configure"
 #include "confdefs.h"  #include "confdefs.h"
 /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
     which can conflict with char $ac_func(); below.  */      which can conflict with char $ac_func(); below.  */
Line 6466 
Line 6557 
   
 ; return 0; }  ; return 0; }
 EOF  EOF
 if { (eval echo configure:6470: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then  if { (eval echo configure:6561: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
   rm -rf conftest*    rm -rf conftest*
   eval "ac_cv_func_$ac_func=yes"    eval "ac_cv_func_$ac_func=yes"
 else  else
Line 6493 
Line 6584 
   
   
 echo $ac_n "checking for snprintf""... $ac_c" 1>&6  echo $ac_n "checking for snprintf""... $ac_c" 1>&6
 echo "configure:6497: checking for snprintf" >&5  echo "configure:6588: checking for snprintf" >&5
 if eval "test \"`echo '$''{'ac_cv_func_snprintf'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_snprintf'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
 else  else
   cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
 #line 6502 "configure"  #line 6593 "configure"
 #include "confdefs.h"  #include "confdefs.h"
 /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
     which can conflict with char snprintf(); below.  */      which can conflict with char snprintf(); below.  */
Line 6521 
Line 6612 
   
 ; return 0; }  ; return 0; }
 EOF  EOF
 if { (eval echo configure:6525: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then  if { (eval echo configure:6616: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
   rm -rf conftest*    rm -rf conftest*
   eval "ac_cv_func_snprintf=yes"    eval "ac_cv_func_snprintf=yes"
 else  else
Line 6545 
Line 6636 
 fi  fi
   
 echo $ac_n "checking for vsnprintf""... $ac_c" 1>&6  echo $ac_n "checking for vsnprintf""... $ac_c" 1>&6
 echo "configure:6549: checking for vsnprintf" >&5  echo "configure:6640: checking for vsnprintf" >&5
 if eval "test \"`echo '$''{'ac_cv_func_vsnprintf'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_vsnprintf'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
 else  else
   cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
 #line 6554 "configure"  #line 6645 "configure"
 #include "confdefs.h"  #include "confdefs.h"
 /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
     which can conflict with char vsnprintf(); below.  */      which can conflict with char vsnprintf(); below.  */
Line 6573 
Line 6664 
   
 ; return 0; }  ; return 0; }
 EOF  EOF
 if { (eval echo configure:6577: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then  if { (eval echo configure:6668: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
   rm -rf conftest*    rm -rf conftest*
   eval "ac_cv_func_vsnprintf=yes"    eval "ac_cv_func_vsnprintf=yes"
 else  else
Line 6597 
Line 6688 
 fi  fi
   
 echo $ac_n "checking for asprintf""... $ac_c" 1>&6  echo $ac_n "checking for asprintf""... $ac_c" 1>&6
 echo "configure:6601: checking for asprintf" >&5  echo "configure:6692: checking for asprintf" >&5
 if eval "test \"`echo '$''{'ac_cv_func_asprintf'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_asprintf'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
 else  else
   cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
 #line 6606 "configure"  #line 6697 "configure"
 #include "confdefs.h"  #include "confdefs.h"
 /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
     which can conflict with char asprintf(); below.  */      which can conflict with char asprintf(); below.  */
Line 6625 
Line 6716 
   
 ; return 0; }  ; return 0; }
 EOF  EOF
 if { (eval echo configure:6629: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then  if { (eval echo configure:6720: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
   rm -rf conftest*    rm -rf conftest*
   eval "ac_cv_func_asprintf=yes"    eval "ac_cv_func_asprintf=yes"
 else  else
Line 6649 
Line 6740 
 fi  fi
   
 echo $ac_n "checking for vasprintf""... $ac_c" 1>&6  echo $ac_n "checking for vasprintf""... $ac_c" 1>&6
 echo "configure:6653: checking for vasprintf" >&5  echo "configure:6744: checking for vasprintf" >&5
 if eval "test \"`echo '$''{'ac_cv_func_vasprintf'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_vasprintf'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
 else  else
   cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
 #line 6658 "configure"  #line 6749 "configure"
 #include "confdefs.h"  #include "confdefs.h"
 /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
     which can conflict with char vasprintf(); below.  */      which can conflict with char vasprintf(); below.  */
Line 6677 
Line 6768 
   
 ; return 0; }  ; return 0; }
 EOF  EOF
 if { (eval echo configure:6681: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then  if { (eval echo configure:6772: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
   rm -rf conftest*    rm -rf conftest*
   eval "ac_cv_func_vasprintf=yes"    eval "ac_cv_func_vasprintf=yes"
 else  else
Line 6705 
Line 6796 
 fi  fi
 if test -z "$LIB_CRYPT"; then  if test -z "$LIB_CRYPT"; then
     echo $ac_n "checking for crypt""... $ac_c" 1>&6      echo $ac_n "checking for crypt""... $ac_c" 1>&6
 echo "configure:6709: checking for crypt" >&5  echo "configure:6800: checking for crypt" >&5
 if eval "test \"`echo '$''{'ac_cv_func_crypt'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_crypt'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
 else  else
   cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
 #line 6714 "configure"  #line 6805 "configure"
 #include "confdefs.h"  #include "confdefs.h"
 /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
     which can conflict with char crypt(); below.  */      which can conflict with char crypt(); below.  */
Line 6733 
Line 6824 
   
 ; return 0; }  ; return 0; }
 EOF  EOF
 if { (eval echo configure:6737: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then  if { (eval echo configure:6828: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
   rm -rf conftest*    rm -rf conftest*
   eval "ac_cv_func_crypt=yes"    eval "ac_cv_func_crypt=yes"
 else  else
Line 6751 
Line 6842 
 else  else
   echo "$ac_t""no" 1>&6    echo "$ac_t""no" 1>&6
 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6  echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6
 echo "configure:6755: checking for crypt in -lcrypt" >&5  echo "configure:6846: checking for crypt in -lcrypt" >&5
 if test -n ""; then  if test -n ""; then
   ac_lib_var=`echo crypt'_'crypt | sed 'y% ./+-%___p_%'`    ac_lib_var=`echo crypt'_'crypt | sed 'y% ./+-%___p_%'`
 else  else
Line 6763 
Line 6854 
   ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
 LIBS="-lcrypt  $LIBS"  LIBS="-lcrypt  $LIBS"
 cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
 #line 6767 "configure"  #line 6858 "configure"
 #include "confdefs.h"  #include "confdefs.h"
 /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
 /* We use char because int might match the return type of a gcc2  /* We use char because int might match the return type of a gcc2
Line 6774 
Line 6865 
 crypt()  crypt()
 ; return 0; }  ; return 0; }
 EOF  EOF
 if { (eval echo configure:6778: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then  if { (eval echo configure:6869: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
   rm -rf conftest*    rm -rf conftest*
   eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
 else  else
Line 6793 
Line 6884 
 else  else
   echo "$ac_t""no" 1>&6    echo "$ac_t""no" 1>&6
 echo $ac_n "checking for crypt in -lcrypt_d""... $ac_c" 1>&6  echo $ac_n "checking for crypt in -lcrypt_d""... $ac_c" 1>&6
 echo "configure:6797: checking for crypt in -lcrypt_d" >&5  echo "configure:6888: checking for crypt in -lcrypt_d" >&5
 if test -n ""; then  if test -n ""; then
   ac_lib_var=`echo crypt_d'_'crypt | sed 'y% ./+-%___p_%'`    ac_lib_var=`echo crypt_d'_'crypt | sed 'y% ./+-%___p_%'`
 else  else
Line 6805 
Line 6896 
   ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
 LIBS="-lcrypt_d  $LIBS"  LIBS="-lcrypt_d  $LIBS"
 cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
 #line 6809 "configure"  #line 6900 "configure"
 #include "confdefs.h"  #include "confdefs.h"
 /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
 /* We use char because int might match the return type of a gcc2  /* We use char because int might match the return type of a gcc2
Line 6816 
Line 6907 
 crypt()  crypt()
 ; return 0; }  ; return 0; }
 EOF  EOF
 if { (eval echo configure:6820: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then  if { (eval echo configure:6911: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
   rm -rf conftest*    rm -rf conftest*
   eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
 else  else
Line 6835 
Line 6926 
 else  else
   echo "$ac_t""no" 1>&6    echo "$ac_t""no" 1>&6
 echo $ac_n "checking for crypt in -lufc""... $ac_c" 1>&6  echo $ac_n "checking for crypt in -lufc""... $ac_c" 1>&6
 echo "configure:6839: checking for crypt in -lufc" >&5  echo "configure:6930: checking for crypt in -lufc" >&5
 if test -n ""; then  if test -n ""; then
   ac_lib_var=`echo ufc'_'crypt | sed 'y% ./+-%___p_%'`    ac_lib_var=`echo ufc'_'crypt | sed 'y% ./+-%___p_%'`
 else  else
Line 6847 
Line 6938 
   ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
 LIBS="-lufc  $LIBS"  LIBS="-lufc  $LIBS"
 cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
 #line 6851 "configure"  #line 6942 "configure"
 #include "confdefs.h"  #include "confdefs.h"
 /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
 /* We use char because int might match the return type of a gcc2  /* We use char because int might match the return type of a gcc2
Line 6858 
Line 6949 
 crypt()  crypt()
 ; return 0; }  ; return 0; }
 EOF  EOF
 if { (eval echo configure:6862: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then  if { (eval echo configure:6953: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
   rm -rf conftest*    rm -rf conftest*
   eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
 else  else
Line 6886 
Line 6977 
   
 fi  fi
 echo $ac_n "checking for socket""... $ac_c" 1>&6  echo $ac_n "checking for socket""... $ac_c" 1>&6
 echo "configure:6890: checking for socket" >&5  echo "configure:6981: checking for socket" >&5
 if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
 else  else
   cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
 #line 6895 "configure"  #line 6986 "configure"
 #include "confdefs.h"  #include "confdefs.h"
 /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
     which can conflict with char socket(); below.  */      which can conflict with char socket(); below.  */
Line 6914 
Line 7005 
   
 ; return 0; }  ; return 0; }
 EOF  EOF
 if { (eval echo configure:6918: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then  if { (eval echo configure:7009: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
   rm -rf conftest*    rm -rf conftest*
   eval "ac_cv_func_socket=yes"    eval "ac_cv_func_socket=yes"
 else  else
Line 6932 
Line 7023 
 else  else
   echo "$ac_t""no" 1>&6    echo "$ac_t""no" 1>&6
 echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6  echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6
 echo "configure:6936: checking for socket in -lsocket" >&5  echo "configure:7027: checking for socket in -lsocket" >&5
 if test -n ""; then  if test -n ""; then
   ac_lib_var=`echo socket'_'socket | sed 'y% ./+-%___p_%'`    ac_lib_var=`echo socket'_'socket | sed 'y% ./+-%___p_%'`
 else  else
Line 6944 
Line 7035 
   ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
 LIBS="-lsocket  $LIBS"  LIBS="-lsocket  $LIBS"
 cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
 #line 6948 "configure"  #line 7039 "configure"
 #include "confdefs.h"  #include "confdefs.h"
 /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
 /* We use char because int might match the return type of a gcc2  /* We use char because int might match the return type of a gcc2
Line 6955 
Line 7046 
 socket()  socket()
 ; return 0; }  ; return 0; }
 EOF  EOF
 if { (eval echo configure:6959: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then  if { (eval echo configure:7050: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
   rm -rf conftest*    rm -rf conftest*
   eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
 else  else
Line 6974 
Line 7065 
 else  else
   echo "$ac_t""no" 1>&6    echo "$ac_t""no" 1>&6
 echo $ac_n "checking for socket in -linet""... $ac_c" 1>&6  echo $ac_n "checking for socket in -linet""... $ac_c" 1>&6
 echo "configure:6978: checking for socket in -linet" >&5  echo "configure:7069: checking for socket in -linet" >&5
 if test -n ""; then  if test -n ""; then
   ac_lib_var=`echo inet'_'socket | sed 'y% ./+-%___p_%'`    ac_lib_var=`echo inet'_'socket | sed 'y% ./+-%___p_%'`
 else  else
Line 6986 
Line 7077 
   ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
 LIBS="-linet  $LIBS"  LIBS="-linet  $LIBS"
 cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
 #line 6990 "configure"  #line 7081 "configure"
 #include "confdefs.h"  #include "confdefs.h"
 /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
 /* We use char because int might match the return type of a gcc2  /* We use char because int might match the return type of a gcc2
Line 6997 
Line 7088 
 socket()  socket()
 ; return 0; }  ; return 0; }
 EOF  EOF
 if { (eval echo configure:7001: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then  if { (eval echo configure:7092: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
   rm -rf conftest*    rm -rf conftest*
   eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
 else  else
Line 7017 
Line 7108 
   echo "$ac_t""no" 1>&6    echo "$ac_t""no" 1>&6
 echo "configure: warning: unable to find socket() trying -lsocket -lnsl" 1>&2  echo "configure: warning: unable to find socket() trying -lsocket -lnsl" 1>&2
 echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6  echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6
 echo "configure:7021: checking for socket in -lsocket" >&5  echo "configure:7112: checking for socket in -lsocket" >&5
 if test -n "-lnsl"; then  if test -n "-lnsl"; then
   ac_lib_var=`echo socket'_'socket-lnsl | sed 'y% ./+-%___p_%'`    ac_lib_var=`echo socket'_'socket-lnsl | sed 'y% ./+-%___p_%'`
 else  else
Line 7029 
Line 7120 
   ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
 LIBS="-lsocket -lnsl $LIBS"  LIBS="-lsocket -lnsl $LIBS"
 cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
 #line 7033 "configure"  #line 7124 "configure"
 #include "confdefs.h"  #include "confdefs.h"
 /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
 /* We use char because int might match the return type of a gcc2  /* We use char because int might match the return type of a gcc2
Line 7040 
Line 7131 
 socket()  socket()
 ; return 0; }  ; return 0; }
 EOF  EOF
 if { (eval echo configure:7044: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then  if { (eval echo configure:7135: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
   rm -rf conftest*    rm -rf conftest*
   eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
 else  else
Line 7067 
Line 7158 
 fi  fi
   
 echo $ac_n "checking for inet_addr""... $ac_c" 1>&6  echo $ac_n "checking for inet_addr""... $ac_c" 1>&6
 echo "configure:7071: checking for inet_addr" >&5  echo "configure:7162: checking for inet_addr" >&5
 if eval "test \"`echo '$''{'ac_cv_func_inet_addr'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_inet_addr'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
 else  else
   cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
 #line 7076 "configure"  #line 7167 "configure"
 #include "confdefs.h"  #include "confdefs.h"
 /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
     which can conflict with char inet_addr(); below.  */      which can conflict with char inet_addr(); below.  */
Line 7095 
Line 7186 
   
 ; return 0; }  ; return 0; }
 EOF  EOF
 if { (eval echo configure:7099: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then  if { (eval echo configure:7190: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
   rm -rf conftest*    rm -rf conftest*
   eval "ac_cv_func_inet_addr=yes"    eval "ac_cv_func_inet_addr=yes"
 else  else
Line 7113 
Line 7204 
 else  else
   echo "$ac_t""no" 1>&6    echo "$ac_t""no" 1>&6
 echo $ac_n "checking for __inet_addr""... $ac_c" 1>&6  echo $ac_n "checking for __inet_addr""... $ac_c" 1>&6
 echo "configure:7117: checking for __inet_addr" >&5  echo "configure:7208: checking for __inet_addr" >&5
 if eval "test \"`echo '$''{'ac_cv_func___inet_addr'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func___inet_addr'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
 else  else
   cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
 #line 7122 "configure"  #line 7213 "configure"
 #include "confdefs.h"  #include "confdefs.h"
 /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
     which can conflict with char __inet_addr(); below.  */      which can conflict with char __inet_addr(); below.  */
Line 7141 
Line 7232 
   
 ; return 0; }  ; return 0; }
 EOF  EOF
 if { (eval echo configure:7145: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then  if { (eval echo configure:7236: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
   rm -rf conftest*    rm -rf conftest*
   eval "ac_cv_func___inet_addr=yes"    eval "ac_cv_func___inet_addr=yes"
 else  else
Line 7159 
Line 7250 
 else  else
   echo "$ac_t""no" 1>&6    echo "$ac_t""no" 1>&6
 echo $ac_n "checking for inet_addr in -lnsl""... $ac_c" 1>&6  echo $ac_n "checking for inet_addr in -lnsl""... $ac_c" 1>&6
 echo "configure:7163: checking for inet_addr in -lnsl" >&5  echo "configure:7254: checking for inet_addr in -lnsl" >&5
 if test -n ""; then  if test -n ""; then
   ac_lib_var=`echo nsl'_'inet_addr | sed 'y% ./+-%___p_%'`    ac_lib_var=`echo nsl'_'inet_addr | sed 'y% ./+-%___p_%'`
 else  else
Line 7171 
Line 7262 
   ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
 LIBS="-lnsl  $LIBS"  LIBS="-lnsl  $LIBS"
 cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
 #line 7175 "configure"  #line 7266 "configure"
 #include "confdefs.h"  #include "confdefs.h"
 /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
 /* We use char because int might match the return type of a gcc2  /* We use char because int might match the return type of a gcc2
Line 7182 
Line 7273 
 inet_addr()  inet_addr()
 ; return 0; }  ; return 0; }
 EOF  EOF
 if { (eval echo configure:7186: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then  if { (eval echo configure:7277: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
   rm -rf conftest*    rm -rf conftest*
   eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
 else  else
Line 7201 
Line 7292 
 else  else
   echo "$ac_t""no" 1>&6    echo "$ac_t""no" 1>&6
 echo $ac_n "checking for inet_addr in -linet""... $ac_c" 1>&6  echo $ac_n "checking for inet_addr in -linet""... $ac_c" 1>&6
 echo "configure:7205: checking for inet_addr in -linet" >&5  echo "configure:7296: checking for inet_addr in -linet" >&5
 if test -n ""; then  if test -n ""; then
   ac_lib_var=`echo inet'_'inet_addr | sed 'y% ./+-%___p_%'`    ac_lib_var=`echo inet'_'inet_addr | sed 'y% ./+-%___p_%'`
 else  else
Line 7213 
Line 7304 
   ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
 LIBS="-linet  $LIBS"  LIBS="-linet  $LIBS"
 cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
 #line 7217 "configure"  #line 7308 "configure"
 #include "confdefs.h"  #include "confdefs.h"
 /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
 /* We use char because int might match the return type of a gcc2  /* We use char because int might match the return type of a gcc2
Line 7224 
Line 7315 
 inet_addr()  inet_addr()
 ; return 0; }  ; return 0; }
 EOF  EOF
 if { (eval echo configure:7228: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then  if { (eval echo configure:7319: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
   rm -rf conftest*    rm -rf conftest*
   eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
 else  else
Line 7244 
Line 7335 
   echo "$ac_t""no" 1>&6    echo "$ac_t""no" 1>&6
 echo "configure: warning: unable to find inet_addr() trying -lsocket -lnsl" 1>&2  echo "configure: warning: unable to find inet_addr() trying -lsocket -lnsl" 1>&2
 echo $ac_n "checking for inet_addr in -lsocket""... $ac_c" 1>&6  echo $ac_n "checking for inet_addr in -lsocket""... $ac_c" 1>&6
 echo "configure:7248: checking for inet_addr in -lsocket" >&5  echo "configure:7339: checking for inet_addr in -lsocket" >&5
 if test -n "-lnsl"; then  if test -n "-lnsl"; then
   ac_lib_var=`echo socket'_'inet_addr-lnsl | sed 'y% ./+-%___p_%'`    ac_lib_var=`echo socket'_'inet_addr-lnsl | sed 'y% ./+-%___p_%'`
 else  else
Line 7256 
Line 7347 
   ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
 LIBS="-lsocket -lnsl $LIBS"  LIBS="-lsocket -lnsl $LIBS"
 cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
 #line 7260 "configure"  #line 7351 "configure"
 #include "confdefs.h"  #include "confdefs.h"
 /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
 /* We use char because int might match the return type of a gcc2  /* We use char because int might match the return type of a gcc2
Line 7267 
Line 7358 
 inet_addr()  inet_addr()
 ; return 0; }  ; return 0; }
 EOF  EOF
 if { (eval echo configure:7271: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then  if { (eval echo configure:7362: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
   rm -rf conftest*    rm -rf conftest*
   eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
 else  else
Line 7296 
Line 7387 
 fi  fi
   
 echo $ac_n "checking for syslog""... $ac_c" 1>&6  echo $ac_n "checking for syslog""... $ac_c" 1>&6
 echo "configure:7300: checking for syslog" >&5  echo "configure:7391: checking for syslog" >&5
 if eval "test \"`echo '$''{'ac_cv_func_syslog'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_syslog'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
 else  else
   cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
 #line 7305 "configure"  #line 7396 "configure"
 #include "confdefs.h"  #include "confdefs.h"
 /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
     which can conflict with char syslog(); below.  */      which can conflict with char syslog(); below.  */
Line 7324 
Line 7415 
   
 ; return 0; }  ; return 0; }
 EOF  EOF
 if { (eval echo configure:7328: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then  if { (eval echo configure:7419: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
   rm -rf conftest*    rm -rf conftest*
   eval "ac_cv_func_syslog=yes"    eval "ac_cv_func_syslog=yes"
 else  else
Line 7342 
Line 7433 
 else  else
   echo "$ac_t""no" 1>&6    echo "$ac_t""no" 1>&6
 echo $ac_n "checking for syslog in -lsocket""... $ac_c" 1>&6  echo $ac_n "checking for syslog in -lsocket""... $ac_c" 1>&6
 echo "configure:7346: checking for syslog in -lsocket" >&5  echo "configure:7437: checking for syslog in -lsocket" >&5
 if test -n ""; then  if test -n ""; then
   ac_lib_var=`echo socket'_'syslog | sed 'y% ./+-%___p_%'`    ac_lib_var=`echo socket'_'syslog | sed 'y% ./+-%___p_%'`
 else  else
Line 7354 
Line 7445 
   ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
 LIBS="-lsocket  $LIBS"  LIBS="-lsocket  $LIBS"
 cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
 #line 7358 "configure"  #line 7449 "configure"
 #include "confdefs.h"  #include "confdefs.h"
 /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
 /* We use char because int might match the return type of a gcc2  /* We use char because int might match the return type of a gcc2
Line 7365 
Line 7456 
 syslog()  syslog()
 ; return 0; }  ; return 0; }
 EOF  EOF
 if { (eval echo configure:7369: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then  if { (eval echo configure:7460: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
   rm -rf conftest*    rm -rf conftest*
   eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
 else  else
Line 7384 
Line 7475 
 else  else
   echo "$ac_t""no" 1>&6    echo "$ac_t""no" 1>&6
 echo $ac_n "checking for syslog in -lnsl""... $ac_c" 1>&6  echo $ac_n "checking for syslog in -lnsl""... $ac_c" 1>&6
 echo "configure:7388: checking for syslog in -lnsl" >&5  echo "configure:7479: checking for syslog in -lnsl" >&5
 if test -n ""; then  if test -n ""; then
   ac_lib_var=`echo nsl'_'syslog | sed 'y% ./+-%___p_%'`    ac_lib_var=`echo nsl'_'syslog | sed 'y% ./+-%___p_%'`
 else  else
Line 7396 
Line 7487 
   ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
 LIBS="-lnsl  $LIBS"  LIBS="-lnsl  $LIBS"
 cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
 #line 7400 "configure"  #line 7491 "configure"
 #include "confdefs.h"  #include "confdefs.h"
 /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
 /* We use char because int might match the return type of a gcc2  /* We use char because int might match the return type of a gcc2
Line 7407 
Line 7498 
 syslog()  syslog()
 ; return 0; }  ; return 0; }
 EOF  EOF
 if { (eval echo configure:7411: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then  if { (eval echo configure:7502: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
   rm -rf conftest*    rm -rf conftest*
   eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
 else  else
Line 7426 
Line 7517 
 else  else
   echo "$ac_t""no" 1>&6    echo "$ac_t""no" 1>&6
 echo $ac_n "checking for syslog in -linet""... $ac_c" 1>&6  echo $ac_n "checking for syslog in -linet""... $ac_c" 1>&6
 echo "configure:7430: checking for syslog in -linet" >&5  echo "configure:7521: checking for syslog in -linet" >&5
 if test -n ""; then  if test -n ""; then
   ac_lib_var=`echo inet'_'syslog | sed 'y% ./+-%___p_%'`    ac_lib_var=`echo inet'_'syslog | sed 'y% ./+-%___p_%'`
 else  else
Line 7438 
Line 7529 
   ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
 LIBS="-linet  $LIBS"  LIBS="-linet  $LIBS"
 cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
 #line 7442 "configure"  #line 7533 "configure"
 #include "confdefs.h"  #include "confdefs.h"
 /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
 /* We use char because int might match the return type of a gcc2  /* We use char because int might match the return type of a gcc2
Line 7449 
Line 7540 
 syslog()  syslog()
 ; return 0; }  ; return 0; }
 EOF  EOF
 if { (eval echo configure:7453: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then  if { (eval echo configure:7544: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
   rm -rf conftest*    rm -rf conftest*
   eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
 else  else
Line 7479 
Line 7570 
     # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works      # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
 # for constant arguments.  Useless!  # for constant arguments.  Useless!
 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6  echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6
 echo "configure:7483: checking for working alloca.h" >&5  echo "configure:7574: checking for working alloca.h" >&5
 if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
 else  else
   cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
 #line 7488 "configure"  #line 7579 "configure"
 #include "confdefs.h"  #include "confdefs.h"
 #include <alloca.h>  #include <alloca.h>
 int main() {  int main() {
 char *p = alloca(2 * sizeof(int));  char *p = alloca(2 * sizeof(int));
 ; return 0; }  ; return 0; }
 EOF  EOF
 if { (eval echo configure:7495: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then  if { (eval echo configure:7586: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
   rm -rf conftest*    rm -rf conftest*
   ac_cv_header_alloca_h=yes    ac_cv_header_alloca_h=yes
 else  else
Line 7512 
Line 7603 
 fi  fi
   
 echo $ac_n "checking for alloca""... $ac_c" 1>&6  echo $ac_n "checking for alloca""... $ac_c" 1>&6
 echo "configure:7516: checking for alloca" >&5  echo "configure:7607: checking for alloca" >&5
 if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
 else  else
   cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
 #line 7521 "configure"  #line 7612 "configure"
 #include "confdefs.h"  #include "confdefs.h"
   
 #ifdef __GNUC__  #ifdef __GNUC__
Line 7540 
Line 7631 
 char *p = (char *) alloca(1);  char *p = (char *) alloca(1);
 ; return 0; }  ; return 0; }
 EOF  EOF
 if { (eval echo configure:7544: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then  if { (eval echo configure:7635: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
   rm -rf conftest*    rm -rf conftest*
   ac_cv_func_alloca_works=yes    ac_cv_func_alloca_works=yes
 else  else
Line 7572 
Line 7663 
   
   
 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6  echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6
 echo "configure:7576: checking whether alloca needs Cray hooks" >&5  echo "configure:7667: checking whether alloca needs Cray hooks" >&5
 if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
 else  else
   cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
 #line 7581 "configure"  #line 7672 "configure"
 #include "confdefs.h"  #include "confdefs.h"
 #if defined(CRAY) && ! defined(CRAY2)  #if defined(CRAY) && ! defined(CRAY2)
 webecray  webecray
Line 7602 
Line 7693 
 if test $ac_cv_os_cray = yes; then  if test $ac_cv_os_cray = yes; then
 for ac_func in _getb67 GETB67 getb67; do  for ac_func in _getb67 GETB67 getb67; do
   echo $ac_n "checking for $ac_func""... $ac_c" 1>&6    echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
 echo "configure:7606: checking for $ac_func" >&5  echo "configure:7697: checking for $ac_func" >&5
 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
 else  else
   cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
 #line 7611 "configure"  #line 7702 "configure"
 #include "confdefs.h"  #include "confdefs.h"
 /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
     which can conflict with char $ac_func(); below.  */      which can conflict with char $ac_func(); below.  */
Line 7630 
Line 7721 
   
 ; return 0; }  ; return 0; }
 EOF  EOF
 if { (eval echo configure:7634: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then  if { (eval echo configure:7725: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
   rm -rf conftest*    rm -rf conftest*
   eval "ac_cv_func_$ac_func=yes"    eval "ac_cv_func_$ac_func=yes"
 else  else
Line 7657 
Line 7748 
 fi  fi
   
 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6  echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6
 echo "configure:7661: checking stack direction for C alloca" >&5  echo "configure:7752: checking stack direction for C alloca" >&5
 if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
 else  else
Line 7665 
Line 7756 
   ac_cv_c_stack_direction=0    ac_cv_c_stack_direction=0
 else  else
   cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
 #line 7669 "configure"  #line 7760 "configure"
 #include "confdefs.h"  #include "confdefs.h"
 find_stack_direction ()  find_stack_direction ()
 {  {
Line 7684 
Line 7775 
   exit (find_stack_direction() < 0);    exit (find_stack_direction() < 0);
 }  }
 EOF  EOF
 if { (eval echo configure:7688: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null  if { (eval echo configure:7779: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
 then  then
   ac_cv_c_stack_direction=1    ac_cv_c_stack_direction=1
 else  else
Line 7738 
Line 7829 
   
 if test "$with_pam" = "yes"; then  if test "$with_pam" = "yes"; then
     echo $ac_n "checking for -ldl""... $ac_c" 1>&6      echo $ac_n "checking for -ldl""... $ac_c" 1>&6
 echo "configure:7742: checking for -ldl" >&5  echo "configure:7833: checking for -ldl" >&5
 if eval "test \"`echo '$''{'ac_cv_lib_dl'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_lib_dl'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
 else  else
   ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
 LIBS="-ldl  $LIBS"  LIBS="-ldl  $LIBS"
 cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
 #line 7749 "configure"  #line 7840 "configure"
 #include "confdefs.h"  #include "confdefs.h"
   
 int main() {  int main() {
 main()  main()
 ; return 0; }  ; return 0; }
 EOF  EOF
 if { (eval echo configure:7756: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then  if { (eval echo configure:7847: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
   rm -rf conftest*    rm -rf conftest*
   ac_cv_lib_dl=yes    ac_cv_lib_dl=yes
 else  else
Line 7802 
Line 7893 
     fi      fi
   
     echo $ac_n "checking for -ldes""... $ac_c" 1>&6      echo $ac_n "checking for -ldes""... $ac_c" 1>&6
 echo "configure:7806: checking for -ldes" >&5  echo "configure:7897: checking for -ldes" >&5
 if eval "test \"`echo '$''{'ac_cv_lib_des'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_lib_des'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
 else  else
   ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
 LIBS="-ldes  $LIBS"  LIBS="-ldes  $LIBS"
 cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
 #line 7813 "configure"  #line 7904 "configure"
 #include "confdefs.h"  #include "confdefs.h"
   
 int main() {  int main() {
 main()  main()
 ; return 0; }  ; return 0; }
 EOF  EOF
 if { (eval echo configure:7820: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then  if { (eval echo configure:7911: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
   rm -rf conftest*    rm -rf conftest*
   ac_cv_lib_des=yes    ac_cv_lib_des=yes
 else  else
Line 7886 
Line 7977 
     SUDO_LIBS="${SUDO_LIBS} -ldce"      SUDO_LIBS="${SUDO_LIBS} -ldce"
 fi  fi
   
 if test "$with_logincap" = "yes"; then  
     SUDO_LIBS="${SUDO_LIBS} -lutil"  
     if test -f /usr/include/login_cap.h -a -f /usr/include/sys/types.h -a -f /usr/lib/libutil.a; then  
         :  
     else  
         echo 'Unable to locate libutil.a and/or login_cap.h, you will have to edit the Makefile and add -L/path/to/libutil to SUDO_LDFLAGS and/or -I/path/to/login_cap.h to CPPFLAGS'  
     fi  
 fi  
   
 if test "$with_skey" = "yes"; then  if test "$with_skey" = "yes"; then
     SUDO_LIBS="${SUDO_LIBS} -lskey"      SUDO_LIBS="${SUDO_LIBS} -lskey"
     if test -f /usr/include/skey.h -a -f /usr/lib/libskey.a; then      if test -f /usr/include/skey.h -a -f /usr/lib/libskey.a; then
Line 7944 
Line 8026 
 fi  fi
   
 echo $ac_n "checking for log file location""... $ac_c" 1>&6  echo $ac_n "checking for log file location""... $ac_c" 1>&6
 echo "configure:7948: checking for log file location" >&5  echo "configure:8030: checking for log file location" >&5
 if test -n "$with_logpath"; then  if test -n "$with_logpath"; then
     echo "$ac_t""$with_logpath" 1>&6      echo "$ac_t""$with_logpath" 1>&6
     cat >> confdefs.h <<EOF      cat >> confdefs.h <<EOF
Line 7974 
Line 8056 
 fi  fi
   
 echo $ac_n "checking for timestamp file location""... $ac_c" 1>&6  echo $ac_n "checking for timestamp file location""... $ac_c" 1>&6
 echo "configure:7978: checking for timestamp file location" >&5  echo "configure:8060: checking for timestamp file location" >&5
 if test -n "$with_timedir"; then  if test -n "$with_timedir"; then
     echo "$ac_t""$with_timedir" 1>&6      echo "$ac_t""$with_timedir" 1>&6
     cat >> confdefs.h <<EOF      cat >> confdefs.h <<EOF

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7