diff options
author | Dan McGee <dan@archlinux.org> | 2007-07-09 16:40:50 -0400 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2007-07-09 16:40:50 -0400 |
commit | 8f2575b26ee34caddcd03464a53dc88ac539c98c (patch) | |
tree | c3365745f8735c255c707557bf08f3eca7b1a1c7 /configure.ac | |
parent | 7d7457288734730dbb0cea3b1918c004f06db1a5 (diff) | |
download | pacman-8f2575b26ee34caddcd03464a53dc88ac539c98c.tar.xz |
Add AC_SYS_LARGEFILE to configure.ac
This defines _FILE_OFFSET_BITS == 64, which makes stat calls transparently
use stat64, etc. This allows us to support large files, such as packages
over 1 GB in size. libarchive was already correctly compiled with this macro.
Signed-off-by: Dan McGee <dan@archlinux.org>
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 9a439346..9af8273e 100644 --- a/configure.ac +++ b/configure.ac @@ -121,6 +121,9 @@ AC_CHECK_FUNCS([getcwd gettimeofday memmove memset mkdir realpath regcomp \ rmdir setenv setlocale sqrt strcasecmp strchr strdup strerror \ strndup strrchr strstr strverscmp uname mtrace geteuid]) +# Enable large file support if available +AC_SYS_LARGEFILE + # Host-dependant flags case "${host}" in *-*-cygwin*) |