diff options
-rw-r--r-- | src/util/pty/ChangeLog | 4 | ||||
-rw-r--r-- | src/util/pty/configure.in | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/src/util/pty/ChangeLog b/src/util/pty/ChangeLog index f1877a104..bae05fd13 100644 --- a/src/util/pty/ChangeLog +++ b/src/util/pty/ChangeLog @@ -1,5 +1,9 @@ 2001-04-27 Tom Yu <tlyu@mit.edu> + * configure.in(K5_CHECK_UT_MEMBER): Fix typo in previous; make + sure to include the correct header when checking structure + members. + * configure.in: Many changes to support the rewriting of the utmp pieces of libpty. Do a large amount of checking for consistency of various utmp and utmpx APIs as currently understood. See rant diff --git a/src/util/pty/configure.in b/src/util/pty/configure.in index 0ad74238c..3d3e1ec6e 100644 --- a/src/util/pty/configure.in +++ b/src/util/pty/configure.in @@ -76,7 +76,7 @@ AC_DEFUN(K5_CHECK_UT_MEMBER, [AC_MSG_CHECKING([for $2 in struct $1]) AC_CACHE_VAL([krb5_cv_struct_$1_$2], [AC_TRY_COMPILE([#include <sys/types.h> -#include <utmp.h>], [struct $1 u; u.$2;], +#include <$1.h>], [struct $1 u; u.$2;], eval "krb5_cv_struct_$1_$2=yes", eval "krb5_cv_struct_$1_$2=no")]) if eval "test \"`echo '$krb5_cv_struct_'$1'_'$2`\" = yes"; then AC_MSG_RESULT(yes) |