From 298f5ca885f62ec3e616e1baee25f34c073e4643 Mon Sep 17 00:00:00 2001 From: Ezra Peisach Date: Sat, 15 Jun 1996 08:07:25 +0000 Subject: [PATCH] Remove tests that are not needed with the pty library in place git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8366 dc483132-0cff-0310-8789-dd5450dbe970 --- src/appl/bsd/ChangeLog | 5 +++++ src/appl/bsd/configure.in | 23 +---------------------- 2 files changed, 6 insertions(+), 22 deletions(-) diff --git a/src/appl/bsd/ChangeLog b/src/appl/bsd/ChangeLog index fde293683..a8f4563a8 100644 --- a/src/appl/bsd/ChangeLog +++ b/src/appl/bsd/ChangeLog @@ -1,3 +1,8 @@ +Sat Jun 15 04:03:32 1996 Ezra Peisach + + * configure.in: Cleanup of tests whose results are not longer used + with the pty library in place. + Mon Jun 3 21:26:34 1996 Tom Yu * login.c: Ezra's patches to trim unsed arg from diff --git a/src/appl/bsd/configure.in b/src/appl/bsd/configure.in index 123becee5..476046ba7 100644 --- a/src/appl/bsd/configure.in +++ b/src/appl/bsd/configure.in @@ -61,7 +61,6 @@ AC_TYPE_MODE_T AC_FUNC_CHECK(strsave,AC_DEFINE(HAS_STRSAVE)) AC_FUNC_CHECK(utimes,AC_DEFINE(HAS_UTIMES)) AC_CHECK_FUNCS(isatty) -AC_FUNC_CHECK(getutent,AC_DEFINE(HAVE_GETUTENT)) AC_FUNC_CHECK(gettosbyname,AC_DEFINE(HAVE_GETTOSBYNAME)) AC_FUNC_CHECK(killpg,AC_DEFINE(HAVE_KILLPG)) AC_FUNC_CHECK(initgroups,AC_DEFINE(HAVE_INITGROUPS)) @@ -70,19 +69,14 @@ AC_FUNC_CHECK(setreuid,AC_DEFINE(HAVE_SETREUID)) AC_FUNC_CHECK(setresuid,AC_DEFINE(HAVE_SETRESUID)) AC_FUNC_CHECK(waitpid,AC_DEFINE(HAVE_WAITPID)) AC_FUNC_CHECK(setsid,AC_DEFINE(HAVE_SETSID)) -AC_FUNC_CHECK(ttyname,AC_DEFINE(HAVE_TTYNAME)) -AC_FUNC_CHECK(line_push,AC_DEFINE(HAVE_LINE_PUSH)) AC_FUNC_CHECK(ptsname,AC_DEFINE(HAVE_PTSNAME)) -AC_FUNC_CHECK(grantpt,AC_DEFINE(HAVE_GRANTPT)) -AC_FUNC_CHECK(openpty,AC_DEFINE(HAVE_OPENPTY)) AC_FUNC_CHECK(setlogin,AC_DEFINE(HAVE_SETLOGIN)) -AC_FUNC_CHECK(logwtmp,AC_DEFINE(HAVE_LOGWTMP)) AC_FUNC_CHECK(tcgetpgrp,AC_DEFINE(HAVE_TCGETPGRP)) AC_FUNC_CHECK(tcsetpgrp,AC_DEFINE(HAVE_TCSETPGRP)) AC_FUNC_CHECK(setpgid,AC_DEFINE(HAVE_SETPGID)) AC_CHECK_HEADERS(unistd.h stdlib.h string.h sys/filio.h sys/sockio.h ) AC_CHECK_HEADERS(sys/label.h sys/tty.h ttyent.h lastlog.h sys/select.h ) -AC_CHECK_HEADERS(sys/ptyvar.h utmp.h utmpx.h sys/time.h) +AC_CHECK_HEADERS(sys/ptyvar.h utmp.h sys/time.h) AC_HEADER_STDARG AC_REPLACE_FUNCS(getdtablesize) KRB5_SIGTYPE @@ -146,21 +140,6 @@ AC_SUBST([SETENVOBJ]) fi dnl dnl -AC_MSG_CHECKING([arguments to getpgrp]) -AC_CACHE_VAL(krb5_cv_getpgrp_args, -[AC_TRY_COMPILE( -[#ifndef __STDC__ -#define __STDC__ 1 -#endif -#include -#include ], [pid_t pid = getpgrp(getpid())], -krb5_cv_getpgrp_args=pid, krb5_cv_getpgrp_args=void)]) -AC_MSG_RESULT($krb5_cv_getpgrp_args) -if test $krb5_cv_getpgrp_args = pid; then -AC_DEFINE(GETPGRP_ONEARG) -fi -dnl -dnl AC_MSG_CHECKING([number of arguments to setpgrp]) AC_CACHE_VAL(krb5_cv_setpgrp_args, [AC_TRY_COMPILE( -- 2.26.2