Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(2)

Delta Between Two Patch Sets: configure.ac

Issue 26826: Expose new copy_file_range() syscal in os module and use it to improve shutils.copy()
Left Patch Set: Created 3 years, 11 months ago
Right Patch Set: Created 3 years, 8 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
Right: Side by side diff | Download
« no previous file with change/comment | « no previous file | Doc/library/os.rst » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
(no file at all)
1 dnl *********************************************** 1 dnl ***********************************************
2 dnl * Please run autoreconf to test your changes! * 2 dnl * Please run autoreconf to test your changes! *
3 dnl *********************************************** 3 dnl ***********************************************
4 4
5 # Set VERSION so we only need to edit in one place (i.e., here) 5 # Set VERSION so we only need to edit in one place (i.e., here)
6 m4_define(PYTHON_VERSION, 3.6) 6 m4_define(PYTHON_VERSION, 3.6)
7 7
8 AC_PREREQ(2.65) 8 AC_PREREQ(2.65)
9 9
10 AC_INIT(python, PYTHON_VERSION, http://bugs.python.org/) 10 AC_INIT(python, PYTHON_VERSION, http://bugs.python.org/)
(...skipping 3280 matching lines...) Expand 10 before | Expand all | Expand 10 after
3291 sysconf tcgetpgrp tcsetpgrp tempnam timegm times tmpfile tmpnam tmpnam_r \ 3291 sysconf tcgetpgrp tcsetpgrp tempnam timegm times tmpfile tmpnam tmpnam_r \
3292 truncate uname unlinkat unsetenv utimensat utimes waitid waitpid wait3 wait4 \ 3292 truncate uname unlinkat unsetenv utimensat utimes waitid waitpid wait3 wait4 \
3293 wcscoll wcsftime wcsxfrm wmemcmp writev _getpty) 3293 wcscoll wcsftime wcsxfrm wmemcmp writev _getpty)
3294 3294
3295 AC_CHECK_DECL(dirfd, 3295 AC_CHECK_DECL(dirfd,
3296 AC_DEFINE(HAVE_DIRFD, 1, 3296 AC_DEFINE(HAVE_DIRFD, 1,
3297 Define if you have the 'dirfd' function or macro.), , 3297 Define if you have the 'dirfd' function or macro.), ,
3298 [#include <sys/types.h> 3298 [#include <sys/types.h>
3299 #include <dirent.h>]) 3299 #include <dirent.h>])
3300 3300
3301 AC_CHECK_DECL(__NR_copy_file_range,
3302 AC_DEFINE(HAVE_COPY_FILE_RANGE, 1,
3303 Define if you have the 'copy_file_range' syscall.), ,
3304 [#include <sys/syscall.h>
3305 #include <unistd.h>])
3306
3301 # For some functions, having a definition is not sufficient, since 3307 # For some functions, having a definition is not sufficient, since
3302 # we want to take their address. 3308 # we want to take their address.
3303 AC_MSG_CHECKING(for chroot) 3309 AC_MSG_CHECKING(for chroot)
3304 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <unistd.h>]], [[void *x=chroot]])] , 3310 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <unistd.h>]], [[void *x=chroot]])] ,
3305 [AC_DEFINE(HAVE_CHROOT, 1, Define if you have the 'chroot' function.) 3311 [AC_DEFINE(HAVE_CHROOT, 1, Define if you have the 'chroot' function.)
3306 AC_MSG_RESULT(yes)], 3312 AC_MSG_RESULT(yes)],
3307 [AC_MSG_RESULT(no) 3313 [AC_MSG_RESULT(no)
3308 ]) 3314 ])
3309 AC_MSG_CHECKING(for link) 3315 AC_MSG_CHECKING(for link)
3310 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <unistd.h>]], [[void *x=link]])], 3316 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <unistd.h>]], [[void *x=link]])],
(...skipping 1994 matching lines...) Expand 10 before | Expand all | Expand 10 after
5305 if test ! -f Modules/Setup.local 5311 if test ! -f Modules/Setup.local
5306 then 5312 then
5307 echo "# Edit this file for local setup changes" >Modules/Setup.local 5313 echo "# Edit this file for local setup changes" >Modules/Setup.local
5308 fi 5314 fi
5309 5315
5310 echo "creating Makefile" >&AS_MESSAGE_FD 5316 echo "creating Makefile" >&AS_MESSAGE_FD
5311 $SHELL $srcdir/Modules/makesetup -c $srcdir/Modules/config.c.in \ 5317 $SHELL $srcdir/Modules/makesetup -c $srcdir/Modules/config.c.in \
5312 -s Modules Modules/Setup.config \ 5318 -s Modules Modules/Setup.config \
5313 Modules/Setup.local Modules/Setup 5319 Modules/Setup.local Modules/Setup
5314 mv config.c Modules 5320 mv config.c Modules
LEFTRIGHT
« no previous file | Doc/library/os.rst » ('j') | Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Toggle Comments ('s')

RSS Feeds Recent Issues | This issue
This is Rietveld 894c83f36cb7+