* configure.in(K5_CHECK_UT_MEMBER): Fix typo in previous; make
authorTom Yu <tlyu@mit.edu>
Sat, 28 Apr 2001 02:20:57 +0000 (02:20 +0000)
committerTom Yu <tlyu@mit.edu>
Sat, 28 Apr 2001 02:20:57 +0000 (02:20 +0000)
sure to include the correct header when checking structure
members.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13219 dc483132-0cff-0310-8789-dd5450dbe970

src/util/pty/ChangeLog
src/util/pty/configure.in

index f1877a1047d89d7770f914ae7296a9ce7edca1d3..bae05fd137949f51470afb56babe2f01f61fbbef 100644 (file)
@@ -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
index 0ad74238c7ac0414a1f0576e96142fb51f457548..3d3e1ec6e9f2d24949f76abef8f9af747ba5063a 100644 (file)
@@ -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)