Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
be2b907c
Commit
be2b907c
authored
Jan 08, 2013
by
Charles-François Natali
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue #16836: Enable IPv6 support even if IPv6 is disabled on the build host.
parent
3a5fc4bc
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
151 additions
and
155 deletions
+151
-155
Misc/NEWS
Misc/NEWS
+2
-0
configure
configure
+146
-142
configure.ac
configure.ac
+3
-13
No files found.
Misc/NEWS
View file @
be2b907c
...
...
@@ -658,6 +658,8 @@ Tests
Build
-----
-
Issue
#
16836
:
Enable
IPv6
support
even
if
IPv6
is
disabled
on
the
build
host
.
-
Issue
#
15923
:
fix
a
mistake
in
asdl_c
.
py
that
resulted
in
a
TypeError
after
2801
bf875a24
(
see
#
15801
).
...
...
configure
View file @
be2b907c
This diff is collapsed.
Click to expand it.
configure.ac
View file @
be2b907c
...
...
@@ -2517,25 +2517,15 @@ AC_ARG_ENABLE(ipv6,
[
dnl the check does not work on cross compilation case...
AC_
RUN_IFELSE([AC_LANG_SOURCE
([[ /* AF_INET6 available check */
AC_
COMPILE_IFELSE([AC_LANG_PROGRAM
([[ /* AF_INET6 available check */
#include <sys/types.h>
#include <sys/socket.h>
main()
{
if (socket(AF_INET6, SOCK_STREAM, 0) < 0)
exit(1);
else
exit(0);
}
]])],[
#include <sys/socket.h>]],
[[int domain = AF_INET6;]])],[
AC_MSG_RESULT(yes)
ipv6=yes
],[
AC_MSG_RESULT(no)
ipv6=no
],[
AC_MSG_RESULT(no)
ipv6=no
])
if test "$ipv6" = "yes"; then
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment