Andrew Geissler | 517393d | 2023-01-13 08:55:19 -0600 | [diff] [blame^] | 1 | From f62d3e5cc1d4e416b97778059f0b3c20d777a4c2 Mon Sep 17 00:00:00 2001 |
| 2 | From: Khem Raj <raj.khem@gmail.com> |
| 3 | Date: Wed, 21 Dec 2022 17:40:11 -0800 |
| 4 | Subject: [PATCH] configure: Use AC_SYS_LARGERFILE autoconf macro |
| 5 | |
| 6 | Helps define largefile support on relevant platforms |
| 7 | |
| 8 | Upstream-Status: Submitted [https://lore.kernel.org/linux-xfs/20221222015327.939932-1-raj.khem@gmail.com/T/#t] |
| 9 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
| 10 | --- |
| 11 | configure.ac | 3 +++ |
| 12 | 1 file changed, 3 insertions(+) |
| 13 | |
| 14 | diff --git a/configure.ac b/configure.ac |
| 15 | index 5a6bf185..a6f556ec 100644 |
| 16 | --- a/configure.ac |
| 17 | +++ b/configure.ac |
| 18 | @@ -10,6 +10,9 @@ AC_PROG_INSTALL |
| 19 | LT_INIT |
| 20 | |
| 21 | AC_PROG_CC |
| 22 | + |
| 23 | +AC_SYS_LARGEFILE |
| 24 | + |
| 25 | AC_ARG_VAR(BUILD_CC, [C compiler for build tools]) |
| 26 | if test "${BUILD_CC+set}" != "set"; then |
| 27 | if test $cross_compiling = no; then |