From: H.Merijn Brand Date: Wed, 25 Mar 2009 16:43:22 +0000 (+0100) Subject: Detection of IPv6 clueful functions by Configure (part 1) X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=5086dff9f4ed3d0ef53205b4d62cc5efb86d094b;p=p5sagit%2Fp5-mst-13.2.git Detection of IPv6 clueful functions by Configure (part 1) Other OS parts will follow From: Steve Peters Date: Wed, 25 Mar 2009 10:54:51 -0500 Message-ID: --- diff --git a/Configure b/Configure index 47ca217..ed36e69 100755 --- a/Configure +++ b/Configure @@ -25,7 +25,7 @@ # $Id: Head.U 6 2006-08-25 22:21:46Z rmanfredi $ # -# Generated on Tue Feb 10 17:34:27 CET 2009 [metaconfig 3.5 PL0] +# Generated on Wed Mar 25 17:28:24 CET 2009 [metaconfig 3.5 PL0] # (with additional metaconfig patches by perlbug@perl.org) cat >c1$$ <isascii.c <$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un */ #$d_futimes HAS_FUTIMES /**/ +/* HAS_GETADDRINFO: + * This symbol, if defined, indicates that the getaddrinfo() function + * is available for use. + */ +#$d_getaddrinfo HAS_GETADDRINFO /**/ + /* HAS_GETCWD: * This symbol, if defined, indicates that the getcwd routine is * available to get the current working directory. @@ -3610,6 +3616,12 @@ sed <$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un */ #$d_getmntent HAS_GETMNTENT /**/ +/* HAS_GETNAMEINFO: + * This symbol, if defined, indicates that the getnameinfo() function + * is available for use. + */ +#$d_getnameinfo HAS_GETNAMEINFO /**/ + /* HAS_GETPRPWNAM: * This symbol, if defined, indicates that the getprpwnam system call is * available to retrieve protected (shadow) password entries by name. @@ -3634,6 +3646,18 @@ sed <$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un */ #$d_ilogbl HAS_ILOGBL /**/ +/* HAS_INETNTOP: + * This symbol, if defined, indicates that the inet_ntop() function + * is available to parse IPv4 and IPv6 strings. + */ +#$d_inetntop HAS_INETNTOP /**/ + +/* HAS_INETPTON: + * This symbol, if defined, indicates that the inet_pton() function + * is available to parse IPv4 and IPv6 strings. + */ +#$d_inetpton HAS_INETPTON /**/ + /* HAS_INT64_T: * This symbol will defined if the C compiler supports int64_t. * Usually the needs to be included, but sometimes diff --git a/handy.h b/handy.h index 75080cb..26a41a5 100644 --- a/handy.h +++ b/handy.h @@ -188,18 +188,15 @@ typedef U64TYPE U64; # endif #endif -/* HMB H.Merijn Brand - a placeholder for preparing Configure patches */ -#if defined(HAS_PSEUDOFORK) && defined(USE_DTRACE) -#if defined(LOCALTIME_R_NEEDS_TZSET) && defined(HAS_TIMEGM) -#if defined(GMTIME_MAX) && defined(GMTIME_MIN) && defined(LOCALTIME_MAX) && defined(LOCALTIME_MIN) -#if defined(HAS_CTIME64) && defined(HAS_LOCALTIME64) && defined(HAS_GMTIME64) -#if defined(HAS_MKTIME64) && defined(HAS_DIFFTIME64) && defined(HAS_ASCTIME64) -/* Not (yet) used at top level, but mention them for metaconfig */ -#endif -#endif -#endif -#endif -#endif +/* HMB H.Merijn Brand - a placeholder for preparing Configure patches: + * + * USE_DTRACE HAS_PSEUDOFORK HAS_TIMEGM LOCALTIME_R_NEEDS_TZSET + * GMTIME_MAX GMTIME_MIN LOCALTIME_MAX LOCALTIME_MIN + * HAS_CTIME64 HAS_LOCALTIME64 HAS_GMTIME64 HAS_DIFFTIME64 + * HAS_MKTIME64 HAS_ASCTIME64 HAS_GETADDRINFO HAS_GETNAMEINFO + * HAS_INETNTOP HAS_INETPTON + * Not (yet) used at top level, but mention them for metaconfig + */ /* Mention I8SIZE, U8SIZE, I16SIZE, U16SIZE, I32SIZE, U32SIZE, I64SIZE, and U64SIZE here so that metaconfig pulls them in. */