2
0
Fork 0

[autobuild]: enable large file support for 32-bit builds

personal/stbuehler/wip
Stefan Bühler 2011-10-11 13:18:43 +02:00
parent b6e20b45f9
commit 2647a9745c
1 changed files with 14 additions and 0 deletions

View File

@ -99,6 +99,20 @@ PKG_CHECK_MODULES([LIBEV], [libev], [], [
AC_SUBST([LIBEV_CFLAGS])
AC_SUBST([LIBEV_LIBS])
dnl Large File Support
AC_ARG_ENABLE([lfs],
[AS_HELP_STRING([--disable-lfs],[disable large file support])],
[case "${enableval}" in
yes) lfs=true ;;
no) lfs=false ;;
*) AC_MSG_ERROR([bad value ${enableval} for --enable-lfs]) ;;
esac],[lfs=true])
if test x$lfs = xtrue; then
CFLAGS="${CFLAGS} -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGE_FILES"
fi
dnl Check for lua
AC_MSG_CHECKING([for lua])
AC_ARG_WITH([lua], [AS_HELP_STRING([--with-lua],[lua engine (recommended)])],