diff options
Diffstat (limited to 'src/include')
| -rw-r--r-- | src/include/ChangeLog | 3 | ||||
| -rw-r--r-- | src/include/configure.in | 3 |
2 files changed, 5 insertions, 1 deletions
diff --git a/src/include/ChangeLog b/src/include/ChangeLog index 56ad4e43d..76dc404bd 100644 --- a/src/include/ChangeLog +++ b/src/include/ChangeLog @@ -1,5 +1,8 @@ 2002-04-24 Ken Raeburn <raeburn@mit.edu> + * configure.in: If the return type for gethostbyname_r can't be + determined, just pretend it's not avaliable. + * fake-addrinfo.h (getaddrinfo) [_AIX]: Declare and initialize variable "ai". diff --git a/src/include/configure.in b/src/include/configure.in index 6ddfdfe40..f18527f5b 100644 --- a/src/include/configure.in +++ b/src/include/configure.in @@ -29,7 +29,8 @@ if test "$ac_cv_func_gethostbyname_r" = yes; then AC_MSG_RESULT($krb5_cv_gethostbyname_r_returns_ptr) if test "$krb5_cv_gethostbyname_r_returns_int" = "$krb5_cv_gethostbyname_r_returns_ptr"; then - AC_MSG_ERROR(cannot determine return type of gethostbyname_r) + AC_MSG_WARN(cannot determine return type of gethostbyname_r -- disabling) + ac_cv_func_gethostbyname_r=no fi if test "$krb5_cv_gethostbyname_r_returns_int" = yes; then AC_DEFINE(GETHOSTBYNAME_R_RETURNS_INT, 1, [Define if gethostbyname_r returns int rather than struct hostent * ]) |
