actually check for NO_UT_HOST since it is used
authorMark Eichin <eichin@mit.edu>
Mon, 8 Aug 1994 23:53:57 +0000 (23:53 +0000)
committerMark Eichin <eichin@mit.edu>
Mon, 8 Aug 1994 23:53:57 +0000 (23:53 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4068 dc483132-0cff-0310-8789-dd5450dbe970

src/kadmin/kpasswd/configure.in

index b221495075a40fa116e2186f16bc73d317087872..6c28f653a27dc0da8d097d7a4adb1cd7a1e324fe 100644 (file)
@@ -15,6 +15,11 @@ AC_COMPILE_CHECK([ut_type in struct utmp],
 [struct utmp ut; ut.ut_type;],
 ,
 AC_DEFINE(NO_UT_TYPE))
+AC_COMPILE_CHECK([ut_host in struct utmp],
+[#include <utmp.h>],
+[struct utmp ut; ut.ut_host;],
+,
+AC_DEFINE(NO_UT_HOST))
 AC_FUNC_CHECK(getutent,AC_DEFINE(HAVE_GETUTENT))
 ET_RULES
 KRB_INCLUDE