From: Fred Drake Date: Mon, 15 Apr 2002 19:20:27 +0000 (+0000) Subject: Add a test for fchdir(). X-Git-Tag: v2.3c1~5949 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6b3cc524c0df6816e75480c41774eafe0b2ac455;p=python Add a test for fchdir(). This is part of SF feature #536796. --- diff --git a/configure b/configure index 9d3fb08b29..6bd6eca036 100755 --- a/configure +++ b/configure @@ -1,5 +1,5 @@ #! /bin/sh -# From configure.in Revision: 1.307 . +# From configure.in Revision: 1.309 . # Guess values for system-dependent variables and create Makefiles. # Generated by GNU Autoconf 2.53. # @@ -11268,10 +11268,11 @@ echo "${ECHO_T}MACHDEP_OBJS" >&6 + for ac_func in alarm chown chroot clock confstr ctermid ctermid_r execv \ - flock fork fsync fdatasync fpathconf ftime ftruncate \ + fchdir flock fork fsync fdatasync fpathconf ftime ftruncate \ gai_strerror getgroups getlogin getpeername getpid getpwent getwd \ hstrerror inet_pton kill killpg link lstat mkfifo mknod mktime mremap \ nice pathconf pause plock poll pthread_init \ diff --git a/configure.in b/configure.in index d3211a0e9b..7aef29a125 100644 --- a/configure.in +++ b/configure.in @@ -1580,7 +1580,7 @@ AC_MSG_RESULT(MACHDEP_OBJS) # checks for library functions AC_CHECK_FUNCS(alarm chown chroot clock confstr ctermid ctermid_r execv \ - flock fork fsync fdatasync fpathconf ftime ftruncate \ + fchdir flock fork fsync fdatasync fpathconf ftime ftruncate \ gai_strerror getgroups getlogin getpeername getpid getpwent getwd \ hstrerror inet_pton kill killpg link lstat mkfifo mknod mktime mremap \ nice pathconf pause plock poll pthread_init \ diff --git a/pyconfig.h.in b/pyconfig.h.in index 0bd548596a..cb8b1b576e 100644 --- a/pyconfig.h.in +++ b/pyconfig.h.in @@ -86,6 +86,9 @@ /* Define to 1 if you have the `execv' function. */ #undef HAVE_EXECV +/* Define to 1 if you have the `fchdir' function. */ +#undef HAVE_FCHDIR + /* Define to 1 if you have the header file. */ #undef HAVE_FCNTL_H