]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Test for the dirfd library function (for use in some upcoming
authorGregory P. Smith <greg@krypto.org>
Mon, 16 Jan 2012 10:05:23 +0000 (02:05 -0800)
committerGregory P. Smith <greg@krypto.org>
Mon, 16 Jan 2012 10:05:23 +0000 (02:05 -0800)
changes).

configure.in
pyconfig.h.in

index 0efe7d1b5a85a592940a25e6dc2393d79b694654..ef96da3d4ca812a6ef30b0499db2123c8e076d99 100644 (file)
@@ -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 \
index a2bb1cd26c56e1275ce821d84973cb0333f77398..7a20810ed4b493428d9566b7203f223f6dd0014f 100644 (file)
    */
 #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