Andrew Geissler | 517393d | 2023-01-13 08:55:19 -0600 | [diff] [blame^] | 1 | From 61f910f5d12d6f6a66223b5af6d74e30ace3a2e1 Mon Sep 17 00:00:00 2001 |
| 2 | From: Khem Raj <raj.khem@gmail.com> |
| 3 | Date: Thu, 15 Dec 2022 12:10:37 -0800 |
| 4 | Subject: [PATCH] configure: Check for largefile support |
| 5 | |
| 6 | This helps in using 64bit versions of off_t related functions |
| 7 | |
| 8 | Upstream-Status: Backport [https://github.com/numactl/numactl/pull/159] |
| 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 8510fc5..d74bc6e 100644 |
| 16 | --- a/configure.ac |
| 17 | +++ b/configure.ac |
| 18 | @@ -14,6 +14,9 @@ LT_INIT |
| 19 | |
| 20 | AC_PROG_CC |
| 21 | |
| 22 | +# Check for enabling LFS support |
| 23 | +AC_SYS_LARGEFILE |
| 24 | + |
| 25 | # Override CFLAGS so that we can specify custom CFLAGS for numademo. |
| 26 | AX_AM_OVERRIDE_VAR([CFLAGS]) |
| 27 | |