From 09f25e59d858e16d3e9b0aaac4f3ae72996ffdee Mon Sep 17 00:00:00 2001 From: Richard Basch Date: Fri, 30 Dec 1994 23:42:13 +0000 Subject: [PATCH] * configure.in No need to do the fcntl check Changed GETPGRP_ONEARG detection (and assign it when it takes one argument, not void). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4783 dc483132-0cff-0310-8789-dd5450dbe970 --- src/appl/bsd/ChangeLog | 5 +++++ src/appl/bsd/configure.in | 10 +++++----- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/src/appl/bsd/ChangeLog b/src/appl/bsd/ChangeLog index 45eb7fbfd..45566c179 100644 --- a/src/appl/bsd/ChangeLog +++ b/src/appl/bsd/ChangeLog @@ -1,5 +1,10 @@ Fri Dec 30 18:35:50 1994 Richard Basch (probe@tardis) + * configure.in + No need to do the fcntl check + Changed GETPGRP_ONEARG detection (and assign it when it + takes one argument, not void). + * logutil.c * login.c Tidied up the code a bit. diff --git a/src/appl/bsd/configure.in b/src/appl/bsd/configure.in index a265b05ca..53c876086 100644 --- a/src/appl/bsd/configure.in +++ b/src/appl/bsd/configure.in @@ -42,7 +42,6 @@ AC_REPLACE_FUNCS(getdtablesize) CHECK_SIGNALS CHECK_SETJMP CHECK_DIRENT -CHECK_FCNTL CHECK_WAIT_TYPE AC_HEADER_CHECK(termios.h,AC_FUNC_CHECK(cfsetispeed,AC_DEFINE(POSIX_TERMIOS))) KRB_INCLUDE @@ -108,11 +107,12 @@ dnl AC_MSG_CHECKING([arguments to getpgrp]) AC_CACHE_VAL(krb5_cv_getpgrp_args, [AC_TRY_COMPILE( -[#include ], [int pid = getpgrp()], -krb5_cv_getpgrp_args=void, krb5_cv_getpgrp_args=pid)]) +[#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 = void; then -AC_DEFINE(GETGRP_ONEARG) +if test $krb5_cv_getpgrp_args = pid; then +AC_DEFINE(GETPGRP_ONEARG) fi dnl dnl -- 2.26.2