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:
Dan McGee 2007-07-09 16:40:50 -04:00
parent 7d74572887
commit 8f2575b26e
1 changed files with 3 additions and 0 deletions

View File

@ -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*)