diff options
author | Lasse Collin <lasse.collin@tukaani.org> | 2011-04-05 15:27:26 +0300 |
---|---|---|
committer | Lasse Collin <lasse.collin@tukaani.org> | 2011-04-05 15:27:26 +0300 |
commit | 1039bfcfc098b69d56ecb39d198a092552eacf6d (patch) | |
tree | fe82bb00cf81625f215497d5f2732fa10377f764 /configure.ac | |
parent | xz: Call lzma_end(&strm) before exiting if debugging is enabled. (diff) | |
download | xz-1039bfcfc098b69d56ecb39d198a092552eacf6d.tar.xz |
xz: Use posix_fadvise() if it is available.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 35720fef..720315f0 100644 --- a/configure.ac +++ b/configure.ac @@ -517,6 +517,9 @@ gl_GETOPT # Find the best function to set timestamps. AC_CHECK_FUNCS([futimens futimes futimesat utimes utime], [break]) +# This is nice to have but not mandatory. +AC_CHECK_FUNCS([posix_fadvise]) + TUKLIB_PROGNAME TUKLIB_INTEGER TUKLIB_PHYSMEM |