summaryrefslogtreecommitdiff
path: root/Configure
diff options
context:
space:
mode:
authorH.Merijn Brand <h.m.brand@xs4all.nl>2012-07-11 17:20:30 +0200
committerH.Merijn Brand <h.m.brand@xs4all.nl>2012-07-11 17:20:30 +0200
commit122b9bf4fd0633cb11e00a8136e8039f0a14ecd6 (patch)
tree8c20a7e026862c9df6816cb8d35cf3b63c4eb24e /Configure
parent720adda90da7e4ec3ec156d0a257cf92a281b626 (diff)
downloadperl-122b9bf4fd0633cb11e00a8136e8039f0a14ecd6.tar.gz
Add IP probe for ip_mreq
Backport 2f1eb816b5cba6977b1a8159
Diffstat (limited to 'Configure')
-rwxr-xr-xConfigure22
1 files changed, 21 insertions, 1 deletions
diff --git a/Configure b/Configure
index 3ae16ca407..72a7c25e9c 100755
--- a/Configure
+++ b/Configure
@@ -28,7 +28,7 @@
# See Porting/pumpkin.pod for more information on metaconfig.
#
-# Generated on Sun Apr 1 12:00:35 CEST 2012 [metaconfig 3.5 PL0]
+# Generated on Wed Jul 11 16:58:32 CEST 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_ip_mreq=''
d_ipv6_mreq=''
d_msg_ctrunc=''
d_msg_dontroute=''
@@ -11371,6 +11372,24 @@ set d_sin6_scope_id; eval $setvar
$rm_try
echo " "
+echo "Checking the availability struct ip_mreq ..." >&4
+$cat >try.c <<EOF
+#include <sys/types.h>
+#include <sys/socket.h>
+#include <netinet/in.h>
+int main() {
+struct ip_mreq mreq;
+return (mreq.imr_multiaddr.s_addr);
+}
+EOF
+val="$undef"
+set try; if eval $compile; then
+ val="$define"
+fi
+set d_ip_mreq; eval $setvar
+$rm_try
+
+echo " "
echo "Checking the availability struct ipv6_mreq ..." >&4
$cat >try.c <<EOF
#include <sys/types.h>
@@ -23023,6 +23042,7 @@ d_inetaton='$d_inetaton'
d_inetntop='$d_inetntop'
d_inetpton='$d_inetpton'
d_int64_t='$d_int64_t'
+d_ip_mreq='$d_ip_mreq'
d_ipv6_mreq='$d_ipv6_mreq'
d_isascii='$d_isascii'
d_isblank='$d_isblank'