Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
cpython
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
cpython
Commits
f6fd794f
Kaydet (Commit)
f6fd794f
authored
Ock 08, 2013
tarafından
Charles-François Natali
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Issue #16836: Enable IPv6 support even if IPv6 is disabled on the build host.
üst
21b30827
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
31 deletions
+12
-31
NEWS
Misc/NEWS
+2
-0
configure
configure
+7
-18
configure.ac
configure.ac
+3
-13
No files found.
Misc/NEWS
Dosyayı görüntüle @
f6fd794f
...
@@ -821,6 +821,8 @@ Tests
...
@@ -821,6 +821,8 @@ Tests
Build
Build
-----
-----
- Issue #16836: Enable IPv6 support even if IPv6 is disabled on the build host.
- Issue #16593: Have BSD 'make -s' do the right thing, thanks to Daniel Shahaf
- Issue #16593: Have BSD 'make -s' do the right thing, thanks to Daniel Shahaf
- Issue #16262: fix out-of-src-tree builds, if mercurial is not installed.
- Issue #16262: fix out-of-src-tree builds, if mercurial is not installed.
...
...
configure
Dosyayı görüntüle @
f6fd794f
...
@@ -9103,28 +9103,20 @@ $as_echo "yes" >&6; }
...
@@ -9103,28 +9103,20 @@ $as_echo "yes" >&6; }
esac
esac
else
else
if
test
"
$cross_compiling
"
=
yes
;
then
:
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: result: no"
>
&5
$as_echo
"no"
>
&6
;
}
ipv6
=
no
else
cat
confdefs.h -
<<
_ACEOF
>conftest.
$ac_ext
cat
confdefs.h -
<<
_ACEOF
>conftest.
$ac_ext
/* end confdefs.h. */
/* end confdefs.h. */
/* AF_INET6 available check */
/* AF_INET6 available check */
#include <sys/types.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <sys/socket.h>
main()
int
main ()
{
{
if (socket(AF_INET6, SOCK_STREAM, 0) < 0)
int domain = AF_INET6;
exit(1);
;
else
return 0;
exit(0);
}
}
_ACEOF
_ACEOF
if
ac_fn_c_try_
run
"
$LINENO
"
;
then
:
if
ac_fn_c_try_
compile
"
$LINENO
"
;
then
:
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: result: yes"
>
&5
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: result: yes"
>
&5
$as_echo
"yes"
>
&6
;
}
$as_echo
"yes"
>
&6
;
}
...
@@ -9137,10 +9129,7 @@ $as_echo "no" >&6; }
...
@@ -9137,10 +9129,7 @@ $as_echo "no" >&6; }
ipv6
=
no
ipv6
=
no
fi
fi
rm
-f
core
*
.core core.conftest.
*
gmon.out bb.out conftest
$ac_exeext
\
rm
-f
core conftest.err conftest.
$ac_objext
conftest.
$ac_ext
conftest.
$ac_objext
conftest.beam conftest.
$ac_ext
fi
if
test
"
$ipv6
"
=
"yes"
;
then
if
test
"
$ipv6
"
=
"yes"
;
then
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: checking if RFC2553 API is available"
>
&5
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: checking if RFC2553 API is available"
>
&5
...
...
configure.ac
Dosyayı görüntüle @
f6fd794f
...
@@ -2346,25 +2346,15 @@ AC_ARG_ENABLE(ipv6,
...
@@ -2346,25 +2346,15 @@ AC_ARG_ENABLE(ipv6,
[
[
dnl the check does not work on cross compilation case...
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/types.h>
#include <sys/socket.h>
#include <sys/socket.h>]],
main()
[[int domain = AF_INET6;]])],[
{
if (socket(AF_INET6, SOCK_STREAM, 0) < 0)
exit(1);
else
exit(0);
}
]])],[
AC_MSG_RESULT(yes)
AC_MSG_RESULT(yes)
ipv6=yes
ipv6=yes
],[
],[
AC_MSG_RESULT(no)
AC_MSG_RESULT(no)
ipv6=no
ipv6=no
],[
AC_MSG_RESULT(no)
ipv6=no
])
])
if test "$ipv6" = "yes"; then
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