diff options
author | Daniel Mack <github@zonque.org> | 2016-03-17 20:33:41 +0100 |
---|---|---|
committer | Daniel Mack <github@zonque.org> | 2016-03-17 20:33:41 +0100 |
commit | 5fec580c84b6f0ac055909ce1f9ce9efab079943 (patch) | |
tree | 9efcdd0eabc63ccebeb4814a2cb1fdb12839dd39 /configure.ac | |
parent | da9a4daa08f84db68f7620d2e926690542c31689 (diff) | |
parent | 2f368e4a114888dae8c7ebb1020efc3d922b61e9 (diff) |
Merge pull request #2839 from keszybz/use-sendfile-smarter
Use sendfile smarter
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index 79340bcca9..cb14abda05 100644 --- a/configure.ac +++ b/configure.ac @@ -296,8 +296,19 @@ LIBS="$save_LIBS" AC_SUBST(CAP_LIBS) AC_CHECK_FUNCS([__secure_getenv secure_getenv]) -AC_CHECK_DECLS([memfd_create, gettid, pivot_root, name_to_handle_at, setns, getrandom, renameat2, kcmp, keyctl, LO_FLAGS_PARTSCAN], - [], [], [[ +AC_CHECK_DECLS([ + memfd_create, + gettid, + pivot_root, + name_to_handle_at, + setns, + getrandom, + renameat2, + kcmp, + keyctl, + LO_FLAGS_PARTSCAN, + copy_file_range], + [], [], [[ #include <sys/types.h> #include <unistd.h> #include <sys/mount.h> |