summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorHye-Shik Chang <hyeshik@gmail.com>2004-04-14 07:55:31 (GMT)
committerHye-Shik Chang <hyeshik@gmail.com>2004-04-14 07:55:31 (GMT)
commit54f9439b7c64dd2e59fcfbe8e6f7fcb7cb263628 (patch)
tree5c5a0caf9899c539b713de6445ac7cfefd8db9c1 /configure
parent0046839dd2ba66008749db724366f56c30ce25e9 (diff)
downloadcpython-54f9439b7c64dd2e59fcfbe8e6f7fcb7cb263628.zip
cpython-54f9439b7c64dd2e59fcfbe8e6f7fcb7cb263628.tar.gz
cpython-54f9439b7c64dd2e59fcfbe8e6f7fcb7cb263628.tar.bz2
Bug #934635: Fix a bug where the configure script couldn't detect
getaddrinfo() properly if the KAME stack had SCTP support. (Submitted by SUZUKI Shinsuke)
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure3
1 files changed, 2 insertions, 1 deletions
diff --git a/configure b/configure
index 14411a6..a05cfd2 100755
--- a/configure
+++ b/configure
@@ -1,5 +1,5 @@
#! /bin/sh
-# From configure.in Revision: 1.452 .
+# From configure.in Revision: 1.453 .
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.57 for python 2.4.
#
@@ -14151,6 +14151,7 @@ main()
hints.ai_family = AF_UNSPEC;
hints.ai_flags = passive ? AI_PASSIVE : 0;
hints.ai_socktype = SOCK_STREAM;
+ hints.ai_protocol = IPPROTO_TCP;
if ((gaierr = getaddrinfo(NULL, "54321", &hints, &aitop)) != 0) {
(void)gai_strerror(gaierr);
goto bad;