summaryrefslogtreecommitdiffstats
path: root/src/kadmin/kpasswd/configure.in
diff options
context:
space:
mode:
authorMark Eichin <eichin@mit.edu>1994-08-06 04:08:05 +0000
committerMark Eichin <eichin@mit.edu>1994-08-06 04:08:05 +0000
commitb6182322a5b14bb9441f901c211ef8a6dd08caf1 (patch)
tree0590ebe695b5b94594c29a70415a1ce9d668bc1b /src/kadmin/kpasswd/configure.in
parent187ec3b1e51a42c10f5f57143c524a610176d651 (diff)
downloadkrb5-b6182322a5b14bb9441f901c211ef8a6dd08caf1.tar.gz
krb5-b6182322a5b14bb9441f901c211ef8a6dd08caf1.tar.xz
krb5-b6182322a5b14bb9441f901c211ef8a6dd08caf1.zip
hack up utmp stuff
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4054 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/kadmin/kpasswd/configure.in')
-rw-r--r--src/kadmin/kpasswd/configure.in11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/kadmin/kpasswd/configure.in b/src/kadmin/kpasswd/configure.in
index dbd80c44b..b22149507 100644
--- a/src/kadmin/kpasswd/configure.in
+++ b/src/kadmin/kpasswd/configure.in
@@ -5,6 +5,17 @@ AC_SET_BUILDTOP
AC_PROG_INSTALL
AC_HAVE_LIBRARY(socket)
AC_HAVE_LIBRARY(nsl)
+AC_COMPILE_CHECK([ut_pid in struct utmp],
+[#include <utmp.h>],
+[struct utmp ut; ut.ut_pid;],
+,
+AC_DEFINE(NO_UT_PID))
+AC_COMPILE_CHECK([ut_type in struct utmp],
+[#include <utmp.h>],
+[struct utmp ut; ut.ut_type;],
+,
+AC_DEFINE(NO_UT_TYPE))
+AC_FUNC_CHECK(getutent,AC_DEFINE(HAVE_GETUTENT))
ET_RULES
KRB_INCLUDE
ISODE_INCLUDE