mirror of https://github.com/python/cpython
Test for the dirfd library function (for use in some upcoming
changes).
This commit is contained in:
parent
dc224f82c0
commit
4188441f96
|
@ -2587,7 +2587,7 @@ AC_MSG_RESULT(MACHDEP_OBJS)
|
||||||
|
|
||||||
# checks for library functions
|
# checks for library functions
|
||||||
AC_CHECK_FUNCS(alarm accept4 setitimer getitimer bind_textdomain_codeset chown \
|
AC_CHECK_FUNCS(alarm accept4 setitimer getitimer bind_textdomain_codeset chown \
|
||||||
clock confstr ctermid execv fchmod fchown fork fpathconf ftime ftruncate \
|
clock confstr ctermid dirfd execv fchmod fchown fork fpathconf ftime ftruncate \
|
||||||
gai_strerror getgroups getlogin getloadavg getpeername getpgid getpid \
|
gai_strerror getgroups getlogin getloadavg getpeername getpgid getpid \
|
||||||
getpriority getresuid getresgid getpwent getspnam getspent getsid getwd \
|
getpriority getresuid getresgid getpwent getspnam getspent getsid getwd \
|
||||||
initgroups kill killpg lchmod lchown lstat mbrtowc mkfifo mknod mktime \
|
initgroups kill killpg lchmod lchown lstat mbrtowc mkfifo mknod mktime \
|
||||||
|
|
|
@ -178,6 +178,9 @@
|
||||||
*/
|
*/
|
||||||
#undef HAVE_DIRENT_H
|
#undef HAVE_DIRENT_H
|
||||||
|
|
||||||
|
/* Define to 1 if you have the `dirfd' function. */
|
||||||
|
#undef HAVE_DIRFD
|
||||||
|
|
||||||
/* Define to 1 if you have the <dlfcn.h> header file. */
|
/* Define to 1 if you have the <dlfcn.h> header file. */
|
||||||
#undef HAVE_DLFCN_H
|
#undef HAVE_DLFCN_H
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue