From 1af18812b24d8e8b36e61965f67bb5167b65abcd Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Mon, 7 Mar 2016 15:36:59 -0500 Subject: [PATCH] enable transparent large file support Historically LFS mattered only to open/read large files. A few programs here use open/seek, but not generally on files that are large. However, LFS also applies to stat which procps does in a bunch of places -- some filesystems have 64bit inodes and attempts to do a 32bit stat will throw an error. Enable transparent LFS everywhere to avoid this. --- configure.ac | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index ac5ac9fa..033bf525 100644 --- a/configure.ac +++ b/configure.ac @@ -12,7 +12,8 @@ AC_CONFIG_SRCDIR([free.c]) AC_CONFIG_HEADERS([config.h]) # Checks for programs. -AC_USE_SYSTEM_EXTENSIONS(_GNU_SOURCE) +AC_USE_SYSTEM_EXTENSIONS +AC_SYS_LARGEFILE AC_PROG_AWK AC_PROG_CC AC_PROG_CC_STDC