diff options
author | Tom Yu <tlyu@mit.edu> | 2004-09-15 21:32:04 +0000 |
---|---|---|
committer | Tom Yu <tlyu@mit.edu> | 2004-09-15 21:32:04 +0000 |
commit | 1355b1edf9d7d03d6df9409977b4c523d35ac4c5 (patch) | |
tree | 331a6b311b6ac84c41e4d09cd4d45c938de9819a /src | |
parent | bed2aeff6eae4396094c4c9336b3e77397b16dc3 (diff) | |
download | krb5-1355b1edf9d7d03d6df9409977b4c523d35ac4c5.zip krb5-1355b1edf9d7d03d6df9409977b4c523d35ac4c5.tar.gz krb5-1355b1edf9d7d03d6df9409977b4c523d35ac4c5.tar.bz2 |
* aclocal.m4 (AC_LIBRARY_NET): Only look for res_search() in
libraries, not headers, in case it's present but not prototyped.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16759 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src')
-rw-r--r-- | src/ChangeLog | 5 | ||||
-rw-r--r-- | src/aclocal.m4 | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 4444d12..2d8444f 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2004-09-15 Tom Yu <tlyu@mit.edu> + + * aclocal.m4 (AC_LIBRARY_NET): Only look for res_search() in + libraries, not headers, in case it's present but not prototyped. + 2004-09-14 Tom Yu <tlyu@mit.edu> * aclocal.m4 (AC_LIBRARY_NET): Require the BIND_8_COMPAT check diff --git a/src/aclocal.m4 b/src/aclocal.m4 index 07a303d..fc6176b 100644 --- a/src/aclocal.m4 +++ b/src/aclocal.m4 @@ -1363,7 +1363,7 @@ AC_REQUIRE([KRB5_AC_NEED_BIND_8_COMPAT]) AC_CHECK_LIB(resolv, main) AC_CHECK_DECL(res_nsearch, AC_DEFINE(HAVE_RES_NSEARCH,,[Have the RES_NSEARCH function]), - [AC_CHECK_DECL(res_search, + [AC_CHECK_FUNC(res_search, AC_DEFINE(HAVE_RES_SEARCH,,[Have the res_search function]), AC_MSG_ERROR(Failed to find resolver search routine), [#include <sys/types.h> |