From 16eff1cd4cc65f468b0c87269b55d3b234c3a0ad Mon Sep 17 00:00:00 2001 From: Tom Yu Date: Tue, 14 Sep 2004 22:25:07 +0000 Subject: * aclocal.m4 (AC_LIBRARY_NET): Require the BIND_8_COMPAT check prior to looking for prototypes, as BIND 9 (at least on Panther) turns off some prototypes and typedefs if BIND_8_COMPAT is defined. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16756 dc483132-0cff-0310-8789-dd5450dbe970 --- src/ChangeLog | 7 +++++++ src/aclocal.m4 | 1 + 2 files changed, 8 insertions(+) diff --git a/src/ChangeLog b/src/ChangeLog index 943f522..4444d12 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,10 @@ +2004-09-14 Tom Yu + + * aclocal.m4 (AC_LIBRARY_NET): Require the BIND_8_COMPAT check + prior to looking for prototypes, as BIND 9 (at least on Panther) + turns off some prototypes and typedefs if BIND_8_COMPAT is + defined. + 2004-09-13 Tom Yu * aclocal.m4: Fix check for resolv.h; some platforms have diff --git a/src/aclocal.m4 b/src/aclocal.m4 index 2b76ab2..07a303d 100644 --- a/src/aclocal.m4 +++ b/src/aclocal.m4 @@ -1335,6 +1335,7 @@ dnl The check for libresolv is in case you are attempting to link statically dnl and happen to have a libresolv.a lying around (and no libnsl.a). dnl AC_DEFUN(AC_LIBRARY_NET, [ +AC_REQUIRE([KRB5_AC_NEED_BIND_8_COMPAT]) # Most operating systems have gethostbyname() in the default searched # libraries (i.e. libc): AC_CHECK_FUNC(gethostbyname, , [ -- cgit v1.1