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>
This commit is contained in:
parent
7d74572887
commit
8f2575b26e
|
@ -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*)
|
||||
|
|
Loading…
Reference in New Issue