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
a1cb6896
Commit
a1cb6896
authored
Dec 21, 2016
by
Xavier de Gaye
Browse files
Options
Browse Files
Download
Plain Diff
Issue #28538: Merge 3.6.
parents
3d42225e
40e320b3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
28 additions
and
4 deletions
+28
-4
configure
configure
+14
-2
configure.ac
configure.ac
+14
-2
No files found.
configure
View file @
a1cb6896
...
...
@@ -12649,13 +12649,25 @@ fi
rm
-f
core conftest.err conftest.
$ac_objext
\
conftest
$ac_exeext
conftest.
$ac_ext
# On Android API level 24
if_nameindex() is available, but the if_nameindex
# structure is not defined.
# 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
...
...
configure.ac
View file @
a1cb6896
...
...
@@ -3738,10 +3738,22 @@ AC_LINK_IFELSE([AC_LANG_PROGRAM([[
AC_MSG_RESULT(no)
])
# On Android API level 24
if_nameindex() is available, but the if_nameindex
# structure is not defined.
# 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
...
...
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