summaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
authorKen Raeburn <raeburn@mit.edu>2002-04-25 00:57:31 +0000
committerKen Raeburn <raeburn@mit.edu>2002-04-25 00:57:31 +0000
commit7c0836668f25b0fb9af529b5e87f12eec92a2b73 (patch)
tree37713ab87de5b086ef79f2a7a305bcc6a44ea7d2 /src/include
parentd35f2b135f6546285860f4ce2b268f9ea842711e (diff)
downloadkrb5-7c0836668f25b0fb9af529b5e87f12eec92a2b73.tar.gz
krb5-7c0836668f25b0fb9af529b5e87f12eec92a2b73.tar.xz
krb5-7c0836668f25b0fb9af529b5e87f12eec92a2b73.zip
* configure.in: If the return type for gethostbyname_r can't be
determined, just pretend it's not avaliable. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14421 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/include')
-rw-r--r--src/include/ChangeLog3
-rw-r--r--src/include/configure.in3
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 * ])