diff options
author | Guido van Rossum <guido@python.org> | 1999-03-23 16:40:33 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1999-03-23 16:40:33 (GMT) |
commit | 8db7d8bf6b2e83886ef88f45f08a9c74c1434b1b (patch) | |
tree | 1f5f948e8f7ccb77a05e4b1faef7ea7f57661131 /configure.in | |
parent | 782cdfe9f32fa69e0b797be3156a3599efd392cd (diff) | |
download | cpython-8db7d8bf6b2e83886ef88f45f08a9c74c1434b1b.zip cpython-8db7d8bf6b2e83886ef88f45f08a9c74c1434b1b.tar.gz cpython-8db7d8bf6b2e83886ef88f45f08a9c74c1434b1b.tar.bz2 |
Ack! It never defined HAVE_GETHOSTBYNAME_R so that code was never tested!
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.in b/configure.in index 12dcd5f..3c7db27 100644 --- a/configure.in +++ b/configure.in @@ -793,6 +793,7 @@ AC_CHECK_FUNC(gethostbyname_r, [ (void) gethostbyname_r(name, he, buffer, buflen, &res, &h_errnop) ], [ + AC_DEFINE(HAVE_GETHOSTBYNAME_R) AC_DEFINE(HAVE_GETHOSTBYNAME_R_6_ARG) AC_MSG_RESULT(yes) ], [ @@ -809,6 +810,7 @@ AC_CHECK_FUNC(gethostbyname_r, [ (void) gethostbyname_r(name, he, buffer, buflen, &h_errnop) ], [ + AC_DEFINE(HAVE_GETHOSTBYNAME_R) AC_DEFINE(HAVE_GETHOSTBYNAME_R_5_ARG) AC_MSG_RESULT(yes) ], [ @@ -823,6 +825,7 @@ AC_CHECK_FUNC(gethostbyname_r, [ (void) gethostbyname_r(name, he, &data); ], [ + AC_DEFINE(HAVE_GETHOSTBYNAME_R) AC_DEFINE(HAVE_GETHOSTBYNAME_R_3_ARG) AC_MSG_RESULT(yes) ], [ @@ -837,6 +840,7 @@ AC_CHECK_FUNC(gethostbyname_r, [ AC_SUBST(HAVE_GETHOSTBYNAME_R_6_ARG) AC_SUBST(HAVE_GETHOSTBYNAME_R_5_ARG) AC_SUBST(HAVE_GETHOSTBYNAME_R_3_ARG) +AC_SUBST(HAVE_GETHOSTBYNAME_R) AC_SUBST(HAVE_GETHOSTBYNAME) # checks for system services |