forked from lix-project/lix
configure.ac: use AC_SYS_LARGEFILE to determine how to enable 64-bit file size support
Defining -D_FILE_OFFSET_BITS=64 works on most platforms, but not on all (i.e. Solaris). Also, the Autoconf macro offers the user a switch to disable the functionality in case of problems.
This commit is contained in:
parent
96f1517831
commit
18f0ff003d
|
@ -88,8 +88,7 @@ AC_PROG_LIBTOOL
|
||||||
|
|
||||||
|
|
||||||
# Use 64-bit file system calls so that we can support files > 2 GiB.
|
# Use 64-bit file system calls so that we can support files > 2 GiB.
|
||||||
CFLAGS="-D_FILE_OFFSET_BITS=64 $CFLAGS"
|
AC_SYS_LARGEFILE
|
||||||
CXXFLAGS="-D_FILE_OFFSET_BITS=64 $CXXFLAGS"
|
|
||||||
|
|
||||||
|
|
||||||
# Check for pubsetbuf.
|
# Check for pubsetbuf.
|
||||||
|
|
Loading…
Reference in a new issue