diff options
author | Richard Basch <probe@mit.edu> | 1994-12-30 23:42:13 +0000 |
---|---|---|
committer | Richard Basch <probe@mit.edu> | 1994-12-30 23:42:13 +0000 |
commit | 09f25e59d858e16d3e9b0aaac4f3ae72996ffdee (patch) | |
tree | f74b4f088c5056344faa4271136c63c8bfb85db2 /src/appl | |
parent | c2d036a23126bbae6d0c5628fd58c1b7f4549450 (diff) | |
download | krb5-09f25e59d858e16d3e9b0aaac4f3ae72996ffdee.tar.gz krb5-09f25e59d858e16d3e9b0aaac4f3ae72996ffdee.tar.xz krb5-09f25e59d858e16d3e9b0aaac4f3ae72996ffdee.zip |
* 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
Diffstat (limited to 'src/appl')
-rw-r--r-- | src/appl/bsd/ChangeLog | 5 | ||||
-rw-r--r-- | 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 45eb7fbfd8..45566c1799 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 a265b05caf..53c8760860 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 <unistd.h>], [int pid = getpgrp()], -krb5_cv_getpgrp_args=void, krb5_cv_getpgrp_args=pid)]) +[#include <unistd.h> +#include <sys/types.h>], [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 |