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
1 changed files with 3 additions and 0 deletions
|
@ -121,6 +121,9 @@ AC_CHECK_FUNCS([getcwd gettimeofday memmove memset mkdir realpath regcomp \
|
||||||
rmdir setenv setlocale sqrt strcasecmp strchr strdup strerror \
|
rmdir setenv setlocale sqrt strcasecmp strchr strdup strerror \
|
||||||
strndup strrchr strstr strverscmp uname mtrace geteuid])
|
strndup strrchr strstr strverscmp uname mtrace geteuid])
|
||||||
|
|
||||||
|
# Enable large file support if available
|
||||||
|
AC_SYS_LARGEFILE
|
||||||
|
|
||||||
# Host-dependant flags
|
# Host-dependant flags
|
||||||
case "${host}" in
|
case "${host}" in
|
||||||
*-*-cygwin*)
|
*-*-cygwin*)
|
||||||
|
|
Loading…
Add table
Reference in a new issue