diff options
author | Gregory P. Smith <greg@krypto.org> | 2012-01-16 10:05:23 (GMT) |
---|---|---|
committer | Gregory P. Smith <greg@krypto.org> | 2012-01-16 10:05:23 (GMT) |
commit | 4188441f96bb5a59368a73911700a31b2e46522e (patch) | |
tree | cccfe1d95e4c3f20c863251908b08a05b7e664c1 | |
parent | dc224f82c058b5cea38c8056fc18ea2aa6005a86 (diff) | |
download | cpython-4188441f96bb5a59368a73911700a31b2e46522e.zip cpython-4188441f96bb5a59368a73911700a31b2e46522e.tar.gz cpython-4188441f96bb5a59368a73911700a31b2e46522e.tar.bz2 |
Test for the dirfd library function (for use in some upcoming
changes).
-rw-r--r-- | configure.in | 2 | ||||
-rw-r--r-- | pyconfig.h.in | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/configure.in b/configure.in index 0efe7d1..ef96da3 100644 --- a/configure.in +++ b/configure.in @@ -2587,7 +2587,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 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 \ getpriority getresuid getresgid getpwent getspnam getspent getsid getwd \ initgroups kill killpg lchmod lchown lstat mbrtowc mkfifo mknod mktime \ diff --git a/pyconfig.h.in b/pyconfig.h.in index a2bb1cd..7a20810 100644 --- a/pyconfig.h.in +++ b/pyconfig.h.in @@ -178,6 +178,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 |