diff options
author | Chris Wilson <chris+github@qwirx.com> | 2007-12-18 00:17:54 +0000 |
---|---|---|
committer | Chris Wilson <chris+github@qwirx.com> | 2007-12-18 00:17:54 +0000 |
commit | 3bb029868ac789bdc6cff8c39c18df30c177e194 (patch) | |
tree | aec3c9c44a997c96013f4a0225992913a8fc0b2a /configure.ac | |
parent | 60f0c81240c91cab9698e91973b6bbc1150d74c7 (diff) |
Search for readdir64 and stat64 if LARGE_FILE_SUPPORT is enabled, rather
than relying on Linux redirection macros that aren't present on
Slackware (which uses asm redirects instead).
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 54d917e2..3aa96832 100644 --- a/configure.ac +++ b/configure.ac @@ -225,6 +225,11 @@ AC_CACHE_CHECK([if we have large file support enabled], [have_large_file_support [have_large_file_support=yes], [have_large_file_support=no] )]) +if test "x$have_large_file_support" = "xyes"; then + AC_DEFINE([HAVE_LARGE_FILE_SUPPORT], [1], + [Define to 1 if large files are supported]) +fi + ## Find out how to do file locking AC_CHECK_FUNCS([flock]) AC_CHECK_DECLS([O_EXLOCK],,, [[#include <fcntl.h>]]) |