From 9e826ecf981c2fd5bc12df093964f721e711e223 Mon Sep 17 00:00:00 2001 From: Ken Raeburn Date: Thu, 22 Jul 2004 21:50:22 +0000 Subject: [PATCH] * configure.in: Look for "struct lifconf" and maybe define HAVE_STRUCT_LIFCONF git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16620 dc483132-0cff-0310-8789-dd5450dbe970 --- src/include/ChangeLog | 5 +++++ src/include/configure.in | 12 ++++++++++++ 2 files changed, 17 insertions(+) diff --git a/src/include/ChangeLog b/src/include/ChangeLog index 9c836f724..6bf9b88a6 100644 --- a/src/include/ChangeLog +++ b/src/include/ChangeLog @@ -1,3 +1,8 @@ +2004-07-22 Ken Raeburn + + * configure.in: Look for "struct lifconf" and maybe define + HAVE_STRUCT_LIFCONF. + 2004-07-19 Ken Raeburn * fake-addrinfo.h (struct face, struct fac): Always declare. diff --git a/src/include/configure.in b/src/include/configure.in index 381836ccb..72de2b61b 100644 --- a/src/include/configure.in +++ b/src/include/configure.in @@ -207,6 +207,18 @@ if test $krb5_cv_has_type_socklen_t = yes; then AC_DEFINE(HAVE_SOCKLEN_T,1,[Define if there is a socklen_t type. If not, probably use size_t]) fi dnl +AC_MSG_CHECKING(for struct lifconf) +AC_CACHE_VAL(krb5_cv_has_struct_lifconf, +[AC_TRY_COMPILE( +[#include +#include +],[sizeof (struct lifconf);], +krb5_cv_has_struct_lifconf=yes,krb5_cv_has_struct_lifconf=no)]) +AC_MSG_RESULT($krb5_cv_has_struct_lifconf) +if test $krb5_cv_has_struct_lifconf = yes; then + AC_DEFINE(HAVE_STRUCT_LIFCONF,1,[Define if there is a struct lifconf.]) +fi +dnl dnl KRB5_AC_NEED_BIND_8_COMPAT dnl -- 2.26.2