Add flags for long file support in configure.ac. They should be useful when supported (e.g. Linux and Solaris) and should do no harm when unsupported.

darcs-hash:20070205122553-ac50b-93adeeafc5c4bb43397e4b088f6e9de5744b3058.gz
This commit is contained in:
axel 2007-02-05 22:25:53 +10:00
parent 25082b6528
commit abff4e5b41

View file

@ -245,6 +245,14 @@ AC_CACHE_VAL(
] ]
) )
#
# Try to enale large file support. This will make sure that on systems
# where off_t can be either 32 or 64 bit, the latter size is used. On
# other systems, this should do nothing. (Hopefully)
#
CFLAGS="$CFLAGS -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64"
AC_MSG_RESULT($local_cv_has__std_c99) AC_MSG_RESULT($local_cv_has__std_c99)
case x$local_cv_has__std_c99 in case x$local_cv_has__std_c99 in
xno) xno)