diff options
author | Joe Orton <jorton@apache.org> | 2003-10-01 14:11:40 +0000 |
---|---|---|
committer | Joe Orton <jorton@apache.org> | 2003-10-01 14:11:40 +0000 |
commit | 89269902ad89f576c1108de0bfd3fc25095ed718 (patch) | |
tree | 7efc20b487281dc3f5695fa78ed86987599c2752 /build | |
parent | 96e30583f5737868942bb490fc9a6bcad4fc168e (diff) | |
download | apr-89269902ad89f576c1108de0bfd3fc25095ed718.tar.gz |
* configure.in, build/apr_network.m4: Remove "RESOLV_RETRANSRETRY"
detection: the definition is not used inside APR nor exported outside
APR. The BIND resolver can be configured via the RES_OPTIONS
environment variable or resolv.conf anyway.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@64672 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'build')
-rw-r--r-- | build/apr_network.m4 | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/build/apr_network.m4 b/build/apr_network.m4 index 9ce9aa6de..a749ca7d2 100644 --- a/build/apr_network.m4 +++ b/build/apr_network.m4 @@ -242,36 +242,6 @@ fi ]) dnl -dnl check for presence of retrans/retry variables in the res_state structure -dnl -AC_DEFUN(APR_CHECK_RESOLV_RETRANS,[ - AC_CACHE_CHECK(for presence of retrans/retry fields in res_state/resolv.h , ac_cv_retransretry,[ - AC_TRY_RUN( [ -#include <sys/types.h> -#if defined(__sun__) -#include <inet/ip.h> -#endif -#include <resolv.h> -/* _res is a global defined in resolv.h */ -int main(void) { - _res.retrans = 2; - _res.retry = 1; - exit(0); - return 0; -} -],[ - ac_cv_retransretry="yes" -],[ - ac_cv_retransretry="no" -],[ - ac_cv_retransretry="no" -])]) -if test "$ac_cv_retransretry" = "yes"; then - AC_DEFINE(RESOLV_RETRANSRETRY, 1, [Define if resolv.h's res_state has the fields retrans/rety]) -fi -]) - -dnl dnl Checks the definition of gethostbyname_r and gethostbyaddr_r dnl which are different for glibc, solaris and assorted other operating dnl systems |