]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commitdiff
configure: use AC_SYS_LARGEFILE
authorFelix Janda <felix.janda@posteo.de>
Mon, 31 Oct 2016 23:39:40 +0000 (10:39 +1100)
committerDave Chinner <david@fromorbit.com>
Mon, 31 Oct 2016 23:39:40 +0000 (10:39 +1100)
The autoconf macro AC_SYS_LARGEFILE defines _FILE_OFFSET_BITS=64
where necessary to ensure that off_t and all interfaces using off_t
are 64bit, even on 32bit systems.

Signed-off-by: Felix Janda <felix.janda@posteo.de>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Dave Chinner <david@fromorbit.com>
configure.ac

index ee918d1310194f0fa75897e37bef59545b43915e..f6a3b4bef71f0b14e21dfa687e3a72fbea8c6f2e 100644 (file)
@@ -107,6 +107,8 @@ AC_PACKAGE_UTILITIES(xfsprogs)
 AC_MULTILIB($enable_lib64)
 AC_RT($enable_librt)
 
+AC_SYS_LARGEFILE
+
 AC_PACKAGE_NEED_UUID_H
 AC_PACKAGE_NEED_UUIDCOMPARE