From 1f5bb4f647902d9ae9ae0a3921c82db071ebc983 Mon Sep 17 00:00:00 2001 From: Ken Raeburn Date: Fri, 1 Oct 2004 23:43:05 +0000 Subject: [PATCH] * configure.in: Check for struct if_laddrconf, as for struct lifconf git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16800 dc483132-0cff-0310-8789-dd5450dbe970 --- src/include/ChangeLog | 5 +++++ src/include/configure.in | 13 +++++++++++++ 2 files changed, 18 insertions(+) diff --git a/src/include/ChangeLog b/src/include/ChangeLog index d184d93b3..e6c5e0350 100644 --- a/src/include/ChangeLog +++ b/src/include/ChangeLog @@ -1,3 +1,8 @@ +2004-10-01 Ken Raeburn + + * configure.in: Check for struct if_laddrconf, as for struct + lifconf. + 2004-09-23 Ken Raeburn * configure.in: Use AC_MSG_NOTICE for krb4 messages instead of diff --git a/src/include/configure.in b/src/include/configure.in index f18ddfa9e..071ff55ac 100644 --- a/src/include/configure.in +++ b/src/include/configure.in @@ -240,6 +240,19 @@ 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 HP-UX 11 uses stuct if_laddrconf +AC_MSG_CHECKING(for struct if_laddrconf) +AC_CACHE_VAL(krb5_cv_has_struct_if_laddrconf, +[AC_TRY_COMPILE( +[#include +#include +#include +],[sizeof (struct if_laddrconf);], +krb5_cv_has_struct_if_laddrconf=yes,krb5_cv_has_struct_if_laddrconf=no)]) +AC_MSG_RESULT($krb5_cv_has_struct_if_laddrconf) +if test $krb5_cv_has_struct_if_laddrconf = yes; then + AC_DEFINE(HAVE_STRUCT_IF_LADDRCONF,1,[Define if there is a struct if_laddrconf.]) +fi dnl dnl AC_MSG_CHECKING([for h_errno in netdb.h]) -- 2.26.2