Browse Source

Add a test for the dirfd library function (to be used in an upcoming

change).  configure will be regenerated in the next commit.
pull/2332/head
Gregory P. Smith 14 years ago
parent
commit
30c8a11836
  1. 2
      configure.in
  2. 3
      pyconfig.h.in

2
configure.in

@ -2562,7 +2562,7 @@ AC_MSG_RESULT(MACHDEP_OBJS)
# checks for library functions
AC_CHECK_FUNCS(alarm accept4 setitimer getitimer bind_textdomain_codeset chown \
clock confstr ctermid execv faccessat fchmod fchmodat fchown fchownat \
clock confstr ctermid dirfd execv faccessat fchmod fchmodat fchown fchownat \
fexecve fdopendir fork fpathconf fstatat ftime ftruncate futimesat \
futimens futimes gai_strerror \
getgrouplist getgroups getlogin getloadavg getpeername getpgid getpid \

3
pyconfig.h.in

@ -181,6 +181,9 @@
*/
#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. */
#undef HAVE_DLFCN_H

Loading…
Cancel
Save