aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Yu <tlyu@mit.edu>2004-09-14 22:25:07 +0000
committerTom Yu <tlyu@mit.edu>2004-09-14 22:25:07 +0000
commit16eff1cd4cc65f468b0c87269b55d3b234c3a0ad (patch)
treed3aa89ed0a1ecd1a6a0e2a5b7cf50f2fee41871d
parentbbb4b23f0570116e8b88b5c9cdf14a42441dce81 (diff)
downloadkrb5-16eff1cd4cc65f468b0c87269b55d3b234c3a0ad.zip
krb5-16eff1cd4cc65f468b0c87269b55d3b234c3a0ad.tar.gz
krb5-16eff1cd4cc65f468b0c87269b55d3b234c3a0ad.tar.bz2
* 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
-rw-r--r--src/ChangeLog7
-rw-r--r--src/aclocal.m41
2 files changed, 8 insertions, 0 deletions
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 <tlyu@mit.edu>
+
+ * 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 <tlyu@mit.edu>
* 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, , [