diff options
author | Damien Miller <djm@mindrot.org> | 2000-01-20 22:38:27 +1100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2000-01-20 22:38:27 +1100 |
commit | eca71f84cb864571d677d5d1098d5c9698312607 (patch) | |
tree | aac634bfe37c1d620871961e538a8fec1827f7f0 | |
parent | 7d80e3484b5a41249bee4d43b4c9a58d6ebe90a6 (diff) |
- Don't use getaddrinfo on AIX
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | acconfig.h | 3 | ||||
-rw-r--r-- | configure.in | 1 | ||||
-rw-r--r-- | defines.h | 4 |
4 files changed, 11 insertions, 0 deletions
@@ -1,3 +1,6 @@ | |||
1 | 20000120 | ||
2 | - Don't use getaddrinfo on AIX | ||
3 | |||
1 | 20000119 | 4 | 20000119 |
2 | - SCO compile fixes from Gary E. Miller <gem@rellim.com> | 5 | - SCO compile fixes from Gary E. Miller <gem@rellim.com> |
3 | - Compile fix from Darren_Hall@progressive.com | 6 | - Compile fix from Darren_Hall@progressive.com |
diff --git a/acconfig.h b/acconfig.h index f143b1b10..0854cbc5c 100644 --- a/acconfig.h +++ b/acconfig.h | |||
@@ -138,6 +138,9 @@ | |||
138 | /* Use IPv4 for connection by default, IPv6 can still if explicity asked */ | 138 | /* Use IPv4 for connection by default, IPv6 can still if explicity asked */ |
139 | #undef IPV4_DEFAULT | 139 | #undef IPV4_DEFAULT |
140 | 140 | ||
141 | /* getaddrinfo is broken (if present) */ | ||
142 | #undef BROKEN_GETADDRINFO | ||
143 | |||
141 | @BOTTOM@ | 144 | @BOTTOM@ |
142 | 145 | ||
143 | /* ******************* Shouldn't need to edit below this line ************** */ | 146 | /* ******************* Shouldn't need to edit below this line ************** */ |
diff --git a/configure.in b/configure.in index 45df18f6d..90ed2bb80 100644 --- a/configure.in +++ b/configure.in | |||
@@ -55,6 +55,7 @@ dnl Check for some target-specific stuff | |||
55 | case "$host" in | 55 | case "$host" in |
56 | *-*-aix*) | 56 | *-*-aix*) |
57 | AFS_LIBS="-lld" | 57 | AFS_LIBS="-lld" |
58 | AC_DEFINE(BROKEN_GETADDRINFO) | ||
58 | ;; | 59 | ;; |
59 | *-*-hpux10*) | 60 | *-*-hpux10*) |
60 | if test -z "$GCC"; then | 61 | if test -z "$GCC"; then |
@@ -247,4 +247,8 @@ typedef unsigned int size_t; | |||
247 | # define PAM_STRERROR(a,b) pam_strerror((a),(b)) | 247 | # define PAM_STRERROR(a,b) pam_strerror((a),(b)) |
248 | #endif | 248 | #endif |
249 | 249 | ||
250 | #if defined(BROKEN_GETADDRINFO) && defined(HAVE_GETADDRINFO) | ||
251 | # undef HAVE_GETADDRINFO | ||
252 | #endif /* defined(BROKEN_GETADDRINFO) && defined(HAVE_GETADDRINFO) */ | ||
253 | |||
250 | #endif /* _DEFINES_H */ | 254 | #endif /* _DEFINES_H */ |