Browse Source

[autoconf] add AC_SYS_LARGEFILE for lfs

add AC_SYS_LARGEFILE for large file support
(in addition to manually defining macros for large file support
 on different platforms; bootstrap-and-suspenders)
master
Glenn Strauss 5 months ago
parent
commit
82c199db3f
  1. 1
      configure.ac

1
configure.ac

@ -1554,6 +1554,7 @@ AC_ARG_ENABLE([lfs],
AC_MSG_RESULT([$ENABLE_LFS])
if test "$ENABLE_LFS" = yes; then
CPPFLAGS="${CPPFLAGS} -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGE_FILES"
AC_SYS_LARGEFILE
fi
dnl check if sendfile works

Loading…
Cancel
Save