Enable Large File Support on platforms that need it
This commit is contained in:
parent
1a3620d0a4
commit
3fc40bc29e
|
@ -28,7 +28,7 @@ if test "x$ANTLR" = x; then
|
|||
fi
|
||||
AC_SUBST(ANTLR)
|
||||
|
||||
CFLAGS="$CFLAGS -Wall"
|
||||
CFLAGS="$CFLAGS -Wall -D_LARGEFILE_SOURCE"
|
||||
|
||||
AC_CHECK_HEADERS([sys/wait.h])
|
||||
AC_CHECK_HEADERS([sys/param.h])
|
||||
|
@ -39,6 +39,10 @@ AC_CHECK_FUNCS(strptime)
|
|||
AC_CHECK_FUNCS(strtok_r)
|
||||
AC_CHECK_FUNCS(timegm)
|
||||
|
||||
dnl Large File Support (LFS)
|
||||
AC_SYS_LARGEFILE
|
||||
AC_TYPE_OFF_T
|
||||
|
||||
AC_ARG_ENABLE(flac, AC_HELP_STRING([--enable-flac], [Enable FLAC support]),
|
||||
use_flac=true;
|
||||
CPPFLAGS="${CPPFLAGS} -DFLAC")
|
||||
|
|
Loading…
Reference in New Issue