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
5ad7ef8e
Unverified
Kaydet (Commit)
5ad7ef8e
authored
Kas 23, 2017
tarafından
xdegaye
Kaydeden (comit)
GitHub
Kas 23, 2017
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
bpo-28538: Revert all the changes (now using Android Unified Headers) (GH-4479)
üst
1f15111a
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
83 deletions
+5
-83
2017-11-21-17-27-59.bpo-28538.DsNBS7.rst
...EWS.d/next/Build/2017-11-21-17-27-59.bpo-28538.DsNBS7.rst
+2
-0
configure
configure
+2
-58
configure.ac
configure.ac
+1
-25
No files found.
Misc/NEWS.d/next/Build/2017-11-21-17-27-59.bpo-28538.DsNBS7.rst
0 → 100644
Dosyayı görüntüle @
5ad7ef8e
Revert the previous changes, the if_nameindex structure is defined by
Unified Headers.
configure
Dosyayı görüntüle @
5ad7ef8e
...
@@ -778,7 +778,6 @@ infodir
...
@@ -778,7 +778,6 @@ infodir
docdir
docdir
oldincludedir
oldincludedir
includedir
includedir
runstatedir
localstatedir
localstatedir
sharedstatedir
sharedstatedir
sysconfdir
sysconfdir
...
@@ -890,7 +889,6 @@ datadir='${datarootdir}'
...
@@ -890,7 +889,6 @@ datadir='${datarootdir}'
sysconfdir
=
'${prefix}/etc'
sysconfdir
=
'${prefix}/etc'
sharedstatedir
=
'${prefix}/com'
sharedstatedir
=
'${prefix}/com'
localstatedir
=
'${prefix}/var'
localstatedir
=
'${prefix}/var'
runstatedir
=
'${localstatedir}/run'
includedir
=
'${prefix}/include'
includedir
=
'${prefix}/include'
oldincludedir
=
'/usr/include'
oldincludedir
=
'/usr/include'
docdir
=
'${datarootdir}/doc/${PACKAGE_TARNAME}'
docdir
=
'${datarootdir}/doc/${PACKAGE_TARNAME}'
...
@@ -1143,15 +1141,6 @@ do
...
@@ -1143,15 +1141,6 @@ do
|
-silent
|
--silent
|
--silen
|
--sile
|
--sil
)
|
-silent
|
--silent
|
--silen
|
--sile
|
--sil
)
silent
=
yes
;;
silent
=
yes
;;
-runstatedir
|
--runstatedir
|
--runstatedi
|
--runstated
\
|
--runstate
|
--runstat
|
--runsta
|
--runst
|
--runs
\
|
--run
|
--ru
|
--r
)
ac_prev
=
runstatedir
;;
-runstatedir
=
*
|
--runstatedir
=
*
|
--runstatedi
=
*
|
--runstated
=
*
\
|
--runstate
=
*
|
--runstat
=
*
|
--runsta
=
*
|
--runst
=
*
|
--runs
=
*
\
|
--run
=
*
|
--ru
=
*
|
--r
=
*
)
runstatedir
=
$ac_optarg
;;
-sbindir
|
--sbindir
|
--sbindi
|
--sbind
|
--sbin
|
--sbi
|
--sb
)
-sbindir
|
--sbindir
|
--sbindi
|
--sbind
|
--sbin
|
--sbi
|
--sb
)
ac_prev
=
sbindir
;;
ac_prev
=
sbindir
;;
-sbindir
=
*
|
--sbindir
=
*
|
--sbindi
=
*
|
--sbind
=
*
|
--sbin
=
*
\
-sbindir
=
*
|
--sbindir
=
*
|
--sbindi
=
*
|
--sbind
=
*
|
--sbin
=
*
\
...
@@ -1289,7 +1278,7 @@ fi
...
@@ -1289,7 +1278,7 @@ fi
for
ac_var
in
exec_prefix prefix bindir sbindir libexecdir datarootdir
\
for
ac_var
in
exec_prefix prefix bindir sbindir libexecdir datarootdir
\
datadir sysconfdir sharedstatedir localstatedir includedir
\
datadir sysconfdir sharedstatedir localstatedir includedir
\
oldincludedir docdir infodir htmldir dvidir pdfdir psdir
\
oldincludedir docdir infodir htmldir dvidir pdfdir psdir
\
libdir localedir mandir
runstatedir
libdir localedir mandir
do
do
eval
ac_val
=
\$
$ac_var
eval
ac_val
=
\$
$ac_var
# Remove trailing slashes.
# Remove trailing slashes.
...
@@ -1442,7 +1431,6 @@ Fine tuning of the installation directories:
...
@@ -1442,7 +1431,6 @@ Fine tuning of the installation directories:
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
--runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
--libdir=DIR object code libraries [EPREFIX/lib]
--libdir=DIR object code libraries [EPREFIX/lib]
--includedir=DIR C header files [PREFIX/include]
--includedir=DIR C header files [PREFIX/include]
--oldincludedir=DIR C header files for non-gcc [/usr/include]
--oldincludedir=DIR C header files for non-gcc [/usr/include]
...
@@ -11155,6 +11143,7 @@ for ac_func in alarm accept4 setitimer getitimer bind_textdomain_codeset chown \
...
@@ -11155,6 +11143,7 @@ for ac_func in alarm accept4 setitimer getitimer bind_textdomain_codeset chown \
futimens futimes gai_strerror getentropy
\
futimens futimes gai_strerror getentropy
\
getgrouplist getgroups getlogin getloadavg getpeername getpgid getpid
\
getgrouplist getgroups getlogin getloadavg getpeername getpgid getpid
\
getpriority getresuid getresgid getpwent getspnam getspent getsid getwd
\
getpriority getresuid getresgid getpwent getspnam getspent getsid getwd
\
if_nameindex
\
initgroups
kill
killpg lchmod lchown linkat lstat lutimes mmap
\
initgroups
kill
killpg lchmod lchown linkat lstat lutimes mmap
\
memrchr mbrtowc mkdirat
mkfifo
\
memrchr mbrtowc mkdirat
mkfifo
\
mkfifoat
mknod
mknodat mktime mremap
nice
openat pathconf pause pipe2 plock poll
\
mkfifoat
mknod
mknodat mktime mremap
nice
openat pathconf pause pipe2 plock poll
\
...
@@ -12585,51 +12574,6 @@ else
...
@@ -12585,51 +12574,6 @@ else
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: result: no"
>
&5
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: result: no"
>
&5
$as_echo
"no"
>
&6
;
}
$as_echo
"no"
>
&6
;
}
fi
rm
-f
core conftest.err conftest.
$ac_objext
\
conftest
$ac_exeext
conftest.
$ac_ext
# On Android API level 24 with android-ndk-r13, if_nameindex() is available,
# but the if_nameindex structure is not defined.
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: checking for if_nameindex"
>
&5
$as_echo_n
"checking for if_nameindex... "
>
&6
;
}
cat
confdefs.h -
<<
_ACEOF
>conftest.
$ac_ext
/* end confdefs.h. */
#include <stdio.h>
#ifdef STDC_HEADERS
# include <stdlib.h>
# include <stddef.h>
#else
# ifdef HAVE_STDLIB_H
# include <stdlib.h>
# endif
#endif
#ifdef HAVE_SYS_SOCKET_H
# include <sys/socket.h>
#endif
#ifdef HAVE_NET_IF_H
# include <net/if.h>
#endif
int
main ()
{
struct if_nameindex *ni = if_nameindex(); int x = ni[0].if_index;
;
return 0;
}
_ACEOF
if
ac_fn_c_try_link
"
$LINENO
"
;
then
:
$as_echo
"#define HAVE_IF_NAMEINDEX 1"
>>
confdefs.h
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: result: yes"
>
&5
$as_echo
"yes"
>
&6
;
}
else
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: result: no"
>
&5
$as_echo
"no"
>
&6
;
}
fi
fi
rm
-f
core conftest.err conftest.
$ac_objext
\
rm
-f
core conftest.err conftest.
$ac_objext
\
conftest
$ac_exeext
conftest.
$ac_ext
conftest
$ac_exeext
conftest.
$ac_ext
...
...
configure.ac
Dosyayı görüntüle @
5ad7ef8e
...
@@ -3411,6 +3411,7 @@ AC_CHECK_FUNCS(alarm accept4 setitimer getitimer bind_textdomain_codeset chown \
...
@@ -3411,6 +3411,7 @@ AC_CHECK_FUNCS(alarm accept4 setitimer getitimer bind_textdomain_codeset chown \
futimens futimes gai_strerror getentropy \
futimens futimes gai_strerror getentropy \
getgrouplist getgroups getlogin getloadavg getpeername getpgid getpid \
getgrouplist getgroups getlogin getloadavg getpeername getpgid getpid \
getpriority getresuid getresgid getpwent getspnam getspent getsid getwd \
getpriority getresuid getresgid getpwent getspnam getspent getsid getwd \
if_nameindex \
initgroups kill killpg lchmod lchown linkat lstat lutimes mmap \
initgroups kill killpg lchmod lchown linkat lstat lutimes mmap \
memrchr mbrtowc mkdirat mkfifo \
memrchr mbrtowc mkdirat mkfifo \
mkfifoat mknod mknodat mktime mremap nice openat pathconf pause pipe2 plock poll \
mkfifoat mknod mknodat mktime mremap nice openat pathconf pause pipe2 plock poll \
...
@@ -3760,31 +3761,6 @@ AC_LINK_IFELSE([AC_LANG_PROGRAM([[
...
@@ -3760,31 +3761,6 @@ AC_LINK_IFELSE([AC_LANG_PROGRAM([[
AC_MSG_RESULT(no)
AC_MSG_RESULT(no)
])
])
# On Android API level 24 with android-ndk-r13, if_nameindex() is available,
# but the if_nameindex structure is not defined.
AC_MSG_CHECKING(for if_nameindex)
AC_LINK_IFELSE([AC_LANG_PROGRAM([[
#include <stdio.h>
#ifdef STDC_HEADERS
# include <stdlib.h>
# include <stddef.h>
#else
# ifdef HAVE_STDLIB_H
# include <stdlib.h>
# endif
#endif
#ifdef HAVE_SYS_SOCKET_H
# include <sys/socket.h>
#endif
#ifdef HAVE_NET_IF_H
# include <net/if.h>
#endif
]], [[struct if_nameindex *ni = if_nameindex(); int x = ni[0].if_index;]])],
[AC_DEFINE(HAVE_IF_NAMEINDEX, 1, Define to 1 if you have the 'if_nameindex' function.)
AC_MSG_RESULT(yes)],
[AC_MSG_RESULT(no)
])
# Issue #28762: lockf() is available on Android API level 24, but the F_LOCK
# Issue #28762: lockf() is available on Android API level 24, but the F_LOCK
# macro is not defined in android-ndk-r13.
# macro is not defined in android-ndk-r13.
AC_MSG_CHECKING(for lockf)
AC_MSG_CHECKING(for lockf)
...
...
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