diff options
author | Lasse Collin <lasse.collin@tukaani.org> | 2015-04-20 19:59:18 +0300 |
---|---|---|
committer | Lasse Collin <lasse.collin@tukaani.org> | 2015-04-20 20:17:48 +0300 |
commit | 6bd0349c58451b13442e8f463e35de83548bf985 (patch) | |
tree | 2c9ffc2992ce7e78c7739e00bbb317deea3fa14f /configure.ac | |
parent | xz: Fix the Capsicum rights on user_abort_pipe. (diff) | |
download | xz-6bd0349c58451b13442e8f463e35de83548bf985.tar.xz |
Revert "xz: Use pipe2() if available."
This reverts commit 7a11c4a8e5e15f13d5fa59233b3172e65428efdd.
It is a problem when libc has pipe2() but the kernel is too
old to have pipe2() and thus pipe2() fails. In xz it's pointless
to have a fallback for non-functioning pipe2(); it's better to
avoid pipe2() completely.
Thanks to Michael Fox for the bug report.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index aa68e33b..970712dd 100644 --- a/configure.ac +++ b/configure.ac @@ -650,8 +650,8 @@ gl_GETOPT # Find the best function to set timestamps. AC_CHECK_FUNCS([futimens futimes futimesat utimes utime], [break]) -# These are nice to have but not mandatory. -AC_CHECK_FUNCS([posix_fadvise pipe2]) +# This is nice to have but not mandatory. +AC_CHECK_FUNCS([posix_fadvise]) TUKLIB_PROGNAME TUKLIB_INTEGER |