From 744841cb53f32c6e759a48299fee472a1fc39364 Mon Sep 17 00:00:00 2001 From: "Craig A. Berry" Date: Sun, 27 Oct 2013 21:43:55 -0500 Subject: [PATCH] getnameinfo, getaddrinfo, and inet_xxx fix-ups for configure.com. This is mostly a very belated follow-up to d7fba2bf7c68c, but in the case of inet_aton, is a stupendously belated follow-up to 570bb66edbdc8. --- configure.com | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/configure.com b/configure.com index 20b8a0e..d5c8e6f 100644 --- a/configure.com +++ b/configure.com @@ -6030,7 +6030,12 @@ $ WC "d_ftime='define'" $ WC "d_futimes='undef'" $ WC "d_gdbmndbm_h_uses_prototypes='undef'" $ WC "d_gdbm_ndbm_h_uses_prototypes='undef'" -$ WC "d_getaddrinfo='undef'" +$ IF vms_ver .GES. "7.3" +$ THEN +$ WC "d_getaddrinfo='define'" +$ ELSE +$ WC "d_getaddrinfo='undef'" +$ ENDIF $ WC "d_getcwd='define'" $ WC "d_getespwnam='undef'" $ WC "d_getfsstat='undef'" @@ -6045,7 +6050,12 @@ $ WC "d_getitimer='" + d_getitimer + "'" $ WC "d_getlogin='define'" $ WC "d_getmnt='undef'" $ WC "d_getmntent='undef'" -$ WC "d_getnameinfo='undef'" +$ IF vms_ver .GES. "7.3" +$ THEN +$ WC "d_getnameinfo='define'" +$ ELSE +$ WC "d_getnameinfo='undef'" +$ ENDIF $ WC "d_getnbyaddr='" + d_getnbyaddr + "'" $ WC "d_getnbyname='" + d_getnbyname + "'" $ WC "d_getnent='" + d_getnent + "'" @@ -6076,9 +6086,9 @@ $ WC "d_htonl='" + d_htonl + "'" $ WC "d_ilogbl='undef'" $ WC "d_inc_version_list='undef'" $ WC "d_index='" + d_index + "'" -$ WC "d_inetaton='undef'" -$ WC "d_inetntop='undef'" -$ WC "d_inetpton='undef'" +$ WC "d_inetaton='define'" +$ WC "d_inetntop='define'" +$ WC "d_inetpton='define'" $ WC "d_int64_t='" + d_int64_t + "'" $ WC "d_ip_mreq='define'" $ WC "d_ip_mreq_source='undef'" -- 2.7.4