summaryrefslogtreecommitdiff
path: root/Configure
diff options
context:
space:
mode:
authorH.Merijn Brand <h.m.brand@xs4all.nl>2012-02-16 17:17:18 +0100
committerH.Merijn Brand <h.m.brand@xs4all.nl>2012-02-16 17:17:18 +0100
commit18126d98dd72d4ba13a522432703d46bc37850cf (patch)
tree512d89c8ce05ef81cee20e0fdae8e0245f5420f7 /Configure
parentcb82babdfb85b0a0ace048c92704350c138b3bb7 (diff)
downloadperl-18126d98dd72d4ba13a522432703d46bc37850cf.tar.gz
Add new probes for IPv6 (LeoNerd)
Diffstat (limited to 'Configure')
-rwxr-xr-xConfigure42
1 files changed, 41 insertions, 1 deletions
diff --git a/Configure b/Configure
index 43f56bfdc4..f87e6fdc09 100755
--- a/Configure
+++ b/Configure
@@ -28,7 +28,7 @@
# 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
@@ -723,6 +723,7 @@ d_snprintf=''
d_vsnprintf=''
d_sockatmark=''
d_sockatmarkproto=''
+d_ipv6_mreq=''
d_msg_ctrunc=''
d_msg_dontroute=''
d_msg_oob=''
@@ -731,6 +732,7 @@ d_msg_proxy=''
d_oldsock=''
d_scm_rights=''
d_sin6_scope_id=''
+d_sockaddr_in6=''
d_sockaddr_sa_len=''
d_socket=''
d_sockpair=''
@@ -11299,6 +11301,24 @@ set d_sockaddr_sa_len; eval $setvar
$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>
@@ -11317,6 +11337,24 @@ set d_sin6_scope_id; eval $setvar
$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]'`
@@ -22950,6 +22988,7 @@ d_inetaton='$d_inetaton'
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'
@@ -23115,6 +23154,7 @@ d_sigsetjmp='$d_sigsetjmp'
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'