# See Porting/pumpkin.pod for more information on metaconfig.
#
-# Generated on Fri Jan 27 15:48:54 CET 2012 [metaconfig 3.5 PL0]
+# Generated on Thu Feb 16 16:57:30 CET 2012 [metaconfig 3.5 PL0]
# (with additional metaconfig patches by perlbug@perl.org)
cat >c1$$ <<EOF
d_vsnprintf=''
d_sockatmark=''
d_sockatmarkproto=''
+d_ipv6_mreq=''
d_msg_ctrunc=''
d_msg_dontroute=''
d_msg_oob=''
d_oldsock=''
d_scm_rights=''
d_sin6_scope_id=''
+d_sockaddr_in6=''
d_sockaddr_sa_len=''
d_socket=''
d_sockpair=''
$rm_try
echo " "
+echo "Checking the availability struct sockaddr_in6 ..." >&4
+$cat >try.c <<EOF
+#include <sys/types.h>
+#include <sys/socket.h>
+#include <netinet/in.h>
+int main() {
+struct sockaddr_in6 sin6;
+return (sin6.sin6_family);
+}
+EOF
+val="$undef"
+set try; if eval $compile; then
+ val="$define"
+fi
+set d_sockaddr_in6; eval $setvar
+$rm_try
+
+echo " "
echo "Checking the availability sin6_scope_id in struct sockaddr_in6 ..." >&4
$cat >try.c <<EOF
#include <sys/types.h>
$rm_try
echo " "
+echo "Checking the availability struct ipv6_mreq ..." >&4
+$cat >try.c <<EOF
+#include <sys/types.h>
+#include <sys/socket.h>
+#include <netinet/in.h>
+int main() {
+struct ipv6_mreq mreq;
+return (mreq.ipv6mr_interface);
+}
+EOF
+val="$undef"
+set try; if eval $compile; then
+ val="$define"
+fi
+set d_ipv6_mreq; eval $setvar
+$rm_try
+
+echo " "
echo "Checking the availability of certain socket constants..." >&4
for ENUM in MSG_CTRUNC MSG_DONTROUTE MSG_OOB MSG_PEEK MSG_PROXY SCM_RIGHTS; do
enum=`$echo $ENUM|./tr '[A-Z]' '[a-z]'`
d_inetntop='$d_inetntop'
d_inetpton='$d_inetpton'
d_int64_t='$d_int64_t'
+d_ipv6_mreq='$d_ipv6_mreq'
d_isascii='$d_isascii'
d_isblank='$d_isblank'
d_isfinite='$d_isfinite'
d_sin6_scope_id='$d_sin6_scope_id'
d_sitearch='$d_sitearch'
d_snprintf='$d_snprintf'
+d_sockaddr_in6='$d_sockaddr_in6'
d_sockaddr_sa_len='$d_sockaddr_sa_len'
d_sockatmark='$d_sockatmark'
d_sockatmarkproto='$d_sockatmarkproto'
d_inetntop='undef'
d_inetpton='undef'
d_int64_t='define'
+d_ipv6_mreq='undef'
d_isascii='define'
d_isblank='undef'
d_isfinite='undef'
d_sin6_scope_id='undef'
d_sitearch='define'
d_snprintf='undef'
+d_sockaddr_in6='undef'
d_sockaddr_sa_len='undef'
d_sockatmark='undef'
d_sockatmarkproto='undef'
d_inetntop='undef'
d_inetpton='undef'
d_int64_t='undef'
+d_ipv6_mreq='undef'
d_isascii='define'
d_isblank='undef'
d_isfinite='undef'
d_sin6_scope_id='undef'
d_sitearch='undef'
d_snprintf='undef'
+d_sockaddr_in6='undef'
d_sockaddr_sa_len='undef'
d_sockatmark='undef'
d_sockatmarkproto='undef'
d_int64_t (d_int64_t.U):
This symbol will be defined if the C compiler supports int64_t.
+d_ipv6_mreq (d_socket.U):
+ This variable conditionally defines the HAS_IPV6_MREQ symbol, which
+ indicates the availability of a struct ipv6_mreq.
+
d_isascii (d_isascii.U):
This variable conditionally defines the HAS_ISASCII constant,
which indicates to the C program that isascii() is available.
indicates to the C program that the snprintf () library function
is available.
+d_sockaddr_in6 (d_socket.U):
+ This variable conditionally defines the HAS_SOCKADDR_IN6 symbol, which
+ indicates the availability of a struct sockaddr_in6.
+
d_sockaddr_sa_len (d_socket.U):
This variable conditionally defines the HAS_SOCKADDR_SA_LEN symbol,
which indicates that a struct sockaddr structure has the sa_len
d_inetntop='define'
d_inetpton='define'
d_int64_t='define'
+d_ipv6_mreq='undef'
d_isascii='define'
d_isblank='undef'
d_isfinite='undef'
d_sin6_scope_id='undef'
d_sitearch='define'
d_snprintf='define'
+d_sockaddr_in6='undef'
d_sockaddr_sa_len='undef'
d_sockaddr_sa_len='undef'
d_sockatmark='define'
* structure has a member called sa_len, indicating the length of
* the structure.
*/
+/* HAS_SOCKADDR_IN6:
+ * This symbol, if defined, indicates the availability of
+ * struct sockaddr_in6;
+ */
/* HAS_SIN6_SCOPE_ID:
* This symbol, if defined, indicates that the struct sockaddr_in6
* structure has a member called sin6_scope_id.
*/
+/* HAS_IPV6_MREQ:
+ * This symbol, if defined, indicates the availability of
+ * struct ipv6_mreq;
+ */
#$d_socket HAS_SOCKET /**/
#$d_sockpair HAS_SOCKETPAIR /**/
#$d_sockaddr_sa_len HAS_SOCKADDR_SA_LEN /**/
#$d_msg_peek HAS_MSG_PEEK /**/
#$d_msg_proxy HAS_MSG_PROXY /**/
#$d_scm_rights HAS_SCM_RIGHTS /**/
+#$d_sockaddr_in6 HAS_SOCKADDR_IN6 /**/
#$d_sin6_scope_id HAS_SIN6_SCOPE_ID /**/
+#$d_ipv6_mreq HAS_IPV6_MREQ /**/
/* HAS_SRAND48_R:
* This symbol, if defined, indicates that the srand48_r routine
$ d_sockaddr_sa_len="undef"
$ echo "You do not have sa_len in the sockaddr struct."
$ ENDIF
+$! TODO: Real checks
+$ WC "d_ipv6_mreq='undef'"
+$ WC "d_sockaddr_in6='undef'"
$!
$!
$! Check for sin6_scope_id
d_inetpton='undef'
d_int64_t='undef'
d_iovec_s='undef'
+d_ipv6_mreq='undef'
d_isascii='define'
d_isblank='undef'
d_isfinite='undef'
d_sin6_scope_id='undef'
d_sitearch='undef'
d_snprintf='undef'
+d_sockaddr_in6='undef'
d_sockaddr_sa_len='undef'
d_sockatmark='undef'
d_sockatmarkproto='undef'
* HAS_GMTIME64
* HAS_ISBLANK
* HAS_LOCALTIME64
+ * HAS_IPV6_MREQ
* HAS_MKTIME64
* HAS_PRCTL
* HAS_PSEUDOFORK
* HAS_TIMEGM
+ * HAS_SOCKADDR_IN6
* I16SIZE
* I64SIZE
* I8SIZE
d_inetntop='undef'
d_inetpton='undef'
d_int64_t='define'
+d_ipv6_mreq='undef'
d_isascii='undef'
d_isblank='undef'
d_isfinite='undef'
d_sin6_scope_id='undef'
d_sitearch='define'
d_snprintf='undef'
+d_sockaddr_in6='undef'
d_sockaddr_sa_len='undef'
d_sockatmark='undef'
d_sockatmarkproto='undef'
d_inetntop='undef'
d_inetpton='undef'
d_int64_t='undef'
+d_ipv6_mreq='undef'
d_isascii='undef'
d_isblank='undef'
d_isfinite='undef'
d_sitecustomize='undef'
d_sitecustomize='undef'
d_snprintf='undef'
+d_sockaddr_in6='undef'
d_sockaddr_sa_len='undef'
d_sockatmark='undef'
d_sockatmarkproto='undef'
* structure has a member called sa_len, indicating the length of
* the structure.
*/
+/* HAS_SOCKADDR_IN6:
+ * This symbol, if defined, indicates the availability of
+ * struct sockaddr_in6;
+ */
/* HAS_SIN6_SCOPE_ID:
* This symbol, if defined, indicates that the struct sockaddr_in6
* structure has a member called sin6_scope_id.
*/
+/* HAS_IPV6_MREQ:
+ * This symbol, if defined, indicates the availability of
+ * struct ipv6_mreq;
+ */
/*#define HAS_SOCKET / **/
/*#define HAS_SOCKETPAIR / **/
/*#define HAS_SOCKADDR_SA_LEN / **/
/*#define HAS_MSG_PEEK / **/
/*#define HAS_MSG_PROXY / **/
/*#define HAS_SCM_RIGHTS / **/
+/*#define HAS_SOCKADDR_IN6 / **/
/*#define HAS_SIN6_SCOPE_ID / **/
+/*#define HAS_IPV6_MREQ / **/
/* HAS_SRAND48_R:
* This symbol, if defined, indicates that the srand48_r routine
#endif
/* Generated from:
- * d935e2c4b70899e11fb4984070daba3308bc3361c09b5335d752a51e4a5e4c25 config_h.SH
- * 5a1e4ec048ee5f2000216dd55cc93e344ba30be7f7ef43664fddc13014b3fe3c uconfig.sh
+ * c8ea9c619a01be4183283a4f95751f81d3fab095f1ded1ac6d9c51f134c63f00 config_h.SH
+ * 3dad514f97a86deca0eebb6544f7785077651da24e7c6231ef7a22963ff4fd5d uconfig.sh
* ex: set ro: */
d_inetntop='undef'
d_inetpton='undef'
d_int64_t='undef'
+d_ipv6_mreq='undef'
d_isascii='undef'
d_isblank='undef'
d_isfinite='undef'
d_sin6_scope_id='undef'
d_sitearch='undef'
d_snprintf='undef'
+d_sockaddr_in6='undef'
d_sockaddr_sa_len='undef'
d_sockatmark='undef'
d_sockatmarkproto='undef'
d_inetntop='undef'
d_inetpton='undef'
d_int64_t='undef'
+d_ipv6_mreq='undef'
d_isascii='undef'
d_isblank='undef'
d_isfinite='undef'
d_sin6_scope_id='undef'
d_sitearch='undef'
d_snprintf='undef'
+d_sockaddr_in6='undef'
d_sockaddr_sa_len='undef'
d_sockatmark='undef'
d_sockatmarkproto='undef'
d_inetntop='undef'
d_inetpton='undef'
d_int64_t='undef'
+d_ipv6_mreq='undef'
d_isascii='define'
d_isblank='undef'
d_isfinite='undef'
d_sin6_scope_id='undef'
d_sitearch='define'
d_snprintf='undef'
+d_sockaddr_in6='undef'
d_sockaddr_sa_len='undef'
d_sockatmark='undef'
d_sockatmarkproto='undef'
d_inetntop='undef'
d_inetpton='undef'
d_int64_t='undef'
+d_ipv6_mreq='undef'
d_isascii='define'
d_isblank='undef'
d_isfinite='undef'
d_sin6_scope_id='define'
d_sitearch='define'
d_snprintf='define'
+d_sockaddr_in6='undef'
d_sockaddr_sa_len='undef'
d_sockatmark='undef'
d_sockatmarkproto='undef'
d_inetntop='undef'
d_inetpton='undef'
d_int64_t='undef'
+d_ipv6_mreq='undef'
d_isascii='define'
d_isblank='undef'
d_isfinite='undef'
d_sin6_scope_id='define'
d_sitearch='define'
d_snprintf='define'
+d_sockaddr_in6='undef'
d_sockaddr_sa_len='undef'
d_sockatmark='undef'
d_sockatmarkproto='undef'
d_inetntop='undef'
d_inetpton='undef'
d_int64_t='undef'
+d_ipv6_mreq='undef'
d_isascii='define'
d_isblank='undef'
d_isfinite='undef'
d_sin6_scope_id='define'
d_sitearch='define'
d_snprintf='define'
+d_sockaddr_in6='undef'
d_sockaddr_sa_len='undef'
d_sockatmark='undef'
d_sockatmarkproto='undef'
d_inetntop='undef'
d_inetpton='undef'
d_int64_t='undef'
+d_ipv6_mreq='undef'
d_isascii='define'
d_isblank='undef'
d_isfinite='undef'
d_sin6_scope_id='define'
d_sitearch='define'
d_snprintf='define'
+d_sockaddr_in6='undef'
d_sockaddr_sa_len='undef'
d_sockatmark='undef'
d_sockatmarkproto='undef'
d_inetntop='undef'
d_inetpton='undef'
d_int64_t='undef'
+d_ipv6_mreq='undef'
d_isascii='define'
d_isblank='undef'
d_isfinite='undef'
d_sin6_scope_id='define'
d_sitearch='define'
d_snprintf='define'
+d_sockaddr_in6='undef'
d_sockaddr_sa_len='undef'
d_sockatmark='undef'
d_sockatmarkproto='undef'