blob: 40caa5480a451add7e98f834292205ff73e26d10 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
From: Lucas Stach <l.stach@pengutronix.de>
Date: Tue, 17 Oct 2017 12:29:22 +0200
Subject: [PATCH] add largefile support
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
---
configure.ac | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/configure.ac b/configure.ac
index 1089a9766593..0858563e9524 100644
--- a/configure.ac
+++ b/configure.ac
@@ -38,6 +38,9 @@ AM_PROG_LIBTOOL
CC_NOUNDEFINED
+dnl enable largefile
+AC_SYS_LARGEFILE
+
dnl Checks for header files.
AC_HEADER_STDC
AC_CONFIG_HEADERS(include/config.h)
@@ -731,6 +734,8 @@ if test ! -L "$srcdir"/include/alsa ; then
ln -sf . "$srcdir"/include/alsa
fi
+CPPFLAGS='-include $(CONFIG_HEADER)'
+
AC_OUTPUT(Makefile doc/Makefile doc/pictures/Makefile doc/doxygen.cfg \
include/Makefile include/sound/Makefile include/sound/uapi/Makefile \
src/Versions src/Makefile \
|